Re: TOC trouble and margins are not followed

2011-08-06 Thread Jürgen Spitzmüller
bart deruyter wrote:
 So for an automatic TOC, numbered sections are a requirement. That's quite a
 useless restriction. If I didn't wan't a TOC I wouldn't insert one. And I
 guess I'll have to add latex code to get rid of the numbering now, right?

http://wiki.lyx.org/FAQ/Numbering#unnumbered-toc-sections

HTH,
Jürgen


RE: TOC trouble and margins are not followed

2011-08-06 Thread Helge Hafting

So for an automatic TOC, numbered sections are a requirement. That's quite a
useless restriction. If I didn't wan't a TOC I wouldn't insert one. And I
guess I'll have to add latex code to get rid of the numbering now, right?

section* never go into the TOC, and it is never numbered either.
All you get is the bigger bolder font.

section goes into the TOC. It may or may not be numbered.
No latex code needed for either approach.

Menu Document-Settings-Numbering  TOC is what you want.
Here you decide to what level among part,chapter,section,... 
there should be numbers, and to what level they should appear
in the TOC.

No latex, just a user-friendly dialog box.

The default is to use numbering. After you change it, you may
save the new setting as default - very useful if you plan on writing 
most of your future documents without numbering. 

The same goes for all the other document settings - you
can change the default so you won't have to do it again for
the next documents you write.

You can also make empty template documents and save them
to the template folder. 

Helge Hafting 





Re: RE: TOC trouble and margins are not followed

2011-08-06 Thread bart . deruyter

hey all,

it indeed works :-D Yay!!! Thanks to all. I just tested the lilypond  
feature, works great too :-). Considering to finish my guitar study book in  
lyx now too. I'll let you know when my first book is ready :-p.


grtz,
Bart

Op schreef Helge Hafting helge.haft...@hist.no:













So for an automatic TOC, numbered sections are a requirement. That's  
quite a



useless restriction. If I didn't wan'ta TOC I wouldn't insert one. And I



guess I'll have to add latex code to get rid of the numbering now, right?





section* never go into the TOC, and it is never numbered either.



All you get is the bigger bolder font.





section goes into the TOC. It may or may not be numbered.



No latex code needed for either approach.





Menu Document-Settings-Numbering  TOC is what you want.



Here you decide to what level among part,chapter,section,...



there should be numbers, and to what level they should appear



in the TOC.





No latex, just a user-friendly dialog box.





The default is to use numbering. After you change it, you may



save the new setting as default - very useful if you plan on writing



most of your future documents without numbering.





The same goes for all the other document settings - you



can change the default so you won't have to do it again for



the next documents you write.





You can also make empty template documents and save them



to the template folder.





Helge Hafting
















Re: TOC trouble and margins are not followed

2011-08-06 Thread Jürgen Spitzmüller
bart deruyter wrote:
 So for an automatic TOC, numbered sections are a requirement. That's quite a
 useless restriction. If I didn't wan't a TOC I wouldn't insert one. And I
 guess I'll have to add latex code to get rid of the numbering now, right?

http://wiki.lyx.org/FAQ/Numbering#unnumbered-toc-sections

HTH,
Jürgen


RE: TOC trouble and margins are not followed

2011-08-06 Thread Helge Hafting

So for an automatic TOC, numbered sections are a requirement. That's quite a
useless restriction. If I didn't wan't a TOC I wouldn't insert one. And I
guess I'll have to add latex code to get rid of the numbering now, right?

section* never go into the TOC, and it is never numbered either.
All you get is the bigger bolder font.

section goes into the TOC. It may or may not be numbered.
No latex code needed for either approach.

Menu Document-Settings-Numbering  TOC is what you want.
Here you decide to what level among part,chapter,section,... 
there should be numbers, and to what level they should appear
in the TOC.

No latex, just a user-friendly dialog box.

The default is to use numbering. After you change it, you may
save the new setting as default - very useful if you plan on writing 
most of your future documents without numbering. 

The same goes for all the other document settings - you
can change the default so you won't have to do it again for
the next documents you write.

You can also make empty template documents and save them
to the template folder. 

Helge Hafting 





Re: RE: TOC trouble and margins are not followed

2011-08-06 Thread bart . deruyter

hey all,

it indeed works :-D Yay!!! Thanks to all. I just tested the lilypond  
feature, works great too :-). Considering to finish my guitar study book in  
lyx now too. I'll let you know when my first book is ready :-p.


grtz,
Bart

Op schreef Helge Hafting helge.haft...@hist.no:













So for an automatic TOC, numbered sections are a requirement. That's  
quite a



useless restriction. If I didn't wan'ta TOC I wouldn't insert one. And I



guess I'll have to add latex code to get rid of the numbering now, right?





section* never go into the TOC, and it is never numbered either.



All you get is the bigger bolder font.





section goes into the TOC. It may or may not be numbered.



No latex code needed for either approach.





Menu Document-Settings-Numbering  TOC is what you want.



