Re: Index does not print

2017-05-25 Thread Scott Kostyshak
On Mon, May 15, 2017 at 02:39:22PM +0200, Helge Hafting wrote:
> 
> 
> Den 28. april 2017 17:37, skrev Richard Heck:
> > 
> > 
> > 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.
> > 
> That would be very nice. If the original encoding is known, use a proper
> conversion. If not, make an assumption about the encoding and convert based
> on that. (A default encoding, or an attempt at autodetection.) If the
> assumption is wrong, the string might look weird but the user should notice
> that. The document will still compile & print, although it might look ugly
> containing the wrong string.
> 
> The point is that ideally, LyX itself should never create an uncompileable
> .lyx file. (Unless the user writes errors in ERT, includes a bad .tex or
> mess up the .lyx file using some other editor.)

Helge, if you don't want this conversation to get lost you might want to
open a trac ticket.

Scott


signature.asc
Description: PGP signature


Re: Index does not print

2017-05-15 Thread Helge Hafting



Den 28. april 2017 17:37, skrev Richard Heck:



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.


That would be very nice. If the original encoding is known, use a proper 
conversion. If not, make an assumption about the encoding and convert 
based on that. (A default encoding, or an attempt at autodetection.) If 
the assumption is wrong, the string might look weird but the user should 
notice that. The document will still compile & print, although it might 
look ugly containing the wrong string.


The point is that ideally, LyX itself should never create an 
uncompileable .lyx file. (Unless the user writes errors in ERT, includes 
a bad .tex or mess up the .lyx file using some other editor.)


Helge Hafting


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


Re: Index does not print

2017-04-26 Thread Karthik Tayur
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
>>
>
>
>


Re: Index does not print

2017-04-25 Thread Richard Heck
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
>
>



Re: Index does not print

2017-04-24 Thread Karthik Tayur
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?


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
>


Index does not print

2017-04-24 Thread Karthik Tayur
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