Re: Ugly LyX Code formatting

2006-04-22 Thread Paul A. Rubin

Stacia Hartleben wrote:

Please check out the lyx file and PDF here: http://stacia.thepatstudio.com/lyx
 Notice that all the LyX code snippets are formatted in weird
ways...the original LyX code didn't have anything special and you can
see big differences - look at the first line of 7.9, 7.10, 7.20. I
didn't put any spaces there but it's doing weird hyphenation stuff.
What's wrong?



Try View-LaTeX to see what's happening.  All the spaces in your LyX 
code snippets are hard spaces (~).  So each snippet is one very long 
word, and LaTeX breaks it where it dares.  How did you get the 
snippets into the LyX document?


/Paul



Re: Ugly LyX Code formatting

2006-04-22 Thread Paul A. Rubin

Stacia Hartleben wrote:

Please check out the lyx file and PDF here: http://stacia.thepatstudio.com/lyx
 Notice that all the LyX code snippets are formatted in weird
ways...the original LyX code didn't have anything special and you can
see big differences - look at the first line of 7.9, 7.10, 7.20. I
didn't put any spaces there but it's doing weird hyphenation stuff.
What's wrong?



Try View-LaTeX to see what's happening.  All the spaces in your LyX 
code snippets are hard spaces (~).  So each snippet is one very long 
word, and LaTeX breaks it where it dares.  How did you get the 
snippets into the LyX document?


/Paul



Re: Ugly LyX Code formatting

2006-04-22 Thread Paul A. Rubin

Stacia Hartleben wrote:

Please check out the lyx file and PDF here: http://stacia.thepatstudio.com/lyx
 Notice that all the LyX code snippets are formatted in weird
ways...the original LyX code didn't have anything special and you can
see big differences - look at the first line of 7.9, 7.10, 7.20. I
didn't put any spaces there but it's doing weird hyphenation stuff.
What's wrong?



Try View->LaTeX to see what's happening.  All the spaces in your LyX 
code snippets are hard spaces (~).  So each snippet is one very long 
"word", and LaTeX breaks it where it dares.  How did you get the 
snippets into the LyX document?


/Paul



Ugly LyX Code formatting

2006-04-20 Thread Stacia Hartleben
Please check out the lyx file and PDF here: http://stacia.thepatstudio.com/lyx
 Notice that all the LyX code snippets are formatted in weird
ways...the original LyX code didn't have anything special and you can
see big differences - look at the first line of 7.9, 7.10, 7.20. I
didn't put any spaces there but it's doing weird hyphenation stuff.
What's wrong?


Ugly LyX Code formatting

2006-04-20 Thread Stacia Hartleben
Please check out the lyx file and PDF here: http://stacia.thepatstudio.com/lyx
 Notice that all the LyX code snippets are formatted in weird
ways...the original LyX code didn't have anything special and you can
see big differences - look at the first line of 7.9, 7.10, 7.20. I
didn't put any spaces there but it's doing weird hyphenation stuff.
What's wrong?


Ugly LyX Code formatting

2006-04-20 Thread Stacia Hartleben
Please check out the lyx file and PDF here: http://stacia.thepatstudio.com/lyx
 Notice that all the LyX code snippets are formatted in weird
ways...the original LyX code didn't have anything special and you can
see big differences - look at the first line of 7.9, 7.10, 7.20. I
didn't put any spaces there but it's doing weird hyphenation stuff.
What's wrong?


Lyx-code formatting

2005-09-12 Thread Dave Mills

Hi,

I've got a document with some numbered chemical reaction equations 
formated as lyx-code.  The problem is, when I generate a PDF the 
equations run over the edge of the page, they don't wrap around to the 
next line.


Is it possible to make them wrap? Some ERT needed?  Any other suggestion?

I'm using Lyx 1.3.5 on OSX 10.3.9

cheers,
Dave

--

David Mills
Queen Mary, University of London
Department of Chemistry
Mile End Road
E1 4NS, London, UK
Phone: +44 (0)20 78824764
E-mail: [EMAIL PROTECTED]




Re: Lyx-code formatting

2005-09-12 Thread Paul A. Rubin

Dave Mills wrote:

Hi,

I've got a document with some numbered chemical reaction equations 
formated as lyx-code.  The problem is, when I generate a PDF the 
equations run over the edge of the page, they don't wrap around to the 
next line.


Is it possible to make them wrap? Some ERT needed?  Any other suggestion?

I'm using Lyx 1.3.5 on OSX 10.3.9

cheers,
Dave

The LyX code environment is like the preformatted tag in HTML -- text is 
reproduced verbatim, monospaced.  If you want it verbatim and want it to 
fit, you can block it and use Layout-Character-Size to shrink it. 
Alternatively, if you want it to wrap, you could try switching to 
another environment (standard? quote? definition?) and use 
Layout-Character-Family to change the font family to typewriter.


Paul




Re: Lyx-code formatting

2005-09-12 Thread Dave Mills

Paul A. Rubin wrote:

I've got a document with some numbered chemical reaction equations 
formated as lyx-code.  The problem is, when I generate a PDF the 
equations run over the edge of the page, they don't wrap around to the 
next line.




Is it possible to make them wrap? Some ERT needed?  Any other 
suggestion?


The LyX code environment is like the preformatted tag in HTML -- text 
is reproduced verbatim, monospaced.  If you want it verbatim and want 
it to fit, you can block it and use Layout-Character-Size to shrink 
it. Alternatively, if you want it to wrap, you could try switching to 
another environment (standard? quote? definition?) and use 
Layout-Character-Family to change the font family to typewriter.