Here you decide to what level among part,chapter,section,...



there should be numbers, and to what level they should appear



in the TOC.





No latex, just a user-friendly dialog box.





The default is to use numbering. After you change it, you may



save the new setting as default - very useful if you plan on writing



most of your future documents without numbering.





The same goes for all the other document settings - you



can change the default so you won't have to do it again for



the next documents you write.





You can also make empty template documents and save them



to the template folder.





Helge Hafting
















Re: TOC trouble and margins are not followed

2011-08-06 Thread Jürgen Spitzmüller
bart deruyter wrote:
> So for an automatic TOC, numbered sections are a requirement. That's quite a
> useless restriction. If I didn't wan't a TOC I wouldn't insert one. And I
> guess I'll have to add latex code to get rid of the numbering now, right?

http://wiki.lyx.org/FAQ/Numbering#unnumbered-toc-sections

HTH,
Jürgen


RE: TOC trouble and margins are not followed

2011-08-06 Thread Helge Hafting

>So for an automatic TOC, numbered sections are a requirement. That's quite a
>useless restriction. If I didn't wan't a TOC I wouldn't insert one. And I
>guess I'll have to add latex code to get rid of the numbering now, right?

"section*" never go into the TOC, and it is never numbered either.
All you get is the bigger bolder font.

"section" goes into the TOC. It may or may not be numbered.
No latex code needed for either approach.

Menu Document->Settings->Numbering & TOC is what you want.
Here you decide to what level among part,chapter,section,... 
there should be numbers, and to what level they should appear
in the TOC.

No latex, just a user-friendly dialog box.

The default is to use numbering. After you change it, you may
save the new setting as default - very useful if you plan on writing 
most of your future documents without numbering. 

The same goes for all the other document settings - you
can change the default so you won't have to do it again for
the next documents you write.

You can also make empty template documents and save them
to the template folder. 

Helge Hafting 





Re: RE: TOC trouble and margins are not followed

2011-08-06 Thread bart . deruyter

hey all,

it indeed works :-D Yay!!! Thanks to all. I just tested the lilypond  
feature, works great too :-). Considering to finish my guitar study book in  
lyx now too. I'll let you know when my first book is ready :-p.


grtz,
Bart

Op schreef Helge Hafting :













>So for an automatic TOC, numbered sections are a requirement. That's  
quite a



>useless restriction. If I didn't wan'ta TOC I wouldn't insert one. And I



>guess I'll have to add latex code to get rid of the numbering now, right?





"section*" never go into the TOC, and it is never numbered either.



All you get is the bigger bolder font.





"section" goes into the TOC. It may or may not be numbered.



No latex code needed for either approach.





Menu Document->Settings->Numbering & TOC is what you want.



Here you decide to what level among part,chapter,section,...



there should be numbers, and to what level they should appear



in the TOC.





No latex, just a user-friendly dialog box.





The default is to use numbering. After you change it, you may



save the new setting as default - very useful if you plan on writing



most of your future documents without numbering.





The same goes for all the other document settings - you



can change the default so you won't have to do it again for



the next documents you write.





You can also make empty template documents and save them



to the template folder.





Helge Hafting
















Re: TOC trouble and margins are not followed

2011-08-05 Thread Richard Heck
On 08/05/2011 09:29 AM, bart deruyter wrote:
 Hi all,

 I'm trying to typeset my novel, that I want to publish soon. I have
 started using lyx because it hides most of the technical stuff, so I
 can concentrate on the writing.

 But I'm having quite some trouble to get things looking right, things
 I thought were handled automatically.

 First of all, my TOC remains empty. As I understood, I just had to do
 'Insert - list/TOC - Table of contents. I do use the correct
 paragraph types, Part, Chapter, section, subsection etc...  so I
 thought the TOC would be generated automatically when viewing the pdf,
 but it does not.

Do these show up properly under the navigation menu? How about in the
outline?

You might also want to check under DocumentSettingsNumbering  TOC.

 Secondly, a novel is rarely printed on A4, and the company I'd like to
 ask to print my book gives a discount on printing on A5 (printing on
 demand service) so I thought changing the document setting page size
 from A4 to A5. This obviously has a big influence on the flow of the
 text. My language is Dutch, and hyphenation is horrible. I do have
 texlive-lang-dutch installed. Also, words that can be split sometimes
 are not, which results in many, many overfull \hbox (from LaTeX Log).
 The margins are not followed.

I'd check the margins, for one thing; the default ones may be too wide
for A5 paper. Also, you may want to reduce the font size. 10 point
should be right.

Hyphenation is entirely a LaTeX issue. Perhaps the hyphenation files for
Dutch just aren't very good. I do not know.

Richard



Re: Re: TOC trouble and margins are not followed

2011-08-05 Thread bart . deruyter

Thanks for the answer,

I fixed the TOC trouble with latex command \addcontentsline, that seems to  
work. I thought that was not necessary in lyx, perhaps I'm wrong.
Setting the font at 10 makes a difference indeed, but it still is not good  
at all.


