Re: Extra long chapter title causing problems in TOC

2017-04-28 Thread Steve Litt
On Sat, 29 Apr 2017 03:25:02 +0530
 Frederick FN Noronha फ्रेड्रिक नोरोन्या *فريدريك نورونيا
 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 
> 

> 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

2017-04-28 Thread Frederick FN Noronha फ्रेड्रिक नोरोन्या *فريدريك نورونيا
-- 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 


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: Single Column Indices

2017-04-28 Thread Richard Heck
On 04/28/2017 12:50 PM, Karthik Tayur wrote:
>
> I resolved this by using the idxlayout package. What would be the use
> case for the "options" space in the indexing tab under Document
> Settings? Just curious.
>
> \usepackage[columns=1]{idxlayout}
>

If using makeindex, say, as the processor, then one could add -g to use
German word ordering, or -s FILE to specify an index style file, or
whatever. I.e., these are options to makeindex, for which see "man
makeindex". Same for xindy, or whatever.

Richard


>
> On 27 April 2017 at 09:37, Karthik Tayur  > wrote:
>
> Hi,
> How does one obtain single column indices? This question has been
> raised before as regards LaTeX. How does one do it with LyX?
> Since the default processor appears to be xindy from the
> documentation, I will need to modify the relevant style?
>
> Regards
> K
>
>



Re: Single Column Indices

2017-04-28 Thread Karthik Tayur
I resolved this by using the idxlayout package. What would be the use case
for the "options" space in the indexing tab under Document Settings? Just
curious.

\usepackage[columns=1]{idxlayout}

On 27 April 2017 at 09:37, Karthik Tayur  wrote:

> Hi,
> How does one obtain single column indices? This question has been raised
> before as regards LaTeX. How does one do it with LyX?
> Since the default processor appears to be xindy from the documentation, I
> will need to modify the relevant style?
>
> Regards
> K
>


Re: Index does not print

2017-04-28 Thread Richard Heck
On 04/28/2017 09:30 AM, Karthik Tayur wrote:
> Appears to be an encoding related problem. I had pasted some text into
> LyX. ChkTeX failed. Running iconv to obtain UTF-8 started displaying
> the index again. Thanks to some of the mails on this thread which
> mentioned encoding related problems.
> Since copy pasting is a routine activity, isn't there any way of
> addressing this? Plus, LyX not giving any indication of this problem
> makes it difficult for novice users.

Can you please file a bug report about this at
https://www.lyx.org/trac/wiki/BugTrackerHome
You will need to register first, if you haven't.

I agree it is a problem, but I've leanred enough about encodings to know
that dealing with them is difficult. If one has a file (or string), it
can be difficult to tell what the encoding is. But we should perhaps do
something when we cut and paste into LyX to try to make sure we have UTF-8.

Richard


>
> On 27 April 2017 at 09:25, Karthik Tayur  > wrote:
>
> Sorry for the delayed reply.
> I tried to replicate the problem in a file as small as possible
> (as suggested). I couldn't reproduce it.
> On that note, for some reason, I had encoding problems with the
> same .lyx document. I used iconv to resolve that problem.
>
>
>
> On 25 April 2017 at 18:40, Richard Heck  > wrote:
>
> On 04/24/2017 11:41 PM, Karthik Tayur wrote:
>> Replacing all special characters (Insert>Symbols) in the
>> document allows me to print the indices. I had inserted the
>> pilcrow symbol in the document. When resolving a problem with
>> conversion I replaced all the symbols in my document with text.
>> Any idea why this works? Are special symbols not allowed in
>> footnote spaces?
>
> If you could produce a small file, as small as possible, that
> illustrates the problem, it would make it easier to
> investigate. The reason it should be small is so we can be
> sure where the problem really is.
>
> Richard
>
>
>>
>>
>> On 25 April 2017 at 03:42, Karthik Tayur
>> mailto:karthiksta...@gmail.com>> wrote:
>>
>> Hello,
>> I have been using LyX for some time now. It has been
>> great. Previously the multiple index function worked well.
>> Today, while I was able to insert indices, they wouldn't
>> print. Only disabling the multiple index option under
>> Settings in a fresh document allows printing of the
>> singular index.
>> Any suggestions as to how I might go about solving this
>> problem? I suspect that the files needed for \printindex
>> simply don't compile, as the logs seem to suggest.
>>
>> System Details: Arch Linux with KDE, LyX 2.2.2
>>
>> Regards
>>
>>
>
>
>



Re: Index does not print

2017-04-28 Thread Karthik Tayur
Appears to be an encoding related problem. I had pasted some text into LyX.
ChkTeX failed. Running iconv to obtain UTF-8 started displaying the index
again. Thanks to some of the mails on this thread which mentioned encoding
related problems.
Since copy pasting is a routine activity, isn't there any way of addressing
this? Plus, LyX not giving any indication of this problem makes it
difficult for novice users.

On 27 April 2017 at 09:25, Karthik Tayur  wrote:

> Sorry for the delayed reply.
> I tried to replicate the problem in a file as small as possible (as
> suggested). I couldn't reproduce it.
> On that note, for some reason, I had encoding problems with the same .lyx
> document. I used iconv to resolve that problem.
>
>
>
> On 25 April 2017 at 18:40, Richard Heck  wrote:
>
>> On 04/24/2017 11:41 PM, Karthik Tayur wrote:
>>
>> Replacing all special characters (Insert>Symbols) in the document allows
>> me to print the indices. I had inserted the pilcrow symbol in the document.
>> When resolving a problem with conversion I replaced all the symbols in my
>> document with text.
>> Any idea why this works? Are special symbols not allowed in footnote
>> spaces?
>>
>>
>> If you could produce a small file, as small as possible, that illustrates
>> the problem, it would make it easier to investigate. The reason it should
>> be small is so we can be sure where the problem really is.
>>
>> Richard
>>
>>
>>
>>
>> On 25 April 2017 at 03:42, Karthik Tayur  wrote:
>>
>>> Hello,
>>> I have been using LyX for some time now. It has been great. Previously
>>> the multiple index function worked well.
>>> Today, while I was able to insert indices, they wouldn't print. Only
>>> disabling the multiple index option under Settings in a fresh document
>>> allows printing of the singular index.
>>> Any suggestions as to how I might go about solving this problem? I
>>> suspect that the files needed for \printindex simply don't compile, as the
>>> logs seem to suggest.
>>>
>>> System Details: Arch Linux with KDE, LyX 2.2.2
>>>
>>> Regards
>>>
>>
>>
>>
>