Re: Charater formatting in the Index

2009-11-27 Thread Sebastian Guttenberg
Günter wrote:
 The same works in LyX with index-entry keyw...@\texttt{keyword}.
 
 Mark that LyX will automatically do this for you, if you insert a
 keyword and mark it up the LyX way (e.g. via the
 EditText StyleCustom dialogue).

Ah, interesting. I haven't noticed this change in LyX. This probably
means that one has to use the ctrl-L Latex inside within the
index-inset, if one wants to manually change the sorting and use the
@-symbol. True?
- Sebastian



Re: Charater formatting in the Index

2009-11-27 Thread Sebastian Guttenberg
Günter wrote:
 The same works in LyX with index-entry keyw...@\texttt{keyword}.
 
 Mark that LyX will automatically do this for you, if you insert a
 keyword and mark it up the LyX way (e.g. via the
 EditText StyleCustom dialogue).

Ah, interesting. I haven't noticed this change in LyX. This probably
means that one has to use the ctrl-L Latex inside within the
index-inset, if one wants to manually change the sorting and use the
@-symbol. True?
- Sebastian



Re: Charater formatting in the Index

2009-11-27 Thread Sebastian Guttenberg
Günter wrote:
> >The same works in LyX with index-entry keyw...@\texttt{keyword}.
> 
> Mark that LyX will automatically do this for you, if you insert a
> keyword and mark it up "the LyX way" (e.g. via the
> Edit>Text Style>Custom dialogue).

Ah, interesting. I haven't noticed this change in LyX. This probably
means that one has to use the ctrl-L Latex inside within the
index-inset, if one wants to manually change the sorting and use the
@-symbol. True?
- Sebastian



Re: Charater formatting in the Index

2009-11-26 Thread Guenter Milde
On 2009-11-25, Ted Carnevale wrote:
 So now I can edit index entries so that they preserve character
 formatting.  Example--
 View/Source shows \texttt{keyword}
 After Insert index entry source shows \index{keyword}\texttt{keyword}
 Changing \index{keyword} to \index{texttt{keyword}} results in the
 typewriter family being used for keyword in the index.

 While this preserves character formatting, it introduces a new problem:
 sort order in the index changes.  The DVI and PDF show that words
 rendered in the typewriter family are listed before words rendered in
 roman.  Not a useful result, given that I'm working on the 2nd edition
 of a book whose index is 45 double-column pages.

 I wonder if LyX 1.6.x has the same problem(s).

Yes. However, there is a sort field where you can repeat the
original keyword without formatting and this is used for sorting.

Günter



Re: Charater formatting in the Index

2009-11-26 Thread Sebastian Guttenberg
Günter wrote
 Yes. However, there is a sort field where you can repeat the
 original keyword without formatting and this is used for sorting.