Can I easily edit the dutch hyphenation file? Perhaps my edits could be  
used as 'update' for others to use too.


grtz,
Bart
Op schreef Richard Heck rgh...@comcast.net:

On 08/05/2011 09:29 AM, bart deruyter wrote:




 Hi all,









 I'm trying to typeset my novel, that I want to publish soon. I have




 started using lyx because it hides most of the technical stuff, so I




 can concentrate on the writing.









 But I'm having quite some trouble to get things looking right, things




 I thought were handled automatically.









 First of all, my TOC remains empty. As I understood, I just had to do




 'Insert - list/TOC - Table of contents. I do use the correct




 paragraph types, Part, Chapter, section, subsection etc... so I




 thought the TOC would be generated automatically when viewing the pdf,




 but it does not.









Do these show up properly under the navigation menu? How about in the




outline?







You might also want to check under DocumentSettingsNumbering  TOC.







 Secondly, a novel is rarely printed on A4, and the company I'd like to




 ask to print my book gives a discount on printing on A5 (printing on




 demand service) so I thought changing the document setting page size




 from A4 to A5. This obviously has a big influence on the flow of the




 text. My language is Dutch, and hyphenation is horrible. I do have




 texlive-lang-dutch installed. Also, words that can be split sometimes




 are not, which results in many, many overfull \hbox (from LaTeX Log).




 The margins are not followed.









I'd check the margins, for one thing; the default ones may be too wide




for A5 paper. Also, you may want to reduce the font size. 10 point




should be right.







Hyphenation is entirely a LaTeX issue. Perhaps the hyphenation files for




Dutch just aren't very good. I do not know.







Richard









Re: TOC trouble and margins are not followed

2011-08-05 Thread Richard Heck

On 08/05/2011 12:54 PM, bart.deruy...@gmail.com wrote:

Thanks for the answer,

I fixed the TOC trouble with latex command \addcontentsline, that 
seems to work. I thought that was not necessary in lyx, perhaps I'm 
wrong.




No, that shouldn't be necessary. What document class are you using?

Setting the font at 10 makes a difference indeed, but it still is not 
good at all.


Can I easily edit the dutch hyphenation file? Perhaps my edits could 
be used as 'update' for others to use too.


I am not sure about this, but you can add you own hyphenation rules via 
commands like:

\hyphenation{for-mat-ting}
These go into the preamble, or into a little package you can import.

Richard



Re: TOC trouble and margins are not followed

2011-08-05 Thread bart deruyter
Writing a book, I decided to use the book class. There are several book
classes, but when adding a table of contents, suddenly all pages had 'Table
of contents' in their header (I still don't understand why). The book class
was the only one working properly, I thought at least.

Why is it so hard to get good typesetting, automatic table of contents
rendering, and plenty of other stuff? I yet have to find one tool that does
the job properly without hassle, adding things, modifying things, looking
for workarounds. There is always something going wrong. I don't want to code
my book, I want to write it.

Don't get me wrong, latex and lyx do a terrific job, but as with many open
source tools there is always something extra that has to be done to get the
job done right. I am actually getting tired of it.

grtz,
Bart

http://www.bartart3d.be/


2011/8/5 Richard Heck rgh...@comcast.net

 On 08/05/2011 12:54 PM, bart.deruy...@gmail.com wrote:

 Thanks for the answer,

 I fixed the TOC trouble with latex command \addcontentsline, that seems to
 work. I thought that was not necessary in lyx, perhaps I'm wrong.


 No, that shouldn't be necessary. What document class are you using?


  Setting the font at 10 makes a difference indeed, but it still is not good
 at all.

 Can I easily edit the dutch hyphenation file? Perhaps my edits could be
 used as 'update' for others to use too.

  I am not sure about this, but you can add you own hyphenation rules via
 commands like:
\hyphenation{for-mat-ting}
 These go into the preamble, or into a little package you can import.

 Richard




Re: Re: TOC trouble and margins are not followed

2011-08-05 Thread bart . deruyter

