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.


greek characters in index?

2009-11-19 Thread tedc

My manuscript contains many strings that combine sequences of greek and roman
characters. How can I get these to appear in the index?

For example, the document source initially contains
$\Delta$x
which displays as upper case delta followed by x. If I select the displayed
delta and x and click on Lyx'x Insert index entry button, the document
source changes to
\index{\Deltax}$\Delta$x
but when I try to generate an index I get an undefined control sequence
error message.

If I manually change the document source to
\index{$\Delta$x}$\Delta$x
there is no error message, and the index looks OK. Is this a legitimate way
to proceed? If yes, does Insert index entry do this automatically in a
more recent version of LyX than the one I'm using (which is 1.5.6)? Is there
a better way to do this?
-- 
View this message in context: 
http://n2.nabble.com/greek-characters-in-index-tp4033865p4033865.html
Sent from the LyX - Users mailing list archive at Nabble.com.


greek characters in index?

2009-11-19 Thread tedc

My manuscript contains many strings that combine sequences of greek and roman
characters. How can I get these to appear in the index?

For example, the document source initially contains
$\Delta$x
which displays as upper case delta followed by x. If I select the displayed
delta and x and click on Lyx'x Insert index entry button, the document
source changes to
\index{\Deltax}$\Delta$x
but when I try to generate an index I get an undefined control sequence
error message.

If I manually change the document source to
\index{$\Delta$x}$\Delta$x
there is no error message, and the index looks OK. Is this a legitimate way
to proceed? If yes, does Insert index entry do this automatically in a
more recent version of LyX than the one I'm using (which is 1.5.6)? Is there
a better way to do this?
-- 
View this message in context: 
http://n2.nabble.com/greek-characters-in-index-tp4033865p4033865.html
Sent from the LyX - Users mailing list archive at Nabble.com.


greek characters in index?

2009-11-19 Thread tedc

My manuscript contains many strings that combine sequences of greek and roman
characters. How can I get these to appear in the index?

For example, the document source initially contains
$\Delta$x
which displays as upper case delta followed by x. If I select the displayed
delta and x and click on Lyx'x "Insert index entry" button, the document
source changes to
\index{\Deltax}$\Delta$x
but when I try to generate an index I get an "undefined control sequence"
error message.

If I manually change the document source to
\index{$\Delta$x}$\Delta$x
there is no error message, and the index looks OK. Is this a legitimate way
to proceed? If yes, does "Insert index entry" do this automatically in a
more recent version of LyX than the one I'm using (which is 1.5.6)? Is there
a better way to do this?
-- 
View this message in context: 
http://n2.nabble.com/greek-characters-in-index-tp4033865p4033865.html
Sent from the LyX - Users mailing list archive at Nabble.com.


Typewriter, Bold is indistinguishable from plain Typewriter

2009-05-01 Thread tedc

I'm writing an instruction document and want to use Typewriter family for
stuff that appears in an xterm--bold to indicate what the user should enter
via the keyboard, and plain (medium) Typewriter for stuff printed by the
computer. These look different on screen in LyX, but the dvi previewer shows
that the bold text is being rendered as plain; pdf output confirms
this--the text marked as plain Typewriter looks identical to text marked as
Typewriter, Bold. This is on a Linux box (Centos 5.3). What can I do about
this?
-- 
View this message in context: 
http://n2.nabble.com/Typewriter%2C-Bold-is-indistinguishable-from-plain-Typewriter-tp2759473p2759473.html
Sent from the LyX - Users mailing list archive at Nabble.com.



Typewriter, Bold is indistinguishable from plain Typewriter

2009-05-01 Thread tedc

I'm writing an instruction document and want to use Typewriter family for
stuff that appears in an xterm--bold to indicate what the user should enter
via the keyboard, and plain (medium) Typewriter for stuff printed by the
computer. These look different on screen in LyX, but the dvi previewer shows
that the bold text is being rendered as plain; pdf output confirms
this--the text marked as plain Typewriter looks identical to text marked as
Typewriter, Bold. This is on a Linux box (Centos 5.3). What can I do about
this?
-- 
View this message in context: 
http://n2.nabble.com/Typewriter%2C-Bold-is-indistinguishable-from-plain-Typewriter-tp2759473p2759473.html
Sent from the LyX - Users mailing list archive at Nabble.com.



Typewriter, Bold is indistinguishable from plain Typewriter

2009-05-01 Thread tedc

I'm writing an instruction document and want to use Typewriter family for
stuff that appears in an xterm--bold to indicate what the user should enter
via the keyboard, and plain ("medium") Typewriter for stuff printed by the
computer. These look different on screen in LyX, but the dvi previewer shows
that the "bold" text is being rendered as plain; pdf output confirms
this--the text marked as plain Typewriter looks identical to text marked as
Typewriter, Bold. This is on a Linux box (Centos 5.3). What can I do about
this?
-- 
View this message in context: 
http://n2.nabble.com/Typewriter%2C-Bold-is-indistinguishable-from-plain-Typewriter-tp2759473p2759473.html
Sent from the LyX - Users mailing list archive at Nabble.com.



