Re: Table of contents and links in pdf

2022-08-31 Thread Steve Litt
On Thu, 2022-09-01 at 02:38 +0300, Udicoudco wrote:
> Hello Dan,
> 
> To use hyperlinks in lyx you should assure that you use hyperref support.
> To do so go to Document->Settings->PDF Properties and check the box named
> "Use Hyperref Support", this will automatically create links in the table
> of contents.
> 
> For more information about customizing the appearance of the links you
> should read section 6.9 of  LyX's user guide, which can be found in
> Help->User's Guide.
> 
> Regards,
> Udi

Also see http://troubleshooters.com/linux/lyx/urlwrap.htm .

SteveT
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: Table of contents and links in pdf

2022-08-31 Thread Udicoudco
Hello Dan,

To use hyperlinks in lyx you should assure that you use hyperref support.
To do so go to Document->Settings->PDF Properties and check the box named
"Use Hyperref Support", this will automatically create links in the table
of contents.

For more information about customizing the appearance of the links you
should read section 6.9 of  LyX's user guide, which can be found in
Help->User's Guide.

Regards,
Udi

On Thu, Sep 1, 2022 at 2:22 AM Dan  wrote:

> Is it possible to construct a table of contents in LyX that will allow a
> person viewing the pdf to click a link to get to a specific section?  Or is
> this an Adobe feature?
>
> Thanks!
>
> -Dan
> --
> lyx-users mailing list
> lyx-users@lists.lyx.org
> http://lists.lyx.org/mailman/listinfo/lyx-users
>
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Table of contents and links in pdf

2022-08-31 Thread Dan
Is it possible to construct a table of contents in LyX that will allow a
person viewing the pdf to click a link to get to a specific section?  Or is
this an Adobe feature?

Thanks!

-Dan
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: o footnotes in the table of contents

2021-04-03 Thread Ricardo Berlasso
El sáb, 3 abr 2021 a las 8:43, Wolfgang Engelmann (<
engelm...@uni-tuebingen.de>) escribió:

>
>
> Am 02.04.21 um 15:47 schrieb Ricardo Berlasso:
> >
> > El vie, 2 abr 2021 a las 15:31, Andreas Plihal ( > <mailto:a.pli...@gmx.at>>) escribió:
> >
> > Hi,
> > I'm writing a book in KOMA-Script.
> > I want footnotes from headings not to appear in the table of
> contents.
> >
> >
> > I wrote about that in my blog:
> >
> >
> https://frommindtotype.wordpress.com/2019/04/22/lyx-footnotes-headings-and-the-table-of-contents/
> > <
> https://frommindtotype.wordpress.com/2019/04/22/lyx-footnotes-headings-and-the-table-of-contents/
> >
> >
> > Regards,
> > Ricardo
> >
> > Google recommends that I use the footmisc package. So I have
> > enteredin the preamble
> > \usepackage[stable]{footmisc}.
> > But that had no effect. What am I doing wrong?
> > Greetings
> > Andreas
> > --
> > lyx-users mailing list
> > lyx-users@lists.lyx.org <mailto:lyx-users@lists.lyx.org>
> > http://lists.lyx.org/mailman/listinfo/lyx-users
> > <http://lists.lyx.org/mailman/listinfo/lyx-users>
> >
> >
> Ricardo,
> I am impressed by your book on LyX. Is it possible to have also a look
> at the LyX version, not only the pdf file?
>

Thanks!

The LyX file is full of notes directed at myself, so a lot of "sanitation"
is needed before sharing it, sorry. Anyway, appendixes B, C and D provide
the full LaTeX preamble, local layout and other formatting used in the
file, so everything is there :) Maybe, after 2.4 is released I'll made a
template from the book to share it.

Regards,
Ricardo



> Wolfgang
> --
> lyx-users mailing list
> lyx-users@lists.lyx.org
> http://lists.lyx.org/mailman/listinfo/lyx-users
>
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: o footnotes in the table of contents

2021-04-03 Thread Wolfgang Engelmann



Am 02.04.21 um 15:47 schrieb Ricardo Berlasso:


El vie, 2 abr 2021 a las 15:31, Andreas Plihal (<mailto:a.pli...@gmx.at>>) escribió:


Hi,
I'm writing a book in KOMA-Script.
I want footnotes from headings not to appear in the table of contents. 



I wrote about that in my blog:

https://frommindtotype.wordpress.com/2019/04/22/lyx-footnotes-headings-and-the-table-of-contents/ 
<https://frommindtotype.wordpress.com/2019/04/22/lyx-footnotes-headings-and-the-table-of-contents/>


Regards,
Ricardo

Google recommends that I use the footmisc package. So I have
enteredin the preamble
\usepackage[stable]{footmisc}.
But that had no effect. What am I doing wrong?
Greetings
Andreas
-- 
lyx-users mailing list

lyx-users@lists.lyx.org <mailto:lyx-users@lists.lyx.org>
http://lists.lyx.org/mailman/listinfo/lyx-users
<http://lists.lyx.org/mailman/listinfo/lyx-users>



Ricardo,
I am impressed by your book on LyX. Is it possible to have also a look 
at the LyX version, not only the pdf file?

Wolfgang
--
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: o footnotes in the table of contents

2021-04-02 Thread Ricardo Berlasso
El vie, 2 abr 2021 a las 15:31, Andreas Plihal () escribió:

> Hi,
>
> I'm writing a book in KOMA-Script.
>
> I want footnotes from headings not to appear in the table of contents.
>

I wrote about that in my blog:

https://frommindtotype.wordpress.com/2019/04/22/lyx-footnotes-headings-and-the-table-of-contents/

Regards,
Ricardo



> Google recommends that I use the footmisc package. So I have entered in
> the preamble
>
> \usepackage[stable]{footmisc}.
>
> But that had no effect. What am I doing wrong?
>
> Greetings
> Andreas
> --
> lyx-users mailing list
> lyx-users@lists.lyx.org
> http://lists.lyx.org/mailman/listinfo/lyx-users
>
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


o footnotes in the table of contents

2021-04-02 Thread Andreas Plihal
Hi,

 

I'm writing a book in KOMA-Script.

 

I want footnotes from headings not to appear in the table of contents. Google recommends that I use the footmisc package. So I have entered in the preamble

 

\usepackage[stable]{footmisc}.

 

But that had no effect. What am I doing wrong?

 

Greetings

Andreas
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: Unwanted spacing in Table of Contents

2021-01-25 Thread Steve Litt
On Sun, 24 Jan 2021 10:12:45 +1100
Anthony Macks  wrote:

> Dear All,
> 
> I have attached my LyX file and its pdf output.
> 
> For some reason, the spacing between sections  and subsections in my
> table of contents is very large.
> 
> In fact, it appears that the items in the TOC are being distributed
> evenly over the length of the page.
> 
> I am running Lyx 2.3.5.2 on Windows 10 on a Surface Pro.
> 
> Any help is much appreciated.
> 
> Kind Regards,
> Anthony

This is how I vertically condense the Table of Contents:

% ### Modify table of contents to be more vertically condensed. ###
\renewcommand\tableofcontents{%
\if@twocolumn
  \@restonecoltrue\onecolumn
\else
  \@restonecolfalse
\fi
\chapter*{\contentsname
\@mkboth{%
   \MakeUppercase\contentsname}{\MakeUppercase\contentsname}}%
{
  \small\setlength{\parskip}{4pt}\setstretch{0.8}%
  \@starttoc{toc}%
}
\if@restonecol\twocolumn\fi
}


I just put it in my layout file and I'm good to go.

SteveT

Steve Litt 
Autumn 2020 featured book: Thriving in Tough Times
http://www.troubleshooters.com/thrive
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: Unwanted spacing in Table of Contents

2021-01-24 Thread Richard Kimberly Heck
On 1/24/21 4:56 AM, John Beattie wrote:
> On 2021-01-23 19:58 -0500, Richard Kimberly Heck wrote:
>> On 1/23/21 6:12 PM, Anthony Macks wrote:
>>> Dear All,
>>>
>>> I have attached my LyX file and its pdf output.
>>>
>>> For some reason, the spacing between sections  and subsections in my table
>>> of contents is very large.
>>>
>>> In fact, it appears that the items in the TOC are being distributed evenly
>>> over the length of the page.
>> You should use New Page rather than Page Break. The latter stretches the
>> page, just as you are seeing; the former does not. See section 3.5.5 of the
>> User Guide. I agree it is not very clear what the difference is from the
>> menu or the display. If you have any ideas what would make it clearer,
>> please let us know.
>>
>> Riki
>>
>
> Thank you for pointing out that very useful section of the guide.  I think I
> have been using Page-Break and New-Page rather indiscriminately, usually to
> avoid having a single line of a paragraph at the bottom of a page. 

The preferred way to do that is with preamble code.

The old way was to do it manually:

\widowpenalty=1
\orphanpenalty=1000

But nowadays there's a package to do it: nowidow. Just install the
nowidow package and then put in the premable:

\usepackage{nowidow}


> Re your request, I see that the equivalents for forcing line breaks have more
> descriptive names.  I suggest that the thing to change is name of Page Break, 
> so
> as to include the 'break' part and also the 'spread' part.
>
> Or, on writing that, it occurs to me that Ragged-Page-Break and
> Justified-Page-Break might actually do the job?

This is hard. At least for me, "Justified" indicates horizontal space.
I'll ask on lyx-devel too.

Riki


-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: Unwanted spacing in Table of Contents

2021-01-24 Thread John Beattie
On 2021-01-23 19:58 -0500, Richard Kimberly Heck wrote:
> On 1/23/21 6:12 PM, Anthony Macks wrote:
> >Dear All,
> >
> >I have attached my LyX file and its pdf output.
> >
> >For some reason, the spacing between sections  and subsections in my table
> >of contents is very large.
> >
> >In fact, it appears that the items in the TOC are being distributed evenly
> >over the length of the page.
> 
> You should use New Page rather than Page Break. The latter stretches the
> page, just as you are seeing; the former does not. See section 3.5.5 of the
> User Guide. I agree it is not very clear what the difference is from the
> menu or the display. If you have any ideas what would make it clearer,
> please let us know.
> 
> Riki
> 


Thank you for pointing out that very useful section of the guide.  I think I
have been using Page-Break and New-Page rather indiscriminately, usually to
avoid having a single line of a paragraph at the bottom of a page. Hence I
probably haven't noticed the spreading or if I did it was probably small in my
cases.