Aparently the latex log file shows this :
Package babel Warning: No hyphenation patterns were loaded for
(babel) the language `Dutch'
(babel) I will use the patterns loaded for \language=0 instead.

I've searched with google, and I've found out some had to un-comment a line  
saying 'dutch nehyph.tex' .
I even did not find those words, but I did find 'dutch loadhyph-nl.tex and  
it already is un-commented.


When changed to hehyph.tex latex still throws the warning as shown above.

grtz,
Bart

Weird, something I'm missing? Did the naming of hyphenation files change?
Op schreef bart deruyter bart.deruy...@gmail.com:
Writing a book, I decided to use the book class. There are several book  
classes, but when adding a table of contents, suddenly all pages  
had 'Table of contents' in their header (I still don't understand why).  
The book class was the only one working properly, I thought at least.



Why is it so hard to get good typesetting, automatic table of contents  
rendering, and plenty of other stuff? I yet have to find one tool that  
does the job properly without hassle, adding things, modifying things,  
looking for workarounds. There is always something going wrong. I don't  
want to code my book, I want to write it.



Don't get me wrong, latex and lyx do a terrific job, but as with many  
open source tools there is always something extra that has to be done to  
get the job done right. I am actually getting tired of it.



grtz,



Bart
http://www.bartart3d.be/





2011/8/5 Richard Heck rgh...@comcast.net



On 08/05/2011 12:54 PM, bart.deruy...@gmail.com wrote:




Thanks for the answer,




I fixed the TOC trouble with latex command \addcontentsline, that seems  
to work. I thought that was not necessary in lyx, perhaps I'm wrong.









No, that shouldn't be necessary. What document class are you using?





Setting the font at 10 makes a difference indeed, but it still is not  
good at all.




Can I easily edit the dutch hyphenation file? Perhaps my edits could be  
used as 'update' for others to use too.






I am not sure about this, but you can add you own hyphenation rules via  
commands like:



\hyphenation{for-mat-ting}



These go into the preamble, or into a little package you can import.





Richard










Re: TOC trouble and margins are not followed

2011-08-05 Thread Richard Heck

On 08/05/2011 03:52 PM, bart deruyter wrote:
Writing a book, I decided to use the book class. There are several 
book classes, but when adding a table of contents, suddenly all pages 
had 'Table of contents' in their header (I still don't understand 
why). The book class was the only one working properly, I thought at 
least.


Why is it so hard to get good typesetting, automatic table of contents 
rendering, and plenty of other stuff? I yet have to find one tool that 
does the job properly without hassle, adding things, modifying things, 
looking for workarounds. There is always something going wrong. I 
don't want to code my book, I want to write it.




Would you mind sending me the LyX file privately? You are doing 
something wrong, because this should just work, and does for tons and 
tons of people.


You aren't using Section* and the like are you?

Richard



Re: TOC trouble and margins are not followed

2011-08-05 Thread bart deruyter
Richard, thanks for your offer to send you the lyx file, but at the moment
it's not necessary.

I think I got the hyphenation working, even though I don't know what I did.
Yesterday evening, last pdf preview it showed the error in the log, now my
pc is rebooted this morning, I take a look again, and hyphenation works as
expected. Perhaps I did something right, but it needed to be reconfigured on
a reboot. No idea why though.

and about the Section* yes, I use these.
Ahh, I get it, I should not have used the unnumbered sections!! What the
hell?

Now that is what I call thinking the wrong way about usability. It's like
with that date thing. Adding the authors name to the title automatically
adds todays date to it. You have to find a menu, somewhere and check
'suppress default date on front page', instead of just inserting 'date' to
your page if you'd want it.

So for an automatic TOC, numbered sections are a requirement. That's quite a
useless restriction. If I didn't wan't a TOC I wouldn't insert one. And I
guess I'll have to add latex code to get rid of the numbering now, right?

grtz,
Bart


http://www.bartart3d.be/


2011/8/5 Richard Heck rgh...@comcast.net

 On 08/05/2011 03:52 PM, bart deruyter wrote:

 Writing a book, I decided to use the book class. There are several book
 classes, but when adding a table of contents, suddenly all pages had 'Table
 of contents' in their header (I still don't understand why). The book class
 was the only one working properly, I thought at least.

 Why is it so hard to get good typesetting, automatic table of contents
 rendering, and plenty of other stuff? I yet have to find one tool that does
 the job properly without hassle, adding things, modifying things, looking
 for workarounds. There is always something going wrong. I don't want to code
 my book, I want to write it.


 Would you mind sending me the LyX file privately? You are doing something
 wrong, because this should just work, and does for tons and tons of people.

 You aren't using Section* and the like are you?

 Richard




Re: TOC trouble and margins are not followed

2011-08-05 Thread Richard Heck
On 08/05/2011 09:29 AM, bart deruyter wrote:
 Hi all,

 I'm trying to typeset my novel, that I want to publish soon. I have
 started using lyx because it hides most of the technical stuff, so I
 can concentrate on the writing.

 But I'm having quite some trouble to get things looking right, things
 I thought were handled automatically.

 First of all, my TOC remains empty. As I understood, I just had to do
 'Insert - list/TOC - Table of contents. I do use the correct
 paragraph types, Part, Chapter, section, subsection etc...  so I
 thought the TOC would be generated automatically when viewing the pdf,
 but it does not.

Do these show up properly under the navigation menu? How about in the
outline?

You might also want to check under DocumentSettingsNumbering  TOC.

 Secondly, a novel is rarely printed on A4, and the company I'd like to
 ask to print my book gives a discount on printing on A5 (printing on
 demand service) so I thought changing the document setting page size
 from A4 to A5. This obviously has a big influence on the flow of the
 text. My language is Dutch, and hyphenation is horrible. I do have
 texlive-lang-dutch installed. Also, words that can be split sometimes
 are not, which results in many, many overfull \hbox (from LaTeX Log).
 The margins are not followed.

I'd check the margins, for one thing; the default ones may be too wide
for A5 paper. Also, you may want to reduce the font size. 10 point
should be right.

Hyphenation is entirely a LaTeX issue. Perhaps the hyphenation files for
Dutch just aren't very good. I do not know.

Richard



Re: Re: TOC trouble and margins are not followed

2011-08-05 Thread bart . deruyter

Thanks for the answer,

I fixed the TOC trouble with latex command \addcontentsline, that seems to  
work. I thought that was not necessary in lyx, perhaps I'm wrong.
Setting the font at 10 makes a difference indeed, but it still is not good  
at all.


Can I easily edit the dutch hyphenation file? Perhaps my edits could be  
used as 'update' for others to use too.


grtz,
Bart
Op schreef Richard Heck rgh...@comcast.net:

On 08/05/2011 09:29 AM, bart deruyter wrote:




 Hi all,









 I'm trying to typeset my novel, that I want to publish soon. I have




 started using lyx because it hides most of the technical stuff, so I




 can concentrate on the writing.









 But I'm having quite some trouble to get things looking right, things




 I thought were handled automatically.









 First of all, my TOC remains empty. As I understood, I just had to do




 'Insert - list/TOC - Table of contents. I do use the correct




 paragraph types, Part, Chapter, section, subsection etc... so I




 thought the TOC would be generated automatically when viewing the pdf,




 but it does not.









Do these show up properly under the navigation menu? How about in the




outline?







You might also want to check under DocumentSettingsNumbering  TOC.







 Secondly, a novel is rarely printed on A4, and the company I'd like to




 ask to print my book gives a discount on printing on A5 (printing on




 demand service) so I thought changing the document setting page size




 from A4 to A5. This obviously has a big influence on the flow of the




 text. My language is Dutch, and hyphenation is horrible. I do have




 texlive-lang-dutch installed. Also, words that can be split sometimes




 are not, which results in many, many overfull \hbox (from LaTeX Log).




 The margins are not followed.









I'd check the margins, for one thing; the default ones may be too wide




for A5 paper. Also, you may want to reduce the font size. 10 point




should be right.







Hyphenation is entirely a LaTeX issue. Perhaps the hyphenation files for




Dutch just aren't very good. I do not know.







Richard









Re: TOC trouble and margins are not followed

2011-08-05 Thread Richard Heck

On 08/05/2011 12:54 PM, bart.deruy...@gmail.com wrote:

Thanks for the answer,

I fixed the TOC trouble with latex command \addcontentsline, that 
seems to work. I thought that was not necessary in lyx, perhaps I'm 
wrong.




No, that shouldn't be necessary. What document class are you using?

Setting the font at 10 makes a difference indeed, but it still is not 
good at all.


Can I easily edit the dutch hyphenation file? Perhaps my edits could 
be used as 'update' for others to use too.


I am not sure about this, but you can add you own hyphenation rules via 
commands like:

\hyphenation{for-mat-ting}
These go into the preamble, or into a little package you can import.

Richard



Re: TOC trouble and margins are not followed

2011-08-05 Thread bart deruyter
Writing a book, I decided to use the book class. There are several book
classes, but when adding a table of contents, suddenly all pages had 'Table
of contents' in their header (I still don't understand why). The book class
was the only one working properly, I thought at least.

Why is it so hard to get good typesetting, automatic table of contents
rendering, and plenty of other stuff? I yet have to find one tool that does
the job properly without hassle, adding things, modifying things, looking
for workarounds. There is always something going wrong. I don't want to code
my book, I want to write it.

Don't get me wrong, latex and lyx do a terrific job, but as with many open
source tools there is always something extra that has to be done to get the
job done right. I am actually getting tired of it.

grtz,
Bart

http://www.bartart3d.be/


2011/8/5 Richard Heck rgh...@comcast.net

 On 08/05/2011 12:54 PM, bart.deruy...@gmail.com wrote:

 Thanks for the answer,

 I fixed the TOC trouble with latex command \addcontentsline, that seems to
 work. I thought that was not necessary in lyx, perhaps I'm wrong.


 No, that shouldn't be necessary. What document class are you using?


  Setting the font at 10 makes a difference indeed, but it still is not good
 at all.

 Can I easily edit the dutch hyphenation file? Perhaps my edits could be
 used as 'update' for others to use too.

  I am not sure about this, but you can add you own hyphenation rules via
 commands like:
\hyphenation{for-mat-ting}
 These go into the preamble, or into a little package you can import.

 Richard




Re: Re: TOC trouble and margins are not followed

2011-08-05 Thread bart . deruyter

Aparently the latex log file shows this :
Package babel Warning: No hyphenation patterns were loaded for
(babel) the language `Dutch'
(babel) I will use the patterns loaded for \language=0 instead.