text styles

2009-04-27 Thread tedc

I'm thinking of using LyX to write the 2nd edition of a book. The 1st edition
was done with OpenOffice, but production was a nightmare because OO didn't
fit with the publisher's workflow. The publisher had the whole thing
retyped, which introduced countless errors and generally broke formatting--a
major concern in this book which contains lots of source code, mathematical
symbols, chemical reaction notation etc.. 

The publisher will accept LaTeX, which gives LyX a tremendous potential
advantage. Exporting from OO to tex does damage some of the formatting, but
it does preserve many essentials such as index tags. The resulting files
import into LyX, seem to work more or less with the publisher's cls file,
and it looks like I can repair the broken formatting with LyX.

I do have one question, though. The OO file used text styles to specify
the formatting of inline source code, names of GUI tools, and chapter
crossreferences. In LyX these show up as ERT, like the boldfaced bit here:
\textstyleInlinecode{for i=0,n-1}
When I click on View DVI, these generate Undefined control sequence
errors.

I could, of course, use sed or awk to replace these with LyX markup that
would force the correct typeface (in this case, the typewriter family),
but I'd rather leave the markup unchanged, and have LyX or LaTeX figure out
what to do.

So my question is: how do I tell LyX or LaTeX that
\textstyleInlinecode{for i=0,n-1}
means to render
for i=0,n-1
with a specified typeface? or at least as typewriter?
-- 
View this message in context: 
http://n2.nabble.com/text-styles-tp2729258p2729258.html
Sent from the LyX - Users mailing list archive at Nabble.com.



text styles

2009-04-27 Thread tedc

I'm thinking of using LyX to write the 2nd edition of a book. The 1st edition
was done with OpenOffice, but production was a nightmare because OO didn't
fit with the publisher's workflow. The publisher had the whole thing
retyped, which introduced countless errors and generally broke formatting--a
major concern in this book which contains lots of source code, mathematical
symbols, chemical reaction notation etc.. 

The publisher will accept LaTeX, which gives LyX a tremendous potential
advantage. Exporting from OO to tex does damage some of the formatting, but
it does preserve many essentials such as index tags. The resulting files
import into LyX, seem to work more or less with the publisher's cls file,
and it looks like I can repair the broken formatting with LyX.

I do have one question, though. The OO file used text styles to specify
the formatting of inline source code, names of GUI tools, and chapter
crossreferences. In LyX these show up as ERT, like the boldfaced bit here:
\textstyleInlinecode{for i=0,n-1}
When I click on View DVI, these generate Undefined control sequence
errors.

I could, of course, use sed or awk to replace these with LyX markup that
would force the correct typeface (in this case, the typewriter family),
but I'd rather leave the markup unchanged, and have LyX or LaTeX figure out
what to do.

So my question is: how do I tell LyX or LaTeX that
\textstyleInlinecode{for i=0,n-1}
means to render
for i=0,n-1
with a specified typeface? or at least as typewriter?
-- 
View this message in context: 
http://n2.nabble.com/text-styles-tp2729258p2729258.html
Sent from the LyX - Users mailing list archive at Nabble.com.



text styles

2009-04-27 Thread tedc

I'm thinking of using LyX to write the 2nd edition of a book. The 1st edition
was done with OpenOffice, but production was a nightmare because OO didn't
fit with the publisher's workflow. The publisher had the whole thing
retyped, which introduced countless errors and generally broke formatting--a
major concern in this book which contains lots of source code, mathematical
symbols, chemical reaction notation etc.. 

The publisher will accept LaTeX, which gives LyX a tremendous potential
advantage. Exporting from OO to tex does damage some of the formatting, but
it does preserve many essentials such as index tags. The resulting files
import into LyX, seem to work more or less with the publisher's cls file,
and it looks like I can repair the broken formatting with LyX.

I do have one question, though. The OO file used "text styles" to specify
the formatting of inline source code, names of GUI tools, and chapter
crossreferences. In LyX these show up as ERT, like the boldfaced bit here:
\textstyleInlinecode{for i=0,n-1}
When I click on View DVI, these generate "Undefined control sequence"
errors.

I could, of course, use sed or awk to replace these with LyX markup that
would force the "correct" typeface (in this case, the typewriter family),
but I'd rather leave the markup unchanged, and have LyX or LaTeX figure out
what to do.

So my question is: how do I tell LyX or LaTeX that
\textstyleInlinecode{for i=0,n-1}
means to render
for i=0,n-1
with a specified typeface? or at least as "typewriter"?
-- 
View this message in context: 
http://n2.nabble.com/text-styles-tp2729258p2729258.html
Sent from the LyX - Users mailing list archive at Nabble.com.