Re your request, I see that the equivalents for forcing line breaks have more
descriptive names.  I suggest that the thing to change is name of Page Break, so
as to include the 'break' part and also the 'spread' part.

Or, on writing that, it occurs to me that Ragged-Page-Break and
Justified-Page-Break might actually do the job?

John
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: Unwanted spacing in Table of Contents

2021-01-23 Thread Richard Kimberly Heck

On 1/23/21 6:12 PM, Anthony Macks wrote:

Dear All,

I have attached my LyX file and its pdf output.

For some reason, the spacing between sections  and subsections in my 
table of contents is very large.


In fact, it appears that the items in the TOC are being distributed 
evenly over the length of the page.


You should use New Page rather than Page Break. The latter stretches the 
page, just as you are seeing; the former does not. See section 3.5.5 of 
the User Guide. I agree it is not very clear what the difference is from 
the menu or the display. If you have any ideas what would make it 
clearer, please let us know.


Riki


--
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Unwanted spacing in Table of Contents

2021-01-23 Thread Anthony Macks
Dear All,

I have attached my LyX file and its pdf output.

For some reason, the spacing between sections  and subsections in my table
of contents is very large.

In fact, it appears that the items in the TOC are being distributed evenly
over the length of the page.

I am running Lyx 2.3.5.2 on Windows 10 on a Surface Pro.

Any help is much appreciated.

Kind Regards,
Anthony


toctest.lyx
Description: application/lyx


toctest.pdf
Description: Adobe PDF document
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: table of contents font size

2019-01-21 Thread phil

My data is wide.  Maybe 100 characters in a fixed field format.

it's lab data, which I use a python script to bring into a .lyx doc.

My script automatically formats with lyxcode and breaks up the data into 
sections, then make a .pdf with TOC.


Since almost everyone has 8.5x11 printers, I use that size for the paper.

I have to make all the text footnote size with typewriter font to get 
everything to align and look pleasing to the reader.


I'm going to try what you mentioned.

Thank you for the suggestion.

Phil

On 1/21/2019 11:48 AM, Rich Shepard wrote:

On Mon, 21 Jan 2019, phil wrote:


I have all my sections in footnotesize. I do that because my document is
very wide and so I reduce the size of the text so that it will fit on 
8.5

x 11.


Phil,

I'm curious about the above.

Why is your document very wide?

Can you change the page layout to landscape (11 x 8.5)?

Many of my documents use a custom page size of 6 x 9.5 with default 10pt
body text fontsize. When printed on letter-size paper there are large
margins for ease of reading or writing notes. Perhaps changing your 
default

page size and orientation will allow you to use a readable fontsize,
especially for eyeballs with more than 40 years wear on them.

Regards,

Rich


Re: table of contents font size

2019-01-21 Thread Rich Shepard

On Mon, 21 Jan 2019, phil wrote:


I have all my sections in footnotesize. I do that because my document is
very wide and so I reduce the size of the text so that it will fit on 8.5
x 11.


Phil,

I'm curious about the above.

Why is your document very wide?

Can you change the page layout to landscape (11 x 8.5)?

Many of my documents use a custom page size of 6 x 9.5 with default 10pt
body text fontsize. When printed on letter-size paper there are large
margins for ease of reading or writing notes. Perhaps changing your default
page size and orientation will allow you to use a readable fontsize,
especially for eyeballs with more than 40 years wear on them.

Regards,

Rich


Re: table of contents font size

2019-01-21 Thread phil

On 1/18/2019 2:13 PM, Ricardo Berlasso wrote:

El vie., 18 ene. 2019 a las 18:42, Phil (>) escribió:



Hi LyXer's

My TOC font is too small.

I am using the article class with typewriter font.

How can I make the TOC font larger?

I tried to put ERT around the TOC as \being{LARGE} \end{LARGE} but
had no success.

Any tips?


You need to use a package like tocloft

https://ctan.org/pkg/tocloft

See if this example helps (I did not test it)

https://www.kronto.org/thesis/tips/format-toc.html


I was able to figure it out.

I didn't realize that the TOC used the font that is used the body of the 
document.


I have all my sections in footnotesize.   I do that because my document 
is very wide and so I reduce the size of the text so that it will fit on 
8.5 x 11.


The problem is that the TOC is too small to read.

So I just had to increase the font size for all my section titles.

Thanks for you suggestion on tocloft, that's helpful too for further 
customization.


Phil



Re: table of contents font size

2019-01-18 Thread Ricardo Berlasso
El vie., 18 ene. 2019 a las 18:42, Phil () escribió:

>
> Hi LyXer's
>
> My TOC font is too small.
>
> I am using the article class with typewriter font.
>
> How can I make the TOC font larger?
>
> I tried to put ERT around the TOC as \being{LARGE} \end{LARGE} but had no
> success.
>
> Any tips?
>

You need to use a package like tocloft

https://ctan.org/pkg/tocloft

See if this example helps (I did not test it)

https://www.kronto.org/thesis/tips/format-toc.html


table of contents font size

2019-01-18 Thread Phil

Hi LyXer's
My TOC font is too small.   

I am using the article class with typewriter font.
How can I make the TOC font larger?  

I tried to put ERT around the TOC as \being{LARGE} \end{LARGE} but had no 
success.
Any tips?


Re: Query about table of contents in Lyx

2015-09-21 Thread Michael Berger
On 09/20/2015 08:46 PM, Frederick FN Noronha फ्रेड्रिक नोरोन्या *فريدريك 
نورونيا wrote:
Some of my chapter titles are really long. I'd like to break them into 
two lines (at a point where I want it, without the line being justified).


Can someone kindly let me know how this is done using the ERT for 
creating the table of contents?


Many thanks! FN
--
P +91-832-2409490 M9822122436 Twitter: @fn Facebook: fredericknoronha
Goa,1556 Shared Content at archive.org <http://archive.org> 
https://archive.org/details/goa1556

Hi Frederick,
First of all: why do you want to use ERT for creating a table of contents?
In the Lyx document you can break any title at any point using Strg+Enter.

Michael



Re: Query about table of contents in Lyx

2015-09-21 Thread Charlie
On Mon, 21 Sep 2015 09:12:04 +0200
Michael Berger  wrote:

> Strg

Excuse my ignorance, but I am curious. What is "Strg"?

Charlie
-- 
Registered Linux User:- 329524
***

Nature makes no mistakes. In such a universe, a decision which
results in one's death, is not a mistake. It is simply a way of
dying at the right moment. - Alan Watts

***

Debian GNU/Linux - Magic indeed.

-


Re: Query about table of contents in Lyx

2015-09-21 Thread Scott Kostyshak
On Mon, Sep 21, 2015 at 06:42:31PM +1000, Charlie wrote:
> 
>   On Mon, 21 Sep 2015 10:28:37 +0200 Jürgen mentioned this: 
>   Re: Query about table of contents in Lyx. 
> 
> > > Excuse my ignorance, but I am curious. What is "Strg"?
> > >  
> > 
> > "Ctrl" on German keyboards (abbreviation for "Steuerung", which is a
> > German translation of "Control").
> > 
> > (Germans sometimes tend to forget that it's a localized key and
> > expand it to "String", "strong" or even "Strange")
> > 
> > Jürgen
> 
>   From my keyboard:
> 
>Hello Jürgen,
> 
>   Thank you. Yes I used "Ctrl" for the purpose, but thought there
>   must have been another way.

There are other ways, but this is the recommended way. Is there
something that is not desired if you do it this way?

Scott


Re: Query about table of contents in Lyx

2015-09-21 Thread Jürgen Spitzmüller
2015-09-21 10:16 GMT+02:00 Charlie:

> Excuse my ignorance, but I am curious. What is "Strg"?
>

"Ctrl" on German keyboards (abbreviation for "Steuerung", which is a German
translation of "Control").

(Germans sometimes tend to forget that it's a localized key and expand it
to "String", "strong" or even "Strange")

Jürgen


Re: Query about table of contents in Lyx

2015-09-21 Thread Charlie

  On Mon, 21 Sep 2015 10:28:37 +0200 Jürgen mentioned this: 
Re: Query about table of contents in Lyx. 

> > Excuse my ignorance, but I am curious. What is "Strg"?
> >  
> 
> "Ctrl" on German keyboards (abbreviation for "Steuerung", which is a
> German translation of "Control").
> 
> (Germans sometimes tend to forget that it's a localized key and
> expand it to "String", "strong" or even "Strange")
> 
> Jürgen

  From my keyboard:

   Hello Jürgen,

  Thank you. Yes I used "Ctrl" for the purpose, but thought there
  must have been another way.

Thank you for your time and knowledge.

Charlie

East Gippsland Wildlife Rehabilitators Inc..
   http://www.egwildlife.com.au/

-- 
Registered Linux User:- 329524
***

Rightful liberty is unobstructed action according to our will
within limits drawn around us by the equal rights of others. I
do not add "within the limits of the law" because law is often
but the tyrant's will, and always so when it violates the
rights of the individual. --Thomas Jefferson

***

Debian GNU/Linux - Magic indeed.

-


Query about table of contents in Lyx

2015-09-20 Thread Frederick FN Noronha फ्रेड्रिक नोरोन्या *فريدريك نورونيا
Some of my chapter titles are really long. I'd like to break them into two
lines (at a point where I want it, without the line being justified).

Can someone kindly let me know how this is done using the ERT for creating
the table of contents?

Many thanks! FN
-- 
P +91-832-2409490 M 9822122436 Twitter: @fn Facebook: fredericknoronha
Goa,1556 Shared Content at archive.org https://archive.org/details/goa1556


Query: how to get italics in a Table of Contents?

2014-10-12 Thread Frederick FN Noronha फ्रेड्रिक नोरोन्या *فريدريك نورونيا
I need to create a ToC for a book dealing with the writing of Salman
Rushdie. The chapter titles contain book names. How do I make a word
italicised in the ToC?

\addcontentsline{toc}{chapter}{Writing in a Postcolonial / Postmodern
Space: Rushdie’s Narrative Landscape}

-- 
FN P +91-832-2409490 M +91-9822122436 http://goa1556.in


Re: Query: how to get italics in a Table of Contents?