I've searched with google, and I've found out some had to un-comment a line  
saying 'dutch nehyph.tex' .
I even did not find those words, but I did find 'dutch loadhyph-nl.tex and  
it already is un-commented.


When changed to hehyph.tex latex still throws the warning as shown above.

grtz,
Bart

Weird, something I'm missing? Did the naming of hyphenation files change?
Op schreef bart deruyter bart.deruy...@gmail.com:
Writing a book, I decided to use the book class. There are several book  
classes, but when adding a table of contents, suddenly all pages  
had 'Table of contents' in their header (I still don't understand why).  
The book class was the only one working properly, I thought at least.



Why is it so hard to get good typesetting, automatic table of contents  
rendering, and plenty of other stuff? I yet have to find one tool that  
does the job properly without hassle, adding things, modifying things,  
looking for workarounds. There is always something going wrong. I don't  
want to code my book, I want to write it.



Don't get me wrong, latex and lyx do a terrific job, but as with many  
open source tools there is always something extra that has to be done to  
get the job done right. I am actually getting tired of it.



grtz,



Bart
http://www.bartart3d.be/





2011/8/5 Richard Heck rgh...@comcast.net



On 08/05/2011 12:54 PM, bart.deruy...@gmail.com wrote:




Thanks for the answer,




I fixed the TOC trouble with latex command \addcontentsline, that seems  
to work. I thought that was not necessary in lyx, perhaps I'm wrong.









No, that shouldn't be necessary. What document class are you using?





Setting the font at 10 makes a difference indeed, but it still is not  
good at all.




Can I easily edit the dutch hyphenation file? Perhaps my edits could be  
used as 'update' for others to use too.






I am not sure about this, but you can add you own hyphenation rules via  
commands like:



\hyphenation{for-mat-ting}



These go into the preamble, or into a little package you can import.





Richard










Re: TOC trouble and margins are not followed

2011-08-05 Thread Richard Heck

On 08/05/2011 03:52 PM, bart deruyter wrote:
Writing a book, I decided to use the book class. There are several 
book classes, but when adding a table of contents, suddenly all pages 
had 'Table of contents' in their header (I still don't understand 
why). The book class was the only one working properly, I thought at 
least.


Why is it so hard to get good typesetting, automatic table of contents 
rendering, and plenty of other stuff? I yet have to find one tool that 
does the job properly without hassle, adding things, modifying things, 
looking for workarounds. There is always something going wrong. I 
don't want to code my book, I want to write it.




Would you mind sending me the LyX file privately? You are doing 
something wrong, because this should just work, and does for tons and 
tons of people.


You aren't using Section* and the like are you?

Richard



Re: TOC trouble and margins are not followed

2011-08-05 Thread bart deruyter
Richard, thanks for your offer to send you the lyx file, but at the moment
it's not necessary.

I think I got the hyphenation working, even though I don't know what I did.
Yesterday evening, last pdf preview it showed the error in the log, now my
pc is rebooted this morning, I take a look again, and hyphenation works as
expected. Perhaps I did something right, but it needed to be reconfigured on
a reboot. No idea why though.

and about the Section* yes, I use these.
Ahh, I get it, I should not have used the unnumbered sections!! What the
hell?

Now that is what I call thinking the wrong way about usability. It's like
with that date thing. Adding the authors name to the title automatically
adds todays date to it. You have to find a menu, somewhere and check
'suppress default date on front page', instead of just inserting 'date' to
your page if you'd want it.

So for an automatic TOC, numbered sections are a requirement. That's quite a
useless restriction. If I didn't wan't a TOC I wouldn't insert one. And I
guess I'll have to add latex code to get rid of the numbering now, right?

grtz,
Bart


http://www.bartart3d.be/


2011/8/5 Richard Heck rgh...@comcast.net

 On 08/05/2011 03:52 PM, bart deruyter wrote:

 Writing a book, I decided to use the book class. There are several book
 classes, but when adding a table of contents, suddenly all pages had 'Table
 of contents' in their header (I still don't understand why). The book class
 was the only one working properly, I thought at least.

 Why is it so hard to get good typesetting, automatic table of contents
 rendering, and plenty of other stuff? I yet have to find one tool that does
 the job properly without hassle, adding things, modifying things, looking
 for workarounds. There is always something going wrong. I don't want to code
 my book, I want to write it.


 Would you mind sending me the LyX file privately? You are doing something
 wrong, because this should just work, and does for tons and tons of people.

 You aren't using Section* and the like are you?

 Richard




