Accents, Displaystyle, Line spacing
Hi LyX folks, Assorted questions: When I make up a mathematics exam, I often need to insert a series of formulas inline but in displaystyle size (retaining the inline position). I know how to force this with \displaystyle or by selecting the _contents_ of an inline formula and choosing Insert > Math > Display formula, but is there a key binding or some other method that forces the displaystyle (with inline position) more quickly? In LyX/Mac? Conversely, how does one take a displaystyle size (inline position) formula and convert it back to inline size? And in LyX/Mac what modifier keys produce the various accented characters in textmode? The User Guide mentions xkeycaps as a way to see a graphical version of the keyboard. Is this, or something similar, available for LyX/mac? Last one: Choosing Custom line spacing in Layout > Document allows me to pick the line spacing. If, for example, I write in the box 1.3 with 10 pt type, what line spacing does this give? I had expected that to get 3 pts leading with 10 pt type (10 on 13), say, that I should pick 1.3 = 13/10, but this appears to give much more leading than 10 on 13. Thanks for the help. Bruce
Re: Accents, Displaystyle, Line spacing
Hadn't thought of that. Thanks, Paul. Paul Smith wrote: > > Bruce Pourciau wrote: > > When I make up a mathematics exam, I often need to insert a series of > > formulas inline but in displaystyle size (retaining the inline > > position). I know how to force this with \displaystyle or by selecting > > the _contents_ of an inline formula and choosing Insert > Math > Display > > formula, but is there a key binding or some other method that forces > > the displaystyle (with inline position) more quickly? In LyX/Mac? > > > > Conversely, how does one take a displaystyle size (inline position) > > formula and convert it back to inline size? > > Bruce, > > I suspect that there may be found other ways, but a simple one is to > open another math-mode box and copy the contents of the previous one to > the new box. The displaystyle disappears as long as you have properly > selected the material before copying it. Give it a try! > > Paul
Print and Preview Problem Resolved
The problem I was having (see below) has been resolved, finally. It seems that some of my 7 pt cmr and cmmi fonts somehow became corrupted. Any file using the default 10 pt size for normal uses 7 pt for _inline_ fractions, sub and superscripts, and the limits on integrals or sums. The corrupted 7 pt font files then caused the errors when choosing the View pdflatex or File Print. After it became clear that it wasn't just one 7 pt font file that was corrupted, I reinstalled TeX and everything works just fine. I want to thank the list for its helpful suggestions along the way, especially Herbert Voss, Ronald Florence, Stephen Buonopane, Bo Peng, and Andre Poenitz. Bruce Bruce Pourciau wrote: Here's the problem I've been having: in any lyx file which contains (in mathmode) a fraction or a sub or superscript, both View pdflatex and File Print produce an error message. (LyX/Mac, LyX 1.3.4, Mac 10.3.4)
Print and Preview Problem Resolved
The problem I was having (see below) has been resolved, finally. It seems that some of my 7 pt cmr and cmmi fonts somehow became corrupted. Any file using the default 10 pt size for normal uses 7 pt for _inline_ fractions, sub and superscripts, and the limits on integrals or sums. The corrupted 7 pt font files then caused the errors when choosing the View pdflatex or File Print. After it became clear that it wasn't just one 7 pt font file that was corrupted, I reinstalled TeX and everything works just fine. I want to thank the list for its helpful suggestions along the way, especially Herbert Voss, Ronald Florence, Stephen Buonopane, Bo Peng, and Andre Poenitz. Bruce Bruce Pourciau wrote: Here's the problem I've been having: in any lyx file which contains (in mathmode) a fraction or a sub or superscript, both View pdflatex and File Print produce an error message. (LyX/Mac, LyX 1.3.4, Mac 10.3.4)
Print and Preview Problem Resolved
The problem I was having (see below) has been resolved, finally. It seems that some of my 7 pt cmr and cmmi fonts somehow became corrupted. Any file using the default 10 pt size for "normal" uses 7 pt for _inline_ fractions, sub and superscripts, and the limits on integrals or sums. The corrupted 7 pt font files then caused the errors when choosing the View > pdflatex or File > Print. After it became clear that it wasn't just one 7 pt font file that was corrupted, I reinstalled TeX and everything works just fine. I want to thank the list for its helpful suggestions along the way, especially Herbert Voss, Ronald Florence, Stephen Buonopane, Bo Peng, and Andre Poenitz. Bruce Bruce Pourciau wrote: > > Here's the problem I've been having: in any lyx file which contains (in > mathmode) a fraction or a sub or superscript, both View > pdflatex and > File > Print produce an error message. (LyX/Mac, LyX 1.3.4, Mac 10.3.4)
Print and Preview Problem Understood
I think I have finally figured out the source of my problem: When a lyx file uses the default 10 pt font size, then any inline fraction, sub or superscript, or other decorations (like limits on sums or integrals), will be in 7 pt. And I seem to have a problem with a 7 pt font in my tetex installation. For example, taking a new file using the 10 pt default for the normal size, inserting an inline fraction 1/2, and selecting View pdflatex, produces an error message and a latex log file which ends like this: /var/tmp/texfonts/pk/ljfour/jknappen/ec/ecrm1000.600pk{/usr/local/ teTeX/sha re/texmf.tetex/dvips/tetex/f7b6d320.enc}/usr/local/teTeX/share/ texmf.tetex/fonts/type1/bluesky/cm/cmr7.pfb Error: pdflatex (file /usr/local/teTeX/share/texmf.tetex/fonts/type1/bluesky/cm /cmr7.pfb): unexpected end of file == Fatal error occurred, the output PDF file is not finished! What does this tell me? That the font cmr7.pfb is missing? Corrupted? Misplaced? What's the best way to fix this? As a work-around I can set my files to use 11 pt as the normal, so that subscripts etc will be in 8 pt. Then all is well. But I would like to fix this font problem. (This doesn't have anything to do with the fact that I never downloaded the CMS Super package, does it?) Bruce Bruce Pourciau wrote: Here's the problem I've been having: in any lyx file which contains (in mathmode) a fraction or a sub or superscript, both View pdflatex and File Print produce an error message. (LyX/Mac, LyX 1.3.4, Mac 10.3.4)
Re: Print and Preview Problem Understood
Thanks, Herbert. I assume I should move the old font file out or delete it, before replacing it with the new one? Herbert Voss wrote: Bruce Pourciau wrote: I think I have finally figured out the source of my problem: When a lyx file uses the default 10 pt font size, then any inline fraction, sub or superscript, or other decorations (like limits on sums or integrals), will be in 7 pt. And I seem to have a problem with a 7 pt font in my tetex installation. For example, taking a new file using the 10 pt default for the normal size, inserting an inline fraction 1/2, and selecting View pdflatex, produces an error message and a latex log file which ends like this: /var/tmp/texfonts/pk/ljfour/jknappen/ec/ecrm1000.600pk{/usr/local/ teTeX/sha re/texmf.tetex/dvips/tetex/f7b6d320.enc}/usr/local/teTeX/share/ texmf.tetex/fonts/type1/bluesky/cm/cmr7.pfb Error: pdflatex (file /usr/local/teTeX/share/texmf.tetex/fonts/type1/bluesky/cm /cmr7.pfb): unexpected end of file == Fatal error occurred, the output PDF file is not finished! What does this tell me? That the font cmr7.pfb is missing? Corrupted? yes, seems to be corrupted. Try it with the attached one. put it in the same place as the old one. If it doesn't work, then your map files are wrong. Herbert Name: cmr7.pfb cmr7.pfb Type: unspecified type (application/octet-stream) Encoding: base64 Download Status: Not downloaded with message
Print and Preview Problem Understood
I think I have finally figured out the source of my problem: When a lyx file uses the default 10 pt font size, then any inline fraction, sub or superscript, or other decorations (like limits on sums or integrals), will be in 7 pt. And I seem to have a problem with a 7 pt font in my tetex installation. For example, taking a new file using the 10 pt default for the normal size, inserting an inline fraction 1/2, and selecting View pdflatex, produces an error message and a latex log file which ends like this: /var/tmp/texfonts/pk/ljfour/jknappen/ec/ecrm1000.600pk{/usr/local/ teTeX/sha re/texmf.tetex/dvips/tetex/f7b6d320.enc}/usr/local/teTeX/share/ texmf.tetex/fonts/type1/bluesky/cm/cmr7.pfb Error: pdflatex (file /usr/local/teTeX/share/texmf.tetex/fonts/type1/bluesky/cm /cmr7.pfb): unexpected end of file == Fatal error occurred, the output PDF file is not finished! What does this tell me? That the font cmr7.pfb is missing? Corrupted? Misplaced? What's the best way to fix this? As a work-around I can set my files to use 11 pt as the normal, so that subscripts etc will be in 8 pt. Then all is well. But I would like to fix this font problem. (This doesn't have anything to do with the fact that I never downloaded the CMS Super package, does it?) Bruce Bruce Pourciau wrote: Here's the problem I've been having: in any lyx file which contains (in mathmode) a fraction or a sub or superscript, both View pdflatex and File Print produce an error message. (LyX/Mac, LyX 1.3.4, Mac 10.3.4)
Re: Print and Preview Problem Understood
Thanks, Herbert. I assume I should move the old font file out or delete it, before replacing it with the new one? Herbert Voss wrote: Bruce Pourciau wrote: I think I have finally figured out the source of my problem: When a lyx file uses the default 10 pt font size, then any inline fraction, sub or superscript, or other decorations (like limits on sums or integrals), will be in 7 pt. And I seem to have a problem with a 7 pt font in my tetex installation. For example, taking a new file using the 10 pt default for the normal size, inserting an inline fraction 1/2, and selecting View pdflatex, produces an error message and a latex log file which ends like this: /var/tmp/texfonts/pk/ljfour/jknappen/ec/ecrm1000.600pk{/usr/local/ teTeX/sha re/texmf.tetex/dvips/tetex/f7b6d320.enc}/usr/local/teTeX/share/ texmf.tetex/fonts/type1/bluesky/cm/cmr7.pfb Error: pdflatex (file /usr/local/teTeX/share/texmf.tetex/fonts/type1/bluesky/cm /cmr7.pfb): unexpected end of file == Fatal error occurred, the output PDF file is not finished! What does this tell me? That the font cmr7.pfb is missing? Corrupted? yes, seems to be corrupted. Try it with the attached one. put it in the same place as the old one. If it doesn't work, then your map files are wrong. Herbert Name: cmr7.pfb cmr7.pfb Type: unspecified type (application/octet-stream) Encoding: base64 Download Status: Not downloaded with message
Print and Preview Problem Understood
I think I have finally figured out the source of my problem: When a lyx file uses the default 10 pt font size, then any inline fraction, sub or superscript, or other "decorations" (like limits on sums or integrals), will be in 7 pt. And I seem to have a problem with a 7 pt font in my tetex installation. For example, taking a new file using the 10 pt default for the "normal" size, inserting an inline fraction 1/2, and selecting View > pdflatex, produces an error message and a latex log file which ends like this: {/usr/local/ teTeX/sha re/texmf.tetex/dvips/tetex/f7b6d320.enc} Fatal error occurred, the output PDF file is not finished! What does this tell me? That the font cmr7.pfb is missing? Corrupted? Misplaced? What's the best way to fix this? As a work-around I can set my files to use 11 pt as the normal, so that subscripts etc will be in 8 pt. Then all is well. But I would like to fix this font problem. (This doesn't have anything to do with the fact that I never downloaded the CMS Super package, does it?) Bruce Bruce Pourciau wrote: > > Here's the problem I've been having: in any lyx file which contains (in > mathmode) a fraction or a sub or superscript, both View > pdflatex and > File > Print produce an error message. (LyX/Mac, LyX 1.3.4, Mac 10.3.4)
Re: Print and Preview Problem Understood
Thanks, Herbert. I assume I should move the old font file out or delete it, before replacing it with the new one? Herbert Voss wrote: > > Bruce Pourciau wrote: > > I think I have finally figured out the source of my problem: When a lyx > > file uses the default 10 pt font size, then any inline fraction, sub or > > superscript, or other "decorations" (like limits on sums or integrals), > > will be in 7 pt. And I seem to have a problem with a 7 pt font in my > > tetex installation. For example, taking a new file using the 10 pt > > default for the "normal" size, inserting an inline fraction 1/2, and > > selecting View > pdflatex, produces an error message and a latex log > > file which ends like this: > > > > {/usr/local/ > > teTeX/sha > > re/texmf.tetex/dvips/tetex/f7b6d320.enc} > texmf.tetex/fonts/type1/bluesky/cm/cmr7.pfb > > Error: pdflatex (file > > /usr/local/teTeX/share/texmf.tetex/fonts/type1/bluesky/cm > > /cmr7.pfb): unexpected end of file > > ==> Fatal error occurred, the output PDF file is not finished! > > > > What does this tell me? That the font cmr7.pfb is missing? Corrupted? > > yes, seems to be corrupted. Try it with the attached one. put it in the > same place as the old one. If it doesn't work, then your map files > are wrong. > > Herbert > > > Name: cmr7.pfb >cmr7.pfb Type: unspecified type (application/octet-stream) > Encoding: base64 >Download Status: Not downloaded with message
Re: Debugging Print and Preview Problem
I've discovered a new aspect of my problem. My earlier description-- in any lyx file which contains (in mathmode) a fraction or a sub or superscript, both View pdflatex and File Print produce an error message --is not quite accurate. I have lyx files (containing lots of mathematics) that were sent to me from another lyx user and they view and print just fine! If I insert a fraction in mathmode into one of these files that were sent to me, it still views and prints fine, but if I take that same fraction, copy it, and insert it into a new file, I get error messages when I try to view or print, in fact I even get the red ERROR box. So, files which I created or which came with the installation (like the help files) have this math view/print problem, but files on my machine sent to me by another lyx user have no such problems. What the heck is going on? Anyone have an idea? Bruce Bruce Pourciau wrote: Here's the problem I've been having: in any lyx file which contains (in mathmode) a fraction or a sub or superscript, both View pdflatex and File Print produce an error message. (LyX/Mac, LyX 1.3.4, Mac 10.3.4) Ronald Florence has been very helpful, and he suggested that I read the help files on the use of -dbg and then start lyx from the command line with the appropriate debug parameter. But I'm a tabla rasa as far as unix is concerned. And the LyX help files say almost nothing about -dbg, unless I've missed a section. And what is the appropriate debug parameter? Can someone spell out exactly what I need to do to follow Ronald's suggestion? Do I do whatever I do right after I have gotten LyX to produce a print or preview error message? I do at least know how to get to the Terminal on the Mac, and Ronald's HOWTO LyX/Mac page says for debugging that I can start LyX from the command line with /Applications/LyX.app/Contents/MacOS/LyX. Thanks, Bruce Pourciau
Re: Debugging Print and Preview Problem
I've discovered a new aspect of my problem. My earlier description-- in any lyx file which contains (in mathmode) a fraction or a sub or superscript, both View pdflatex and File Print produce an error message --is not quite accurate. I have lyx files (containing lots of mathematics) that were sent to me from another lyx user and they view and print just fine! If I insert a fraction in mathmode into one of these files that were sent to me, it still views and prints fine, but if I take that same fraction, copy it, and insert it into a new file, I get error messages when I try to view or print, in fact I even get the red ERROR box. So, files which I created or which came with the installation (like the help files) have this math view/print problem, but files on my machine sent to me by another lyx user have no such problems. What the heck is going on? Anyone have an idea? Bruce Bruce Pourciau wrote: Here's the problem I've been having: in any lyx file which contains (in mathmode) a fraction or a sub or superscript, both View pdflatex and File Print produce an error message. (LyX/Mac, LyX 1.3.4, Mac 10.3.4) Ronald Florence has been very helpful, and he suggested that I read the help files on the use of -dbg and then start lyx from the command line with the appropriate debug parameter. But I'm a tabla rasa as far as unix is concerned. And the LyX help files say almost nothing about -dbg, unless I've missed a section. And what is the appropriate debug parameter? Can someone spell out exactly what I need to do to follow Ronald's suggestion? Do I do whatever I do right after I have gotten LyX to produce a print or preview error message? I do at least know how to get to the Terminal on the Mac, and Ronald's HOWTO LyX/Mac page says for debugging that I can start LyX from the command line with /Applications/LyX.app/Contents/MacOS/LyX. Thanks, Bruce Pourciau
Re: Debugging Print and Preview Problem
I've discovered a new aspect of my problem. My earlier description-- in any lyx file which contains (in mathmode) a fraction or a sub or superscript, both View > pdflatex and File > Print produce an error message --is not quite accurate. I have lyx files (containing lots of mathematics) that were sent to me from another lyx user and they view and print just fine! If I insert a fraction in mathmode into one of these files that were sent to me, it still views and prints fine, but if I take that same fraction, copy it, and insert it into a new file, I get error messages when I try to view or print, in fact I even get the red ERROR box. So, files which I created or which came with the installation (like the help files) have this math view/print problem, but files on my machine sent to me by another lyx user have no such problems. What the heck is going on? Anyone have an idea? Bruce Bruce Pourciau wrote: > > Here's the problem I've been having: in any lyx file which contains (in > mathmode) a fraction or a sub or superscript, both View > pdflatex and > File > Print produce an error message. (LyX/Mac, LyX 1.3.4, Mac 10.3.4) > Ronald Florence has been very helpful, and he suggested that I read the > help files on the use of -dbg and then start lyx from the command line > with the appropriate debug parameter. > > But I'm a tabla rasa as far as unix is concerned. And the LyX help files > say almost nothing about -dbg, unless I've missed a section. And what is > the appropriate debug parameter? Can someone spell out exactly what I > need to do to follow Ronald's suggestion? Do I do whatever I do right > after I have gotten LyX to produce a print or preview error message? I > do at least know how to get to the Terminal on the Mac, and Ronald's > HOWTO LyX/Mac page says for debugging that I can start LyX from the > command line with /Applications/LyX.app/Contents/MacOS/LyX. > > Thanks, > > Bruce Pourciau
Debugging Print and Preview Problem
Here's the problem I've been having: in any lyx file which contains (in mathmode) a fraction or a sub or superscript, both View pdflatex and File Print produce an error message. (LyX/Mac, LyX 1.3.4, Mac 10.3.4) Ronald Florence has been very helpful, and he suggested that I read the help files on the use of -dbg and then start lyx from the command line with the appropriate debug parameter. But I'm a tabla rasa as far as unix is concerned. And the LyX help files say almost nothing about -dbg, unless I've missed a section. And what is the appropriate debug parameter? Can someone spell out exactly what I need to do to follow Ronald's suggestion? Do I do whatever I do right after I have gotten LyX to produce a print or preview error message? I do at least know how to get to the Terminal on the Mac, and Ronald's HOWTO LyX/Mac page says for debugging that I can start LyX from the command line with /Applications/LyX.app/Contents/MacOS/LyX. Thanks, Bruce Pourciau
Re: Debugging Print and Preview Problem
Thanks, Steven. Do I go to the Terminal right AFTER I have produced one of my error messages? Here are the error messages: selecting view - pdflatex gives File error. Couldn't open file. It may be corrupt or a file format Preview does not recognize and selecting file - print gives Unable to print. Check that your parameters are correct. I don't think I get, nor have ever gotten even before these problems, anything at all with View pdf. (The machine with the misbehaving LyX is at home, not here at my office. I'll check for sure later.) I'll try your suggestion to export as latex and run pdflatex in the terminal. Bruce Stephen Buonopane wrote: Here's the problem I've been having: in any lyx file which contains (in mathmode) a fraction or a sub or superscript, both View pdflatex and File Print produce an error message. (LyX/Mac, LyX 1.3.4, Mac 10.3.4) Ronald Florence has been very helpful, and he suggested that I read the help files on the use of -dbg and then start lyx from the command line with the appropriate debug parameter. But I'm a tabla rasa as far as unix is concerned. And the LyX help files say almost nothing about -dbg, unless I've missed a section. And what is the appropriate debug parameter? Can someone spell out exactly what I need to do to follow Ronald's suggestion? Do I do whatever I do right after I have gotten LyX to produce a print or preview error message? I do at least know how to get to the Terminal on the Mac, and Ronald's HOWTO LyX/Mac page says for debugging that I can start LyX from the command line with /Applications/LyX.app/Contents/MacOS/LyX. At the terminal prompt type /Applications/LyX.app/Contents/MacOS/LyX -dbg This will give you a list of debug options To see all debugging messages use /Applications/LyX.app/Contents/MacOS/LyX -dbg any When you perform the action that is producing the error, then you will hopefully see some helpful messages in the terminal window. I think that the dbg approach may be a bit deeper than you need. Some other things to try... 1. What is the error message you get? 2. Do you get the proper output when you use just View pdf? 3. Export the file as latex and then run pdflatex myfilename in terminal and see if there are any errors?
Re: Debugging Print and Preview Problem
Thanks Stephen. Bruce Stephen Buonopane wrote: On Jul 23, 2004, at 12:57 PM, Bruce Pourciau wrote: Thanks, Steven. Do I go to the Terminal right AFTER I have produced one of my error messages? Yes, after. You will see many, many messages in the terminal window. Every time you do something in LyX, some corresponding text will show up in terminal. You might also check any messages in the Console. Thats in /Applications/Utilities/Console These are more system messages than LyX messages, but it might help too.
Re: Debugging Print and Preview Problem
Stephen, you asked what happens with View pdf. Home for lunch, where the badly behaving LyX resides, I checked. View pdf gives this error message: Cannot convert file. Error while executing dvips -t letter -o 'filename.ps' 'filename.dvi' Does this mean anything to anyone? Bruce Stephen Buonopane wrote: Here's the problem I've been having: in any lyx file which contains (in mathmode) a fraction or a sub or superscript, both View pdflatex and File Print produce an error message. (LyX/Mac, LyX 1.3.4, Mac 10.3.4) Ronald Florence has been very helpful, and he suggested that I read the help files on the use of -dbg and then start lyx from the command line with the appropriate debug parameter. But I'm a tabla rasa as far as unix is concerned. And the LyX help files say almost nothing about -dbg, unless I've missed a section. And what is the appropriate debug parameter? Can someone spell out exactly what I need to do to follow Ronald's suggestion? Do I do whatever I do right after I have gotten LyX to produce a print or preview error message? I do at least know how to get to the Terminal on the Mac, and Ronald's HOWTO LyX/Mac page says for debugging that I can start LyX from the command line with /Applications/LyX.app/Contents/MacOS/LyX. At the terminal prompt type /Applications/LyX.app/Contents/MacOS/LyX -dbg This will give you a list of debug options To see all debugging messages use /Applications/LyX.app/Contents/MacOS/LyX -dbg any When you perform the action that is producing the error, then you will hopefully see some helpful messages in the terminal window. I think that the dbg approach may be a bit deeper than you need. Some other things to try... 1. What is the error message you get? 2. Do you get the proper output when you use just View pdf? 3. Export the file as latex and then run pdflatex myfilename in terminal and see if there are any errors?
Debugging Print and Preview Problem
Here's the problem I've been having: in any lyx file which contains (in mathmode) a fraction or a sub or superscript, both View pdflatex and File Print produce an error message. (LyX/Mac, LyX 1.3.4, Mac 10.3.4) Ronald Florence has been very helpful, and he suggested that I read the help files on the use of -dbg and then start lyx from the command line with the appropriate debug parameter. But I'm a tabla rasa as far as unix is concerned. And the LyX help files say almost nothing about -dbg, unless I've missed a section. And what is the appropriate debug parameter? Can someone spell out exactly what I need to do to follow Ronald's suggestion? Do I do whatever I do right after I have gotten LyX to produce a print or preview error message? I do at least know how to get to the Terminal on the Mac, and Ronald's HOWTO LyX/Mac page says for debugging that I can start LyX from the command line with /Applications/LyX.app/Contents/MacOS/LyX. Thanks, Bruce Pourciau
Re: Debugging Print and Preview Problem
Thanks, Steven. Do I go to the Terminal right AFTER I have produced one of my error messages? Here are the error messages: selecting view - pdflatex gives File error. Couldn't open file. It may be corrupt or a file format Preview does not recognize and selecting file - print gives Unable to print. Check that your parameters are correct. I don't think I get, nor have ever gotten even before these problems, anything at all with View pdf. (The machine with the misbehaving LyX is at home, not here at my office. I'll check for sure later.) I'll try your suggestion to export as latex and run pdflatex in the terminal. Bruce Stephen Buonopane wrote: Here's the problem I've been having: in any lyx file which contains (in mathmode) a fraction or a sub or superscript, both View pdflatex and File Print produce an error message. (LyX/Mac, LyX 1.3.4, Mac 10.3.4) Ronald Florence has been very helpful, and he suggested that I read the help files on the use of -dbg and then start lyx from the command line with the appropriate debug parameter. But I'm a tabla rasa as far as unix is concerned. And the LyX help files say almost nothing about -dbg, unless I've missed a section. And what is the appropriate debug parameter? Can someone spell out exactly what I need to do to follow Ronald's suggestion? Do I do whatever I do right after I have gotten LyX to produce a print or preview error message? I do at least know how to get to the Terminal on the Mac, and Ronald's HOWTO LyX/Mac page says for debugging that I can start LyX from the command line with /Applications/LyX.app/Contents/MacOS/LyX. At the terminal prompt type /Applications/LyX.app/Contents/MacOS/LyX -dbg This will give you a list of debug options To see all debugging messages use /Applications/LyX.app/Contents/MacOS/LyX -dbg any When you perform the action that is producing the error, then you will hopefully see some helpful messages in the terminal window. I think that the dbg approach may be a bit deeper than you need. Some other things to try... 1. What is the error message you get? 2. Do you get the proper output when you use just View pdf? 3. Export the file as latex and then run pdflatex myfilename in terminal and see if there are any errors?
Re: Debugging Print and Preview Problem
Thanks Stephen. Bruce Stephen Buonopane wrote: On Jul 23, 2004, at 12:57 PM, Bruce Pourciau wrote: Thanks, Steven. Do I go to the Terminal right AFTER I have produced one of my error messages? Yes, after. You will see many, many messages in the terminal window. Every time you do something in LyX, some corresponding text will show up in terminal. You might also check any messages in the Console. Thats in /Applications/Utilities/Console These are more system messages than LyX messages, but it might help too.
Re: Debugging Print and Preview Problem
Stephen, you asked what happens with View pdf. Home for lunch, where the badly behaving LyX resides, I checked. View pdf gives this error message: Cannot convert file. Error while executing dvips -t letter -o 'filename.ps' 'filename.dvi' Does this mean anything to anyone? Bruce Stephen Buonopane wrote: Here's the problem I've been having: in any lyx file which contains (in mathmode) a fraction or a sub or superscript, both View pdflatex and File Print produce an error message. (LyX/Mac, LyX 1.3.4, Mac 10.3.4) Ronald Florence has been very helpful, and he suggested that I read the help files on the use of -dbg and then start lyx from the command line with the appropriate debug parameter. But I'm a tabla rasa as far as unix is concerned. And the LyX help files say almost nothing about -dbg, unless I've missed a section. And what is the appropriate debug parameter? Can someone spell out exactly what I need to do to follow Ronald's suggestion? Do I do whatever I do right after I have gotten LyX to produce a print or preview error message? I do at least know how to get to the Terminal on the Mac, and Ronald's HOWTO LyX/Mac page says for debugging that I can start LyX from the command line with /Applications/LyX.app/Contents/MacOS/LyX. At the terminal prompt type /Applications/LyX.app/Contents/MacOS/LyX -dbg This will give you a list of debug options To see all debugging messages use /Applications/LyX.app/Contents/MacOS/LyX -dbg any When you perform the action that is producing the error, then you will hopefully see some helpful messages in the terminal window. I think that the dbg approach may be a bit deeper than you need. Some other things to try... 1. What is the error message you get? 2. Do you get the proper output when you use just View pdf? 3. Export the file as latex and then run pdflatex myfilename in terminal and see if there are any errors?
Debugging Print and Preview Problem
Here's the problem I've been having: in any lyx file which contains (in mathmode) a fraction or a sub or superscript, both View > pdflatex and File > Print produce an error message. (LyX/Mac, LyX 1.3.4, Mac 10.3.4) Ronald Florence has been very helpful, and he suggested that I read the help files on the use of -dbg and then start lyx from the command line with the appropriate debug parameter. But I'm a tabla rasa as far as unix is concerned. And the LyX help files say almost nothing about -dbg, unless I've missed a section. And what is the appropriate debug parameter? Can someone spell out exactly what I need to do to follow Ronald's suggestion? Do I do whatever I do right after I have gotten LyX to produce a print or preview error message? I do at least know how to get to the Terminal on the Mac, and Ronald's HOWTO LyX/Mac page says for debugging that I can start LyX from the command line with /Applications/LyX.app/Contents/MacOS/LyX. Thanks, Bruce Pourciau
Re: Debugging Print and Preview Problem
Thanks, Steven. Do I go to the Terminal right AFTER I have produced one of my error messages? Here are the error messages: selecting view -> pdflatex gives "File error. Couldn't open file. It may be corrupt or a file format Preview does not recognize" and selecting file -> print gives "Unable to print. Check that your parameters are correct." I don't think I get, nor have ever gotten even before these problems, anything at all with View > pdf. (The machine with the misbehaving LyX is at home, not here at my office. I'll check for sure later.) I'll try your suggestion to export as latex and run pdflatex in the terminal. Bruce Stephen Buonopane wrote: > > > > > Here's the problem I've been having: in any lyx file which contains (in > > mathmode) a fraction or a sub or superscript, both View > pdflatex and > > File > Print produce an error message. (LyX/Mac, LyX 1.3.4, Mac 10.3.4) > > Ronald Florence has been very helpful, and he suggested that I read the > > help files on the use of -dbg and then start lyx from the command line > > with the appropriate debug parameter. > > > > But I'm a tabla rasa as far as unix is concerned. And the LyX help > > files > > say almost nothing about -dbg, unless I've missed a section. And what > > is > > the appropriate debug parameter? Can someone spell out exactly what I > > need to do to follow Ronald's suggestion? Do I do whatever I do right > > after I have gotten LyX to produce a print or preview error message? I > > do at least know how to get to the Terminal on the Mac, and Ronald's > > HOWTO LyX/Mac page says for debugging that I can start LyX from the > > command line with /Applications/LyX.app/Contents/MacOS/LyX. > > > > At the terminal prompt type > "/Applications/LyX.app/Contents/MacOS/LyX -dbg" > This will give you a list of debug options > > To see all debugging messages use > "/Applications/LyX.app/Contents/MacOS/LyX -dbg any" > > When you perform the action that is producing the error, then you will > hopefully see some helpful messages in the terminal window. > > I think that the dbg approach may be a bit deeper than you need. > Some other things to try... > 1. What is the error message you get? > 2. Do you get the proper output when you use just View > pdf? > 3. Export the file as latex and then run "pdflatex myfilename" in > terminal and see if there are any errors?
Re: Debugging Print and Preview Problem
Thanks Stephen. Bruce Stephen Buonopane wrote: > > On Jul 23, 2004, at 12:57 PM, Bruce Pourciau wrote: > > > Thanks, Steven. Do I go to the Terminal right AFTER I have produced one > > of my error messages? > > Yes, after. You will see many, many messages in the terminal window. > Every time you do something in LyX, some corresponding text will show > up in terminal. > > You might also check any messages in the Console. Thats in > /Applications/Utilities/Console > These are more system messages than LyX messages, but it might help too.
Re: Debugging Print and Preview Problem
Stephen, you asked what happens with View > pdf. Home for lunch, where the badly behaving LyX resides, I checked. View > pdf gives this error message: "Cannot convert file. Error while executing dvips -t letter -o 'filename.ps' 'filename.dvi' Does this mean anything to anyone? Bruce Stephen Buonopane wrote: > > > > > Here's the problem I've been having: in any lyx file which contains (in > > mathmode) a fraction or a sub or superscript, both View > pdflatex and > > File > Print produce an error message. (LyX/Mac, LyX 1.3.4, Mac 10.3.4) > > Ronald Florence has been very helpful, and he suggested that I read the > > help files on the use of -dbg and then start lyx from the command line > > with the appropriate debug parameter. > > > > But I'm a tabla rasa as far as unix is concerned. And the LyX help > > files > > say almost nothing about -dbg, unless I've missed a section. And what > > is > > the appropriate debug parameter? Can someone spell out exactly what I > > need to do to follow Ronald's suggestion? Do I do whatever I do right > > after I have gotten LyX to produce a print or preview error message? I > > do at least know how to get to the Terminal on the Mac, and Ronald's > > HOWTO LyX/Mac page says for debugging that I can start LyX from the > > command line with /Applications/LyX.app/Contents/MacOS/LyX. > > > > At the terminal prompt type > "/Applications/LyX.app/Contents/MacOS/LyX -dbg" > This will give you a list of debug options > > To see all debugging messages use > "/Applications/LyX.app/Contents/MacOS/LyX -dbg any" > > When you perform the action that is producing the error, then you will > hopefully see some helpful messages in the terminal window. > > I think that the dbg approach may be a bit deeper than you need. > Some other things to try... > 1. What is the error message you get? > 2. Do you get the proper output when you use just View > pdf? > 3. Export the file as latex and then run "pdflatex myfilename" in > terminal and see if there are any errors?
Re: LyX Reinstall
If I trash the LyX.app bundle, can I use Ronald Florence's self-installing binary to get a clean reinstall of LyX? Does anyone know whether this self-installing binary first checks for files that the pervious installation may have left behind? Bruce Bruce Pourciau wrote: Thanks, Bennett. I originally installed LyX using a link on Ronald's page to a self-installing binary. I don't remember a LyX-Setup script, but there could have been one and I've forgotten. Ronald gives an option for those who wish to build LyX/Mac, but I'm inexperienced enough that I would prefer the self-installing binary if possible. Bruce Bennett Helm wrote: On Jul 16, 2004, at 1:02 PM, Bruce Pourciau wrote: Hi List, In the hope of fixing my preview and printing error problems (when a LyX file contains (in math mode) a fraction, superscript or subscript, or decorated integral or sum, then that file fails to preview and print), I would like to reinstall LyX. I originally installed LyX/Mac as a self-installing binary from a link on Ronald Florence's HOWTO LyX/Mac site. This installed a LyX.app package. To deinstall do I need to do anything more than trash and delete this package? In other words, are there other files hiding out in other places which I should get rid of before I reinstall LyX? Whether stuff is installed elsewhere depends on which version of LyX/Mac you originally installed. Old versions did put other things (like fonts and an auxiliary file to open LyX documents by doubleclicking) elsewhere, whereas new versions keep everything but the ~/.lyx folder and preview.sty and srcltx.sty within the LyX.app bundle. But it shouldn't matter. Trash the LyX.app package, grab a new version, and make sure you run the LyX-Setup script: that will take care of deleting any old files that might have been installed elsewhere, giving you a clean installation of LyX/Mac. Bennett
Re: LyX Reinstall
If I trash the LyX.app bundle, can I use Ronald Florence's self-installing binary to get a clean reinstall of LyX? Does anyone know whether this self-installing binary first checks for files that the pervious installation may have left behind? Bruce Bruce Pourciau wrote: Thanks, Bennett. I originally installed LyX using a link on Ronald's page to a self-installing binary. I don't remember a LyX-Setup script, but there could have been one and I've forgotten. Ronald gives an option for those who wish to build LyX/Mac, but I'm inexperienced enough that I would prefer the self-installing binary if possible. Bruce Bennett Helm wrote: On Jul 16, 2004, at 1:02 PM, Bruce Pourciau wrote: Hi List, In the hope of fixing my preview and printing error problems (when a LyX file contains (in math mode) a fraction, superscript or subscript, or decorated integral or sum, then that file fails to preview and print), I would like to reinstall LyX. I originally installed LyX/Mac as a self-installing binary from a link on Ronald Florence's HOWTO LyX/Mac site. This installed a LyX.app package. To deinstall do I need to do anything more than trash and delete this package? In other words, are there other files hiding out in other places which I should get rid of before I reinstall LyX? Whether stuff is installed elsewhere depends on which version of LyX/Mac you originally installed. Old versions did put other things (like fonts and an auxiliary file to open LyX documents by doubleclicking) elsewhere, whereas new versions keep everything but the ~/.lyx folder and preview.sty and srcltx.sty within the LyX.app bundle. But it shouldn't matter. Trash the LyX.app package, grab a new version, and make sure you run the LyX-Setup script: that will take care of deleting any old files that might have been installed elsewhere, giving you a clean installation of LyX/Mac. Bennett
Re: LyX Reinstall
If I trash the LyX.app bundle, can I use Ronald Florence's self-installing binary to get a clean reinstall of LyX? Does anyone know whether this self-installing binary first checks for files that the pervious installation may have left behind? Bruce Bruce Pourciau wrote: > > Thanks, Bennett. I originally installed LyX using a link on Ronald's > page to a self-installing binary. I don't remember a LyX-Setup script, > but there could have been one and I've forgotten. Ronald gives an option > for those who wish to build LyX/Mac, but I'm inexperienced enough that I > would prefer the self-installing binary if possible. > > Bruce > > Bennett Helm wrote: > > > > On Jul 16, 2004, at 1:02 PM, Bruce Pourciau wrote: > > > > > Hi List, > > > > > > In the hope of fixing my preview and printing error problems (when a > > > LyX > > > file contains (in math mode) a fraction, superscript or subscript, or > > > decorated integral or sum, then that file fails to preview and print), > > > I > > > would like to reinstall LyX. I originally installed LyX/Mac as a > > > self-installing binary from a link on Ronald Florence's HOWTO LyX/Mac > > > site. This installed a LyX.app package. To deinstall do I need to do > > > anything more than trash and delete this package? In other words, are > > > there other files hiding out in other places which I should get rid of > > > before I reinstall LyX? > > > > Whether stuff is installed elsewhere depends on which version of > > LyX/Mac you originally installed. Old versions did put other things > > (like fonts and an auxiliary file to open LyX documents by > > doubleclicking) elsewhere, whereas new versions keep everything but the > > ~/.lyx folder and preview.sty and srcltx.sty within the LyX.app bundle. > > > > But it shouldn't matter. Trash the LyX.app package, grab a new version, > > and make sure you run the LyX-Setup script: that will take care of > > deleting any old files that might have been installed elsewhere, giving > > you a clean installation of LyX/Mac. > > > > Bennett
LyX Reinstall
Hi List, In the hope of fixing my preview and printing error problems (when a LyX file contains (in math mode) a fraction, superscript or subscript, or decorated integral or sum, then that file fails to preview and print), I would like to reinstall LyX. I originally installed LyX/Mac as a self-installing binary from a link on Ronald Florence's HOWTO LyX/Mac site. This installed a LyX.app package. To deinstall do I need to do anything more than trash and delete this package? In other words, are there other files hiding out in other places which I should get rid of before I reinstall LyX? Bruce
Re: LyX Reinstall
Thanks, Bennett. I originally installed LyX using a link on Ronald's page to a self-installing binary. I don't remember a LyX-Setup script, but there could have been one and I've forgotten. Ronald gives an option for those who wish to build LyX/Mac, but I'm inexperienced enough that I would prefer the self-installing binary if possible. Bruce Bennett Helm wrote: On Jul 16, 2004, at 1:02 PM, Bruce Pourciau wrote: Hi List, In the hope of fixing my preview and printing error problems (when a LyX file contains (in math mode) a fraction, superscript or subscript, or decorated integral or sum, then that file fails to preview and print), I would like to reinstall LyX. I originally installed LyX/Mac as a self-installing binary from a link on Ronald Florence's HOWTO LyX/Mac site. This installed a LyX.app package. To deinstall do I need to do anything more than trash and delete this package? In other words, are there other files hiding out in other places which I should get rid of before I reinstall LyX? Whether stuff is installed elsewhere depends on which version of LyX/Mac you originally installed. Old versions did put other things (like fonts and an auxiliary file to open LyX documents by doubleclicking) elsewhere, whereas new versions keep everything but the ~/.lyx folder and preview.sty and srcltx.sty within the LyX.app bundle. But it shouldn't matter. Trash the LyX.app package, grab a new version, and make sure you run the LyX-Setup script: that will take care of deleting any old files that might have been installed elsewhere, giving you a clean installation of LyX/Mac. Bennett
LyX Reinstall
Hi List, In the hope of fixing my preview and printing error problems (when a LyX file contains (in math mode) a fraction, superscript or subscript, or decorated integral or sum, then that file fails to preview and print), I would like to reinstall LyX. I originally installed LyX/Mac as a self-installing binary from a link on Ronald Florence's HOWTO LyX/Mac site. This installed a LyX.app package. To deinstall do I need to do anything more than trash and delete this package? In other words, are there other files hiding out in other places which I should get rid of before I reinstall LyX? Bruce
Re: LyX Reinstall
Thanks, Bennett. I originally installed LyX using a link on Ronald's page to a self-installing binary. I don't remember a LyX-Setup script, but there could have been one and I've forgotten. Ronald gives an option for those who wish to build LyX/Mac, but I'm inexperienced enough that I would prefer the self-installing binary if possible. Bruce Bennett Helm wrote: On Jul 16, 2004, at 1:02 PM, Bruce Pourciau wrote: Hi List, In the hope of fixing my preview and printing error problems (when a LyX file contains (in math mode) a fraction, superscript or subscript, or decorated integral or sum, then that file fails to preview and print), I would like to reinstall LyX. I originally installed LyX/Mac as a self-installing binary from a link on Ronald Florence's HOWTO LyX/Mac site. This installed a LyX.app package. To deinstall do I need to do anything more than trash and delete this package? In other words, are there other files hiding out in other places which I should get rid of before I reinstall LyX? Whether stuff is installed elsewhere depends on which version of LyX/Mac you originally installed. Old versions did put other things (like fonts and an auxiliary file to open LyX documents by doubleclicking) elsewhere, whereas new versions keep everything but the ~/.lyx folder and preview.sty and srcltx.sty within the LyX.app bundle. But it shouldn't matter. Trash the LyX.app package, grab a new version, and make sure you run the LyX-Setup script: that will take care of deleting any old files that might have been installed elsewhere, giving you a clean installation of LyX/Mac. Bennett
LyX Reinstall
Hi List, In the hope of fixing my preview and printing error problems (when a LyX file contains (in math mode) a fraction, superscript or subscript, or decorated integral or sum, then that file fails to preview and print), I would like to reinstall LyX. I originally installed LyX/Mac as a self-installing binary from a link on Ronald Florence's HOWTO LyX/Mac site. This installed a LyX.app package. To deinstall do I need to do anything more than trash and delete this package? In other words, are there other files hiding out in other places which I should get rid of before I reinstall LyX? Bruce
Re: LyX Reinstall
Thanks, Bennett. I originally installed LyX using a link on Ronald's page to a self-installing binary. I don't remember a LyX-Setup script, but there could have been one and I've forgotten. Ronald gives an option for those who wish to build LyX/Mac, but I'm inexperienced enough that I would prefer the self-installing binary if possible. Bruce Bennett Helm wrote: > > On Jul 16, 2004, at 1:02 PM, Bruce Pourciau wrote: > > > Hi List, > > > > In the hope of fixing my preview and printing error problems (when a > > LyX > > file contains (in math mode) a fraction, superscript or subscript, or > > decorated integral or sum, then that file fails to preview and print), > > I > > would like to reinstall LyX. I originally installed LyX/Mac as a > > self-installing binary from a link on Ronald Florence's HOWTO LyX/Mac > > site. This installed a LyX.app package. To deinstall do I need to do > > anything more than trash and delete this package? In other words, are > > there other files hiding out in other places which I should get rid of > > before I reinstall LyX? > > Whether stuff is installed elsewhere depends on which version of > LyX/Mac you originally installed. Old versions did put other things > (like fonts and an auxiliary file to open LyX documents by > doubleclicking) elsewhere, whereas new versions keep everything but the > ~/.lyx folder and preview.sty and srcltx.sty within the LyX.app bundle. > > But it shouldn't matter. Trash the LyX.app package, grab a new version, > and make sure you run the LyX-Setup script: that will take care of > deleting any old files that might have been installed elsewhere, giving > you a clean installation of LyX/Mac. > > Bennett
Re: LyX Questions
Angus, Sorry about the delay. Thank you for your very helpful response to my long list of newbie LyX questions. Bruce Angus Leeming wrote: Bruce Pourciau wrote: Since I have been using (more like exploring so far) LyX for only a few weeks, almost surely some or all of my questions have been asked and answered before. For that I apologize. Also, sad to say, the amount of TeX I know at this point is nearly the null set, so an answer which involves TeX either must be detailed enough for me to act on it or must tell me where to go to find such details. Thanks to the list in advance for whatever help you can provide. FYI I'm running LyX 1.3.4 aqua on a Mac OS 10.3 (courtesy of Ronald Florence and Gerben Wierda's teTeX). Sorry about the number of questions. (1) My version of LyX remembers only 3 or 4 recently opened files. Is there a way to configure LyX so it remembers a greater number of recently opened files? Edit-Preferences dialog. Look and Feel-User interface pane. Maximum last files counter. (2) After I choose the number of rows and columns for a table I wish to insert, how do I fix its dimensions (its width and height in inches, for example)? If I control-click on the inserted table, the table dialog comes up which allows me to choose the width of a given column. So clearly I can fix the dimensions of the table by doing this column by column, but there should be a more efficient way. I don't believe that that is the TeX way. That said, there are countless tables packages out there. One of them may well do what you want, but you'll have to use ERT (the raw latex inset, a.k.a. Evil Red Text) to use it. (3) What is the best way to handle equations with multiple equal signs which you want to appear with the equal signs aligned underneath each other? Insert-Math-Display equation a = b Cntl-Enter The cursor will move to between the 'a' and the '='. Move it to the end of the equation (after the 'b' but still in the math editor) and hit 'Cntl-Enter' again. Bingo, three little blue boxes appear. Use the middle one for your '='. Alternatively, use Insert-Math-Eqnarray or Insert-Math-AMS align. In fact, try out all the different equation types. Get to know 'em. (4) The layouts folder in my LyX package contains a great number of layouts. But most of these layouts (document classes) say unavailable in the document layout dialog. I've been told to go get the layouts at ctan, but the layouts folder already seems to contain more layouts than I could want. How do I make more of these document classes available to LyX? You are suffering from a common misunderstanding. 'Layout' files are used by LyX to control the appearence of the document on the screen. By and large, the typesetting is quite simple. Latex, however, is an enormously sophisticated typesetting engine. The layout of your document on the printed page is controlled by latex. In turn, latex uses the .sty files to be found at CTAN. It's these that you need to grab if you're going to produce printed output for a particular LyX layout. (5) In the article and AMS article document classes, the LyX quote and quotation environments place a long quotation in a indented block. What if I want these environments to set that block in a type size 1 point reduced from whatever the body type size is. How would I make such a change? And what if I wanted to call the new class My Article Class, say, and keep the old class with its original name? This is getting more complicated ;-) Copy article.layout to $HOME/.lyx/layouts/my_article.layout and edit it to suit. I'm sure that someone cleverer than me will step in here and tell you how to modify the appearence of the quote environments. Alternatively, go search the 'Tips Tricks' page to be found at www.lyx.org (it's in the menubar). -- Angus
Re: LyX Questions
Angus, Sorry about the delay. Thank you for your very helpful response to my long list of newbie LyX questions. Bruce Angus Leeming wrote: Bruce Pourciau wrote: Since I have been using (more like exploring so far) LyX for only a few weeks, almost surely some or all of my questions have been asked and answered before. For that I apologize. Also, sad to say, the amount of TeX I know at this point is nearly the null set, so an answer which involves TeX either must be detailed enough for me to act on it or must tell me where to go to find such details. Thanks to the list in advance for whatever help you can provide. FYI I'm running LyX 1.3.4 aqua on a Mac OS 10.3 (courtesy of Ronald Florence and Gerben Wierda's teTeX). Sorry about the number of questions. (1) My version of LyX remembers only 3 or 4 recently opened files. Is there a way to configure LyX so it remembers a greater number of recently opened files? Edit-Preferences dialog. Look and Feel-User interface pane. Maximum last files counter. (2) After I choose the number of rows and columns for a table I wish to insert, how do I fix its dimensions (its width and height in inches, for example)? If I control-click on the inserted table, the table dialog comes up which allows me to choose the width of a given column. So clearly I can fix the dimensions of the table by doing this column by column, but there should be a more efficient way. I don't believe that that is the TeX way. That said, there are countless tables packages out there. One of them may well do what you want, but you'll have to use ERT (the raw latex inset, a.k.a. Evil Red Text) to use it. (3) What is the best way to handle equations with multiple equal signs which you want to appear with the equal signs aligned underneath each other? Insert-Math-Display equation a = b Cntl-Enter The cursor will move to between the 'a' and the '='. Move it to the end of the equation (after the 'b' but still in the math editor) and hit 'Cntl-Enter' again. Bingo, three little blue boxes appear. Use the middle one for your '='. Alternatively, use Insert-Math-Eqnarray or Insert-Math-AMS align. In fact, try out all the different equation types. Get to know 'em. (4) The layouts folder in my LyX package contains a great number of layouts. But most of these layouts (document classes) say unavailable in the document layout dialog. I've been told to go get the layouts at ctan, but the layouts folder already seems to contain more layouts than I could want. How do I make more of these document classes available to LyX? You are suffering from a common misunderstanding. 'Layout' files are used by LyX to control the appearence of the document on the screen. By and large, the typesetting is quite simple. Latex, however, is an enormously sophisticated typesetting engine. The layout of your document on the printed page is controlled by latex. In turn, latex uses the .sty files to be found at CTAN. It's these that you need to grab if you're going to produce printed output for a particular LyX layout. (5) In the article and AMS article document classes, the LyX quote and quotation environments place a long quotation in a indented block. What if I want these environments to set that block in a type size 1 point reduced from whatever the body type size is. How would I make such a change? And what if I wanted to call the new class My Article Class, say, and keep the old class with its original name? This is getting more complicated ;-) Copy article.layout to $HOME/.lyx/layouts/my_article.layout and edit it to suit. I'm sure that someone cleverer than me will step in here and tell you how to modify the appearence of the quote environments. Alternatively, go search the 'Tips Tricks' page to be found at www.lyx.org (it's in the menubar). -- Angus
Re: LyX Questions
Angus, Sorry about the delay. Thank you for your very helpful response to my long list of newbie LyX questions. Bruce Angus Leeming wrote: > > Bruce Pourciau wrote: > > > Since I have been using (more like exploring so far) LyX for only a few > > weeks, almost surely some or all of my questions have been asked and > > answered before. For that I apologize. Also, sad to say, the amount of > > TeX I know at this point is nearly the null set, so an answer which > > involves TeX either must be detailed enough for me to act on it or must > > tell me where to go to find such details. Thanks to the list in advance > > for whatever help you can provide. FYI I'm running LyX 1.3.4 aqua on a > > Mac OS 10.3 (courtesy of Ronald Florence and Gerben Wierda's teTeX). > > Sorry about the number of questions. > > > > (1) My version of LyX remembers only 3 or 4 recently opened files. Is > > there a way to configure LyX so it remembers a greater number of > > recently opened files? > > Edit->Preferences dialog. > Look and Feel->User interface pane. > Maximum last files counter. > > > (2) After I choose the number of rows and columns for a table I wish to > > insert, how do I fix its dimensions (its width and height in inches, for > > example)? If I control-click on the inserted table, the table dialog > > comes up which allows me to choose the width of a given column. So > > clearly I can fix the dimensions of the table by doing this column by > > column, but there should be a more efficient way. > > I don't believe that that is the TeX way. That said, there are countless > tables packages out there. One of them may well do what you want, but > you'll have to use ERT (the raw latex inset, a.k.a. Evil Red Text) to use > it. > > > (3) What is the best way to handle equations with multiple equal signs > > which you want to appear with the equal signs aligned underneath each > > other? > > Insert->Math->Display equation > a = b Cntl-Enter > > The cursor will move to between the 'a' and the '='. Move it to the end of > the equation (after the 'b' but still in the math editor) and hit > 'Cntl-Enter' again. > > Bingo, three little blue boxes appear. Use the middle one for your '='. > > Alternatively, use Insert->Math->Eqnarray or Insert->Math->AMS align. > > In fact, try out all the different equation types. Get to know 'em. > > > (4) The layouts folder in my LyX package contains a great number of > > layouts. But most of these layouts (document classes) say "unavailable" > > in the document layout dialog. I've been told to go get the layouts at > > ctan, but the layouts folder already seems to contain more layouts than > > I could want. How do I make more of these document classes available to > > LyX? > > You are suffering from a common misunderstanding. 'Layout' files are used > by LyX to control the appearence of the document on the screen. By and > large, the typesetting is quite simple. Latex, however, is an enormously > sophisticated typesetting engine. The layout of your document on the > printed page is controlled by latex. In turn, latex uses the .sty files to > be found at CTAN. It's these that you need to grab if you're going to > produce printed output for a particular LyX layout. > > > (5) In the article and AMS article document classes, the LyX quote and > > quotation environments place a long quotation in a indented block. What > > if I want these environments to set that block in a type size 1 point > > reduced from whatever the body type size is. How would I make such a > > change? And what if I wanted to call the new class "My Article Class," > > say, and keep the old class with its original name? > > This is getting more complicated ;-) > > Copy article.layout to $HOME/.lyx/layouts/my_article.layout and edit it to > suit. I'm sure that someone cleverer than me will step in here and tell > you how to modify the appearence of the quote environments. > > Alternatively, go search the 'Tips & Tricks' page to be found at > www.lyx.org (it's in the menubar). > > -- > Angus
Preview and Print Problem
Hi List, After further investigation, I have an updated description of my problem. My LyX/Mac installation (thank you Ron Florence) had been running flawlessly. Then a few days ago, it lost on-screen latex-preview of all mathematics in existing lyx files lost on-screen latex-preview of some mathematics in new lyx files This would not be so bad, except that whenever any mathematics in a file fails to latex-preview on-screen, selecting view - pdflatex gives an error (File error. Couldn't open file. It may be corrupt or a file format Preview does not recognize) and selecting file - print also gives an error (Unable to print. Check that your parameters are correct.). Around the time that this behavior began, I remember that I had downloaded (using a link on Ronald Florence's HOWTO LyX/Mac site) MacDviX, hoping to use it for reverse dvi searches. But I never got around to installing it. Could this have caused the problem? Any suggestions? Do I need to reinstall something? As a mathematician, if I can't preview and print files containing mathematics, then I have a little problem. Bruce Pourciau
Re: Bessel functions in math mode
Counting can be cultural too: we count 1, 2, 3, ..., 99, ..., while some tribes count 1, 2, 3, many. But concerning Jn and Hn, note that the n there represents an integer, unlike the n in sin, say, which represents, well, the letter n. :-) Bruce Andre Poenitz wrote: On Mon, Jul 05, 2004 at 08:52:56AM -0700, Bruce Pourciau wrote: My convention says all multi-char function names are upright. Your stated convention is correct, but Jn and Hn are not considered multi-character function names, but rather single-character function... So counting seems to be a matter of taste as well ;-} Andre'
Preview and Print Problem
Hi List, After further investigation, I have an updated description of my problem. My LyX/Mac installation (thank you Ron Florence) had been running flawlessly. Then a few days ago, it lost on-screen latex-preview of all mathematics in existing lyx files lost on-screen latex-preview of some mathematics in new lyx files This would not be so bad, except that whenever any mathematics in a file fails to latex-preview on-screen, selecting view - pdflatex gives an error (File error. Couldn't open file. It may be corrupt or a file format Preview does not recognize) and selecting file - print also gives an error (Unable to print. Check that your parameters are correct.). Around the time that this behavior began, I remember that I had downloaded (using a link on Ronald Florence's HOWTO LyX/Mac site) MacDviX, hoping to use it for reverse dvi searches. But I never got around to installing it. Could this have caused the problem? Any suggestions? Do I need to reinstall something? As a mathematician, if I can't preview and print files containing mathematics, then I have a little problem. Bruce Pourciau
Re: Bessel functions in math mode
Counting can be cultural too: we count 1, 2, 3, ..., 99, ..., while some tribes count 1, 2, 3, many. But concerning Jn and Hn, note that the n there represents an integer, unlike the n in sin, say, which represents, well, the letter n. :-) Bruce Andre Poenitz wrote: On Mon, Jul 05, 2004 at 08:52:56AM -0700, Bruce Pourciau wrote: My convention says all multi-char function names are upright. Your stated convention is correct, but Jn and Hn are not considered multi-character function names, but rather single-character function... So counting seems to be a matter of taste as well ;-} Andre'
Preview and Print Problem
Hi List, After further investigation, I have an updated description of my problem. My LyX/Mac installation (thank you Ron Florence) had been running flawlessly. Then a few days ago, it lost on-screen latex-preview of all mathematics in existing lyx files lost on-screen latex-preview of some mathematics in new lyx files This would not be so bad, except that whenever any mathematics in a file fails to latex-preview on-screen, selecting view -> pdflatex gives an error ("File error. Couldn't open file. It may be corrupt or a file format Preview does not recognize") and selecting file -> print also gives an error ("Unable to print. Check that your parameters are correct."). Around the time that this behavior began, I remember that I had downloaded (using a link on Ronald Florence's HOWTO LyX/Mac site) MacDviX, hoping to use it for reverse dvi searches. But I never got around to installing it. Could this have caused the problem? Any suggestions? Do I need to reinstall something? As a mathematician, if I can't preview and print files containing mathematics, then I have a little problem. Bruce Pourciau
Re: Bessel functions in math mode
Counting can be cultural too: we count 1, 2, 3, ..., 99, ..., while some tribes count 1, 2, 3, many. But concerning Jn and Hn, note that the n there represents an integer, unlike the n in sin, say, which represents, well, the letter n. :-) Bruce Andre Poenitz wrote: > > On Mon, Jul 05, 2004 at 08:52:56AM -0700, Bruce Pourciau wrote: > > > My convention says "all multi-char function names are upright". > > > > Your stated convention is correct, but Jn and Hn are not considered > > "multi-character function names," but rather single-character > > function... > > So counting seems to be a matter of taste as well ;-} > > Andre'
Viewer Problem
Greetings list, After following Ronald Florence's HOWTO for LyX/Mac, I am the proud and happy owner of a lovely implementation of LyX on the Mac OS X. However, probably because I accidentally altered a converter setting, selecting view - pdflatex, which had been giving me a nice preview of my LyX files, now either gives me an error message (File error. Couldn't open file. It may be corrupt or a file format Preview does not recognize.) or the same sort of garbage that View - dvipdfm has always given me (I assume because I have not yet installed MacDviX). The converter settings now are: LaTeX - DVI on the left under converters and LaTeX, DVI, latex $$i, latex going down on the right side. Are these incorrect? When I select different settings on the left side under converters and then click modify or save, the settings seem to return to their original choices (namely those given above) when I open the converter window later. Suggestions? If I don't have MacDviX installed, and I want to preview using pdflatex as I had been, what should the settings be? Installation: Gerben Wierda's teTeX implementation (TeX, ghostscript, Freetype 2, WMF and icon conversion support, ImageMagick), plus LyX/Mac as a self-installing binary based on LyX 1.3.4 and the Qt/Mac library running on Mac OS 10.3. Thanks for any help you can provide. Bruce Pourciau Department of Mathematics Lawrence University PS I'm very new at this game, so suggestions/instructions should be phrased accordingly.
Viewer Problem
Greetings list, After following Ronald Florence's HOWTO for LyX/Mac, I am the proud and happy owner of a lovely implementation of LyX on the Mac OS X. However, probably because I accidentally altered a converter setting, selecting view - pdflatex, which had been giving me a nice preview of my LyX files, now either gives me an error message (File error. Couldn't open file. It may be corrupt or a file format Preview does not recognize.) or the same sort of garbage that View - dvipdfm has always given me (I assume because I have not yet installed MacDviX). The converter settings now are: LaTeX - DVI on the left under converters and LaTeX, DVI, latex $$i, latex going down on the right side. Are these incorrect? When I select different settings on the left side under converters and then click modify or save, the settings seem to return to their original choices (namely those given above) when I open the converter window later. Suggestions? If I don't have MacDviX installed, and I want to preview using pdflatex as I had been, what should the settings be? Installation: Gerben Wierda's teTeX implementation (TeX, ghostscript, Freetype 2, WMF and icon conversion support, ImageMagick), plus LyX/Mac as a self-installing binary based on LyX 1.3.4 and the Qt/Mac library running on Mac OS 10.3. Thanks for any help you can provide. Bruce Pourciau Department of Mathematics Lawrence University PS I'm very new at this game, so suggestions/instructions should be phrased accordingly.
Viewer Problem
Greetings list, After following Ronald Florence's HOWTO for LyX/Mac, I am the proud and happy owner of a lovely implementation of LyX on the Mac OS X. However, probably because I accidentally altered a converter setting, selecting view -> pdflatex, which had been giving me a nice preview of my LyX files, now either gives me an error message ("File error. Couldn't open file. It may be corrupt or a file format Preview does not recognize.") or the same sort of garbage that View -> dvipdfm has always given me (I assume because I have not yet installed MacDviX). The converter settings now are: LaTeX -> DVI on the left under converters and LaTeX, DVI, latex $$i, latex going down on the right side. Are these incorrect? When I select different settings on the left side under converters and then click modify or save, the settings seem to return to their original choices (namely those given above) when I open the converter window later. Suggestions? If I don't have MacDviX installed, and I want to preview using pdflatex as I had been, what should the settings be? Installation: Gerben Wierda's teTeX implementation (TeX, ghostscript, Freetype 2, WMF and icon conversion support, ImageMagick), plus LyX/Mac as a self-installing binary based on LyX 1.3.4 and the Qt/Mac library running on Mac OS 10.3. Thanks for any help you can provide. Bruce Pourciau Department of Mathematics Lawrence University PS I'm very new at this game, so suggestions/instructions should be phrased accordingly.
Re: Bessel functions in math mode
Your stated convention is correct, but Jn and Hn are not considered multi-character function names, but rather single-character function names with a subscript, and as such they should be typeset in italic. Bruce Pourciau Andre Poenitz wrote: On Mon, Jun 14, 2004 at 01:16:04PM +0200, Alexandru Cabuz wrote: Hello, list, Does anybody know, what is the convention for putting special functions such as Bessel and Hankel functions in math formulas. Are they supposed to be italicized like variables, or in math-text font, like sin, cos, tan, etc. Cos there is no macro for Jn and Hn in the math palette. My convention says all multi-char function names are upright. Andre'
Re: Bessel functions in math mode
Your stated convention is correct, but Jn and Hn are not considered multi-character function names, but rather single-character function names with a subscript, and as such they should be typeset in italic. Bruce Pourciau Andre Poenitz wrote: On Mon, Jun 14, 2004 at 01:16:04PM +0200, Alexandru Cabuz wrote: Hello, list, Does anybody know, what is the convention for putting special functions such as Bessel and Hankel functions in math formulas. Are they supposed to be italicized like variables, or in math-text font, like sin, cos, tan, etc. Cos there is no macro for Jn and Hn in the math palette. My convention says all multi-char function names are upright. Andre'
Re: Bessel functions in math mode
Your stated convention is correct, but Jn and Hn are not considered "multi-character function names," but rather single-character function names with a subscript, and as such they should be typeset in italic. Bruce Pourciau Andre Poenitz wrote: > > On Mon, Jun 14, 2004 at 01:16:04PM +0200, Alexandru Cabuz wrote: > > Hello, list, > > > > Does anybody know, what is the convention for putting special functions such > > as Bessel and Hankel functions in math formulas. Are they supposed to be > > italicized like variables, or in math-text font, like sin, cos, tan, etc. Cos > > there is no macro for Jn and Hn in the math palette. > > My convention says "all multi-char function names are upright". > > Andre'
Dot and Cross Products
Any one know how to get a dot which is bigger than \cdot but smaller than \bullet? I need this to represent the dot product of vectors in mathematics. And how about a heavier version of \times, to represent the cross product of vectors? Can I get this by doing \times in bold? (I'd test this right now, but I'm not at the moment at a machine with LaTeX installed.) Bruce Pourciau
Dot and Cross Products
Any one know how to get a dot which is bigger than \cdot but smaller than \bullet? I need this to represent the dot product of vectors in mathematics. And how about a heavier version of \times, to represent the cross product of vectors? Can I get this by doing \times in bold? (I'd test this right now, but I'm not at the moment at a machine with LaTeX installed.) Bruce Pourciau
Dot and Cross Products
Any one know how to get a dot which is bigger than \cdot but smaller than \bullet? I need this to represent the dot product of vectors in mathematics. And how about a heavier version of \times, to represent the cross product of vectors? Can I get this by doing \times in bold? (I'd test this right now, but I'm not at the moment at a machine with LaTeX installed.) Bruce Pourciau
LyX Questions
Since I have been using (more like exploring so far) LyX for only a few weeks, almost surely some or all of my questions have been asked and answered before. For that I apologize. Also, sad to say, the amount of TeX I know at this point is nearly the null set, so an answer which involves TeX either must be detailed enough for me to act on it or must tell me where to go to find such details. Thanks to the list in advance for whatever help you can provide. FYI I'm running LyX 1.3.4 aqua on a Mac OS 10.3 (courtesy of Ronald Florence and Gerben Wierda's teTeX). Sorry about the number of questions. (1) My version of LyX remembers only 3 or 4 recently opened files. Is there a way to configure LyX so it remembers a greater number of recently opened files? (2) After I choose the number of rows and columns for a table I wish to insert, how do I fix its dimensions (its width and height in inches, for example)? If I control-click on the inserted table, the table dialog comes up which allows me to choose the width of a given column. So clearly I can fix the dimensions of the table by doing this column by column, but there should be a more efficient way. (3) What is the best way to handle equations with multiple equal signs which you want to appear with the equal signs aligned underneath each other? (4) The layouts folder in my LyX package contains a great number of layouts. But most of these layouts (document classes) say unavailable in the document layout dialog. I've been told to go get the layouts at ctan, but the layouts folder already seems to contain more layouts than I could want. How do I make more of these document classes available to LyX? (5) In the article and AMS article document classes, the LyX quote and quotation environments place a long quotation in a indented block. What if I want these environments to set that block in a type size 1 point reduced from whatever the body type size is. How would I make such a change? And what if I wanted to call the new class My Article Class, say, and keep the old class with its original name? (6) In the article and AMS article document classes, the subsection numbering refers to the section it's in and resets in each section (1.1, 1.2, 2.1, 2.2, ...). How would I change this so that the subsections number sequentially (1, 2, 3, ...) throughout the document, without an attached section number and without resetting in each section? (7) The TeX installation I'm using contains the European Computer Modern font family (ECM) and I'm told that my LyX document will print in ECM (and not CM) if I choose default in the document layout. Suppose I draw a figure in some drawing application, save it in eps format, and include that figure in my LyX document. If that figure has labels (not a caption, but labels) in text, then I would want the font used for those labels to match the font used in my printed document. Does this mean I should buy the European Modern font family (from Y Y)? But then if this document is an article which I submit to a journal which typesets using LaTeX but with Times, say, as their font, aren't they going to ask me to send them the figures with the labels redone in Times? Thanks for whatever help the LyX pros can provide. Bruce Pourciau
LyX Questions
Since I have been using (more like exploring so far) LyX for only a few weeks, almost surely some or all of my questions have been asked and answered before. For that I apologize. Also, sad to say, the amount of TeX I know at this point is nearly the null set, so an answer which involves TeX either must be detailed enough for me to act on it or must tell me where to go to find such details. Thanks to the list in advance for whatever help you can provide. FYI I'm running LyX 1.3.4 aqua on a Mac OS 10.3 (courtesy of Ronald Florence and Gerben Wierda's teTeX). Sorry about the number of questions. (1) My version of LyX remembers only 3 or 4 recently opened files. Is there a way to configure LyX so it remembers a greater number of recently opened files? (2) After I choose the number of rows and columns for a table I wish to insert, how do I fix its dimensions (its width and height in inches, for example)? If I control-click on the inserted table, the table dialog comes up which allows me to choose the width of a given column. So clearly I can fix the dimensions of the table by doing this column by column, but there should be a more efficient way. (3) What is the best way to handle equations with multiple equal signs which you want to appear with the equal signs aligned underneath each other? (4) The layouts folder in my LyX package contains a great number of layouts. But most of these layouts (document classes) say unavailable in the document layout dialog. I've been told to go get the layouts at ctan, but the layouts folder already seems to contain more layouts than I could want. How do I make more of these document classes available to LyX? (5) In the article and AMS article document classes, the LyX quote and quotation environments place a long quotation in a indented block. What if I want these environments to set that block in a type size 1 point reduced from whatever the body type size is. How would I make such a change? And what if I wanted to call the new class My Article Class, say, and keep the old class with its original name? (6) In the article and AMS article document classes, the subsection numbering refers to the section it's in and resets in each section (1.1, 1.2, 2.1, 2.2, ...). How would I change this so that the subsections number sequentially (1, 2, 3, ...) throughout the document, without an attached section number and without resetting in each section? (7) The TeX installation I'm using contains the European Computer Modern font family (ECM) and I'm told that my LyX document will print in ECM (and not CM) if I choose default in the document layout. Suppose I draw a figure in some drawing application, save it in eps format, and include that figure in my LyX document. If that figure has labels (not a caption, but labels) in text, then I would want the font used for those labels to match the font used in my printed document. Does this mean I should buy the European Modern font family (from Y Y)? But then if this document is an article which I submit to a journal which typesets using LaTeX but with Times, say, as their font, aren't they going to ask me to send them the figures with the labels redone in Times? Thanks for whatever help the LyX pros can provide. Bruce Pourciau
LyX Questions
Since I have been using (more like exploring so far) LyX for only a few weeks, almost surely some or all of my questions have been asked and answered before. For that I apologize. Also, sad to say, the amount of TeX I know at this point is nearly the null set, so an answer which involves TeX either must be detailed enough for me to act on it or must tell me where to go to find such details. Thanks to the list in advance for whatever help you can provide. FYI I'm running LyX 1.3.4 aqua on a Mac OS 10.3 (courtesy of Ronald Florence and Gerben Wierda's teTeX). Sorry about the number of questions. (1) My version of LyX remembers only 3 or 4 recently opened files. Is there a way to configure LyX so it remembers a greater number of recently opened files? (2) After I choose the number of rows and columns for a table I wish to insert, how do I fix its dimensions (its width and height in inches, for example)? If I control-click on the inserted table, the table dialog comes up which allows me to choose the width of a given column. So clearly I can fix the dimensions of the table by doing this column by column, but there should be a more efficient way. (3) What is the best way to handle equations with multiple equal signs which you want to appear with the equal signs aligned underneath each other? (4) The layouts folder in my LyX package contains a great number of layouts. But most of these layouts (document classes) say "unavailable" in the document layout dialog. I've been told to go get the layouts at ctan, but the layouts folder already seems to contain more layouts than I could want. How do I make more of these document classes available to LyX? (5) In the article and AMS article document classes, the LyX quote and quotation environments place a long quotation in a indented block. What if I want these environments to set that block in a type size 1 point reduced from whatever the body type size is. How would I make such a change? And what if I wanted to call the new class "My Article Class," say, and keep the old class with its original name? (6) In the article and AMS article document classes, the subsection numbering refers to the section it's in and resets in each section (1.1, 1.2, 2.1, 2.2, ...). How would I change this so that the subsections number sequentially (1, 2, 3, ...) throughout the document, without an attached section number and without resetting in each section? (7) The TeX installation I'm using contains the European Computer Modern font family (ECM) and I'm told that my LyX document will print in ECM (and not CM) if I choose default in the document layout. Suppose I draw a figure in some drawing application, save it in eps format, and include that figure in my LyX document. If that figure has labels (not a caption, but labels) in text, then I would want the font used for those labels to match the font used in my printed document. Does this mean I should buy the European Modern font family (from Y & Y)? But then if this document is an article which I submit to a journal which typesets using LaTeX but with Times, say, as their font, aren't they going to ask me to send them the figures with the labels redone in Times? Thanks for whatever help the LyX pros can provide. Bruce Pourciau