Paul


Thanks Paul,

I assumed this was the case, but just wanted to make sure I'd not missed 
anything.


cheers,
Dave
--


David Mills
Queen Mary, University of London
Department of Chemistry
Mile End Road
E1 4NS, London, UK
Phone: +44 (0)20 78824764
E-mail: [EMAIL PROTECTED]




Lyx-code formatting

2005-09-12 Thread Dave Mills

Hi,

I've got a document with some numbered chemical reaction equations 
formated as lyx-code.  The problem is, when I generate a PDF the 
equations run over the edge of the page, they don't wrap around to the 
next line.


Is it possible to make them wrap? Some ERT needed?  Any other suggestion?

I'm using Lyx 1.3.5 on OSX 10.3.9

cheers,
Dave

--

David Mills
Queen Mary, University of London
Department of Chemistry
Mile End Road
E1 4NS, London, UK
Phone: +44 (0)20 78824764
E-mail: [EMAIL PROTECTED]




Re: Lyx-code formatting

2005-09-12 Thread Paul A. Rubin

Dave Mills wrote:

Hi,

I've got a document with some numbered chemical reaction equations 
formated as lyx-code.  The problem is, when I generate a PDF the 
equations run over the edge of the page, they don't wrap around to the 
next line.


Is it possible to make them wrap? Some ERT needed?  Any other suggestion?

I'm using Lyx 1.3.5 on OSX 10.3.9

cheers,
Dave

The LyX code environment is like the preformatted tag in HTML -- text is 
reproduced verbatim, monospaced.  If you want it verbatim and want it to 
fit, you can block it and use Layout-Character-Size to shrink it. 
Alternatively, if you want it to wrap, you could try switching to 
another environment (standard? quote? definition?) and use 
Layout-Character-Family to change the font family to typewriter.


Paul




Re: Lyx-code formatting

2005-09-12 Thread Dave Mills

Paul A. Rubin wrote:

I've got a document with some numbered chemical reaction equations 
formated as lyx-code.  The problem is, when I generate a PDF the 
equations run over the edge of the page, they don't wrap around to the 
next line.




Is it possible to make them wrap? Some ERT needed?  Any other 
suggestion?


The LyX code environment is like the preformatted tag in HTML -- text 
is reproduced verbatim, monospaced.  If you want it verbatim and want 
it to fit, you can block it and use Layout-Character-Size to shrink 
it. Alternatively, if you want it to wrap, you could try switching to 
another environment (standard? quote? definition?) and use 
Layout-Character-Family to change the font family to typewriter.


Paul


Thanks Paul,

I assumed this was the case, but just wanted to make sure I'd not missed 
anything.


cheers,
Dave
--


David Mills
Queen Mary, University of London
Department of Chemistry
Mile End Road
E1 4NS, London, UK
Phone: +44 (0)20 78824764
E-mail: [EMAIL PROTECTED]




Lyx-code formatting

2005-09-12 Thread Dave Mills

Hi,

I've got a document with some numbered chemical reaction equations 
formated as lyx-code.  The problem is, when I generate a PDF the 
equations run over the edge of the page, they don't wrap around to the 
next line.


Is it possible to make them wrap? Some ERT needed?  Any other suggestion?

I'm using Lyx 1.3.5 on OSX 10.3.9

cheers,
Dave

--

David Mills
Queen Mary, University of London
Department of Chemistry
Mile End Road
E1 4NS, London, UK
Phone: +44 (0)20 78824764
E-mail: [EMAIL PROTECTED]




Re: Lyx-code formatting

2005-09-12 Thread Paul A. Rubin

Dave Mills wrote:

Hi,

I've got a document with some numbered chemical reaction equations 
formated as lyx-code.  The problem is, when I generate a PDF the 
equations run over the edge of the page, they don't wrap around to the 
next line.


Is it possible to make them wrap? Some ERT needed?  Any other suggestion?

I'm using Lyx 1.3.5 on OSX 10.3.9

cheers,
Dave

The LyX code environment is like the preformatted tag in HTML -- text is 
reproduced verbatim, monospaced.  If you want it verbatim and want it to 
fit, you can block it and use Layout->Character->Size to shrink it. 
Alternatively, if you want it to wrap, you could try switching to 
another environment (standard? quote? definition?) and use 
Layout->Character->Family to change the font family to typewriter.


Paul




Re: Lyx-code formatting

2005-09-12 Thread Dave Mills

Paul A. Rubin wrote:

I've got a document with some numbered chemical reaction equations 
formated as lyx-code.  The problem is, when I generate a PDF the 
equations run over the edge of the page, they don't wrap around to the 
next line.




Is it possible to make them wrap? Some ERT needed?  Any other 
suggestion?


The LyX code environment is like the preformatted tag in HTML -- text 
is reproduced verbatim, monospaced.  If you want it verbatim and want 
it to fit, you can block it and use Layout->Character->Size to shrink 
it. Alternatively, if you want it to wrap, you could try switching to 
another environment (standard? quote? definition?) and use 
Layout->Character->Family to change the font family to typewriter.


Paul


Thanks Paul,

I assumed this was the case, but just wanted to make sure I'd not missed 
anything.


cheers,
Dave
--


David Mills
Queen Mary, University of London
Department of Chemistry
Mile End Road
E1 4NS, London, UK
Phone: +44 (0)20 78824764
E-mail: [EMAIL PROTECTED]