2014-10-12 Thread William Seager
On Sunday, October 12, 2014 15:32:56 Frederick FN Noronha *فريدريك نورونيا 
wrote:
 \addcontentsline{toc}{chapter}{Writing in a Postcolonial / Postmodern
 Space: Rushdie’s Narrative Landscape}

Hi - does \textit{...} work?
-- 
William Seager
University of Toronto Scarborough
www.utsc.utoronto.ca/~seager

Adam Smith: There is no point more difficult 
to account for than the right we conceive men 
to have to dispose of their goods after death.


Query: how to get italics in a Table of Contents?

2014-10-12 Thread Frederick FN Noronha फ्रेड्रिक नोरोन्या *فريدريك نورونيا
I need to create a ToC for a book dealing with the writing of Salman
Rushdie. The chapter titles contain book names. How do I make a word
italicised in the ToC?

\addcontentsline{toc}{chapter}{Writing in a Postcolonial / Postmodern
Space: Rushdie’s Narrative Landscape}

-- 
FN P +91-832-2409490 M +91-9822122436 http://goa1556.in


Re: Query: how to get italics in a Table of Contents?

2014-10-12 Thread William Seager
On Sunday, October 12, 2014 15:32:56 Frederick FN Noronha *فريدريك نورونيا 
wrote:
 \addcontentsline{toc}{chapter}{Writing in a Postcolonial / Postmodern
 Space: Rushdie’s Narrative Landscape}

Hi - does \textit{...} work?
-- 
William Seager
University of Toronto Scarborough
www.utsc.utoronto.ca/~seager

Adam Smith: There is no point more difficult 
to account for than the right we conceive men 
to have to dispose of their goods after death.


Query: how to get italics in a Table of Contents?

2014-10-12 Thread Frederick FN Noronha फ्रेड्रिक नोरोन्या *فريدريك نورونيا
I need to create a ToC for a book dealing with the writing of Salman
Rushdie. The chapter titles contain book names. How do I make a word
italicised in the ToC?

\addcontentsline{toc}{chapter}{Writing in a Postcolonial / Postmodern
Space: Rushdie’s Narrative Landscape}

-- 
FN P +91-832-2409490 M +91-9822122436 http://goa1556.in


Re: Query: how to get italics in a Table of Contents?

2014-10-12 Thread William Seager
On Sunday, October 12, 2014 15:32:56 Frederick FN Noronha *فريدريك نورونيا 
wrote:
> \addcontentsline{toc}{chapter}{Writing in a Postcolonial / Postmodern
> Space: Rushdie’s Narrative Landscape}

Hi - does \textit{...} work?
-- 
William Seager
University of Toronto Scarborough
www.utsc.utoronto.ca/~seager

Adam Smith: "There is no point more difficult 
to account for than the right we conceive men 
to have to dispose of their goods after death."


Re: APA with a Table of Contents: Losing the subparagaph in the ToC

2014-06-27 Thread John Kane
Hi Jacob
Many thanks.   It now is working and it even let's me insert a couple of
new page commands that seem to allow me a separate TOC page.  Fantastic!.

My apologies for the knitr and shortnames modules.  They are part of my
regular template and I tend to forget I even load them until I actually use
them.