Re: TOC trouble and margins are not followed

2011-08-05 Thread Richard Heck
On 08/05/2011 09:29 AM, bart deruyter wrote:
> Hi all,
>
> I'm trying to typeset my novel, that I want to publish soon. I have
> started using lyx because it hides most of the technical stuff, so I
> can concentrate on the writing.
>
> But I'm having quite some trouble to get things looking right, things
> I thought were handled automatically.
>
> First of all, my TOC remains empty. As I understood, I just had to do
> 'Insert -> list/TOC -> Table of contents. I do use the correct
> paragraph types, Part, Chapter, section, subsection etc...  so I
> thought the TOC would be generated automatically when viewing the pdf,
> but it does not.
>
Do these show up properly under the navigation menu? How about in the
outline?

You might also want to check under Document>Settings>Numbering & TOC.

> Secondly, a novel is rarely printed on A4, and the company I'd like to
> ask to print my book gives a discount on printing on A5 (printing on
> demand service) so I thought changing the document setting page size
> from A4 to A5. This obviously has a big influence on the flow of the
> text. My language is Dutch, and hyphenation is horrible. I do have
> texlive-lang-dutch installed. Also, words that can be split sometimes
> are not, which results in many, many overfull \hbox (from LaTeX Log).
> The margins are not followed.
>
I'd check the margins, for one thing; the default ones may be too wide
for A5 paper. Also, you may want to reduce the font size. 10 point
should be right.

