Re: Extra long chapter title causing problems in TOC
On Sat, 29 Apr 2017 03:25:02 +0530 Frederick FN Noronha फ्रेड्रिक नोरोन्या *فريدريك نورونيا <fredericknoro...@gmail.com> wrote: > -- Forwarded message -- > From: Frederick FN Noronha फ्रेड्रिक नोरोन्या *فريدريك نورونيا < > fredericknoro...@gmail.com> > Date: 23 April 2017 at 17:44 > Subject: Extra long chapter title causing problems in TOC > To: LyX Users <lyx-users@lists.lyx.org> > > Could you kindly help me with a tip on how to insert a [snip] > Kindly cc your reply to my address too. Many thanks, LOL, I almost answered this guy when he asked the same thing on 4/23, but when he asked me to go through the extra effort of cc'ing him, I just didn't bother. Maybe I'm different, but if a mailing list is important enough for me to ask a question on, its inhabitants deserve enough of my respect to sign up for the list so they simply reply to the list. I wrote about this in my netiquette document: http://troubleshooters.com/linux/netiquette.htm Search for the phrase "Not on the list", and go to the second occurrence. Anyway, four days later, after several people gave good answers (including one who gave the answer I was going to give on 4/23), this monument of modern netiquette asks the same question again. Maybe some day he'll think to check the archives. Nahh. SteveT Steve Litt April 2017 featured book: Troubleshooting Techniques of the Successful Technologist http://www.troubleshooters.com/techniques
Fwd: Extra long chapter title causing problems in TOC
-- Forwarded message -- From: Frederick FN Noronha फ्रेड्रिक नोरोन्या *فريدريك نورونيا < fredericknoro...@gmail.com> Date: 23 April 2017 at 17:44 Subject: Extra long chapter title causing problems in TOC To: LyX Users <lyx-users@lists.lyx.org> Dear all, Could you kindly help me with a tip on how to insert a carriage-return/line-break in my table of contents, for a very long title? I'm using Lyx 2.2.0 The problem text is below (and neither \\ nor \newline works) : \addcontentsline{toc}{chapter}{How Goan Identity and India's Independence \\ Put Britain in a Diplomatic Dilemma} \addtocontents{toc}{Victor Rangel-Ribeiro \par} Kindly cc your reply to my address too. Many thanks, Frederick Founder and Editor http://goa1556.in A Goa, India-based small publishing house that has done almost 115 titles, almost all in Lyx! -- _/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/ _/_/_/_/_/_/_/_/_/_/_/_/ _/ _/ Frederick Noronha http://about.me/noronhafrederick http://goa1556.in _/ P +91-832-2409490 M 9822122436 Twitter @fn Fcbk:fredericknoronha _/ Hear Goa,1556 shared audio content at https://archive.org/details/ goa1556 _/ _/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/ _/_/_/_/_/_/_/_/_/_/_/_/
Re: Extra long chapter title causing problems in TOC
On 2017-04-24, Wolfgang Engelmann wrote: > Am 24.04.2017 um 13:51 schrieb PhilipPirrip: >> On 04/23/2017 08:14 AM, Frederick FN Noronha फ्रेड्रिक नोरोन्या >> *فريدريك نورونيا wrote: >>> Dear all, >>> Could you kindly help me with a tip on how to insert a >>> carriage-return/line-break in my table of contents, for a very long >>> title? I'm using Lyx 2.2.0 >>> The problem text is below (and neither \\ nor \newline works) : >>> \addcontentsline{toc}{chapter}{How Goan Identity and India's >>> Independence \\ Put Britain in a Diplomatic Dilemma} >>> \addtocontents{toc}{Victor Rangel-Ribeiro \par} >> Hi Frederick, >> I don't quite understand why you're using these low-level commands >> instead of ordinary sectioning ones, but here's the answer: >> in order for \newline to survive writing into the .toc file, you need >> to protect it, thus >> \protect\newline should work (not sure how well). > What about using a short title in the TOC? > >insert>short title Note, that this box generates just an alternative title for the toc which may actually also be longer or contain a hard line break :-) Günter
Re: Extra long chapter title causing problems in TOC
On 04/24/2017 09:09 AM, Kornel Benko wrote: I noticed. But the question was: help me with a tip on how to insert a carriage-return/line-break in my table of contents, for a very long title? His try was with LaTeX, but we may want to use lyx if possible. That's why I started my answer with some doubts. Notice that it's not just the title he's writing into the .toc, but also author's name. Made me think the code he used is what he really needs. We'll see... hopefully.
Re: Extra long chapter title causing problems in TOC
Am Montag, 24. April 2017 um 08:43:18, schrieb PhilipPirrip> On 04/24/2017 08:33 AM, Kornel Benko wrote: > > > Wouldn't be easier to insert new line with Ctrl-Return? > > Notice that Frederick is using LaTeX code (\addcontentsline, > \addtocontents) to write directly into the .toc file. > > I noticed. But the question was: help me with a tip on how to insert a carriage-return/line-break in my table of contents, for a very long title? His try was with LaTeX, but we may want to use lyx if possible. Kornel signature.asc Description: This is a digitally signed message part.
Re: Extra long chapter title causing problems in TOC
On 04/24/2017 08:33 AM, Kornel Benko wrote: Wouldn't be easier to insert new line with Ctrl-Return? Notice that Frederick is using LaTeX code (\addcontentsline, \addtocontents) to write directly into the .toc file.
Re: Extra long chapter title causing problems in TOC
Am Montag, 24. April 2017 um 07:51:01, schrieb PhilipPirrip> On 04/23/2017 08:14 AM, Frederick FN Noronha फ्रेड्रिक नोरोन्या > *فريدريك نورونيا wrote: > > Dear all, > > > > Could you kindly help me with a tip on how to insert a > > carriage-return/line-break in my table of contents, for a very long > > title? I'm using Lyx 2.2.0 > > > > The problem text is below (and neither \\ nor \newline works) : > > > > \addcontentsline{toc}{chapter}{How Goan Identity and India's > > Independence \\ Put Britain in a Diplomatic Dilemma} > > \addtocontents{toc}{Victor Rangel-Ribeiro \par} > > Hi Frederick, > I don't quite understand why you're using these low-level commands > instead of ordinary sectioning ones, but here's the answer: > in order for \newline to survive writing into the .toc file, you need to > protect it, thus > \protect\newline should work (not sure how well). > Wouldn't be easier to insert new line with Ctrl-Return? Kornel signature.asc Description: This is a digitally signed message part. test.22.lyx Description: application/lyx
Re: Extra long chapter title causing problems in TOC
Am 24.04.2017 um 13:51 schrieb PhilipPirrip: On 04/23/2017 08:14 AM, Frederick FN Noronha फ्रेड्रिक नोरोन्या *فريدريك نورونيا wrote: Dear all, Could you kindly help me with a tip on how to insert a carriage-return/line-break in my table of contents, for a very long title? I'm using Lyx 2.2.0 The problem text is below (and neither \\ nor \newline works) : \addcontentsline{toc}{chapter}{How Goan Identity and India's Independence \\ Put Britain in a Diplomatic Dilemma} \addtocontents{toc}{Victor Rangel-Ribeiro \par} Hi Frederick, I don't quite understand why you're using these low-level commands instead of ordinary sectioning ones, but here's the answer: in order for \newline to survive writing into the .toc file, you need to protect it, thus \protect\newline should work (not sure how well). What about using a short title in the TOC? >insert>short title Wolfgang
Re: Extra long chapter title causing problems in TOC
On 04/23/2017 08:14 AM, Frederick FN Noronha फ्रेड्रिक नोरोन्या *فريدريك نورونيا wrote: Dear all, Could you kindly help me with a tip on how to insert a carriage-return/line-break in my table of contents, for a very long title? I'm using Lyx 2.2.0 The problem text is below (and neither \\ nor \newline works) : \addcontentsline{toc}{chapter}{How Goan Identity and India's Independence \\ Put Britain in a Diplomatic Dilemma} \addtocontents{toc}{Victor Rangel-Ribeiro \par} Hi Frederick, I don't quite understand why you're using these low-level commands instead of ordinary sectioning ones, but here's the answer: in order for \newline to survive writing into the .toc file, you need to protect it, thus \protect\newline should work (not sure how well).
Extra long chapter title causing problems in TOC
Dear all, Could you kindly help me with a tip on how to insert a carriage-return/line-break in my table of contents, for a very long title? I'm using Lyx 2.2.0 The problem text is below (and neither \\ nor \newline works) : \addcontentsline{toc}{chapter}{How Goan Identity and India's Independence \\ Put Britain in a Diplomatic Dilemma} \addtocontents{toc}{Victor Rangel-Ribeiro \par} Kindly cc your reply to my address too. Many thanks, Frederick Founder and Editor http://goa1556.in A Goa, India-based small publishing house that has done almost 115 titles, almost all in Lyx! -- _/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/ _/ _/ Frederick Noronha http://about.me/noronhafrederick http://goa1556.in _/ P +91-832-2409490 M 9822122436 Twitter @fn Fcbk:fredericknoronha _/ Hear Goa,1556 shared audio content at https://archive.org/details/goa1556 _/ _/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/