On 24 June 2014 17:33, Jacob Bishop bishop.ja...@gmail.com wrote:

 Hi John,

 A couple of things. First, you have included the knitr and
 short-inset-names modules in the document, which as far as I can tell are
 not used for this minimal example. I removed them since I'm not yet set up
 to work with those. This shouldn't cause any problems, but I thought I'd
 mention it in case.

 As a disclaimer, I am not exactly sure what I'm doing, but when I opened
 up the apa.cls file and searched for paragraph and subparagraph, I found:
 \renewcommand{\paragraph}{\@startsection{paragraph}{4}{\parindent}%
 {0\baselineskip \@plus 0.2ex \@minus 0.2ex}%
 {-1em}%
 {\normalfont\normalsize\bfseries\itshape\addperi}}

 \renewcommand{\subparagraph}[1]{\@startsection{subparagraph}{5}{1em}%
 {0\baselineskip \@plus 0.2ex \@minus 0.2ex}%
 {-\z@\relax}%

 {\normalfont\normalsize\itshape\hspace{\parindent}{#1}\textit{.}}{\relax}}

 The thing is, with the document you sent, the paragraph part is working,
 but the subparagraph part is not. So, if we use a little trial-and-error to
 put them together, I end up with the following, which seems to work if you
 paste it into your preamble (under Document-Settings-LaTeX Preamble).


 \renewcommand{\subparagraph}{\@startsection{subparagraph}{5}{\parindent}%

 {0\baselineskip \@plus 0.2ex \@minus 0.2ex}%

 {-1em}%

 {\normalfont\normalsize\itshape\addperi}}


 As a disclaimer, I'm not actually sure what I've done there, and it could
 break something else, but it seems to work for me...maybe somebody who
 understands things better can provide more insight. I hope this helps.

 Jacob




-- 
John Kane
Kingston ON Canada


Re: APA with a Table of Contents: Losing the subparagaph in the ToC

2014-06-27 Thread John Kane
Hi Jacob
Many thanks.   It now is working and it even let's me insert a couple of
new page commands that seem to allow me a separate TOC page.  Fantastic!.

My apologies for the knitr and shortnames modules.  They are part of my
regular template and I tend to forget I even load them until I actually use
them.


On 24 June 2014 17:33, Jacob Bishop bishop.ja...@gmail.com wrote:

 Hi John,

 A couple of things. First, you have included the knitr and
 short-inset-names modules in the document, which as far as I can tell are
 not used for this minimal example. I removed them since I'm not yet set up
 to work with those. This shouldn't cause any problems, but I thought I'd
 mention it in case.

 As a disclaimer, I am not exactly sure what I'm doing, but when I opened
 up the apa.cls file and searched for paragraph and subparagraph, I found:
 \renewcommand{\paragraph}{\@startsection{paragraph}{4}{\parindent}%
 {0\baselineskip \@plus 0.2ex \@minus 0.2ex}%
 {-1em}%
 {\normalfont\normalsize\bfseries\itshape\addperi}}

 \renewcommand{\subparagraph}[1]{\@startsection{subparagraph}{5}{1em}%
 {0\baselineskip \@plus 0.2ex \@minus 0.2ex}%
 {-\z@\relax}%

 {\normalfont\normalsize\itshape\hspace{\parindent}{#1}\textit{.}}{\relax}}

 The thing is, with the document you sent, the paragraph part is working,
 but the subparagraph part is not. So, if we use a little trial-and-error to
 put them together, I end up with the following, which seems to work if you
 paste it into your preamble (under Document-Settings-LaTeX Preamble).


 \renewcommand{\subparagraph}{\@startsection{subparagraph}{5}{\parindent}%

 {0\baselineskip \@plus 0.2ex \@minus 0.2ex}%

 {-1em}%

 {\normalfont\normalsize\itshape\addperi}}


 As a disclaimer, I'm not actually sure what I've done there, and it could
 break something else, but it seems to work for me...maybe somebody who
 understands things better can provide more insight. I hope this helps.

 Jacob




-- 
John Kane
Kingston ON Canada


Re: APA with a Table of Contents: Losing the subparagaph in the ToC

2014-06-27 Thread John Kane
Hi Jacob
Many thanks.   It now is working and it even let's me insert a couple of
new page commands that seem to allow me a separate TOC page.  Fantastic!.

My apologies for the knitr and shortnames modules.  They are part of my
regular template and I tend to forget I even load them until I actually use
them.


On 24 June 2014 17:33, Jacob Bishop  wrote:

> Hi John,
>
> A couple of things. First, you have included the knitr and
> short-inset-names modules in the document, which as far as I can tell are
> not used for this minimal example. I removed them since I'm not yet set up
> to work with those. This shouldn't cause any problems, but I thought I'd
> mention it in case.
>
> As a disclaimer, I am not exactly sure what I'm doing, but when I opened
> up the apa.cls file and searched for paragraph and subparagraph, I found:
> \renewcommand{\paragraph}{\@startsection{paragraph}{4}{\parindent}%
> {0\baselineskip \@plus 0.2ex \@minus 0.2ex}%
> {-1em}%
> {\normalfont\normalsize\bfseries\itshape\addperi}}
>
> \renewcommand{\subparagraph}[1]{\@startsection{subparagraph}{5}{1em}%
> {0\baselineskip \@plus 0.2ex \@minus 0.2ex}%
> {-\z@\relax}%
>
> {\normalfont\normalsize\itshape\hspace{\parindent}{#1}\textit{.}}{\relax}}
>
> The thing is, with the document you sent, the paragraph part is working,
> but the subparagraph part is not. So, if we use a little trial-and-error to
> put them together, I end up with the following, which seems to work if you
> paste it into your preamble (under Document->Settings->LaTeX Preamble).
>
>
> \renewcommand{\subparagraph}{\@startsection{subparagraph}{5}{\parindent}%
>
> {0\baselineskip \@plus 0.2ex \@minus 0.2ex}%
>
> {-1em}%
>
> {\normalfont\normalsize\itshape\addperi}}
>
>
> As a disclaimer, I'm not actually sure what I've done there, and it could
> break something else, but it seems to work for me...maybe somebody who
> understands things better can provide more insight. I hope this helps.
>
> Jacob
>



-- 
John Kane
Kingston ON Canada


APA with a Table of Contents: Losing the subparagaph in the ToC

2014-06-24 Thread John Kane
Yes I know, APA Style does not have a Table of Contents. However I ran into
a request for setting up one in a word processor (AOO Writer) a day or so
ago and it occurred to me that it might be possible in LyX.
If you have a look at the attached LyX file, so far I seem to have managed
to get a ToC for 4 of the 5 levels of headings. Can anyone point out why I
am not getting the subparagraph text to appear in the ToC?
I suspect I am making some trivial mistake but it is not obvious to me.

-- 
John Kane
Kingston ON Canada


APA.TOC.lyx
Description: application/lyx


Re: APA with a Table of Contents: Losing the subparagaph in the ToC

2014-06-24 Thread Jacob Bishop
Hi John,

A couple of things. First, you have included the knitr and
short-inset-names modules in the document, which as far as I can tell are
not used for this minimal example. I removed them since I'm not yet set up
to work with those. This shouldn't cause any problems, but I thought I'd
mention it in case.

As a disclaimer, I am not exactly sure what I'm doing, but when I opened up
the apa.cls file and searched for paragraph and subparagraph, I found:
\renewcommand{\paragraph}{\@startsection{paragraph}{4}{\parindent}%
{0\baselineskip \@plus 0.2ex \@minus 0.2ex}%
{-1em}%
{\normalfont\normalsize\bfseries\itshape\addperi}}

\renewcommand{\subparagraph}[1]{\@startsection{subparagraph}{5}{1em}%
{0\baselineskip \@plus 0.2ex \@minus 0.2ex}%
{-\z@\relax}%

{\normalfont\normalsize\itshape\hspace{\parindent}{#1}\textit{.}}{\relax}}

The thing is, with the document you sent, the paragraph part is working,
but the subparagraph part is not. So, if we use a little trial-and-error to
put them together, I end up with the following, which seems to work if you
paste it into your preamble (under Document-Settings-LaTeX Preamble).


\renewcommand{\subparagraph}{\@startsection{subparagraph}{5}{\parindent}%

{0\baselineskip \@plus 0.2ex \@minus 0.2ex}%

{-1em}%

{\normalfont\normalsize\itshape\addperi}}


As a disclaimer, I'm not actually sure what I've done there, and it could
break something else, but it seems to work for me...maybe somebody who
understands things better can provide more insight. I hope this helps.

Jacob


APA with a Table of Contents: Losing the subparagaph in the ToC

2014-06-24 Thread John Kane
Yes I know, APA Style does not have a Table of Contents. However I ran into
a request for setting up one in a word processor (AOO Writer) a day or so
ago and it occurred to me that it might be possible in LyX.
If you have a look at the attached LyX file, so far I seem to have managed
to get a ToC for 4 of the 5 levels of headings. Can anyone point out why I
am not getting the subparagraph text to appear in the ToC?
I suspect I am making some trivial mistake but it is not obvious to me.

-- 
John Kane
Kingston ON Canada


APA.TOC.lyx
Description: application/lyx


Re: APA with a Table of Contents: Losing the subparagaph in the ToC

2014-06-24 Thread Jacob Bishop
Hi John,

A couple of things. First, you have included the knitr and
short-inset-names modules in the document, which as far as I can tell are
not used for this minimal example. I removed them since I'm not yet set up
to work with those. This shouldn't cause any problems, but I thought I'd
mention it in case.

As a disclaimer, I am not exactly sure what I'm doing, but when I opened up
the apa.cls file and searched for paragraph and subparagraph, I found:
\renewcommand{\paragraph}{\@startsection{paragraph}{4}{\parindent}%
{0\baselineskip \@plus 0.2ex \@minus 0.2ex}%
{-1em}%
{\normalfont\normalsize\bfseries\itshape\addperi}}

\renewcommand{\subparagraph}[1]{\@startsection{subparagraph}{5}{1em}%
{0\baselineskip \@plus 0.2ex \@minus 0.2ex}%
{-\z@\relax}%

{\normalfont\normalsize\itshape\hspace{\parindent}{#1}\textit{.}}{\relax}}

The thing is, with the document you sent, the paragraph part is working,
but the subparagraph part is not. So, if we use a little trial-and-error to
put them together, I end up with the following, which seems to work if you
paste it into your preamble (under Document-Settings-LaTeX Preamble).


\renewcommand{\subparagraph}{\@startsection{subparagraph}{5}{\parindent}%

{0\baselineskip \@plus 0.2ex \@minus 0.2ex}%

{-1em}%

{\normalfont\normalsize\itshape\addperi}}


As a disclaimer, I'm not actually sure what I've done there, and it could
break something else, but it seems to work for me...maybe somebody who
understands things better can provide more insight. I hope this helps.

Jacob


APA with a Table of Contents: Losing the subparagaph in the ToC

2014-06-24 Thread John Kane
Yes I know, APA Style does not have a Table of Contents. However I ran into
a request for setting up one in a word processor (AOO Writer) a day or so
ago and it occurred to me that it might be possible in LyX.
If you have a look at the attached LyX file, so far I seem to have managed
to get a ToC for 4 of the 5 levels of headings. Can anyone point out why I
am not getting the subparagraph text to appear in the ToC?
I suspect I am making some trivial mistake but it is not obvious to me.

-- 
John Kane
Kingston ON Canada


APA.TOC.lyx
Description: application/lyx


Re: APA with a Table of Contents: Losing the subparagaph in the ToC

2014-06-24 Thread Jacob Bishop
Hi John,

A couple of things. First, you have included the knitr and
short-inset-names modules in the document, which as far as I can tell are
not used for this minimal example. I removed them since I'm not yet set up
to work with those. This shouldn't cause any problems, but I thought I'd
mention it in case.

As a disclaimer, I am not exactly sure what I'm doing, but when I opened up
the apa.cls file and searched for paragraph and subparagraph, I found:
\renewcommand{\paragraph}{\@startsection{paragraph}{4}{\parindent}%
{0\baselineskip \@plus 0.2ex \@minus 0.2ex}%
{-1em}%
{\normalfont\normalsize\bfseries\itshape\addperi}}

\renewcommand{\subparagraph}[1]{\@startsection{subparagraph}{5}{1em}%
{0\baselineskip \@plus 0.2ex \@minus 0.2ex}%
{-\z@\relax}%

{\normalfont\normalsize\itshape\hspace{\parindent}{#1}\textit{.}}{\relax}}

The thing is, with the document you sent, the paragraph part is working,
but the subparagraph part is not. So, if we use a little trial-and-error to
put them together, I end up with the following, which seems to work if you
paste it into your preamble (under Document->Settings->LaTeX Preamble).


\renewcommand{\subparagraph}{\@startsection{subparagraph}{5}{\parindent}%

{0\baselineskip \@plus 0.2ex \@minus 0.2ex}%

{-1em}%

{\normalfont\normalsize\itshape\addperi}}


As a disclaimer, I'm not actually sure what I've done there, and it could
break something else, but it seems to work for me...maybe somebody who
understands things better can provide more insight. I hope this helps.

Jacob


Re: Turning hyperref off in table of contents

2013-03-24 Thread Ray Rashif
On 25 March 2013 05:20, Frederick FN Noronha फ्रेड्रिक नोरोन्या
*فريدريك نورونيا fredericknoro...@gmail.com wrote:
 Dear all: I'm getting the hyperref links ON in the table-of-contents, when I
 don't want it. Could you pls guide on how to remove the clickable blue marks
 around the chapter titles in TOC? Thanks, FN

Why not keep the links but remove the colour?

\begingroup
\hypersetup{linkcolor=black}

TOCHERE (or anything else you don't want coloured)

\endgroup

You also want No frames around links, which is in the document
settings (PDF properties  hyperlinks).


--
GPG/PGP ID: C0711BF1


Re: Turning hyperref off in table of contents

2013-03-24 Thread Ray Rashif
On 25 March 2013 05:20, Frederick FN Noronha फ्रेड्रिक नोरोन्या
*فريدريك نورونيا fredericknoro...@gmail.com wrote:
 Dear all: I'm getting the hyperref links ON in the table-of-contents, when I
 don't want it. Could you pls guide on how to remove the clickable blue marks
 around the chapter titles in TOC? Thanks, FN

Why not keep the links but remove the colour?

\begingroup
\hypersetup{linkcolor=black}

TOCHERE (or anything else you don't want coloured)

\endgroup

You also want No frames around links, which is in the document
settings (PDF properties  hyperlinks).


--
GPG/PGP ID: C0711BF1


Re: Turning hyperref off in table of contents

2013-03-24 Thread Ray Rashif
On 25 March 2013 05:20, Frederick FN Noronha फ्रेड्रिक नोरोन्या
*فريدريك نورونيا <fredericknoro...@gmail.com> wrote:
> Dear all: I'm getting the hyperref links ON in the table-of-contents, when I
> don't want it. Could you pls guide on how to remove the clickable blue marks
> around the chapter titles in TOC? Thanks, FN

Why not keep the links but remove the colour?

\begingroup
\hypersetup{linkcolor=black}

TOCHERE (or anything else you don't want coloured)

\endgroup

You also want "No frames around links", which is in the document
settings (PDF properties > hyperlinks).


--
GPG/PGP ID: C0711BF1


Re: Italics... in the table-of-contents

2013-01-01 Thread Uwe Stöhr

Am 29.12.2012 12:58, schrieb  Frederick FN Noronha फ्रेड्रिक नोरोन्या *فريدريك 
نورونيا :


Is there some way I could convert particular words in the TOC (table of
contents) into italics? Can't seem to be able to select words in the
addcontentsline entry for italicisation:

\addcontentsline{toc}{chapter}{Preliminary Note: The Relevance of Modo
Goano}


It works for me fine:
Either use the short title and emphasize a word there or emphasize a word in the \addcontentsline 
command. Attached is my LyX example file.


regards Uwe


Neues_Dokument1.lyx
Description: application/lyx


Re: Italics... in the table-of-contents

2013-01-01 Thread Uwe Stöhr

Am 29.12.2012 12:58, schrieb  Frederick FN Noronha फ्रेड्रिक नोरोन्या *فريدريك 
نورونيا :


Is there some way I could convert particular words in the TOC (table of
contents) into italics? Can't seem to be able to select words in the
addcontentsline entry for italicisation:

\addcontentsline{toc}{chapter}{Preliminary Note: The Relevance of Modo
Goano}


It works for me fine:
Either use the short title and emphasize a word there or emphasize a word in the \addcontentsline 
command. Attached is my LyX example file.


regards Uwe


Neues_Dokument1.lyx
Description: application/lyx


Re: Italics... in the table-of-contents

2013-01-01 Thread Uwe Stöhr

Am 29.12.2012 12:58, schrieb  Frederick FN Noronha फ्रेड्रिक नोरोन्या *فريدريك 
نورونيا :


Is there some way I could convert particular words in the TOC (table of
contents) into italics? Can't seem to be able to select words in the
addcontentsline entry for italicisation:

\addcontentsline{toc}{chapter}{Preliminary Note: The Relevance of Modo
Goano}


It works for me fine:
Either use the short title and emphasize a word there or emphasize a word in the \addcontentsline 
command. Attached is my LyX example file.


regards Uwe


Neues_Dokument1.lyx
Description: application/lyx


Table of Contents and naming the sections

2012-07-12 Thread Nergis
Hi,

I would like to ask two questions. I am using the article format for my
thesis

First, I would like to add the abstract, acknowledgements to the table of
content which I can not do right now.

Secondly I have sections like introduction, method but I would like to have
it in this format:

Chapter 1
Introduction

instead of 

1 Introduction

Could you help me please?

--
View this message in context: 
http://lyx.475766.n2.nabble.com/Adding-extra-word-to-table-of-contents-in-a-particular-spot-tp481475p7580146.html
Sent from the LyX - Users mailing list archive at Nabble.com.


Re: Table of Contents and naming the sections

2012-07-12 Thread David L. Johnson

On 07/12/2012 11:23 AM, Nergis wrote:

Hi,

I would like to ask two questions. I am using the article format for my
thesis

First, I would like to add the abstract, acknowledgements to the table of
content which I can not do right now.

Secondly I have sections like introduction, method but I would like to have
it in this format:

Chapter 1
Introduction

instead of

1 Introduction
Is there a particular reason why you are using the article style?  
Articles don't have chapters, they have sections (as far as LyX style 
goes).  Try a book style; whichever one fits your area best, and see if 
that doesn't work better for you.


--

David L. Johnson

Anyone who is capable of getting themselves made President should on
no account be allowed to do the job.
-- Douglas Adams



Re: Table of Contents and naming the sections

2012-07-12 Thread Richard Heck

On 07/12/2012 11:23 AM, Nergis wrote:

Hi,

I would like to ask two questions. I am using the article format for my
thesis

First, I would like to add the abstract, acknowledgements to the table of
content which I can not do right now.

http://www.personal.ceu.hu/tex/toc.htm

Richard



Table of Contents and naming the sections

2012-07-12 Thread Nergis
Hi,

I would like to ask two questions. I am using the article format for my
thesis

First, I would like to add the abstract, acknowledgements to the table of
content which I can not do right now.

Secondly I have sections like introduction, method but I would like to have
it in this format:

Chapter 1
Introduction

instead of 

1 Introduction

Could you help me please?

--
View this message in context: 
http://lyx.475766.n2.nabble.com/Adding-extra-word-to-table-of-contents-in-a-particular-spot-tp481475p7580146.html
Sent from the LyX - Users mailing list archive at Nabble.com.


Re: Table of Contents and naming the sections

2012-07-12 Thread David L. Johnson

On 07/12/2012 11:23 AM, Nergis wrote:

Hi,

I would like to ask two questions. I am using the article format for my
thesis

First, I would like to add the abstract, acknowledgements to the table of
content which I can not do right now.

Secondly I have sections like introduction, method but I would like to have
it in this format:

Chapter 1
Introduction

instead of

1 Introduction
Is there a particular reason why you are using the article style?  
Articles don't have chapters, they have sections (as far as LyX style 
goes).  Try a book style; whichever one fits your area best, and see if 
that doesn't work better for you.


--

David L. Johnson

Anyone who is capable of getting themselves made President should on
no account be allowed to do the job.
-- Douglas Adams



Re: Table of Contents and naming the sections

2012-07-12 Thread Richard Heck

On 07/12/2012 11:23 AM, Nergis wrote:

Hi,

I would like to ask two questions. I am using the article format for my
thesis

First, I would like to add the abstract, acknowledgements to the table of
content which I can not do right now.

http://www.personal.ceu.hu/tex/toc.htm

Richard



Table of Contents and naming the sections

2012-07-12 Thread Nergis
Hi,

I would like to ask two questions. I am using the article format for my
thesis

First, I would like to add the abstract, acknowledgements to the table of
content which I can not do right now.

Secondly I have sections like introduction, method but I would like to have
it in this format:

Chapter 1
Introduction

instead of 

1 Introduction

Could you help me please?

--
View this message in context: 
http://lyx.475766.n2.nabble.com/Adding-extra-word-to-table-of-contents-in-a-particular-spot-tp481475p7580146.html
Sent from the LyX - Users mailing list archive at Nabble.com.


Re: Table of Contents and naming the sections

2012-07-12 Thread David L. Johnson

On 07/12/2012 11:23 AM, Nergis wrote:

Hi,

I would like to ask two questions. I am using the article format for my
thesis

First, I would like to add the abstract, acknowledgements to the table of
content which I can not do right now.

Secondly I have sections like introduction, method but I would like to have
it in this format:

Chapter 1
Introduction

instead of

1 Introduction
Is there a particular reason why you are using the article style?  
Articles don't have chapters, they have sections (as far as LyX style 
goes).  Try a book style; whichever one fits your area best, and see if 
that doesn't work better for you.


--

David L. Johnson

Anyone who is capable of getting themselves made President should on
no account be allowed to do the job.
-- Douglas Adams



Re: Table of Contents and naming the sections

2012-07-12 Thread Richard Heck

On 07/12/2012 11:23 AM, Nergis wrote:

Hi,

I would like to ask two questions. I am using the article format for my
thesis

First, I would like to add the abstract, acknowledgements to the table of
content which I can not do right now.

http://www.personal.ceu.hu/tex/toc.htm

Richard



Re: Name of table of contents in headers

2012-03-07 Thread Richard Heck

On 03/04/2012 12:22 AM, William Seager wrote:

Hi all. This is more a latex problem than a lyx problem, but since
I'm using lyx I thought I'd ask here.

I have a complex document in which the table of contents
spans several pages.

My problem is that in the header the name of the table of contents,
(which is Contents) appears capitalized and emphasized (italics).

What document class is this? What page style are you using? Do you want 
to change how this looks only in the TOC, or in the rest of the document 
as well?


In book.cls, this would be controlled by two things: the definition of 
the page style, and this:


\newcommand\tableofcontents{%
\if@twocolumn
  \@restonecoltrue\onecolumn
\else
  \@restonecolfalse
\fi
\chapter*{\contentsname
\@mkboth{%
   \MakeUppercase\contentsname}{\MakeUppercase\contentsname}}%
\@starttoc{toc}%
\if@restonecol\twocolumn\fi
}

As you see, the \@mkboth command is what's giving you the uppercase. But 
the italics are probably coming from the page style.


Richard



Re: Name of table of contents in headers

2012-03-07 Thread William Seager
On Wednesday 07 March 2012 15:55:44 Richard Heck wrote:
 What document class is this? What page style are you using? Do you want 
 to change how this looks only in the TOC, or in the rest of the document 
 as well?

Sorry for the confusion about this but the solution was posted out
of thread; here it is again:

{\pagestyle{plain}
\fancyhead[LE,RO]{\thepage}
\fancyhead[LO,RE]{Contents}
\renewcommand{\contentsname}{Contents}\tableofcontents{}
\cleardoublepage}

best, Bill
-- 
William Seager
University of Toronto Scarborough
www.utsc.utoronto.ca/~seager


Re: Name of table of contents in headers

2012-03-07 Thread Richard Heck

On 03/04/2012 12:22 AM, William Seager wrote:

Hi all. This is more a latex problem than a lyx problem, but since
I'm using lyx I thought I'd ask here.

I have a complex document in which the table of contents
spans several pages.

My problem is that in the header the name of the table of contents,
(which is Contents) appears capitalized and emphasized (italics).

What document class is this? What page style are you using? Do you want 
to change how this looks only in the TOC, or in the rest of the document 
as well?


In book.cls, this would be controlled by two things: the definition of 
the page style, and this:


\newcommand\tableofcontents{%
\if@twocolumn
  \@restonecoltrue\onecolumn
\else
  \@restonecolfalse
\fi
\chapter*{\contentsname
\@mkboth{%
   \MakeUppercase\contentsname}{\MakeUppercase\contentsname}}%
\@starttoc{toc}%
\if@restonecol\twocolumn\fi
}

As you see, the \@mkboth command is what's giving you the uppercase. But 
the italics are probably coming from the page style.


Richard



Re: Name of table of contents in headers

2012-03-07 Thread William Seager
On Wednesday 07 March 2012 15:55:44 Richard Heck wrote:
 What document class is this? What page style are you using? Do you want 
 to change how this looks only in the TOC, or in the rest of the document 
 as well?

Sorry for the confusion about this but the solution was posted out
of thread; here it is again:

{\pagestyle{plain}
\fancyhead[LE,RO]{\thepage}
\fancyhead[LO,RE]{Contents}
\renewcommand{\contentsname}{Contents}\tableofcontents{}
\cleardoublepage}

best, Bill
-- 
William Seager
University of Toronto Scarborough
www.utsc.utoronto.ca/~seager


Re: Name of table of contents in headers

2012-03-07 Thread Richard Heck

On 03/04/2012 12:22 AM, William Seager wrote:

Hi all. This is more a latex problem than a lyx problem, but since
I'm using lyx I thought I'd ask here.

I have a complex document in which the table of contents
spans several pages.

My problem is that in the header the name of the table of contents,
(which is "Contents") appears capitalized and emphasized (italics).

What document class is this? What page style are you using? Do you want 
to change how this looks only in the TOC, or in the rest of the document 
as well?


In book.cls, this would be controlled by two things: the definition of 
the page style, and this:


\newcommand\tableofcontents{%
\if@twocolumn
  \@restonecoltrue\onecolumn
\else
  \@restonecolfalse
\fi
\chapter*{\contentsname
\@mkboth{%
   \MakeUppercase\contentsname}{\MakeUppercase\contentsname}}%
\@starttoc{toc}%
\if@restonecol\twocolumn\fi
}

As you see, the \@mkboth command is what's giving you the uppercase. But 
the italics are probably coming from the page style.


Richard



Re: Name of table of contents in headers

2012-03-07 Thread William Seager
On Wednesday 07 March 2012 15:55:44 Richard Heck wrote:
> What document class is this? What page style are you using? Do you want 
> to change how this looks only in the TOC, or in the rest of the document 
> as well?

Sorry for the confusion about this but the solution was posted out
of thread; here it is again:

{\pagestyle{plain}
\fancyhead[LE,RO]{\thepage}
\fancyhead[LO,RE]{Contents}
\renewcommand{\contentsname}{Contents}\tableofcontents{}
\cleardoublepage}

best, Bill
-- 
William Seager
University of Toronto Scarborough
www.utsc.utoronto.ca/~seager


Name of table of contents in headers

2012-03-04 Thread William Seager
Sorry to spam the group and reply to my own
message.

The solution is very simple:

{\pagestyle{plain}
\fancyhead[LE,RO]{\thepage}
\fancyhead[LO,RE]{Contents}
\renewcommand{\contentsname}{Contents}\tableofcontents{}
\cleardoublepage}

(If a moderator sees this, this and my previous message can
be deleted.)


-- 
William Seager
University of Toronto Scarborough
www.utsc.utoronto.ca/~seager


Re: Name of table of contents in headers

2012-03-04 Thread Richard Heck

On 03/04/2012 12:01 PM, William Seager wrote:

Sorry to spam the group and reply to my own
message.

The solution is very simple:

{\pagestyle{plain}
\fancyhead[LE,RO]{\thepage}
\fancyhead[LO,RE]{Contents}
\renewcommand{\contentsname}{Contents}\tableofcontents{}
\cleardoublepage}

(If a moderator sees this, this and my previous message can
be deleted.)

There's no moderator, but someone else might actually find this useful.

Richard



Name of table of contents in headers

2012-03-04 Thread William Seager
Sorry to spam the group and reply to my own
message.

The solution is very simple:

{\pagestyle{plain}
\fancyhead[LE,RO]{\thepage}
\fancyhead[LO,RE]{Contents}
\renewcommand{\contentsname}{Contents}\tableofcontents{}
\cleardoublepage}

(If a moderator sees this, this and my previous message can
be deleted.)


-- 
William Seager
University of Toronto Scarborough
www.utsc.utoronto.ca/~seager


Re: Name of table of contents in headers

2012-03-04 Thread Richard Heck

On 03/04/2012 12:01 PM, William Seager wrote:

Sorry to spam the group and reply to my own
message.

The solution is very simple:

{\pagestyle{plain}
\fancyhead[LE,RO]{\thepage}
\fancyhead[LO,RE]{Contents}
\renewcommand{\contentsname}{Contents}\tableofcontents{}
\cleardoublepage}

(If a moderator sees this, this and my previous message can
be deleted.)

There's no moderator, but someone else might actually find this useful.

Richard



Name of table of contents in headers

2012-03-04 Thread William Seager
Sorry to spam the group and reply to my own
message.

The solution is very simple:

{\pagestyle{plain}
\fancyhead[LE,RO]{\thepage}
\fancyhead[LO,RE]{Contents}
\renewcommand{\contentsname}{Contents}\tableofcontents{}
\cleardoublepage}

(If a moderator sees this, this and my previous message can
be deleted.)


-- 
William Seager
University of Toronto Scarborough
www.utsc.utoronto.ca/~seager


Re: Name of table of contents in headers

2012-03-04 Thread Richard Heck

On 03/04/2012 12:01 PM, William Seager wrote:

Sorry to spam the group and reply to my own
message.

The solution is very simple:

{\pagestyle{plain}
\fancyhead[LE,RO]{\thepage}
\fancyhead[LO,RE]{Contents}
\renewcommand{\contentsname}{Contents}\tableofcontents{}
\cleardoublepage}

(If a moderator sees this, this and my previous message can
be deleted.)

There's no moderator, but someone else might actually find this useful.

Richard



Name of table of contents in headers

2012-03-03 Thread William Seager
Hi all. This is more a latex problem than a lyx problem, but since
I'm using lyx I thought I'd ask here.

I have a complex document in which the table of contents
spans several pages.

My problem is that in the header the name of the table of contents,
(which is Contents) appears capitalized and emphasized (italics).

I found a bizarre way to turn off the capitalization in the header by
adding:

\let\stdtoc\tableofcontents 
\renewcommand*\tableofcontents{{% 
\renewcommand*\MakeUppercase[1]{##1}\stdtoc}}

to the preamble.

But the header remains emphasized.

I *can* turn off the emphasis by using this command:

\renewcommand{\contentsname}{\em Contents}

but then, of course, Contents appears emphasized
in the main body of the text.

Or, if I add the table of contents with this:

\renewcommand{\contentsname}{\textnormal {Contents}}\tableofcontents{}

then the header is perfect, but I lose the bold face I want
Contents to be in in the body of the text.

The headers throughout the rest of the document are
perfect and I don't want to mess with them.

It's a minor problem but it is bothering me.

TIA,

-- 
William Seager
University of Toronto Scarborough
www.utsc.utoronto.ca/~seager


Name of table of contents in headers

2012-03-03 Thread William Seager
Hi all. This is more a latex problem than a lyx problem, but since
I'm using lyx I thought I'd ask here.

I have a complex document in which the table of contents
spans several pages.

My problem is that in the header the name of the table of contents,
(which is Contents) appears capitalized and emphasized (italics).

I found a bizarre way to turn off the capitalization in the header by
adding:

\let\stdtoc\tableofcontents 
\renewcommand*\tableofcontents{{% 
\renewcommand*\MakeUppercase[1]{##1}\stdtoc}}

to the preamble.

But the header remains emphasized.

I *can* turn off the emphasis by using this command:

\renewcommand{\contentsname}{\em Contents}

but then, of course, Contents appears emphasized
in the main body of the text.

Or, if I add the table of contents with this:

\renewcommand{\contentsname}{\textnormal {Contents}}\tableofcontents{}

then the header is perfect, but I lose the bold face I want
Contents to be in in the body of the text.

The headers throughout the rest of the document are
perfect and I don't want to mess with them.

It's a minor problem but it is bothering me.

TIA,

-- 
William Seager
University of Toronto Scarborough
www.utsc.utoronto.ca/~seager


Name of table of contents in headers

2012-03-03 Thread William Seager
Hi all. This is more a latex problem than a lyx problem, but since
I'm using lyx I thought I'd ask here.

I have a complex document in which the table of contents
spans several pages.

My problem is that in the header the name of the table of contents,
(which is "Contents") appears capitalized and emphasized (italics).

I found a bizarre way to turn off the capitalization in the header by
adding:

\let\stdtoc\tableofcontents 
\renewcommand*\tableofcontents{{% 
\renewcommand*\MakeUppercase[1]{##1}\stdtoc}}

to the preamble.

But the header remains emphasized.

I *can* turn off the emphasis by using this command:

\renewcommand{\contentsname}{\em Contents}

but then, of course, "Contents" appears emphasized
in the main body of the text.

Or, if I add the table of contents with this:

\renewcommand{\contentsname}{\textnormal {Contents}}\tableofcontents{}

then the header is perfect, but I lose the bold face I want
"Contents" to be in in the body of the text.

The headers throughout the rest of the document are
perfect and I don't want to mess with them.

It's a minor problem but it is bothering me.

TIA,

-- 
William Seager
University of Toronto Scarborough
www.utsc.utoronto.ca/~seager


Formating the Table of Contents

2012-02-02 Thread Kim Lindgren
Hey guys!

I'm writing a report for 15 ECTS project at my university using LyX
that has to be formated so that if follows my institutions guidelines.
I managed to get most of it working properly, by using XeTeX for fonts
etc, but I cant figure out how to format the table of contents
properly.

According to our guidelines, the TOC should contain no line spacing,
the text should all be the same size (Georgia 11p) and there should be
no bold text. I've tried to find the solution on google, but to no
avail (mainly because searching for Table of contents actually
brings me to the table of contents of some page).

Thanks in advance for any help! :)

-- 
Please consider the environment before printing this e-mail - instead
of printing - make an environmentally friendly click at
www.aclickfortheforest.com


Re: Formating the Table of Contents

2012-02-02 Thread Marcelo Acuña
Hey guys!


I'm writing a report for 15 ECTS project at my university using LyX
that has to be formated so that if follows my institutions guidelines.
I managed to get most of it working properly, by using XeTeX for fonts
etc, but I cant figure out how to format the table of contents
properly.


titlesec and titletoc packages allow you to tailor the documents to your needs.

Marcelo


Formating the Table of Contents

2012-02-02 Thread Kim Lindgren
Hey guys!

I'm writing a report for 15 ECTS project at my university using LyX
that has to be formated so that if follows my institutions guidelines.
I managed to get most of it working properly, by using XeTeX for fonts
etc, but I cant figure out how to format the table of contents
properly.

According to our guidelines, the TOC should contain no line spacing,
the text should all be the same size (Georgia 11p) and there should be
no bold text. I've tried to find the solution on google, but to no
avail (mainly because searching for Table of contents actually
brings me to the table of contents of some page).

Thanks in advance for any help! :)

-- 
Please consider the environment before printing this e-mail - instead
of printing - make an environmentally friendly click at
www.aclickfortheforest.com


Re: Formating the Table of Contents

2012-02-02 Thread Marcelo Acuña
Hey guys!


I'm writing a report for 15 ECTS project at my university using LyX
that has to be formated so that if follows my institutions guidelines.
I managed to get most of it working properly, by using XeTeX for fonts
etc, but I cant figure out how to format the table of contents
properly.


titlesec and titletoc packages allow you to tailor the documents to your needs.

Marcelo


Formating the Table of Contents

2012-02-02 Thread Kim Lindgren
Hey guys!

I'm writing a report for 15 ECTS project at my university using LyX
that has to be formated so that if follows my institutions guidelines.
I managed to get most of it working properly, by using XeTeX for fonts
etc, but I cant figure out how to format the table of contents
properly.

According to our guidelines, the TOC should contain no line spacing,
the text should all be the same size (Georgia 11p) and there should be
no bold text. I've tried to find the solution on google, but to no
avail (mainly because searching for "Table of contents" actually
brings me to the table of contents of some page).

Thanks in advance for any help! :)

-- 
Please consider the environment before printing this e-mail - instead
of printing - make an environmentally friendly click at
www.aclickfortheforest.com


Re: Formating the Table of Contents

2012-02-02 Thread Marcelo Acuña
>Hey guys!

>
>I'm writing a report for 15 ECTS project at my university using LyX
>that has to be formated so that if follows my institutions guidelines.
>I managed to get most of it working properly, by using XeTeX for fonts
>etc, but I cant figure out how to format the table of contents
>properly.


titlesec and titletoc packages allow you to tailor the documents to your needs.

Marcelo


Multirow table cell contents overflow beyond cell borders

2011-01-06 Thread Daisuke Koya
Hello,

I'm using LyX 1.6.8 on Mac OS 10.6.6.

The problem I'm having is that contents of a multirow table overflow beyond the 
cell borders.

Normally when this type of thing happens, I insert a vertical space (VFill) to 
keep the cell contents within its borders, which is a fix I encountered by 
chance.
However, for these particular table cells, this method doesn't work.

The table cells in question have three columns on the first row, and seven 
columns in the second row.
The middle-five columns out of the seven in the second row are under a 
multi-column cell consisting of five middle columns on the first row.
The multirow cells are the left-most and right-most cells, which span two rows 
each.

I believe the above description was not very clear, but in any case, I would 
appreciate if there are any general tips on how to take care of the contents of 
multirow table cells that overflow from its borders. Thank you very much.

Daisuke Koya

Multirow table cell contents overflow beyond cell borders

2011-01-06 Thread Daisuke Koya
Hello,

I'm using LyX 1.6.8 on Mac OS 10.6.6.

The problem I'm having is that contents of a multirow table overflow beyond the 
cell borders.

Normally when this type of thing happens, I insert a vertical space (VFill) to 
keep the cell contents within its borders, which is a fix I encountered by 
chance.
However, for these particular table cells, this method doesn't work.

The table cells in question have three columns on the first row, and seven 
columns in the second row.
The middle-five columns out of the seven in the second row are under a 
multi-column cell consisting of five middle columns on the first row.
The multirow cells are the left-most and right-most cells, which span two rows 
each.

I believe the above description was not very clear, but in any case, I would 
appreciate if there are any general tips on how to take care of the contents of 
multirow table cells that overflow from its borders. Thank you very much.

Daisuke Koya

Multirow table cell contents overflow beyond cell borders

2011-01-06 Thread Daisuke Koya
Hello,

I'm using LyX 1.6.8 on Mac OS 10.6.6.

The problem I'm having is that contents of a multirow table overflow beyond the 
cell borders.

Normally when this type of thing happens, I insert a vertical space (VFill) to 
keep the cell contents within its borders, which is a fix I encountered by 
chance.
However, for these particular table cells, this method doesn't work.

The table cells in question have three columns on the first row, and seven 
columns in the second row.
The middle-five columns out of the seven in the second row are under a 
multi-column cell consisting of five middle columns on the first row.
The multirow cells are the left-most and right-most cells, which span two rows 
each.

I believe the above description was not very clear, but in any case, I would 
appreciate if there are any general tips on how to take care of the contents of 
multirow table cells that overflow from its borders. Thank you very much.

Daisuke Koya

lyx and table of contents

2010-12-17 Thread Paul Sutton
Hi

I am trying to add a table of contents to my rugby club newsletter.  Do
I need  to use a separate file with information in?  I can use the menu
to add table of contents but the properties box for this doesn't list
anything if I click list of graphics it does, so I am guessing its
looking for something.

thanks

Paul
-- 



Paul Sutton Cert SLPS (Open)
http://www.zleap.net


17th September 2011 - Software freedom day



Re: lyx and table of contents

2010-12-17 Thread Richard Heck

On 12/17/2010 06:29 AM, Paul Sutton wrote:

Hi

I am trying to add a table of contents to my rugby club newsletter.  Do
I need  to use a separate file with information in?  I can use the menu
to add table of contents but the properties box for this doesn't list
anything if I click list of graphics it does, so I am guessing its
looking for something.

By default, the table of contents includes only *numbered* sections and 
such, which you probably do not have in your newsletter. So you have to 
add them manually, via ERT:

\addcontentsline{toc}{section}{Title of Your Section}
\addcontentsline{toc}{subsection}{This Is a Subsection}
and so forth. Here toc identifies the table of contents. Note that 
this will not show in LyX's outline pane.


Yes, it would be really nice if there were a way to do this without ERT.

Richard



Re: lyx and table of contents

2010-12-17 Thread Guenter Milde
On 2010-12-17, Richard Heck wrote:
 On 12/17/2010 06:29 AM, Paul Sutton wrote:
 Hi

 I am trying to add a table of contents to my rugby club newsletter.  Do
 I need  to use a separate file with information in?  I can use the menu
 to add table of contents but the properties box for this doesn't list
 anything if I click list of graphics it does, so I am guessing its
 looking for something.

 By default, the table of contents includes only *numbered* sections and 
 such, which you probably do not have in your newsletter. So you have to 
 add them manually, via ERT:
  \addcontentsline{toc}{section}{Title of Your Section}
  \addcontentsline{toc}{subsection}{This Is a Subsection}
 and so forth. Here toc identifies the table of contents. Note that 
 this will not show in LyX's outline pane.

 Yes, it would be really nice if there were a way to do this without ERT.

Maybe a module that defines unnumbered section macros with contents-entry,
something like
  
  \newcommand{\listedsection}[1]{\section*{#1}%
 \addcontentsline{toc}{section}{#1}}
  ...

(in the preamble) and Styles to use them in LyX?

Günter




lyx and table of contents

2010-12-17 Thread Paul Sutton
Hi

I am trying to add a table of contents to my rugby club newsletter.  Do
I need  to use a separate file with information in?  I can use the menu
to add table of contents but the properties box for this doesn't list
anything if I click list of graphics it does, so I am guessing its
looking for something.

thanks

Paul
-- 



Paul Sutton Cert SLPS (Open)
http://www.zleap.net


17th September 2011 - Software freedom day



Re: lyx and table of contents

2010-12-17 Thread Richard Heck

On 12/17/2010 06:29 AM, Paul Sutton wrote:

Hi

I am trying to add a table of contents to my rugby club newsletter.  Do
I need  to use a separate file with information in?  I can use the menu
to add table of contents but the properties box for this doesn't list
anything if I click list of graphics it does, so I am guessing its
looking for something.

By default, the table of contents includes only *numbered* sections and 
such, which you probably do not have in your newsletter. So you have to 
add them manually, via ERT:

\addcontentsline{toc}{section}{Title of Your Section}
\addcontentsline{toc}{subsection}{This Is a Subsection}
and so forth. Here toc identifies the table of contents. Note that 
this will not show in LyX's outline pane.


Yes, it would be really nice if there were a way to do this without ERT.

Richard



Re: lyx and table of contents

2010-12-17 Thread Guenter Milde
On 2010-12-17, Richard Heck wrote:
 On 12/17/2010 06:29 AM, Paul Sutton wrote:
 Hi

 I am trying to add a table of contents to my rugby club newsletter.  Do
 I need  to use a separate file with information in?  I can use the menu
 to add table of contents but the properties box for this doesn't list
 anything if I click list of graphics it does, so I am guessing its
 looking for something.

 By default, the table of contents includes only *numbered* sections and 
 such, which you probably do not have in your newsletter. So you have to 
 add them manually, via ERT:
  \addcontentsline{toc}{section}{Title of Your Section}
  \addcontentsline{toc}{subsection}{This Is a Subsection}
 and so forth. Here toc identifies the table of contents. Note that 
 this will not show in LyX's outline pane.

 Yes, it would be really nice if there were a way to do this without ERT.

Maybe a module that defines unnumbered section macros with contents-entry,
something like
  
  \newcommand{\listedsection}[1]{\section*{#1}%
 \addcontentsline{toc}{section}{#1}}
  ...

(in the preamble) and Styles to use them in LyX?

Günter




lyx and table of contents

2010-12-17 Thread Paul Sutton
Hi

I am trying to add a table of contents to my rugby club newsletter.  Do
I need  to use a separate file with information in?  I can use the menu
to add table of contents but the properties box for this doesn't list
anything if I click list of graphics it does, so I am guessing its
looking for something.

thanks

Paul
-- 



Paul Sutton Cert SLPS (Open)
http://www.zleap.net


17th September 2011 - Software freedom day



Re: lyx and table of contents

2010-12-17 Thread Richard Heck

On 12/17/2010 06:29 AM, Paul Sutton wrote:

Hi

I am trying to add a table of contents to my rugby club newsletter.  Do
I need  to use a separate file with information in?  I can use the menu
to add table of contents but the properties box for this doesn't list
anything if I click list of graphics it does, so I am guessing its
looking for something.

By default, the table of contents includes only *numbered* sections and 
such, which you probably do not have in your newsletter. So you have to 
add them manually, via ERT:

\addcontentsline{toc}{section}{Title of Your Section}
\addcontentsline{toc}{subsection}{This Is a Subsection}
and so forth. Here "toc" identifies the table of contents. Note that 
this will not show in LyX's outline pane.


Yes, it would be really nice if there were a way to do this without ERT.

Richard



Re: lyx and table of contents

2010-12-17 Thread Guenter Milde
On 2010-12-17, Richard Heck wrote:
> On 12/17/2010 06:29 AM, Paul Sutton wrote:
>> Hi

>> I am trying to add a table of contents to my rugby club newsletter.  Do
>> I need  to use a separate file with information in?  I can use the menu
>> to add table of contents but the properties box for this doesn't list
>> anything if I click list of graphics it does, so I am guessing its
>> looking for something.

> By default, the table of contents includes only *numbered* sections and 
> such, which you probably do not have in your newsletter. So you have to 
> add them manually, via ERT:
>  \addcontentsline{toc}{section}{Title of Your Section}
>  \addcontentsline{toc}{subsection}{This Is a Subsection}
> and so forth. Here "toc" identifies the table of contents. Note that 
> this will not show in LyX's outline pane.

> Yes, it would be really nice if there were a way to do this without ERT.

Maybe a module that defines unnumbered section macros with contents-entry,
something like
  
  \newcommand{\listedsection}[1]{\section*{#1}%
 \addcontentsline{toc}{section}{#1}}
  ...

(in the preamble) and Styles to use them in LyX?

Günter




Section, not showing up in the table-of-contents

2010-11-21 Thread Frederick Noronha
Dear all: Is there some way I could include a section (in a book)
which features in the text (without a number) but also shows up in the
table-of-contents? FN

Frederick Noronha :: +91-9822122436 :: +91-832-2409490


Re: Section, not showing up in the table-of-contents

2010-11-21 Thread Liviu Andronic
On Sun, Nov 21, 2010 at 9:38 PM, Frederick Noronha
fredericknoro...@gmail.com wrote:
 Dear all: Is there some way I could include a section (in a book)
 which features in the text (without a number) but also shows up in the
 table-of-contents? FN

Are you looking for this [1]?
Liviu

[1] http://wiki.lyx.org/FAQ/TOC#toc4


 Frederick Noronha :: +91-9822122436 :: +91-832-2409490




-- 
Do you know how to read?
http://www.alienetworks.com/srtest.cfm
http://goodies.xfce.org/projects/applications/xfce4-dict#speed-reader
Do you know how to write?
http://garbl.home.comcast.net/~garbl/stylemanual/e.htm#e-mail


Section, not showing up in the table-of-contents

2010-11-21 Thread Frederick Noronha
Dear all: Is there some way I could include a section (in a book)
which features in the text (without a number) but also shows up in the
table-of-contents? FN

Frederick Noronha :: +91-9822122436 :: +91-832-2409490


Re: Section, not showing up in the table-of-contents

2010-11-21 Thread Liviu Andronic
On Sun, Nov 21, 2010 at 9:38 PM, Frederick Noronha
fredericknoro...@gmail.com wrote:
 Dear all: Is there some way I could include a section (in a book)
 which features in the text (without a number) but also shows up in the
 table-of-contents? FN

Are you looking for this [1]?
Liviu

[1] http://wiki.lyx.org/FAQ/TOC#toc4


 Frederick Noronha :: +91-9822122436 :: +91-832-2409490




-- 
Do you know how to read?
http://www.alienetworks.com/srtest.cfm
http://goodies.xfce.org/projects/applications/xfce4-dict#speed-reader
Do you know how to write?
http://garbl.home.comcast.net/~garbl/stylemanual/e.htm#e-mail


Section, not showing up in the table-of-contents

2010-11-21 Thread Frederick Noronha
Dear all: Is there some way I could include a section (in a book)
which features in the text (without a number) but also shows up in the
table-of-contents? FN

Frederick Noronha :: +91-9822122436 :: +91-832-2409490


Re: Section, not showing up in the table-of-contents

2010-11-21 Thread Liviu Andronic
On Sun, Nov 21, 2010 at 9:38 PM, Frederick Noronha
<fredericknoro...@gmail.com> wrote:
> Dear all: Is there some way I could include a section (in a book)
> which features in the text (without a number) but also shows up in the
> table-of-contents? FN
>
Are you looking for this [1]?
Liviu

[1] http://wiki.lyx.org/FAQ/TOC#toc4


> Frederick Noronha :: +91-9822122436 :: +91-832-2409490
>



-- 
Do you know how to read?
http://www.alienetworks.com/srtest.cfm
http://goodies.xfce.org/projects/applications/xfce4-dict#speed-reader
Do you know how to write?
http://garbl.home.comcast.net/~garbl/stylemanual/e.htm#e-mail


Re: Table of Contents formatting appendix depth

2010-10-27 Thread Uwe Stöhr

Am 27.10.2010 19:01, schrieb Clinton T Schmidt:


I'm trying to format my table of contents so that it has a different
depth for the body of the text and for the appendix. Is this even
possible?


I don't know. If this page doesn't lead you to a solution then I think 
this is impossible:

http://www.tex.ac.uk/cgi-bin/texfaq2html?label=tocloft

regards Uwe


Re: Table of Contents formatting appendix depth

2010-10-27 Thread Uwe Stöhr

Am 27.10.2010 19:01, schrieb Clinton T Schmidt:


I'm trying to format my table of contents so that it has a different
depth for the body of the text and for the appendix. Is this even
possible?


I don't know. If this page doesn't lead you to a solution then I think 
this is impossible:

http://www.tex.ac.uk/cgi-bin/texfaq2html?label=tocloft

regards Uwe


Re: Table of Contents formatting appendix depth

2010-10-27 Thread Uwe Stöhr

Am 27.10.2010 19:01, schrieb Clinton T Schmidt:


I'm trying to format my table of contents so that it has a different
depth for the body of the text and for the appendix. Is this even
possible?


I don't know. If this page doesn't lead you to a solution then I think 
this is impossible:

http://www.tex.ac.uk/cgi-bin/texfaq2html?label=tocloft

regards Uwe


Re: table of contents and pdf hyperrefs

2010-07-28 Thread Tennessee Carmel-Veilleux
On 28 July 2010 01:23, Alex Leith alexgle...@gmail.com wrote:

 Hi all

 I am writing my thesis in LyX and I am using koma-script report template. I
 have most things working really well, it is great, but I have two things
 which arent.

 1/ I want to have my TOC, LOT and LOF all to appear in the table of
 contents and to be in the PDF, is this possible.


Basically, you have to give class options (Document:Settings:Document
Class:Class Options:Custom) that tell KOMA-Script to include these.

The options are:
listof=totoc
bibliography=totoc or =totocnumbered (to have it numbered in sequence as a
chapter).

So in your case you would have:
listof=totoc,bibliography=totoc

in the custom options box.

See the screencast here (2 minutes) for the effect:
http://screencast.com/t/ODQ3MDc3O

See section 3.1.5 of the KOMA-Script manual for a full description of these
TOC options:
http://www.tex.ac.uk/CTAN/macros/latex/contrib/koma-script/scrguien.pdf.



 2/ My appendices are in the TOC but when you click them it goes to chapter
 1 for APp A, chapter 2 for APP B etc. This is the case for in text and the
 PDF index.


This does not happen with my KOMA-Script documents. Maybe it is a problem of
one of the packages that you are using which redefines some aspects of the
Chapter command in the case of appendixes. It's hard to tell... Maybe
someone else has an answer on that one :)

Best regards,

Tennessee Carmel-Veilleux, EIT
Electrical engineering masters student, ETS (http://www.etsmtl.ca)
Project AREXIMAS (http://areximas.etsmtl.ca)



 Thanks for you time,

 Alex

 --
 Alex Leith
 Surveying and Spatial Sciences
 University of Tasmania
 email: alexgle...@gmail.com
 mobile: 0419189050



How to view outline mode without clicking the table of contents?

2010-07-28 Thread Steve Litt
Hi all,

I have LyX 1.6.4 on Ubuntu 9.10.

How do I view outline mode without clicking the table of contents? I know it's 
a dumb question with a simple answer, but I've crawled all over the menus and 
done some Googling and can't find it. Could somebody please enlighten me?

The problem with clicking on the table of contents is I have a somewhat long 
book with the contents neither on page 1 nor on the last page, so I have to go 
and find the contents to click them. This happens every time I bring up a new 
LyX session. It would be a lot easier if I knew how to access outline mode 
from the menu system.

Thanks

SteveT
 
Steve Litt
Recession Relief Package
http://www.recession-relief.US
Twitter: http://www.twitter.com/stevelitt



Re: How to view outline mode without clicking the table of contents?

2010-07-28 Thread Liviu Andronic
Steve

On Wed, 28 Jul 2010 17:26:21 -0400
Steve Litt sl...@troubleshooters.com wrote:
 How do I view outline mode without clicking the table of contents? I
 know it's a dumb question with a simple answer, but I've crawled all
 over the menus and done some Googling and can't find it. Could
 somebody please enlighten me?
 
Are you talking about Document  Outline or the book-like Toggle
outline button to the right of Insert table? 
Liviu


Re: table of contents and pdf hyperrefs

2010-07-28 Thread Alex Leith
On Wed, Jul 28, 2010 at 9:27 PM, Tennessee Carmel-Veilleux 
tennessee.carmelveill...@gmail.com wrote:


 On 28 July 2010 01:23, Alex Leith alexgle...@gmail.com wrote:

 Hi all

 I am writing my thesis in LyX and I am using koma-script report template.
 I have most things working really well, it is great, but I have two things
 which arent.

 1/ I want to have my TOC, LOT and LOF all to appear in the table of
 contents and to be in the PDF, is this possible.


 Basically, you have to give class options (Document:Settings:Document
 Class:Class Options:Custom) that tell KOMA-Script to include these.

 The options are:
 listof=totoc
 bibliography=totoc or =totocnumbered (to have it numbered in sequence as
 a chapter).

 So in your case you would have:
 listof=totoc,bibliography=totoc

 in the custom options box.

 See the screencast here (2 minutes) for the effect:
 http://screencast.com/t/ODQ3MDc3O

 See section 3.1.5 of the KOMA-Script manual for a full description of these
 TOC options:
 http://www.tex.ac.uk/CTAN/macros/latex/contrib/koma-script/scrguien.pdf.



 2/ My appendices are in the TOC but when you click them it goes to chapter
 1 for APp A, chapter 2 for APP B etc. This is the case for in text and the
 PDF index.


 This does not happen with my KOMA-Script documents. Maybe it is a problem
 of one of the packages that you are using which redefines some aspects of
 the Chapter command in the case of appendixes. It's hard to tell... Maybe
 someone else has an answer on that one :)

 Best regards,

 Tennessee Carmel-Veilleux, EIT
 Electrical engineering masters student, ETS (http://www.etsmtl.ca)
 Project AREXIMAS (http://areximas.etsmtl.ca)



 Thanks for you time,

 Alex

 --
 Alex Leith
 Surveying and Spatial Sciences
 University of Tasmania
 email: alexgle...@gmail.com
 mobile: 0419189050



Thanks Tennessee

I am guessing, now, that the chapter command has been changed by fancychap
and that this has somehow changed the behaviour of the links for the
appendices. I removed it from the preable and that has fixed that problem.

Just now I changed the options of koma-script to listof=toc, and the list of
figures and tables are included in the TOC, but the table of contents itself
is not still... Any ideas?

Cheers,

Alex

-- 
Alex Leith
Surveying and Spatial Sciences
University of Tasmania
email: alexgle...@gmail.com
mobile: 0419189050


Re: How to view outline mode without clicking the table of contents?

2010-07-28 Thread Steve Litt
On Wednesday 28 July 2010 17:46:16 Liviu Andronic wrote:
 Steve
 
 On Wed, 28 Jul 2010 17:26:21 -0400
 
 Steve Litt sl...@troubleshooters.com wrote:
  How do I view outline mode without clicking the table of contents? I
  know it's a dumb question with a simple answer, but I've crawled all
  over the menus and done some Googling and can't find it. Could
  somebody please enlighten me?
 
 Are you talking about Document  Outline 

Yes! Thank you Liviu!

I told you it was a dumb question, but I couldn't find it myself even after an 
hour of looking. I just couldn't accept it wouldn't be in the View menu.

Anyway, thanks, you've made my job a lot easier.

SteveT

Steve Litt
Recession Relief Package
http://www.recession-relief.US
Twitter: http://www.twitter.com/stevelitt



  1   2   3   4   5   6   7   8   9   >