Hyphenation is entirely a LaTeX issue. Perhaps the hyphenation files for
Dutch just aren't very good. I do not know.

Richard



Re: Re: TOC trouble and margins are not followed

2011-08-05 Thread bart . deruyter

Thanks for the answer,

I fixed the TOC trouble with latex command \addcontentsline, that seems to  
work. I thought that was not necessary in lyx, perhaps I'm wrong.
Setting the font at 10 makes a difference indeed, but it still is not good  
at all.


Can I easily edit the dutch hyphenation file? Perhaps my edits could be  
used as 'update' for others to use too.


grtz,
Bart
Op schreef Richard Heck :

On 08/05/2011 09:29 AM, bart deruyter wrote:




> Hi all,




>




> I'm trying to typeset my novel, that I want to publish soon. I have




> started using lyx because it hides most of the technical stuff, so I




> can concentrate on the writing.




>




> But I'm having quite some trouble to get things looking right, things




> I thought were handled automatically.




>




> First of all, my TOC remains empty. As I understood, I just had to do




> 'Insert -> list/TOC -> Table of contents. I do use the correct




> paragraph types, Part, Chapter, section, subsection etc... so I




> thought the TOC would be generated automatically when viewing the pdf,




> but it does not.




>




Do these show up properly under the navigation menu? How about in the




outline?







You might also want to check under Document>Settings>Numbering & TOC.







> Secondly, a novel is rarely printed on A4, and the company I'd like to




> ask to print my book gives a discount on printing on A5 (printing on




> demand service) so I thought changing the document setting page size




> from A4 to A5. This obviously has a big influence on the flow of the




> text. My language is Dutch, and hyphenation is horrible. I do have




> texlive-lang-dutch installed. Also, words that can be split sometimes




> are not, which results in many, many overfull \hbox (from LaTeX Log).




> The margins are not followed.




>




I'd check the margins, for one thing; the default ones may be too wide




for A5 paper. Also, you may want to reduce the font size. 10 point




should be right.







Hyphenation is entirely a LaTeX issue. Perhaps the hyphenation files for




Dutch just aren't very good. I do not know.







Richard









Re: TOC trouble and margins are not followed

2011-08-05 Thread Richard Heck

On 08/05/2011 12:54 PM, bart.deruy...@gmail.com wrote:

Thanks for the answer,

I fixed the TOC trouble with latex command \addcontentsline, that 
seems to work. I thought that was not necessary in lyx, perhaps I'm 
wrong.




No, that shouldn't be necessary. What document class are you using?

Setting the font at 10 makes a difference indeed, but it still is not 
good at all.


Can I easily edit the dutch hyphenation file? Perhaps my edits could 
be used as 'update' for others to use too.


I am not sure about this, but you can add you own hyphenation rules via 
commands like:

\hyphenation{for-mat-ting}
These go into the preamble, or into a little package you can import.

Richard



Re: TOC trouble and margins are not followed

2011-08-05 Thread bart deruyter
Writing a book, I decided to use the book class. There are several book
classes, but when adding a table of contents, suddenly all pages had 'Table
of contents' in their header (I still don't understand why). The book class
was the only one working properly, I thought at least.

Why is it so hard to get good typesetting, automatic table of contents
rendering, and plenty of other stuff? I yet have to find one tool that does
the job properly without hassle, adding things, modifying things, looking
for workarounds. There is always something going wrong. I don't want to code
my book, I want to write it.

Don't get me wrong, latex and lyx do a terrific job, but as with many open
source tools there is always something extra that has to be done to get the
job done right. I am actually getting tired of it.

grtz,
Bart

http://www.bartart3d.be/


2011/8/5 Richard Heck 

> On 08/05/2011 12:54 PM, bart.deruy...@gmail.com wrote:
>
>> Thanks for the answer,
>>
>> I fixed the TOC trouble with latex command \addcontentsline, that seems to
>> work. I thought that was not necessary in lyx, perhaps I'm wrong.
>>
>>
> No, that shouldn't be necessary. What document class are you using?
>
>
>  Setting the font at 10 makes a difference indeed, but it still is not good
>> at all.
>>
>> Can I easily edit the dutch hyphenation file? Perhaps my edits could be
>> used as 'update' for others to use too.
>>
>>  I am not sure about this, but you can add you own hyphenation rules via
> commands like:
>\hyphenation{for-mat-ting}
> These go into the preamble, or into a little package you can import.
>
> Richard
>
>