Really? I didn't find a sort-field in lyx, not even in lyx2.0.svn. Am
I missing something? However, if you (Ted) still have the problem, note
that it's actually ordinary LaTeX behavior and not really a LyX
problem. Index entries are just ordered according to the characters you
write, even if they are formatting characters. If you want to use a
different ordering, you can use \index{keyw...@\texttt{keyword}} The
expression before the @ is then the expression that is used for
sorting. The same works in LyX with index-entry keyw...@\texttt{keyword}.
If you use this formatting frequently you can define a newcommand in the 
preamble of the form 
\newcommand{\indextt}[1]...@\texttt{#1}} and then you enter in the lyx-index 
just 
\indextt{keyword}.
-Sebastian



Re: Charater formatting in the Index

2009-11-26 Thread Guenter Milde
On 2009-11-26, Sebastian Guttenberg wrote:
 Günter wrote
 Yes. However, there is a sort field where you can repeat the
 original keyword without formatting and this is used for sorting.

 Really? I didn't find a sort-field in lyx, not even in lyx2.0.svn. Am
 I missing something? 

Sorry, I mixed this up with the nomenclature inset.

 write, even if they are formatting characters. If you want to use a
 different ordering, you can use \index{keyw...@\texttt{keyword}} The
 expression before the @ is then the expression that is used for
 sorting. The same works in LyX with index-entry keyw...@\texttt{keyword}.

Mark that LyX will automatically do this for you, if you insert a
keyword and mark it up the LyX way (e.g. via the
EditText StyleCustom dialogue).

Günter



Re: Charater formatting in the Index

2009-11-26 Thread Guenter Milde
On 2009-11-25, Ted Carnevale wrote:
 So now I can edit index entries so that they preserve character
 formatting.  Example--
 View/Source shows \texttt{keyword}
 After Insert index entry source shows \index{keyword}\texttt{keyword}
 Changing \index{keyword} to \index{texttt{keyword}} results in the
 typewriter family being used for keyword in the index.

 While this preserves character formatting, it introduces a new problem:
 sort order in the index changes.  The DVI and PDF show that words
 rendered in the typewriter family are listed before words rendered in
 roman.  Not a useful result, given that I'm working on the 2nd edition
 of a book whose index is 45 double-column pages.

 I wonder if LyX 1.6.x has the same problem(s).

Yes. However, there is a sort field where you can repeat the
original keyword without formatting and this is used for sorting.

Günter



Re: Charater formatting in the Index

2009-11-26 Thread Sebastian Guttenberg
Günter wrote
 Yes. However, there is a sort field where you can repeat the
 original keyword without formatting and this is used for sorting.

Really? I didn't find a sort-field in lyx, not even in lyx2.0.svn. Am
I missing something? However, if you (Ted) still have the problem, note
that it's actually ordinary LaTeX behavior and not really a LyX
problem. Index entries are just ordered according to the characters you
write, even if they are formatting characters. If you want to use a
different ordering, you can use \index{keyw...@\texttt{keyword}} The
expression before the @ is then the expression that is used for
sorting. The same works in LyX with index-entry keyw...@\texttt{keyword}.
If you use this formatting frequently you can define a newcommand in the 
preamble of the form 
\newcommand{\indextt}[1]...@\texttt{#1}} and then you enter in the lyx-index 
just 
\indextt{keyword}.
-Sebastian



Re: Charater formatting in the Index

2009-11-26 Thread Guenter Milde
On 2009-11-26, Sebastian Guttenberg wrote:
 Günter wrote
 Yes. However, there is a sort field where you can repeat the
 original keyword without formatting and this is used for sorting.

 Really? I didn't find a sort-field in lyx, not even in lyx2.0.svn. Am
 I missing something? 

Sorry, I mixed this up with the nomenclature inset.

 write, even if they are formatting characters. If you want to use a
 different ordering, you can use \index{keyw...@\texttt{keyword}} The
 expression before the @ is then the expression that is used for
 sorting. The same works in LyX with index-entry keyw...@\texttt{keyword}.

Mark that LyX will automatically do this for you, if you insert a
keyword and mark it up the LyX way (e.g. via the
EditText StyleCustom dialogue).

Günter



Re: Charater formatting in the Index

2009-11-26 Thread Guenter Milde
On 2009-11-25, Ted Carnevale wrote:
> So now I can edit index entries so that they preserve character
> formatting.  Example--
> View/Source shows \texttt{keyword}
> After "Insert index entry" source shows \index{keyword}\texttt{keyword}
> Changing \index{keyword} to \index{texttt{keyword}} results in the
> typewriter family being used for "keyword" in the index.

> While this preserves character formatting, it introduces a new problem:
> sort order in the index changes.  The DVI and PDF show that words
> rendered in the "typewriter" family are listed before words rendered in
> "roman".  Not a useful result, given that I'm working on the 2nd edition
> of a book whose index is 45 double-column pages.

> I wonder if LyX 1.6.x has the same problem(s).

Yes. However, there is a "sort" field where you can repeat the
original keyword without formatting and this is used for sorting.

Günter



Re: Charater formatting in the Index

2009-11-26 Thread Sebastian Guttenberg
Günter wrote
> Yes. However, there is a "sort" field where you can repeat the
> original keyword without formatting and this is used for sorting.

Really? I didn't find a "sort"-field in lyx, not even in lyx2.0.svn. Am
I missing something? However, if you (Ted) still have the problem, note
that it's actually ordinary LaTeX behavior and not really a LyX
problem. Index entries are just ordered according to the characters you
write, even if they are formatting characters. If you want to use a
different ordering, you can use \index{keyw...@\texttt{keyword}} The
expression before the @ is then the expression that is used for
sorting. The same works in LyX with index-entry keyw...@\texttt{keyword}.
If you use this formatting frequently you can define a newcommand in the 
preamble of the form 
\newcommand{\indextt}[1]...@\texttt{#1}} and then you enter in the lyx-index 
just 
\indextt{keyword}.
-Sebastian



Re: Charater formatting in the Index

2009-11-26 Thread Guenter Milde
On 2009-11-26, Sebastian Guttenberg wrote:
> Günter wrote
>> Yes. However, there is a "sort" field where you can repeat the
>> original keyword without formatting and this is used for sorting.

> Really? I didn't find a "sort"-field in lyx, not even in lyx2.0.svn. Am
> I missing something? 

Sorry, I mixed this up with the nomenclature inset.

> write, even if they are formatting characters. If you want to use a
> different ordering, you can use \index{keyw...@\texttt{keyword}} The
> expression before the @ is then the expression that is used for
> sorting. The same works in LyX with index-entry keyw...@\texttt{keyword}.

Mark that LyX will automatically do this for you, if you insert a
keyword and mark it up "the LyX way" (e.g. via the
Edit>Text Style>Custom dialogue).

Günter



Re: Charater formatting in the Index

2009-11-25 Thread Ted Carnevale

So now I can edit index entries so that they preserve character
formatting.  Example--
View/Source shows \texttt{keyword}
After Insert index entry source shows \index{keyword}\texttt{keyword}
Changing \index{keyword} to \index{texttt{keyword}} results in the
typewriter family being used for keyword in the index.

While this preserves character formatting, it introduces a new problem:
sort order in the index changes.  The DVI and PDF show that words
rendered in the typewriter family are listed before words rendered in
roman.  Not a useful result, given that I'm working on the 2nd edition
of a book whose index is 45 double-column pages.

I wonder if LyX 1.6.x has the same problem(s).

--Ted


Re: Charater formatting in the Index

2009-11-25 Thread Ted Carnevale

So now I can edit index entries so that they preserve character
formatting.  Example--
View/Source shows \texttt{keyword}
After Insert index entry source shows \index{keyword}\texttt{keyword}
Changing \index{keyword} to \index{texttt{keyword}} results in the
typewriter family being used for keyword in the index.

While this preserves character formatting, it introduces a new problem:
sort order in the index changes.  The DVI and PDF show that words
rendered in the typewriter family are listed before words rendered in
roman.  Not a useful result, given that I'm working on the 2nd edition
of a book whose index is 45 double-column pages.

I wonder if LyX 1.6.x has the same problem(s).

--Ted


Re: Charater formatting in the Index

2009-11-25 Thread Ted Carnevale

So now I can edit index entries so that they preserve character
formatting.  Example--
View/Source shows \texttt{keyword}
After "Insert index entry" source shows \index{keyword}\texttt{keyword}
Changing \index{keyword} to \index{texttt{keyword}} results in the
typewriter family being used for "keyword" in the index.

While this preserves character formatting, it introduces a new problem:
sort order in the index changes.  The DVI and PDF show that words
rendered in the "typewriter" family are listed before words rendered in
"roman".  Not a useful result, given that I'm working on the 2nd edition
of a book whose index is 45 double-column pages.

I wonder if LyX 1.6.x has the same problem(s).

--Ted


Re: Charater formatting in the Index

2009-11-24 Thread rgheck

On 11/23/2009 09:00 PM, tedc wrote:

I am writing a document about a programming environment that uses multiple
character styles.
0. Plain roman is used for ordinary index entries
1. Italicized roman characters are used for names of mathematical variables
and parameters
2. Typewriter is used for source code keywords
3. Sans serif is used for names of GUI tools in the programming
environment's rad toolkit

Usage throughout the body of the document is consistent. However, at present
only plain roman appears in the index generated by LyX. How can I ensure
that the index preserves these character formats?

   
Any formatting you use in the index entry itself should be preserved in 
the index. In 1.6.x, you can just enter that formatting as you would in 
normal LyX text. If you're using 1.5.x, then you have to enter it 
manually, as LaTeX.


Richard





Re: Charater formatting in the Index

2009-11-24 Thread Ted Carnevale

rgheck wrote:
Any formatting you use in the index entry itself should be preserved in 
the index. In 1.6.x, you can just enter that formatting as you would in 
normal LyX text. If you're using 1.5.x, then you have to enter it 
manually, as LaTeX.


Does this apply also to table of contents entries?

--Ted



Re: Charater formatting in the Index

2009-11-24 Thread rgheck

On 11/24/2009 09:09 AM, Ted Carnevale wrote:

rgheck wrote:
Any formatting you use in the index entry itself should be preserved 
in the index. In 1.6.x, you can just enter that formatting as you 
would in normal LyX text. If you're using 1.5.x, then you have to 
enter it manually, as LaTeX.


Does this apply also to table of contents entries?


To some extent, yes. Certainly font styling should be preserved.

rh



Re: Charater formatting in the Index

2009-11-24 Thread rgheck

On 11/23/2009 09:00 PM, tedc wrote:

I am writing a document about a programming environment that uses multiple
character styles.
0. Plain roman is used for ordinary index entries
1. Italicized roman characters are used for names of mathematical variables
and parameters
2. Typewriter is used for source code keywords
3. Sans serif is used for names of GUI tools in the programming
environment's rad toolkit

Usage throughout the body of the document is consistent. However, at present
only plain roman appears in the index generated by LyX. How can I ensure
that the index preserves these character formats?

   
Any formatting you use in the index entry itself should be preserved in 
the index. In 1.6.x, you can just enter that formatting as you would in 
normal LyX text. If you're using 1.5.x, then you have to enter it 
manually, as LaTeX.


Richard





Re: Charater formatting in the Index

2009-11-24 Thread Ted Carnevale

rgheck wrote:
Any formatting you use in the index entry itself should be preserved in 
the index. In 1.6.x, you can just enter that formatting as you would in 
normal LyX text. If you're using 1.5.x, then you have to enter it 
manually, as LaTeX.


Does this apply also to table of contents entries?

--Ted



Re: Charater formatting in the Index

2009-11-24 Thread rgheck

On 11/24/2009 09:09 AM, Ted Carnevale wrote:

rgheck wrote:
Any formatting you use in the index entry itself should be preserved 
in the index. In 1.6.x, you can just enter that formatting as you 
would in normal LyX text. If you're using 1.5.x, then you have to 
enter it manually, as LaTeX.


Does this apply also to table of contents entries?


To some extent, yes. Certainly font styling should be preserved.

rh



Re: Charater formatting in the Index

2009-11-24 Thread rgheck

On 11/23/2009 09:00 PM, tedc wrote:

I am writing a document about a programming environment that uses multiple
character styles.
0. Plain roman is used for ordinary index entries
1. Italicized roman characters are used for names of mathematical variables
and parameters
2. Typewriter is used for source code keywords
3. Sans serif is used for names of GUI tools in the programming
environment's "rad toolkit"

Usage throughout the body of the document is consistent. However, at present
only plain roman appears in the index generated by LyX. How can I ensure
that the index preserves these character formats?

   
Any formatting you use in the index entry itself should be preserved in 
the index. In 1.6.x, you can just enter that formatting as you would in 
normal LyX text. If you're using 1.5.x, then you have to enter it 
manually, as LaTeX.


Richard





Re: Charater formatting in the Index

2009-11-24 Thread Ted Carnevale

rgheck wrote:
Any formatting you use in the index entry itself should be preserved in 
the index. In 1.6.x, you can just enter that formatting as you would in 
normal LyX text. If you're using 1.5.x, then you have to enter it 
manually, as LaTeX.


Does this apply also to table of contents entries?

--Ted



Re: Charater formatting in the Index

2009-11-24 Thread rgheck

On 11/24/2009 09:09 AM, Ted Carnevale wrote:

rgheck wrote:
Any formatting you use in the index entry itself should be preserved 
in the index. In 1.6.x, you can just enter that formatting as you 
would in normal LyX text. If you're using 1.5.x, then you have to 
enter it manually, as LaTeX.


Does this apply also to table of contents entries?


To some extent, yes. Certainly font styling should be preserved.

rh



Charater formatting in the Index

2009-11-23 Thread tedc

I am writing a document about a programming environment that uses multiple
character styles.
0. Plain roman is used for ordinary index entries
1. Italicized roman characters are used for names of mathematical variables
and parameters
2. Typewriter is used for source code keywords
3. Sans serif is used for names of GUI tools in the programming
environment's rad toolkit

Usage throughout the body of the document is consistent. However, at present
only plain roman appears in the index generated by LyX. How can I ensure
that the index preserves these character formats?
-- 
View this message in context: 
http://n2.nabble.com/Charater-formatting-in-the-Index-tp4055374p4055374.html
Sent from the LyX - Users mailing list archive at Nabble.com.


Charater formatting in the Index

2009-11-23 Thread tedc

I am writing a document about a programming environment that uses multiple
character styles.
0. Plain roman is used for ordinary index entries
1. Italicized roman characters are used for names of mathematical variables
and parameters
2. Typewriter is used for source code keywords
3. Sans serif is used for names of GUI tools in the programming
environment's rad toolkit

Usage throughout the body of the document is consistent. However, at present
only plain roman appears in the index generated by LyX. How can I ensure
that the index preserves these character formats?
-- 
View this message in context: 
http://n2.nabble.com/Charater-formatting-in-the-Index-tp4055374p4055374.html
Sent from the LyX - Users mailing list archive at Nabble.com.


Charater formatting in the Index

2009-11-23 Thread tedc

I am writing a document about a programming environment that uses multiple
character styles.
0. Plain roman is used for ordinary index entries
1. Italicized roman characters are used for names of mathematical variables
and parameters
2. Typewriter is used for source code keywords
3. Sans serif is used for names of GUI tools in the programming
environment's "rad toolkit"

Usage throughout the body of the document is consistent. However, at present
only plain roman appears in the index generated by LyX. How can I ensure
that the index preserves these character formats?
-- 
View this message in context: 
http://n2.nabble.com/Charater-formatting-in-the-Index-tp4055374p4055374.html
Sent from the LyX - Users mailing list archive at Nabble.com.