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


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


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: 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: 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: 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



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: table of contents and pdf hyperrefs

2010-07-28 Thread Alex Leith
On Thu, Jul 29, 2010 at 9:24 AM, Tennessee Carmel-Veilleux 
tennessee.carmelveill...@gmail.com wrote:

 To find something listed in the table of contents, you need to be looking
 at the table of contents. Thus, you don't need to list where it is, since by
 definition, you are there when you are consulting it :) It makes no
 typographical sense.

 If you ABSOLUTELY need it (and it will look weird, but whatever), you could
 force it with ERT:

 \addcontentsline{toc}{chapter}{Table of Contents}

 as LaTeX code just before the Table of Contents inset. See attached
 screenshot.





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

 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.

 Very possible.


 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?

 To find something listed in the table of contents, you need to be looking
 at the table of contents. Thus, you don't need to list where it is, since by
 definition, you are there when you are consulting it :) It makes no
 typographical sense.

 If you ABSOLUTELY need it (and it will look weird, but whatever), you could
 force it with ERT:

 \addcontentsline{toc}{chapter}{Table of Contents}

 as LaTeX code just before the Table of Contents inset. See attached
 screenshot. Hope this helps.


 Best regards,

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


Hi again

Ok, I see what you mean, that does seem weird. But what about in the pdf
index (see attached screenshot) I would expect that I should be able to move
to the TOC from here, right?

Alex

-- 
Alex Leith
Surveying and Spatial Sciences
University of Tasmania
email: alexgle...@gmail.com
mobile: 0419189050
attachment: Screen shot 2010-07-29 at 9.33.16 AM.png

Re: table of contents and pdf hyperrefs

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



 On Thu, Jul 29, 2010 at 9:24 AM, Tennessee Carmel-Veilleux 
 tennessee.carmelveill...@gmail.com wrote:


 \addcontentsline{toc}{chapter}{Table of Contents}

 as LaTeX code just before the Table of Contents inset. See attached
 screenshot. Hope this helps.

 Hi again

 Ok, I see what you mean, that does seem weird. But what about in the pdf
 index (see attached screenshot) I would expect that I should be able to move
 to the TOC from here, right?


I understand what you mean :) To have only a link in the PDF bookmarks, use:

\pdfbookmark[0]{Table of Contents}{toc}

in LaTeX code just before the Table of Contents (basically replacing
\addcontentsline{toc}{chapter}
{Table of Contents} that I mentionned in the previous reply).

This way, the table of contents appears in the PDF bookmarks, but not in the
table of contents itself.

Best regards,

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


Re: table of contents and pdf hyperrefs

2010-07-28 Thread Alex Leith
On Thu, Jul 29, 2010 at 10:07 AM, Tennessee Carmel-Veilleux 
tennessee.carmelveill...@gmail.com wrote:

 On 28 July 2010 19:35, Alex Leith alexgle...@gmail.com wrote:



 On Thu, Jul 29, 2010 at 9:24 AM, Tennessee Carmel-Veilleux 
 tennessee.carmelveill...@gmail.com wrote:


 \addcontentsline{toc}{chapter}{Table of Contents}

 as LaTeX code just before the Table of Contents inset. See attached
 screenshot. Hope this helps.

 Hi again

 Ok, I see what you mean, that does seem weird. But what about in the pdf
 index (see attached screenshot) I would expect that I should be able to move
 to the TOC from here, right?


 I understand what you mean :) To have only a link in the PDF bookmarks,
 use:

 \pdfbookmark[0]{Table of Contents}{toc}

 in LaTeX code just before the Table of Contents (basically replacing
 \addcontentsline{toc}{chapter}
 {Table of Contents} that I mentionned in the previous reply).

 This way, the table of contents appears in the PDF bookmarks, but not in
 the table of contents itself.


 Best regards,

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


Fantastic! Thank you so much. I really like writing in LyX, but some of
these things are hard to discover. Have a good day/night whatever!

Alex


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


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



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: table of contents and pdf hyperrefs

2010-07-28 Thread Alex Leith
On Thu, Jul 29, 2010 at 9:24 AM, Tennessee Carmel-Veilleux 
tennessee.carmelveill...@gmail.com wrote:

 To find something listed in the table of contents, you need to be looking
 at the table of contents. Thus, you don't need to list where it is, since by
 definition, you are there when you are consulting it :) It makes no
 typographical sense.

 If you ABSOLUTELY need it (and it will look weird, but whatever), you could
 force it with ERT:

 \addcontentsline{toc}{chapter}{Table of Contents}

 as LaTeX code just before the Table of Contents inset. See attached
 screenshot.





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

 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.

 Very possible.


 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?

 To find something listed in the table of contents, you need to be looking
 at the table of contents. Thus, you don't need to list where it is, since by
 definition, you are there when you are consulting it :) It makes no
 typographical sense.

 If you ABSOLUTELY need it (and it will look weird, but whatever), you could
 force it with ERT:

 \addcontentsline{toc}{chapter}{Table of Contents}

 as LaTeX code just before the Table of Contents inset. See attached
 screenshot. Hope this helps.


 Best regards,

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


Hi again

Ok, I see what you mean, that does seem weird. But what about in the pdf
index (see attached screenshot) I would expect that I should be able to move
to the TOC from here, right?

Alex

-- 
Alex Leith
Surveying and Spatial Sciences
University of Tasmania
email: alexgle...@gmail.com
mobile: 0419189050
attachment: Screen shot 2010-07-29 at 9.33.16 AM.png

Re: table of contents and pdf hyperrefs

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



 On Thu, Jul 29, 2010 at 9:24 AM, Tennessee Carmel-Veilleux 
 tennessee.carmelveill...@gmail.com wrote:


 \addcontentsline{toc}{chapter}{Table of Contents}

 as LaTeX code just before the Table of Contents inset. See attached
 screenshot. Hope this helps.

 Hi again

 Ok, I see what you mean, that does seem weird. But what about in the pdf
 index (see attached screenshot) I would expect that I should be able to move
 to the TOC from here, right?


I understand what you mean :) To have only a link in the PDF bookmarks, use:

\pdfbookmark[0]{Table of Contents}{toc}

in LaTeX code just before the Table of Contents (basically replacing
\addcontentsline{toc}{chapter}
{Table of Contents} that I mentionned in the previous reply).

This way, the table of contents appears in the PDF bookmarks, but not in the
table of contents itself.

Best regards,

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


Re: table of contents and pdf hyperrefs

2010-07-28 Thread Alex Leith
On Thu, Jul 29, 2010 at 10:07 AM, Tennessee Carmel-Veilleux 
tennessee.carmelveill...@gmail.com wrote:

 On 28 July 2010 19:35, Alex Leith alexgle...@gmail.com wrote:



 On Thu, Jul 29, 2010 at 9:24 AM, Tennessee Carmel-Veilleux 
 tennessee.carmelveill...@gmail.com wrote:


 \addcontentsline{toc}{chapter}{Table of Contents}

 as LaTeX code just before the Table of Contents inset. See attached
 screenshot. Hope this helps.

 Hi again

 Ok, I see what you mean, that does seem weird. But what about in the pdf
 index (see attached screenshot) I would expect that I should be able to move
 to the TOC from here, right?


 I understand what you mean :) To have only a link in the PDF bookmarks,
 use:

 \pdfbookmark[0]{Table of Contents}{toc}

 in LaTeX code just before the Table of Contents (basically replacing
 \addcontentsline{toc}{chapter}
 {Table of Contents} that I mentionned in the previous reply).

 This way, the table of contents appears in the PDF bookmarks, but not in
 the table of contents itself.


 Best regards,

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


Fantastic! Thank you so much. I really like writing in LyX, but some of
these things are hard to discover. Have a good day/night whatever!

Alex


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


Re: table of contents and pdf hyperrefs

2010-07-28 Thread Tennessee Carmel-Veilleux
On 28 July 2010 01:23, Alex Leith  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
>


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  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: table of contents and pdf hyperrefs

2010-07-28 Thread Alex Leith
On Thu, Jul 29, 2010 at 9:24 AM, Tennessee Carmel-Veilleux <
tennessee.carmelveill...@gmail.com> wrote:

> To find something listed in the table of contents, you need to be looking
> at the table of contents. Thus, you don't need to list where it is, since by
> definition, you are there when you are consulting it :) It makes no
> typographical sense.
>
> If you ABSOLUTELY need it (and it will look weird, but whatever), you could
> force it with ERT:
>
> \addcontentsline{toc}{chapter}{Table of Contents}
>
> as LaTeX code just before the Table of Contents inset. See attached
> screenshot.
>
>
>
>
>
> On 28 July 2010 18:01, Alex Leith  wrote:
>
>> 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.
>>
>> Very possible.
>
>
>> 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?
>>
>> To find something listed in the table of contents, you need to be looking
> at the table of contents. Thus, you don't need to list where it is, since by
> definition, you are there when you are consulting it :) It makes no
> typographical sense.
>
> If you ABSOLUTELY need it (and it will look weird, but whatever), you could
> force it with ERT:
>
> \addcontentsline{toc}{chapter}{Table of Contents}
>
> as LaTeX code just before the Table of Contents inset. See attached
> screenshot. Hope this helps.
>
>
> Best regards,
>
> Tennessee Carmel-Veilleux, EIT
> Electrical engineering masters student, ETS (http://www.etsmtl.ca)
> Project AREXIMAS (http://areximas.etsmtl.ca)
>
>
Hi again

Ok, I see what you mean, that does seem weird. But what about in the pdf
index (see attached screenshot) I would expect that I should be able to move
to the TOC from here, right?

Alex

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

Re: table of contents and pdf hyperrefs

2010-07-28 Thread Tennessee Carmel-Veilleux
On 28 July 2010 19:35, Alex Leith  wrote:

>
>
> On Thu, Jul 29, 2010 at 9:24 AM, Tennessee Carmel-Veilleux <
> tennessee.carmelveill...@gmail.com> wrote:
>
>>
>> \addcontentsline{toc}{chapter}{Table of Contents}
>>
>> as LaTeX code just before the Table of Contents inset. See attached
>> screenshot. Hope this helps.
>>
>> Hi again
>
> Ok, I see what you mean, that does seem weird. But what about in the pdf
> index (see attached screenshot) I would expect that I should be able to move
> to the TOC from here, right?
>
>
I understand what you mean :) To have only a link in the PDF bookmarks, use:

\pdfbookmark[0]{Table of Contents}{toc}

in LaTeX code just before the Table of Contents (basically replacing
\addcontentsline{toc}{chapter}
{Table of Contents} that I mentionned in the previous reply).

This way, the table of contents appears in the PDF bookmarks, but not in the
table of contents itself.

Best regards,

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


Re: table of contents and pdf hyperrefs

2010-07-28 Thread Alex Leith
On Thu, Jul 29, 2010 at 10:07 AM, Tennessee Carmel-Veilleux <
tennessee.carmelveill...@gmail.com> wrote:

> On 28 July 2010 19:35, Alex Leith  wrote:
>
>>
>>
>> On Thu, Jul 29, 2010 at 9:24 AM, Tennessee Carmel-Veilleux <
>> tennessee.carmelveill...@gmail.com> wrote:
>>
>>>
>>> \addcontentsline{toc}{chapter}{Table of Contents}
>>>
>>> as LaTeX code just before the Table of Contents inset. See attached
>>> screenshot. Hope this helps.
>>>
>>> Hi again
>>
>> Ok, I see what you mean, that does seem weird. But what about in the pdf
>> index (see attached screenshot) I would expect that I should be able to move
>> to the TOC from here, right?
>>
>>
> I understand what you mean :) To have only a link in the PDF bookmarks,
> use:
>
> \pdfbookmark[0]{Table of Contents}{toc}
>
> in LaTeX code just before the Table of Contents (basically replacing
> \addcontentsline{toc}{chapter}
> {Table of Contents} that I mentionned in the previous reply).
>
> This way, the table of contents appears in the PDF bookmarks, but not in
> the table of contents itself.
>
>
> Best regards,
>
> Tennessee Carmel-Veilleux, EIT
> Electrical engineering masters student, ETS (http://www.etsmtl.ca)
> Project AREXIMAS (http://areximas.etsmtl.ca)
>
>
Fantastic! Thank you so much. I really like writing in LyX, but some of
these things are hard to discover. Have a good day/night whatever!

Alex


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


Re: Table of contents with lyx -e

2009-07-25 Thread Pavel Sanda
Guillaume Yziquel wrote:
 Hello.

 I have been trying to generate some .pdf from a .lyx file using lyx -e.

 Unfortunately, it seems that the table of contents gets messed up: If 
 section X is on page n, the internal link points to page n-1.

 Generating the .pdf from the LyX graphical environment works fine, however.

 Is it me? Or is it LyX?

lyx i guess. please fill bug report if not already done.
pavel


Re: Table of contents with lyx -e

2009-07-25 Thread Pavel Sanda
Guillaume Yziquel wrote:
 Hello.

 I have been trying to generate some .pdf from a .lyx file using lyx -e.

 Unfortunately, it seems that the table of contents gets messed up: If 
 section X is on page n, the internal link points to page n-1.

 Generating the .pdf from the LyX graphical environment works fine, however.

 Is it me? Or is it LyX?

lyx i guess. please fill bug report if not already done.
pavel


Re: Table of contents with lyx -e

2009-07-25 Thread Pavel Sanda
Guillaume Yziquel wrote:
> Hello.
>
> I have been trying to generate some .pdf from a .lyx file using lyx -e.
>
> Unfortunately, it seems that the table of contents gets messed up: If 
> section X is on page n, the internal link points to page n-1.
>
> Generating the .pdf from the LyX graphical environment works fine, however.
>
> Is it me? Or is it LyX?

lyx i guess. please fill bug report if not already done.
pavel


Re: table of contents in every chapter per chapter

2008-12-29 Thread Typhoon
On Mon, 29 Dec 2008 17:42:24 -0600 (CST)
Jeremy C. Reed r...@reedmedia.net wrote:

 My book needs a separate table of contents within every chapter
 containing the toc entries only for that chapter.
 
 For now I am using labels and pageref. But it not as formatted
 nicely. And since I already have the main table of contents for all
 chapters at the front of the book, I am hoping I can use same
 routines to have per-chapter contents listings.

Try the minitoc package. It has some problems with some document
classes (e.g., it doesn't play nicely with the Memoir class) but it
does what you are asking.

HTH,
Alan

 
 Any ideas?
 
 Thanks
 
   Jeremy C. Reed
 
 p.s. I thought there was some current discussion similar to this, but 
 can't find that now.
 


Re: table of contents in every chapter per chapter

2008-12-29 Thread Steve Litt
On Monday 29 December 2008 06:42:24 pm Jeremy C. Reed wrote:
 My book needs a separate table of contents within every chapter containing
 the toc entries only for that chapter.

 For now I am using labels and pageref. But it not as formatted nicely. And
 since I already have the main table of contents for all chapters at the
 front of the book, I am hoping I can use same routines to have per-chapter
 contents listings.

 Any ideas?

 Thanks

   Jeremy C. Reed

 p.s. I thought there was some current discussion similar to this, but
 can't find that now.

That would be soo kewl in a nonfiction book!

SteveT

Steve Litt
Recession Relief Package
http://www.recession-relief.US



Re: table of contents in every chapter per chapter

2008-12-29 Thread Typhoon
On Mon, 29 Dec 2008 17:42:24 -0600 (CST)
Jeremy C. Reed r...@reedmedia.net wrote:

 My book needs a separate table of contents within every chapter
 containing the toc entries only for that chapter.
 
 For now I am using labels and pageref. But it not as formatted
 nicely. And since I already have the main table of contents for all
 chapters at the front of the book, I am hoping I can use same
 routines to have per-chapter contents listings.

Try the minitoc package. It has some problems with some document
classes (e.g., it doesn't play nicely with the Memoir class) but it
does what you are asking.

HTH,
Alan

 
 Any ideas?
 
 Thanks
 
   Jeremy C. Reed
 
 p.s. I thought there was some current discussion similar to this, but 
 can't find that now.
 


Re: table of contents in every chapter per chapter

2008-12-29 Thread Steve Litt
On Monday 29 December 2008 06:42:24 pm Jeremy C. Reed wrote:
 My book needs a separate table of contents within every chapter containing
 the toc entries only for that chapter.

 For now I am using labels and pageref. But it not as formatted nicely. And
 since I already have the main table of contents for all chapters at the
 front of the book, I am hoping I can use same routines to have per-chapter
 contents listings.

 Any ideas?

 Thanks

   Jeremy C. Reed

 p.s. I thought there was some current discussion similar to this, but
 can't find that now.

That would be soo kewl in a nonfiction book!

SteveT

Steve Litt
Recession Relief Package
http://www.recession-relief.US



Re: table of contents in every chapter per chapter

2008-12-29 Thread Typhoon
On Mon, 29 Dec 2008 17:42:24 -0600 (CST)
"Jeremy C. Reed"  wrote:

> My book needs a separate table of contents within every chapter
> containing the toc entries only for that chapter.
> 
> For now I am using labels and pageref. But it not as formatted
> nicely. And since I already have the main table of contents for all
> chapters at the front of the book, I am hoping I can use same
> routines to have per-chapter contents listings.

Try the minitoc package. It has some problems with some document
classes (e.g., it doesn't play nicely with the Memoir class) but it
does what you are asking.

HTH,
Alan

> 
> Any ideas?
> 
> Thanks
> 
>   Jeremy C. Reed
> 
> p.s. I thought there was some current discussion similar to this, but 
> can't find that now.
> 


Re: table of contents in every chapter per chapter

2008-12-29 Thread Steve Litt
On Monday 29 December 2008 06:42:24 pm Jeremy C. Reed wrote:
> My book needs a separate table of contents within every chapter containing
> the toc entries only for that chapter.
>
> For now I am using labels and pageref. But it not as formatted nicely. And
> since I already have the main table of contents for all chapters at the
> front of the book, I am hoping I can use same routines to have per-chapter
> contents listings.
>
> Any ideas?
>
> Thanks
>
>   Jeremy C. Reed
>
> p.s. I thought there was some current discussion similar to this, but
> can't find that now.

That would be soo kewl in a nonfiction book!

SteveT

Steve Litt
Recession Relief Package
http://www.recession-relief.US



Re: Table of contents dialog problem

2008-10-24 Thread asm23

Uwe Stöhr wrote:

asm23 schrieb:


My environment is Windows XP En. Lyx 1.6RC3.

When I click the Table of contents in a lyx file. A Outline dialog 
will display in the left side. But nothing will show below.


This bug has been fixed in the meantime. LyX 1.6.0RC4 i ncluding the fix 
comes out soon. When you still have problems, please report this at 
http://bugzilla.lyx.org


regards Uwe

HI, Uwe, I install the 1.60 RC4 in my windows XP En. But this problem 
still exist, and haven't fixed. I'm trying to report this bug, but I 
can't find the entry in bugzilla.lyx.org.




Re: Table of contents dialog problem

2008-10-24 Thread Uwe Stöhr

asm23 schrieb:

HI, Uwe, I install the 1.60 RC4 in my windows XP En. But this problem 
still exist, and haven't fixed. I'm trying to report this bug, but I 
can't find the entry in bugzilla.lyx.org.


Then please create a new one.

regards Uwe


Re: Table of contents dialog problem

2008-10-24 Thread asm23

Uwe Stöhr wrote:

asm23 schrieb:


My environment is Windows XP En. Lyx 1.6RC3.

When I click the Table of contents in a lyx file. A Outline dialog 
will display in the left side. But nothing will show below.


This bug has been fixed in the meantime. LyX 1.6.0RC4 i ncluding the fix 
comes out soon. When you still have problems, please report this at 
http://bugzilla.lyx.org


regards Uwe

HI, Uwe, I install the 1.60 RC4 in my windows XP En. But this problem 
still exist, and haven't fixed. I'm trying to report this bug, but I 
can't find the entry in bugzilla.lyx.org.




Re: Table of contents dialog problem

2008-10-24 Thread Uwe Stöhr

asm23 schrieb:

HI, Uwe, I install the 1.60 RC4 in my windows XP En. But this problem 
still exist, and haven't fixed. I'm trying to report this bug, but I 
can't find the entry in bugzilla.lyx.org.


Then please create a new one.

regards Uwe


Re: Table of contents dialog problem

2008-10-24 Thread asm23

Uwe Stöhr wrote:

asm23 schrieb:


My environment is Windows XP En. Lyx 1.6RC3.

When I click the "Table of contents" in a lyx file. A "Outline" dialog 
will display in the left side. But nothing will show below.


This bug has been fixed in the meantime. LyX 1.6.0RC4 i ncluding the fix 
comes out soon. When you still have problems, please report this at 
http://bugzilla.lyx.org


regards Uwe

HI, Uwe, I install the 1.60 RC4 in my windows XP En. But this problem 
still exist, and haven't fixed. I'm trying to report this bug, but I 
can't find the entry in bugzilla.lyx.org.




Re: Table of contents dialog problem

2008-10-24 Thread Uwe Stöhr

asm23 schrieb:

HI, Uwe, I install the 1.60 RC4 in my windows XP En. But this problem 
still exist, and haven't fixed. I'm trying to report this bug, but I 
can't find the entry in bugzilla.lyx.org.


Then please create a new one.

regards Uwe


Re: Table of contents dialog problem

2008-10-23 Thread asm23

Uwe Stöhr wrote:

asm23 schrieb:


My environment is Windows XP En. Lyx 1.6RC3.

When I click the Table of contents in a lyx file. A Outline dialog 
will display in the left side. But nothing will show below.


This bug has been fixed in the meantime. LyX 1.6.0RC4 i ncluding the fix 
comes out soon. When you still have problems, please report this at 
http://bugzilla.lyx.org


regards Uwe


Thanks for your reply. I'm hoping for the RC4...



Re: Table of contents dialog problem

2008-10-23 Thread asm23

Uwe Stöhr wrote:

asm23 schrieb:


My environment is Windows XP En. Lyx 1.6RC3.

When I click the Table of contents in a lyx file. A Outline dialog 
will display in the left side. But nothing will show below.


This bug has been fixed in the meantime. LyX 1.6.0RC4 i ncluding the fix 
comes out soon. When you still have problems, please report this at 
http://bugzilla.lyx.org


regards Uwe


Thanks for your reply. I'm hoping for the RC4...



Re: Table of contents dialog problem

2008-10-23 Thread asm23

Uwe Stöhr wrote:

asm23 schrieb:


My environment is Windows XP En. Lyx 1.6RC3.

When I click the "Table of contents" in a lyx file. A "Outline" dialog 
will display in the left side. But nothing will show below.


This bug has been fixed in the meantime. LyX 1.6.0RC4 i ncluding the fix 
comes out soon. When you still have problems, please report this at 
http://bugzilla.lyx.org


regards Uwe


Thanks for your reply. I'm hoping for the RC4...



Re: Table of contents dialog problem

2008-10-22 Thread Uwe Stöhr

asm23 schrieb:


My environment is Windows XP En. Lyx 1.6RC3.

When I click the Table of contents in a lyx file. A Outline dialog 
will display in the left side. But nothing will show below.


This bug has been fixed in the meantime. LyX 1.6.0RC4 i ncluding the fix comes out soon. When you 
still have problems, please report this at http://bugzilla.lyx.org


regards Uwe


Re: Table of contents dialog problem

2008-10-22 Thread Uwe Stöhr

asm23 schrieb:


My environment is Windows XP En. Lyx 1.6RC3.

When I click the Table of contents in a lyx file. A Outline dialog 
will display in the left side. But nothing will show below.


This bug has been fixed in the meantime. LyX 1.6.0RC4 i ncluding the fix comes out soon. When you 
still have problems, please report this at http://bugzilla.lyx.org


regards Uwe


Re: Table of contents dialog problem

2008-10-22 Thread Uwe Stöhr

asm23 schrieb:


My environment is Windows XP En. Lyx 1.6RC3.

When I click the "Table of contents" in a lyx file. A "Outline" dialog 
will display in the left side. But nothing will show below.


This bug has been fixed in the meantime. LyX 1.6.0RC4 i ncluding the fix comes out soon. When you 
still have problems, please report this at http://bugzilla.lyx.org


regards Uwe


Re: Table of contents hyperlinks (multi-part document)

2008-04-15 Thread Filippo Zangheri
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Adrian Peter ha scritto:
 Hi,
 
  
 
 I want to use the hyperref package to make my document table of contents
 entries serve as hyperlinks to chapters, sections, subsections, etc.  I have
 a master document, with sub-documents (brought together using Include).
 Do I have to do anything special besides placing a \usepackage{hyperref} in
 the preamble of the master document?  Thank you in advance for your help.

That's enough for a very basic usage. But if you want to remove the
coloured boxes around links, as well as if you want to add some
description to your output pdf file, you might want to try this:

\usepackage[
% these settings create hierarchical bookmarks which follow the
% document hierarchy
bookmarks=true,
bookmarksopen=true,
bookmarksnumbered=true,

% theese parameters are useful only if you build a pdf file
%   pdftitle={ DOCUMENT TITLE },
%   pdfauthor={ YOUR INFO },
%   pdfcreator={LyX, the LaTeX frontend with hyperref},
%   pdfkeywords={ DOCUMENT KEYWORDS },
%   pdfsubject={ DOCUMENT SUBJECT },

% see http://www.tex.ac.uk/cgi-bin/texfaq2html?label=pdfpagelabels
pdfpagelabels,  plainpages=false,

% these settings remove all colours around any kind of link
colorlinks=true,
linkcolor=black,
urlcolor=black,
filecolor=black,
citecolor=black,
]{hyperref}


This usage was suggested by Tim Michelsen on this list some time ago.
Best regards.

- --
Filippo Zangheri

GPG key ID: 0xE1D879FA
Key fingerprint: 816B CE57 D43C 0A47 EF35 3378 EA5F A72A E1D8 79FA
Key server: pgp.mit.edu

- -BEGIN GEEK CODE BLOCK-
Version: 3.12
GE d- s+:- a-- C++ UL+++ P+ L+++ E-- W+ N* o-- K- w--- O-- M--
V- PS++ PE+ Y+ PGP++ t 5-- X++ R* tv b+ DI-- D G-- e++ h--
r++ z*
- --END GEEK CODE BLOCK--
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQFIBHAf6l+nKuHYefoRAoW6AJwMrJ10fUM4v8Sbz5HkWDMV9e3+rgCcDx4v
yycV72zFs2P6yt5I3jWqQmc=
=rKwM
-END PGP SIGNATURE-



Re: Table of contents hyperlinks (multi-part document)

2008-04-15 Thread Uwe Stöhr

Adrian Peter schrieb:


I want to use the hyperref package to make my document table of contents
entries serve as hyperlinks to chapters, sections, subsections, etc.  I have
a master document, with sub-documents (brought together using Include).
Do I have to do anything special besides placing a \usepackage{hyperref} in
the preamble of the master document?


Add the hyperref command you find in the preamble of the English UserGuide to your master document. 
Of course change in the command the pdftitle etc. according to your document.


Btw. the next major LyX release LyX 1.6 will support hyperref directly via the 
document settings menu.

regards Uwe


Re: Table of contents hyperlinks (multi-part document)

2008-04-15 Thread Filippo Zangheri
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Adrian Peter ha scritto:
 Hi,
 
  
 
 I want to use the hyperref package to make my document table of contents
 entries serve as hyperlinks to chapters, sections, subsections, etc.  I have
 a master document, with sub-documents (brought together using Include).
 Do I have to do anything special besides placing a \usepackage{hyperref} in
 the preamble of the master document?  Thank you in advance for your help.

That's enough for a very basic usage. But if you want to remove the
coloured boxes around links, as well as if you want to add some
description to your output pdf file, you might want to try this:

\usepackage[
% these settings create hierarchical bookmarks which follow the
% document hierarchy
bookmarks=true,
bookmarksopen=true,
bookmarksnumbered=true,

% theese parameters are useful only if you build a pdf file
%   pdftitle={ DOCUMENT TITLE },
%   pdfauthor={ YOUR INFO },
%   pdfcreator={LyX, the LaTeX frontend with hyperref},
%   pdfkeywords={ DOCUMENT KEYWORDS },
%   pdfsubject={ DOCUMENT SUBJECT },

% see http://www.tex.ac.uk/cgi-bin/texfaq2html?label=pdfpagelabels
pdfpagelabels,  plainpages=false,

% these settings remove all colours around any kind of link
colorlinks=true,
linkcolor=black,
urlcolor=black,
filecolor=black,
citecolor=black,
]{hyperref}


This usage was suggested by Tim Michelsen on this list some time ago.
Best regards.

- --
Filippo Zangheri

GPG key ID: 0xE1D879FA
Key fingerprint: 816B CE57 D43C 0A47 EF35 3378 EA5F A72A E1D8 79FA
Key server: pgp.mit.edu

- -BEGIN GEEK CODE BLOCK-
Version: 3.12
GE d- s+:- a-- C++ UL+++ P+ L+++ E-- W+ N* o-- K- w--- O-- M--
V- PS++ PE+ Y+ PGP++ t 5-- X++ R* tv b+ DI-- D G-- e++ h--
r++ z*
- --END GEEK CODE BLOCK--
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQFIBHAf6l+nKuHYefoRAoW6AJwMrJ10fUM4v8Sbz5HkWDMV9e3+rgCcDx4v
yycV72zFs2P6yt5I3jWqQmc=
=rKwM
-END PGP SIGNATURE-



Re: Table of contents hyperlinks (multi-part document)

2008-04-15 Thread Uwe Stöhr

Adrian Peter schrieb:


I want to use the hyperref package to make my document table of contents
entries serve as hyperlinks to chapters, sections, subsections, etc.  I have
a master document, with sub-documents (brought together using Include).
Do I have to do anything special besides placing a \usepackage{hyperref} in
the preamble of the master document?


Add the hyperref command you find in the preamble of the English UserGuide to your master document. 
Of course change in the command the pdftitle etc. according to your document.


Btw. the next major LyX release LyX 1.6 will support hyperref directly via the 
document settings menu.

regards Uwe


Re: Table of contents hyperlinks (multi-part document)

2008-04-15 Thread Filippo Zangheri
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Adrian Peter ha scritto:
> Hi,
> 
>  
> 
> I want to use the hyperref package to make my document table of contents
> entries serve as hyperlinks to chapters, sections, subsections, etc.  I have
> a master document, with sub-documents (brought together using "Include").
> Do I have to do anything special besides placing a \usepackage{hyperref} in
> the preamble of the master document?  Thank you in advance for your help.

That's enough for a very basic usage. But if you want to remove the
coloured boxes around links, as well as if you want to add some
description to your output pdf file, you might want to try this:

\usepackage[
% these settings create hierarchical bookmarks which follow the
% document hierarchy
bookmarks=true,
bookmarksopen=true,
bookmarksnumbered=true,

% theese parameters are useful only if you build a pdf file
%   pdftitle={ DOCUMENT TITLE },
%   pdfauthor={ YOUR INFO },
%   pdfcreator={LyX, the LaTeX frontend with hyperref},
%   pdfkeywords={ DOCUMENT KEYWORDS },
%   pdfsubject={ DOCUMENT SUBJECT },

% see http://www.tex.ac.uk/cgi-bin/texfaq2html?label=pdfpagelabels
pdfpagelabels,  plainpages=false,

% these settings remove all colours around any kind of link
colorlinks=true,
linkcolor=black,
urlcolor=black,
filecolor=black,
citecolor=black,
]{hyperref}


This usage was suggested by Tim Michelsen on this list some time ago.
Best regards.

- --
Filippo Zangheri

GPG key ID: 0xE1D879FA
Key fingerprint: 816B CE57 D43C 0A47 EF35 3378 EA5F A72A E1D8 79FA
Key server: pgp.mit.edu

- -BEGIN GEEK CODE BLOCK-
Version: 3.12
GE d- s+:- a-- C++ UL+++ P+ L+++ E-- W+ N* o-- K- w--- O-- M--
V- PS++ PE+ Y+ PGP++ t 5-- X++ R* tv b+ DI-- D G-- e++ h--
r++ z*
- --END GEEK CODE BLOCK--
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQFIBHAf6l+nKuHYefoRAoW6AJwMrJ10fUM4v8Sbz5HkWDMV9e3+rgCcDx4v
yycV72zFs2P6yt5I3jWqQmc=
=rKwM
-END PGP SIGNATURE-



Re: Table of contents hyperlinks (multi-part document)

2008-04-15 Thread Uwe Stöhr

Adrian Peter schrieb:


I want to use the hyperref package to make my document table of contents
entries serve as hyperlinks to chapters, sections, subsections, etc.  I have
a master document, with sub-documents (brought together using "Include").
Do I have to do anything special besides placing a \usepackage{hyperref} in
the preamble of the master document?


Add the hyperref command you find in the preamble of the English UserGuide to your master document. 
Of course change in the command the pdftitle etc. according to your document.


Btw. the next major LyX release LyX 1.6 will support hyperref directly via the 
document settings menu.

regards Uwe


Re: Table of Contents -- adding a line?

2008-01-31 Thread Jürgen Spitzmüller
Anthony Campbell wrote:
 I've tried using \tableofcontents in place of the Lyx command, with the
 same effect. I also tried \addtocontents{toc}{Preface} but I get an
 error.

Insert
\addcontentsline{toc}{chatpter}{Preface}

in ERT just below the Preface heading.

Jürgen


Re: Table of Contents -- adding a line?

2008-01-31 Thread Jürgen Spitzmüller
 Insert
 \addcontentsline{toc}{chatpter}{Preface}

\addcontentsline{toc}{chapter}{Preface}

Jürgen


Re: Table of Contents -- adding a line?

2008-01-31 Thread Anthony Campbell
On 31 Jan 2008, Jürgen Spitzmüller wrote:
 Anthony Campbell wrote:
  I've tried using \tableofcontents in place of the Lyx command, with the
  same effect. I also tried \addtocontents{toc}{Preface} but I get an
  error.
 
 Insert
 \addcontentsline{toc}{chatpter}{Preface}
 
 in ERT just below the Preface heading.
 
 Jürgen


Thanks - that works for the Preface but I don't seem to be able to do
the same thing for the index. No error messagd -- it's just ignored.

Anthony
-- 
Anthony Campbell - [EMAIL PROTECTED] 
Microsoft-free zone - Using Linux Gnu-Debian
http://www.acampbell.org.uk (blog, book reviews, 
on-line books and sceptical articles)



Re: Table of Contents -- adding a line?

2008-01-31 Thread Jürgen Spitzmüller
Anthony Campbell wrote:
 Thanks - that works for the Preface but I don't seem to be able to do
 the same thing for the index. No error messagd -- it's just ignored.

For the index, do

\usepackage[nottoc]{tocbibind}

in preamble.

(this is a FAQ actually: http://wiki.lyx.org/FAQ/Unsorted#toc15)

Jürgen


Re: Table of Contents -- adding a line?

2008-01-31 Thread Anthony Campbell
On 31 Jan 2008, Jürgen Spitzmüller wrote:
 Anthony Campbell wrote:
  Thanks - that works for the Preface but I don't seem to be able to do
  the same thing for the index. No error messagd -- it's just ignored.
 
 For the index, do
 
 \usepackage[nottoc]{tocbibind}
 
 in preamble.
 
 (this is a FAQ actually: http://wiki.lyx.org/FAQ/Unsorted#toc15)
 
 Jürgen

Thanks very much -- that's working now.

Anthony

-- 
Anthony Campbell - [EMAIL PROTECTED] 
Microsoft-free zone - Using Linux Gnu-Debian
http://www.acampbell.org.uk (blog, book reviews, 
on-line books and sceptical articles)



Re: Table of Contents -- adding a line?

2008-01-31 Thread Jürgen Spitzmüller
Anthony Campbell wrote:
 I've tried using \tableofcontents in place of the Lyx command, with the
 same effect. I also tried \addtocontents{toc}{Preface} but I get an
 error.

Insert
\addcontentsline{toc}{chatpter}{Preface}

in ERT just below the Preface heading.

Jürgen


Re: Table of Contents -- adding a line?

2008-01-31 Thread Jürgen Spitzmüller
 Insert
 \addcontentsline{toc}{chatpter}{Preface}

\addcontentsline{toc}{chapter}{Preface}

Jürgen


Re: Table of Contents -- adding a line?

2008-01-31 Thread Anthony Campbell
On 31 Jan 2008, Jürgen Spitzmüller wrote:
 Anthony Campbell wrote:
  I've tried using \tableofcontents in place of the Lyx command, with the
  same effect. I also tried \addtocontents{toc}{Preface} but I get an
  error.
 
 Insert
 \addcontentsline{toc}{chatpter}{Preface}
 
 in ERT just below the Preface heading.
 
 Jürgen


Thanks - that works for the Preface but I don't seem to be able to do
the same thing for the index. No error messagd -- it's just ignored.

Anthony
-- 
Anthony Campbell - [EMAIL PROTECTED] 
Microsoft-free zone - Using Linux Gnu-Debian
http://www.acampbell.org.uk (blog, book reviews, 
on-line books and sceptical articles)



Re: Table of Contents -- adding a line?

2008-01-31 Thread Jürgen Spitzmüller
Anthony Campbell wrote:
 Thanks - that works for the Preface but I don't seem to be able to do
 the same thing for the index. No error messagd -- it's just ignored.

For the index, do

\usepackage[nottoc]{tocbibind}

in preamble.

(this is a FAQ actually: http://wiki.lyx.org/FAQ/Unsorted#toc15)

Jürgen


Re: Table of Contents -- adding a line?

2008-01-31 Thread Anthony Campbell
On 31 Jan 2008, Jürgen Spitzmüller wrote:
 Anthony Campbell wrote:
  Thanks - that works for the Preface but I don't seem to be able to do
  the same thing for the index. No error messagd -- it's just ignored.
 
 For the index, do
 
 \usepackage[nottoc]{tocbibind}
 
 in preamble.
 
 (this is a FAQ actually: http://wiki.lyx.org/FAQ/Unsorted#toc15)
 
 Jürgen

Thanks very much -- that's working now.

Anthony

-- 
Anthony Campbell - [EMAIL PROTECTED] 
Microsoft-free zone - Using Linux Gnu-Debian
http://www.acampbell.org.uk (blog, book reviews, 
on-line books and sceptical articles)



Re: Table of Contents -- adding a line?

2008-01-31 Thread Jürgen Spitzmüller
Anthony Campbell wrote:
> I've tried using \tableofcontents in place of the Lyx command, with the
> same effect. I also tried \addtocontents{toc}{Preface} but I get an
> error.

Insert
\addcontentsline{toc}{chatpter}{Preface}

in ERT just below the Preface heading.

Jürgen


Re: Table of Contents -- adding a line?

2008-01-31 Thread Jürgen Spitzmüller
> Insert
> \addcontentsline{toc}{chatpter}{Preface}

\addcontentsline{toc}{chapter}{Preface}

Jürgen


Re: Table of Contents -- adding a line?

2008-01-31 Thread Anthony Campbell
On 31 Jan 2008, Jürgen Spitzmüller wrote:
> Anthony Campbell wrote:
> > I've tried using \tableofcontents in place of the Lyx command, with the
> > same effect. I also tried \addtocontents{toc}{Preface} but I get an
> > error.
> 
> Insert
> \addcontentsline{toc}{chatpter}{Preface}
> 
> in ERT just below the Preface heading.
> 
> Jürgen


Thanks - that works for the Preface but I don't seem to be able to do
the same thing for the index. No error messagd -- it's just ignored.

Anthony
-- 
Anthony Campbell - [EMAIL PROTECTED] 
Microsoft-free zone - Using Linux Gnu-Debian
http://www.acampbell.org.uk (blog, book reviews, 
on-line books and sceptical articles)



Re: Table of Contents -- adding a line?

2008-01-31 Thread Jürgen Spitzmüller
Anthony Campbell wrote:
> Thanks - that works for the Preface but I don't seem to be able to do
> the same thing for the index. No error messagd -- it's just ignored.

For the index, do

\usepackage[nottoc]{tocbibind}

in preamble.

(this is a FAQ actually: http://wiki.lyx.org/FAQ/Unsorted#toc15)

Jürgen


Re: Table of Contents -- adding a line?

2008-01-31 Thread Anthony Campbell
On 31 Jan 2008, Jürgen Spitzmüller wrote:
> Anthony Campbell wrote:
> > Thanks - that works for the Preface but I don't seem to be able to do
> > the same thing for the index. No error messagd -- it's just ignored.
> 
> For the index, do
> 
> \usepackage[nottoc]{tocbibind}
> 
> in preamble.
> 
> (this is a FAQ actually: http://wiki.lyx.org/FAQ/Unsorted#toc15)
> 
> Jürgen

Thanks very much -- that's working now.

Anthony

-- 
Anthony Campbell - [EMAIL PROTECTED] 
Microsoft-free zone - Using Linux Gnu-Debian
http://www.acampbell.org.uk (blog, book reviews, 
on-line books and sceptical articles)



Re: Table of Contents formatting

2007-04-10 Thread John Hughes
With the help of your example, I now understand the documentation much 
better! Thanks!


John


From: Bob Lounsbury [EMAIL PROTECTED]
To: John Hughes [EMAIL PROTECTED],LyX 
lyx-users@lists.lyx.org

Subject: Re: Table of Contents formatting
Date: Tue, 03 Apr 2007 11:03:58 -0600

On 4/3/07 7:05 AM, John Hughes [EMAIL PROTECTED] wrote:




 From: Bob Lounsbury [EMAIL PROTECTED]
 To: John Hughes [EMAIL PROTECTED],LyX
 lyx-users@lists.lyx.org
 Subject: Re: Table of Contents formatting
 Date: Mon, 02 Apr 2007 16:18:44 -0600

 On 4/2/07 9:48 AM, John Hughes [EMAIL PROTECTED] wrote:

 By default, the highest level entries in the table of contents are set
 to
 bold, which matches the default heading font. However, if I change the
 default heading font to, for example, medium series small caps (using
 sectsty), how can I change the highest level entries in the table of
 contents to match?

 Thanks

 John

 _
 Solve the Conspiracy and win fantastic prizes.
 http://www.theconspiracygame.co.uk/


 Check out the tocloft package to modify the toc, lof, or lot.

 Regards,
 Bob Lounsbury


 I've checked the documentation for that package and I'm still not sure 
how

 to change the font of the entries at one level. I've tried entering:

 \makeatletter
 [EMAIL PROTECTED]
 \makeatother

 which doesn't use tocloft, but it doesn't seem to work. If anyone's had 
any
 luck changing the font of table of contents entries with or without 
tocloft,

 please let me know.

 Thanks.

 John

 _
 MSN Hotmail is evolving - check out the new Windows Live Mail.
 http://ideas.live.co.uk/


Here's a simple example of how to change the font using the tocloft 
package.

Look at section 2.3 of the tocloft package documentation for further
discussion.

Regards,
Bob Lounsbury





 tocloft-sample.lyx 


_
Solve the Conspiracy and win fantastic prizes.  
http://www.theconspiracygame.co.uk/




Re: Table of Contents formatting

2007-04-10 Thread John Hughes
With the help of your example, I now understand the documentation much 
better! Thanks!


John


From: Bob Lounsbury [EMAIL PROTECTED]
To: John Hughes [EMAIL PROTECTED],LyX 
lyx-users@lists.lyx.org

Subject: Re: Table of Contents formatting
Date: Tue, 03 Apr 2007 11:03:58 -0600

On 4/3/07 7:05 AM, John Hughes [EMAIL PROTECTED] wrote:




 From: Bob Lounsbury [EMAIL PROTECTED]
 To: John Hughes [EMAIL PROTECTED],LyX
 lyx-users@lists.lyx.org
 Subject: Re: Table of Contents formatting
 Date: Mon, 02 Apr 2007 16:18:44 -0600

 On 4/2/07 9:48 AM, John Hughes [EMAIL PROTECTED] wrote:

 By default, the highest level entries in the table of contents are set
 to
 bold, which matches the default heading font. However, if I change the
 default heading font to, for example, medium series small caps (using
 sectsty), how can I change the highest level entries in the table of
 contents to match?

 Thanks

 John

 _
 Solve the Conspiracy and win fantastic prizes.
 http://www.theconspiracygame.co.uk/


 Check out the tocloft package to modify the toc, lof, or lot.

 Regards,
 Bob Lounsbury


 I've checked the documentation for that package and I'm still not sure 
how

 to change the font of the entries at one level. I've tried entering:

 \makeatletter
 [EMAIL PROTECTED]
 \makeatother

 which doesn't use tocloft, but it doesn't seem to work. If anyone's had 
any
 luck changing the font of table of contents entries with or without 
tocloft,

 please let me know.

 Thanks.

 John

 _
 MSN Hotmail is evolving - check out the new Windows Live Mail.
 http://ideas.live.co.uk/


Here's a simple example of how to change the font using the tocloft 
package.

Look at section 2.3 of the tocloft package documentation for further
discussion.

Regards,
Bob Lounsbury





 tocloft-sample.lyx 


_
Solve the Conspiracy and win fantastic prizes.  
http://www.theconspiracygame.co.uk/




Re: Table of Contents formatting

2007-04-10 Thread John Hughes
With the help of your example, I now understand the documentation much 
better! Thanks!


John


From: Bob Lounsbury <[EMAIL PROTECTED]>
To: John Hughes <[EMAIL PROTECTED]>,LyX 
<lyx-users@lists.lyx.org>

Subject: Re: Table of Contents formatting
Date: Tue, 03 Apr 2007 11:03:58 -0600

On 4/3/07 7:05 AM, "John Hughes" <[EMAIL PROTECTED]> wrote:

>
>
>
>> From: Bob Lounsbury <[EMAIL PROTECTED]>
>> To: John Hughes <[EMAIL PROTECTED]>,LyX
>> <lyx-users@lists.lyx.org>
>> Subject: Re: Table of Contents formatting
>> Date: Mon, 02 Apr 2007 16:18:44 -0600
>>
>> On 4/2/07 9:48 AM, "John Hughes" <[EMAIL PROTECTED]> wrote:
>>
>>> By default, the highest level entries in the table of contents are set
>> to
>>> bold, which matches the default heading font. However, if I change the
>>> default heading font to, for example, medium series small caps (using
>>> sectsty), how can I change the highest level entries in the table of
>>> contents to match?
>>>
>>> Thanks
>>>
>>> John
>>>
>>> _
>>> Solve the Conspiracy and win fantastic prizes.
>>> http://www.theconspiracygame.co.uk/
>>>
>>
>> Check out the tocloft package to modify the toc, lof, or lot.
>>
>> Regards,
>> Bob Lounsbury
>>
>
> I've checked the documentation for that package and I'm still not sure 
how

> to change the font of the entries at one level. I've tried entering:
>
> \makeatletter
> [EMAIL PROTECTED]
> \makeatother
>
> which doesn't use tocloft, but it doesn't seem to work. If anyone's had 
any
> luck changing the font of table of contents entries with or without 
tocloft,

> please let me know.
>
> Thanks.
>
> John
>
> _
> MSN Hotmail is evolving - check out the new Windows Live Mail.
> http://ideas.live.co.uk/
>

Here's a simple example of how to change the font using the tocloft 
package.

Look at section 2.3 of the tocloft package documentation for further
discussion.

Regards,
Bob Lounsbury





<< tocloft-sample.lyx >>


_
Solve the Conspiracy and win fantastic prizes.  
http://www.theconspiracygame.co.uk/




Re: Table of Contents formatting

2007-04-02 Thread Bob Lounsbury
On 4/2/07 9:48 AM, John Hughes [EMAIL PROTECTED] wrote:

 By default, the highest level entries in the table of contents are set to
 bold, which matches the default heading font. However, if I change the
 default heading font to, for example, medium series small caps (using
 sectsty), how can I change the highest level entries in the table of
 contents to match?
 
 Thanks
 
 John
 
 _
 Solve the Conspiracy and win fantastic prizes.
 http://www.theconspiracygame.co.uk/
 

Check out the tocloft package to modify the toc, lof, or lot.

Regards,
Bob Lounsbury




Re: Table of Contents formatting

2007-04-02 Thread Bob Lounsbury
On 4/2/07 9:48 AM, John Hughes [EMAIL PROTECTED] wrote:

 By default, the highest level entries in the table of contents are set to
 bold, which matches the default heading font. However, if I change the
 default heading font to, for example, medium series small caps (using
 sectsty), how can I change the highest level entries in the table of
 contents to match?
 
 Thanks
 
 John
 
 _
 Solve the Conspiracy and win fantastic prizes.
 http://www.theconspiracygame.co.uk/
 

Check out the tocloft package to modify the toc, lof, or lot.

Regards,
Bob Lounsbury




Re: Table of Contents formatting

2007-04-02 Thread Bob Lounsbury
On 4/2/07 9:48 AM, "John Hughes" <[EMAIL PROTECTED]> wrote:

> By default, the highest level entries in the table of contents are set to
> bold, which matches the default heading font. However, if I change the
> default heading font to, for example, medium series small caps (using
> sectsty), how can I change the highest level entries in the table of
> contents to match?
> 
> Thanks
> 
> John
> 
> _
> Solve the Conspiracy and win fantastic prizes.
> http://www.theconspiracygame.co.uk/
> 

Check out the tocloft package to modify the toc, lof, or lot.

Regards,
Bob Lounsbury




Re: Table of Contents - fine tuning

2006-01-18 Thread Sam Lewis
Solved!

Using Addchap instead of Chapter* produces a table of content entry
without  numbering -- as superb documentation (Extended.lyx) revealed.

Sam


On Wed, 18 Jan 2006 15:44:59 + Sam Lewis wrote:

 Hi there,
 
 using report (koma-script) the following:
 
 ---
 \layout Chapter
 Aim of Evaluation
 
 \layout Chapter
 Value of Patient Involvement
 ---
 
 produces a table of contents accordingly:
 1. Aim of Evaluation
 2. Value of Patient Involvement
 
 Assuming I would like to add a summary to the report preceding all
 chapters that appears in the table of contents but without a number
 entry.
 ---
 \layout Chapter*
 Executive Summary
 
 \layout Chapter
 Aim of Evaluation
 
 \layout Chapter
 Value of Patient Involvement
 ---
 
 How would I be able to produce the following output for the table of
 contents:
 Executive Summary
 1. Aim of Evaluation
 2. Value of Patient Involvement
 
 Many thanks!
 Sam


Re: Table of Contents - fine tuning

2006-01-18 Thread Sam Lewis
Solved!

Using Addchap instead of Chapter* produces a table of content entry
without  numbering -- as superb documentation (Extended.lyx) revealed.

Sam


On Wed, 18 Jan 2006 15:44:59 + Sam Lewis wrote:

 Hi there,
 
 using report (koma-script) the following:
 
 ---
 \layout Chapter
 Aim of Evaluation
 
 \layout Chapter
 Value of Patient Involvement
 ---
 
 produces a table of contents accordingly:
 1. Aim of Evaluation
 2. Value of Patient Involvement
 
 Assuming I would like to add a summary to the report preceding all
 chapters that appears in the table of contents but without a number
 entry.
 ---
 \layout Chapter*
 Executive Summary
 
 \layout Chapter
 Aim of Evaluation
 
 \layout Chapter
 Value of Patient Involvement
 ---
 
 How would I be able to produce the following output for the table of
 contents:
 Executive Summary
 1. Aim of Evaluation
 2. Value of Patient Involvement
 
 Many thanks!
 Sam


Re: Table of Contents - fine tuning

2006-01-18 Thread Sam Lewis
Solved!

Using "Addchap" instead of "Chapter*" produces a table of content entry
without  numbering -- as superb documentation (Extended.lyx) revealed.

Sam


On Wed, 18 Jan 2006 15:44:59 + Sam Lewis wrote:

> Hi there,
> 
> using report (koma-script) the following:
> 
> ---
> \layout Chapter
> Aim of Evaluation
> 
> \layout Chapter
> Value of Patient Involvement
> ---
> 
> produces a table of contents accordingly:
> 1. Aim of Evaluation
> 2. Value of Patient Involvement
> 
> Assuming I would like to add a summary to the report preceding all
> chapters that appears in the table of contents but without a number
> entry.
> ---
> \layout Chapter*
> Executive Summary
> 
> \layout Chapter
> Aim of Evaluation
> 
> \layout Chapter
> Value of Patient Involvement
> ---
> 
> How would I be able to produce the following output for the table of
> contents:
> Executive Summary
> 1. Aim of Evaluation
> 2. Value of Patient Involvement
> 
> Many thanks!
> Sam


Re: table of contents and no sections listed and no section numbering

2005-07-06 Thread Rich Shepard

On Wed, 6 Jul 2005, Jeremy C. Reed wrote:


I want one document to have section numbers within the different chapters,
etc. But I do not want the sections listed in the table of contents -- I
only want the chapter names listed in the table of contents. Any
suggestions on how I can use numbered sections in my book but not listed in
the table of contents?


  Set your ToC depth to '1'.


In another document, I want the table of contents to list all the sections
(but not Subsubsections) and I don't want these sections numbered. What can
I do so the table fo contents list the chapters and sections, but the
sections are not numbered?


  Set your ToC depth to '2.'

  Both are found under Layout - Document - Numbering.

Rich

--
Dr. Richard B. Shepard, President  | Author of Quantifying Environmental
Applied Ecosystem Services, Inc. (TM)  | Impact Assessments Using Fuzzy Logic
http://www.appl-ecosys.com   Voice: 503-667-4517   Fax: 503-667-8863


Re: table of contents and no sections listed and no section numbering

2005-07-06 Thread Jeremy C. Reed

On Wed, 6 Jul 2005, Rich Shepard wrote:


I want one document to have section numbers within the different chapters,
etc. But I do not want the sections listed in the table of contents -- I
only want the chapter names listed in the table of contents. Any
suggestions on how I can use numbered sections in my book but not listed in
the table of contents?


 Set your ToC depth to '1'.


Thanks for the quick answer.

I have LyX 1.3.5 and I set Layout - Document ... - Numbering - Table 
of contents depth to 0 and it worked like I wanted.



In another document, I want the table of contents to list all the sections
(but not Subsubsections) and I don't want these sections numbered. What can
I do so the table fo contents list the chapters and sections, but the
sections are not numbered?


 Set your ToC depth to '2.'


This showed my sections, but they contained numbers like:

2.1 Overview 
2.2 Objectives 

I am wondering how I can do that without the section numbering in the 
table of contenst -- while still having the section numbering within the 
content itself. Not real important though.


I tried setting the Section Numbering depth to -2 (and also to 0) and my 
table of contents was correct, but then the numbering was gone within the 
chapters too.



 Both are found under Layout - Document - Numbering.


 Jeremy C. Reed

 BSD News, BSD tutorials, BSD links
 http://www.bsdnewsletter.com/


Re: table of contents and no sections listed and no section numbering

2005-07-06 Thread Rich Shepard

On Wed, 6 Jul 2005, Jeremy C. Reed wrote:


I am wondering how I can do that without the section numbering in the table
of contenst -- while still having the section numbering within the content
itself. Not real important though.


  You'd need to redefine the commands.


I tried setting the Section Numbering depth to -2 (and also to 0) and my
table of contents was correct, but then the numbering was gone within the
chapters too.


  This is the way that most documents are done: all or nothing. Any custom
fitting must be done by hand. Look through the mail list archives and the
Tips  Tricks pages for more insight.

Rich

--
Dr. Richard B. Shepard, President  | Author of Quantifying Environmental
Applied Ecosystem Services, Inc. (TM)  | Impact Assessments Using Fuzzy Logic
http://www.appl-ecosys.com   Voice: 503-667-4517   Fax: 503-667-8863


Re: table of contents and no sections listed and no section numbering

2005-07-06 Thread Geoffrey Lloyd


- Original Message - 
From: Jeremy C. Reed [EMAIL PROTECTED]

To: Rich Shepard [EMAIL PROTECTED]
Cc: lyx-users@lists.lyx.org
Sent: Wednesday, July 06, 2005 10:08 PM
Subject: Re: table of contents and no sections listed and no section 
numbering




On Wed, 6 Jul 2005, Rich Shepard wrote:
In another document, I want the table of contents to list all the 
sections
(but not Subsubsections) and I don't want these sections numbered. What 
can

I do so the table fo contents list the chapters and sections, but the
sections are not numbered?
I am wondering how I can do that without the section numbering in the 
table of contenst -- while still having the section numbering within the 
content itself. Not real important though.


Ok before your ToC insert the following in ERT

\setcounter{secnumdepth}{0}

Then after your ToC have another ERT with

\setcounter{secnumdepth}{1}

This should only number the chapters in the TOC but still list the sections 
(if your TOC depth is set correctly as discussed in the earlier email), but 
both the chapters and the sections in your document.  You may need to play 
with the numbers but this is the right idea.


Geoff 



Re: table of contents and no sections listed and no section numbering

2005-07-06 Thread Rich Shepard

On Wed, 6 Jul 2005, Jeremy C. Reed wrote:


I want one document to have section numbers within the different chapters,
etc. But I do not want the sections listed in the table of contents -- I
only want the chapter names listed in the table of contents. Any
suggestions on how I can use numbered sections in my book but not listed in
the table of contents?


  Set your ToC depth to '1'.


In another document, I want the table of contents to list all the sections
(but not Subsubsections) and I don't want these sections numbered. What can
I do so the table fo contents list the chapters and sections, but the
sections are not numbered?


  Set your ToC depth to '2.'

  Both are found under Layout - Document - Numbering.

Rich

--
Dr. Richard B. Shepard, President  | Author of Quantifying Environmental
Applied Ecosystem Services, Inc. (TM)  | Impact Assessments Using Fuzzy Logic
http://www.appl-ecosys.com   Voice: 503-667-4517   Fax: 503-667-8863


Re: table of contents and no sections listed and no section numbering

2005-07-06 Thread Jeremy C. Reed

On Wed, 6 Jul 2005, Rich Shepard wrote:


I want one document to have section numbers within the different chapters,
etc. But I do not want the sections listed in the table of contents -- I
only want the chapter names listed in the table of contents. Any
suggestions on how I can use numbered sections in my book but not listed in
the table of contents?


 Set your ToC depth to '1'.


Thanks for the quick answer.

I have LyX 1.3.5 and I set Layout - Document ... - Numbering - Table 
of contents depth to 0 and it worked like I wanted.



In another document, I want the table of contents to list all the sections
(but not Subsubsections) and I don't want these sections numbered. What can
I do so the table fo contents list the chapters and sections, but the
sections are not numbered?


 Set your ToC depth to '2.'


This showed my sections, but they contained numbers like:

2.1 Overview 
2.2 Objectives 

I am wondering how I can do that without the section numbering in the 
table of contenst -- while still having the section numbering within the 
content itself. Not real important though.


I tried setting the Section Numbering depth to -2 (and also to 0) and my 
table of contents was correct, but then the numbering was gone within the 
chapters too.



 Both are found under Layout - Document - Numbering.


 Jeremy C. Reed

 BSD News, BSD tutorials, BSD links
 http://www.bsdnewsletter.com/


Re: table of contents and no sections listed and no section numbering

2005-07-06 Thread Rich Shepard

On Wed, 6 Jul 2005, Jeremy C. Reed wrote:


I am wondering how I can do that without the section numbering in the table
of contenst -- while still having the section numbering within the content
itself. Not real important though.


  You'd need to redefine the commands.


I tried setting the Section Numbering depth to -2 (and also to 0) and my
table of contents was correct, but then the numbering was gone within the
chapters too.


  This is the way that most documents are done: all or nothing. Any custom
fitting must be done by hand. Look through the mail list archives and the
Tips  Tricks pages for more insight.

Rich

--
Dr. Richard B. Shepard, President  | Author of Quantifying Environmental
Applied Ecosystem Services, Inc. (TM)  | Impact Assessments Using Fuzzy Logic
http://www.appl-ecosys.com   Voice: 503-667-4517   Fax: 503-667-8863


Re: table of contents and no sections listed and no section numbering

2005-07-06 Thread Geoffrey Lloyd


- Original Message - 
From: Jeremy C. Reed [EMAIL PROTECTED]

To: Rich Shepard [EMAIL PROTECTED]
Cc: lyx-users@lists.lyx.org
Sent: Wednesday, July 06, 2005 10:08 PM
Subject: Re: table of contents and no sections listed and no section 
numbering




On Wed, 6 Jul 2005, Rich Shepard wrote:
In another document, I want the table of contents to list all the 
sections
(but not Subsubsections) and I don't want these sections numbered. What 
can

I do so the table fo contents list the chapters and sections, but the
sections are not numbered?
I am wondering how I can do that without the section numbering in the 
table of contenst -- while still having the section numbering within the 
content itself. Not real important though.


Ok before your ToC insert the following in ERT

\setcounter{secnumdepth}{0}

Then after your ToC have another ERT with

\setcounter{secnumdepth}{1}

This should only number the chapters in the TOC but still list the sections 
(if your TOC depth is set correctly as discussed in the earlier email), but 
both the chapters and the sections in your document.  You may need to play 
with the numbers but this is the right idea.


Geoff 



Re: table of contents and no sections listed and no section numbering

2005-07-06 Thread Rich Shepard

On Wed, 6 Jul 2005, Jeremy C. Reed wrote:


I want one document to have section numbers within the different chapters,
etc. But I do not want the sections listed in the table of contents -- I
only want the chapter names listed in the table of contents. Any
suggestions on how I can use numbered sections in my book but not listed in
the table of contents?


  Set your ToC depth to '1'.


In another document, I want the table of contents to list all the sections
(but not Subsubsections) and I don't want these sections numbered. What can
I do so the table fo contents list the chapters and sections, but the
sections are not numbered?


  Set your ToC depth to '2.'

  Both are found under Layout -> Document -> Numbering.

Rich

--
Dr. Richard B. Shepard, President  | Author of "Quantifying Environmental
Applied Ecosystem Services, Inc. (TM)  | Impact Assessments Using Fuzzy Logic"
   Voice: 503-667-4517   Fax: 503-667-8863


Re: table of contents and no sections listed and no section numbering

2005-07-06 Thread Jeremy C. Reed

On Wed, 6 Jul 2005, Rich Shepard wrote:


I want one document to have section numbers within the different chapters,
etc. But I do not want the sections listed in the table of contents -- I
only want the chapter names listed in the table of contents. Any
suggestions on how I can use numbered sections in my book but not listed in
the table of contents?


 Set your ToC depth to '1'.


Thanks for the quick answer.

I have LyX 1.3.5 and I set Layout -> Document ... -> Numbering -> Table 
of contents depth to "0" and it worked like I wanted.



In another document, I want the table of contents to list all the sections
(but not Subsubsections) and I don't want these sections numbered. What can
I do so the table fo contents list the chapters and sections, but the
sections are not numbered?


 Set your ToC depth to '2.'


This showed my sections, but they contained numbers like:

2.1 Overview 
2.2 Objectives 

I am wondering how I can do that without the section numbering in the 
table of contenst -- while still having the section numbering within the 
content itself. Not real important though.


I tried setting the Section Numbering depth to -2 (and also to 0) and my 
table of contents was correct, but then the numbering was gone within the 
chapters too.



 Both are found under Layout -> Document -> Numbering.


 Jeremy C. Reed

 BSD News, BSD tutorials, BSD links
 http://www.bsdnewsletter.com/


Re: table of contents and no sections listed and no section numbering

2005-07-06 Thread Rich Shepard

On Wed, 6 Jul 2005, Jeremy C. Reed wrote:


I am wondering how I can do that without the section numbering in the table
of contenst -- while still having the section numbering within the content
itself. Not real important though.


  You'd need to redefine the commands.


I tried setting the Section Numbering depth to -2 (and also to 0) and my
table of contents was correct, but then the numbering was gone within the
chapters too.


  This is the way that most documents are done: all or nothing. Any custom
fitting must be done by hand. Look through the mail list archives and the
Tips & Tricks pages for more insight.

Rich

--
Dr. Richard B. Shepard, President  | Author of "Quantifying Environmental
Applied Ecosystem Services, Inc. (TM)  | Impact Assessments Using Fuzzy Logic"
   Voice: 503-667-4517   Fax: 503-667-8863


Re: table of contents and no sections listed and no section numbering

2005-07-06 Thread Geoffrey Lloyd


- Original Message - 
From: "Jeremy C. Reed" <[EMAIL PROTECTED]>

To: "Rich Shepard" <[EMAIL PROTECTED]>
Cc: <lyx-users@lists.lyx.org>
Sent: Wednesday, July 06, 2005 10:08 PM
Subject: Re: table of contents and no sections listed and no section 
numbering




On Wed, 6 Jul 2005, Rich Shepard wrote:
In another document, I want the table of contents to list all the 
sections
(but not Subsubsections) and I don't want these sections numbered. What 
can

I do so the table fo contents list the chapters and sections, but the
sections are not numbered?
I am wondering how I can do that without the section numbering in the 
table of contenst -- while still having the section numbering within the 
content itself. Not real important though.


Ok before your ToC insert the following in ERT

\setcounter{secnumdepth}{0}

Then after your ToC have another ERT with

\setcounter{secnumdepth}{1}

This should only number the chapters in the TOC but still list the sections 
(if your TOC depth is set correctly as discussed in the earlier email), but 
both the chapters and the sections in your document.  You may need to play 
with the numbers but this is the right idea.


Geoff 



Re: Table of contents

2005-05-21 Thread Juergen Spitzmueller
Kevin Pfeiffer wrote:
  I want to add the index, list of figures to the table of contents,
  But don't know how ?
  I am using the book (koma-script) class.

 I thought that the list of figures, etc., happens automatically, but I had
 the same question a couple weeks ago regarding the TOC (should be added
 to manual and/or FAQ  if not already there).

 Add to preamble:
 %% Make sure that the bibliography is listed in the table of contents,
 %% but that the table of contents itself is not.
 %\usepackage[nottoc]{tocbibind}

In KOMA-script, better use the class option liststotoc,idxtotoc (in 
Layout-Docuement-Extra Options).

Jürgen


Re: Table of contents

2005-05-21 Thread Juergen Spitzmueller
Kevin Pfeiffer wrote:
  I want to add the index, list of figures to the table of contents,
  But don't know how ?
  I am using the book (koma-script) class.

 I thought that the list of figures, etc., happens automatically, but I had
 the same question a couple weeks ago regarding the TOC (should be added
 to manual and/or FAQ  if not already there).

 Add to preamble:
 %% Make sure that the bibliography is listed in the table of contents,
 %% but that the table of contents itself is not.
 %\usepackage[nottoc]{tocbibind}

In KOMA-script, better use the class option liststotoc,idxtotoc (in 
Layout-Docuement-Extra Options).

Jürgen


Re: Table of contents

2005-05-21 Thread Juergen Spitzmueller
Kevin Pfeiffer wrote:
> > I want to add the index, list of figures to the table of contents,
> > But don't know how ?
> > I am using the book (koma-script) class.
>
> I thought that the list of figures, etc., happens automatically, but I had
> the same question a couple weeks ago regarding the TOC (should be added
> to manual and/or FAQ  if not already there).
>
> Add to preamble:
> %% Make sure that the bibliography is listed in the table of contents,
> %% but that the table of contents itself is not.
> %\usepackage[nottoc]{tocbibind}

In KOMA-script, better use the class option "liststotoc,idxtotoc" (in 
Layout->Docuement->Extra Options").

Jürgen


Re: Table of contents

2005-05-19 Thread Kevin Pfeiffer
Invisible Person writes:
[Please use a real name if you are asking someone for help.]
 I want to add the index, list of figures to the table of contents,
 But don't know how ?
 I am using the book (koma-script) class.

I thought that the list of figures, etc., happens automatically, but I had 
the same question a couple weeks ago regarding the TOC (should be added 
to manual and/or FAQ  if not already there).

Add to preamble:
%% Make sure that the bibliography is listed in the table of contents,
%% but that the table of contents itself is not.
%\usepackage[nottoc]{tocbibind}

Other useful things:
%% Add crop marks
\usepackage[a4,cam,center]{crop}

%% gives us custom name for index
\usepackage{babel}
\addto\captionsngerman{
  \renewcommand\indexname{Personenregister}
}


-Kevin (thanks again to those who already answered my similar questions!)


-- 
Kevin Pfeiffer [EMAIL PROTECTED]
Tiros-Translations


Re: Table of contents

2005-05-19 Thread Kevin Pfeiffer
Kevin Pfeiffer writes:
 I thought that the list of figures, etc., happens automatically, but I
 had the same question a couple weeks ago regarding the TOC 

Sorry, that should be regarding the index and not regarding the TOC...

-- 
Kevin Pfeiffer [EMAIL PROTECTED]
Tiros-Translations


Re: Table of contents

2005-05-19 Thread Kevin Pfeiffer
Invisible Person writes:
[Please use a real name if you are asking someone for help.]
 I want to add the index, list of figures to the table of contents,
 But don't know how ?
 I am using the book (koma-script) class.

I thought that the list of figures, etc., happens automatically, but I had 
the same question a couple weeks ago regarding the TOC (should be added 
to manual and/or FAQ  if not already there).

Add to preamble:
%% Make sure that the bibliography is listed in the table of contents,
%% but that the table of contents itself is not.
%\usepackage[nottoc]{tocbibind}

Other useful things:
%% Add crop marks
\usepackage[a4,cam,center]{crop}

%% gives us custom name for index
\usepackage{babel}
\addto\captionsngerman{
  \renewcommand\indexname{Personenregister}
}


-Kevin (thanks again to those who already answered my similar questions!)


-- 
Kevin Pfeiffer [EMAIL PROTECTED]
Tiros-Translations


Re: Table of contents

2005-05-19 Thread Kevin Pfeiffer
Kevin Pfeiffer writes:
 I thought that the list of figures, etc., happens automatically, but I
 had the same question a couple weeks ago regarding the TOC 

Sorry, that should be regarding the index and not regarding the TOC...

-- 
Kevin Pfeiffer [EMAIL PROTECTED]
Tiros-Translations


  1   2   3   >