Re: Re: TOC trouble and margins are not followed

2011-08-05 Thread bart . deruyter

Aparently the latex log file shows this :
Package babel Warning: No hyphenation patterns were loaded for
(babel) the language `Dutch'
(babel) I will use the patterns loaded for \language=0 instead.

I've searched with google, and I've found out some had to un-comment a line  
saying 'dutch nehyph.tex' .
I even did not find those words, but I did find 'dutch loadhyph-nl.tex and  
it already is un-commented.


When changed to hehyph.tex latex still throws the warning as shown above.

grtz,
Bart

Weird, something I'm missing? Did the naming of hyphenation files change?
Op schreef bart deruyter :
Writing a book, I decided to use the book class. There are several book  
classes, but when adding a table of contents, suddenly all pages  
had 'Table of contents' in their header (I still don't understand why).  
The book class was the only one working properly, I thought at least.



Why is it so hard to get good typesetting, automatic table of contents  
rendering, and plenty of other stuff? I yet have to find one tool that  
does the job properly without hassle, adding things, modifying things,  
looking for workarounds. There is always something going wrong. I don't  
want to code my book, I want to write it.



Don't get me wrong, latex and lyx do a terrific job, but as with many  
open source tools there is always something extra that has to be done to  
get the job done right. I am actually getting tired of it.



grtz,



Bart
http://www.bartart3d.be/





2011/8/5 Richard Heck rgh...@comcast.net>



On 08/05/2011 12:54 PM, bart.deruy...@gmail.com wrote:




Thanks for the answer,




I fixed the TOC trouble with latex command \addcontentsline, that seems  
to work. I thought that was not necessary in lyx, perhaps I'm wrong.









No, that shouldn't be necessary. What document class are you using?





Setting the font at 10 makes a difference indeed, but it still is not  
good at all.




Can I easily edit the dutch hyphenation file? Perhaps my edits could be  
used as 'update' for others to use too.






I am not sure about this, but you can add you own hyphenation rules via  
commands like:



\hyphenation{for-mat-ting}



These go into the preamble, or into a little package you can import.





Richard










Re: TOC trouble and margins are not followed

2011-08-05 Thread Richard Heck

On 08/05/2011 03:52 PM, bart deruyter wrote:
Writing a book, I decided to use the book class. There are several 
book classes, but when adding a table of contents, suddenly all pages 
had 'Table of contents' in their header (I still don't understand 
why). The book class was the only one working properly, I thought at 
least.


Why is it so hard to get good typesetting, automatic table of contents 
rendering, and plenty of other stuff? I yet have to find one tool that 
does the job properly without hassle, adding things, modifying things, 
looking for workarounds. There is always something going wrong. I 
don't want to code my book, I want to write it.




Would you mind sending me the LyX file privately? You are doing 
something wrong, because this should just work, and does for tons and 
tons of people.


You aren't using Section* and the like are you?

Richard



Re: TOC trouble and margins are not followed

2011-08-05 Thread bart deruyter
Richard, thanks for your offer to send you the lyx file, but at the moment
it's not necessary.

I think I got the hyphenation working, even though I don't know what I did.
Yesterday evening, last pdf preview it showed the error in the log, now my
pc is rebooted this morning, I take a look again, and hyphenation works as
expected. Perhaps I did something right, but it needed to be reconfigured on
a reboot. No idea why though.

and about the Section* yes, I use these.
Ahh, I get it, I should not have used the unnumbered sections!! What the
hell?

Now that is what I call thinking the wrong way about usability. It's like
with that date thing. Adding the authors name to the title automatically
adds todays date to it. You have to find a menu, somewhere and check
'suppress default date on front page', instead of just inserting 'date' to
your page if you'd want it.

So for an automatic TOC, numbered sections are a requirement. That's quite a
useless restriction. If I didn't wan't a TOC I wouldn't insert one. And I
guess I'll have to add latex code to get rid of the numbering now, right?

grtz,
Bart


http://www.bartart3d.be/


2011/8/5 Richard Heck 

> On 08/05/2011 03:52 PM, bart deruyter wrote:
>
>> Writing a book, I decided to use the book class. There are several book
>> classes, but when adding a table of contents, suddenly all pages had 'Table
>> of contents' in their header (I still don't understand why). The book class
>> was the only one working properly, I thought at least.
>>
>> Why is it so hard to get good typesetting, automatic table of contents
>> rendering, and plenty of other stuff? I yet have to find one tool that does
>> the job properly without hassle, adding things, modifying things, looking
>> for workarounds. There is always something going wrong. I don't want to code
>> my book, I want to write it.
>>
>>
> Would you mind sending me the LyX file privately? You are doing something
> wrong, because this should just work, and does for tons and tons of people.
>
> You aren't using Section* and the like are you?
>
> Richard
>
>