Re: Bad font (follow-up question)
Emil Pavlov wrote: Actually, the text is not pixelled. I just HATE the default font. Although I installed a packaged called texlive-fonts-extra, I can only select Helvetica for the sans serif fonts. This means that, when I use book (KOMA-script) class, only the sections, subsetions, etc. are rendered with helvetica and the rest of the text is some other font. Is there a remedy for this? The Lyx GUI (i.e., the fonts selection widgets) only provides a limited set of the available tex fonts. This is so because the fonts packages differ very much, so every one needs to be treated differently. However, you can load any available font via document Settings Preamble. Just set the sans serif font to Default and inset the necessary command to the preamble (see the documentation of your desired font for the actual command). Jürgen
Re: Bad font (follow-up question)
On Tue, Nov 30, 2010 at 1:35 AM, Emil Pavlov emil_pav...@mail.bg wrote: Actually, the text is not pixelled. I just HATE the default font. Although I installed a packaged called texlive-fonts-extra, I can only select Helvetica for the sans serif fonts. This means that, when I use book (KOMA-script) class, only the sections, subsetions, etc. are rendered with helvetica and the rest of the text is some other font. Is there a remedy for this? Yes. Read Help User Guide 3.7.2. You need to set a different Serif font, which is used in most parts of the document. Liviu Emil -- Do you know how to read? http://www.alienetworks.com/srtest.cfm http://goodies.xfce.org/projects/applications/xfce4-dict#speed-reader Do you know how to write? http://garbl.home.comcast.net/~garbl/stylemanual/e.htm#e-mail
Stupid question about index
Hi, I am using the multiple index feature include in Lyx 2.0 (beta1). It's working well. When the index are printed, their format is index, page1, page2 I want that they are printed with the format index : page1, page2 Anyone an idea ? Thanks. -- Dr. Ir. Pascal Francq BELGIUM signature.asc Description: This is a digitally signed message part.
Re: Some page numbers are rendered in a wrong font
On 2010-11-29, Nikos Chantziaras wrote: On 11/29/2010 05:05 PM, Guenter Milde wrote: On 2010-11-28, Nikos Chantziaras wrote: Not sure if this is a LyX problem, but I hope someone here has encountered this issue and might know a solution. My problem is that when a program listing (Insert - Program Listing) does not fit into the same page it starts in, and so a page break occurs in the middle of it, the page number at the bottom of the page in which the page break occurs is rendered in the typewriter font, just like the program listing itself. This only happens if I use: basicstyle={\ttfamily} in Document Settings - Listings so that program listings use the document's typewriter font (in my case DejaVu Sans Mono) instead of the weird-looking default. I'm using XeTeX. ... ... it only happens when setting the document language to Greek. With English there's no problem. Greek and XeTeX: * make sure not to use the babel package LyX 2 uses the polyglossia package when enabling XeTeX, Fine. which in turn loads babel. But I don't load babel myself, if that's what you mean. At least my version of polyglossia {polyglossia}[2009/01/25 v1.0.2 Babel replacement for XeLaTeX] does not load babel. listings and XeTeX might also be problematic regarding the font choices (as listings will usually select TeX fonts). If I let listing select TeX fonts, then there's no problem. The problem occurs only when I use basicstyle={\ttfamily} so that the XeTeX font is used. What happens, if you use the string expansion \ttfamily (i.e. the real name of the font)? How about changing the language of the listing to English while keeping the document Greek? Just tried, but unfortunately it makes no difference. In this case, I recommend to create a minimal working example that shows the problem, export as LaTeX (XeTeX), cut the LyX stuff, and send it to either the comp.text.tex group or the listings maintainer(s). Günter
LyXWinInstaller for LyX 1.6.8 Nastiness
Hi, Yesterday I installed lyx and all necessary components using LyXWinInstaller for LyX 1.6.8, on Windows Vista. Today, after a restart, the Qt applications I am developing refused to start, not entering main. The cause is some part of the installation process pushing MikTeX's private bin directory on the front of the system PATH env var. This private bin directory contains Qt dlls, which not unsurprisingly, are incompatible with other applications that use Qt. Solving this problem has caused me to waste many valuable hours. Ken Appleby
Re: file conversions
On 11/29/2010 03:50 PM, Paul Sutton wrote: Hi Looking around on the net i found references to the following lyxtox script - converts lyx to docbook sgml db2lyx - converts lyx to xml docbook not sure if these are mentioned anywhere on the wiki not sure if any of this is useful, converting to docbook would be good for anyone interested in doing stuff for the linux documentation project. LyX has native DocBook support now, so there's no need for conversion. rh
Re: Stupid question about index
On 11/30/2010 05:01 AM, Pascal Francq wrote: Hi, I am using the multiple index feature include in Lyx 2.0 (beta1). It's working well. When the index are printed, their format is index, page1, page2 I want that they are printed with the format index : page1, page2 Anyone an idea ? http://mirror.hmc.edu/ctan/indexing/makeindex/doc/makeindex.hlp You need to create a style file that redefines delim_0, etc. You'll also need to modify the index command that LyX issues, under ToolsPreferencesOutputLaTeX. I have never tried to do this. Richard
Strange Problem Importing Text File
In all the years I've used LyX I've not before encountered this problem and I have not yet found the solution. I open a .lyx document. Then I select either File-Import-Text, join lines or ctrl-x i (import file) and select the text file I want to insert in the .lyx file. The open .lyx file is closed (displaying the blank lyx screen) and a message box appears telling me that the lyx file already exists and asks if I want to overwrite it or cancel. Is this a deliberate behavior change from the past when the included file was placed in the existing file at the cursor position? I'm preparing a proposal that must be submitted tomorrow to my client so I do need to get this figured out or fixed ASAP. TIA, Rich
Re: Strange Problem Importing Text File
On Tue, 30 Nov 2010, Rich Shepard wrote: In all the years I've used LyX I've not before encountered this problem and I have not yet found the solution. Forgot to mention that I'm running 1.6.8 here. Rich
AW: [sweave] additional LaTeX package needed, but which one?
Liviu Andronic wrote: I'm surprised that LyX 2.0 ships an *sweave* beamer template. I have just double-checked: It seems to me that I must have simply taken a copy out of the version 1.6.8 template folder which I have saved somewhere on my hard drive. LyX prompts that sweave needs an additional LaTeX package not installed by MikTeX. How can I find out which package is missing? If you load the sweave module, it might be that LyX cannot find Sweave.sty. As a hack, you might want to copy this file from the R installation to the dir of your LyX file. To be honest I do not have any R installed. In my MikTeX folder there is no sweave.sty-file. In LyX I have just loaded the template beamer-sweave-template.lyx with the prompted error that some module is missing in the LaTeX installation. Isn't is possible to have a feature implemented to look for the missing LaTeX part? /J.
Re: LyXWinInstaller for LyX 1.6.8 Nastiness
Am 30.11.2010 14:04, schrieb Ken: The cause is some part of the installation process pushing MikTeX's private bin directory on the front of the system PATH env var. This is done by the MiKTeX installer. The LyX installers only start this MiKTeX-installer (which is a program of its own). Therefore you need to report the problem to the MiKTeX developer. But note that this can most probably not be changed. Many programs put itself at the first position of the PATH when being installed. This is often necessary to overcome problems you have now: that libraries of other programs are used instead of the ones that come with the program. (For example, many programs have a file named convert.exe. The position in the PATH decides which convert.exe will be used.) This general Windows-problematic cannot be solved properly. regards Uwe
Re: [sweave] additional LaTeX package needed, but which one?
On Tue, Nov 30, 2010 at 7:05 PM, Jannick Asmus jannick.n...@gmail.com wrote: To be honest I do not have any R installed. In my MikTeX folder there is no sweave.sty-file. Then you cannot use Sweave. To compile the document LyX first sends it to R to process the code chunks and output the results, and then pipes it to LaTeX to generate the final PDF. In LyX I have just loaded the template beamer-sweave-template.lyx with the prompted error that some module is missing in the LaTeX installation. Isn't is possible to have a feature implemented to look for the missing LaTeX part? No, if you don't have R and Sweave.sty (in path or in current dir). Regards Liviu /J. -- Do you know how to read? http://www.alienetworks.com/srtest.cfm http://goodies.xfce.org/projects/applications/xfce4-dict#speed-reader Do you know how to write? http://garbl.home.comcast.net/~garbl/stylemanual/e.htm#e-mail
Re: LyXWinInstaller for LyX 1.6.8 Nastiness
On 30/11/2010 19:03, Uwe Stöhr wrote: Am 30.11.2010 14:04, schrieb Ken: The cause is some part of the installation process pushing MikTeX's private bin directory on the front of the system PATH env var. This is done by the MiKTeX installer. The LyX installers only start this MiKTeX-installer (which is a program of its own). Therefore you need to report the problem to the MiKTeX developer. But note that this can most probably not be changed. Many programs put itself at the first position of the PATH when being installed. This is often necessary to overcome problems you have now: that libraries of other programs are used instead of the ones that come with the program. (For example, many programs have a file named convert.exe. The position in the PATH decides which convert.exe will be used.) This general Windows-problematic cannot be solved properly. regards Uwe Thanks for the response. I am aware of this kind of problem on Windows. I think the only solution is for installers to never touch the PATH environment variable. Applications can place all the dlls they require, from other products as necessary, in a dedicated directory, the same one containing all the product's own .exes and .dlls. That is what MikTeX has done with the Qt dlls. It should perhaps allow others to treat it equally. Regards, Ken
Re: Strange Problem Importing Text File [SOLVED]
On Tue, 30 Nov 2010, Rich Shepard wrote: In all the years I've used LyX I've not before encountered this problem and I have not yet found the solution. Fixed. User error: I need to Insert-File, not Import-File. More coffee solved the problem. Rich
Point size for captions
Dear all: I'm using the following setting to control the point-size and line-space of my text: \renewcommand{\normalsize}{\fontsize{10pt}{14pt}\selectfont} This works fine for me, except when it comes to captions for photographs. The spacing between lines looks too much. Can you kindly let me know how to reduce the line-space between captions only, while retaining 10/14 for the rest of the text? Many thanks, FN Frederick Noronha :: +91-9822122436 :: +91-832-2409490
Converting doc to Lyx
Dear all: As we work in Lyx to create our alternative books here in Goa, India, we often run into the headache of having to convert entire doc files into Lyx. This is a time-consuming and fraught-with-errors process, and a line-by-line manual method. Recently, thanks to the very efficient Lyx-Users list [lyx-us...@lists.lyx.org] list, I learnt of some ways through which to convert doc files into Lyx. The formatting often works, and with a quick clean-up, it's possible to preserve formatting and import it straight into Lyx. This really saves a lot of time, energy and trouble. Let me share it with you here, while thanking Stefano for helping me convert some of my files! Jim Oldfield jim_...@yahoo.co.uk: One way would be to open the file in Word and from there save it as an HTML file. Then in LyX import that HTML file. I doubt the results would be very good, but they would probably at least preserve the italics. stefano franchi stefano.fran...@gmail.com: The conversion is never pretty, I am afraid. I usually follow this path: 1. in word (or equivalent) save from doc to rtf 2. convert rtf to latex with rtftolatex2e (in Linux and, I think, MacOs X. I do not know if a version for windows exists) 3. clean up the tex file in a text editor (in particular, remove all the \tab commands, take a close look at the font commads) 4. import the latex file into lyx Notice that most of the formatting is done via ad hoc latex command (i.e. changing the fonts, inserting spaces, etc), instead of using the proper Latex commands (i.e. title, chapter, emphasis, etc). That is how the rtf-to-latex converter works. If you want a proper Lyx file, you would have to clean up the file, by removing all the formatting instruction in ERT boxes (i.e. the boxes with \tab et similia), and by fixing the formatting with lyx formatting commands. For instance, the paragraph spacing should be uniform, etc. But the lyx file should get you going. Dr Eberhard W Lisse e...@lisse.na: I have had to do this a bit recently and find that the easiest way is to open the file in OpenOffice, and export it to LaTeX (you need an extension, google for it) using the ultra-clean option. Then I use TeXShop to get rid of some unnecessary stuff and change the header to what I like in LyX and then run tex2lyx. Works very nicely. It may work for you. Others have suggested the html route Frederick Noronha :: +91-9822122436 :: +91-832-2409490
Re: Converting doc to Lyx
Frederick Noronha wrote: Let me share it with you here, while thanking Stefano for helping me convert some of my files! another way how to thank is to create/edit lyx wiki page so others are able to reach it quickly. pavel
Adding an item to LyX format menu
Hello, How do I add an item to LyX format menu? Usually I use Theorem or Lemma but this time I need Question. It doesn't appear in the drop-down menu and I don't know how to add it. Thank you very much for any help, Avi
Re: Bad font (follow-up question) [Solved]
На 30.11.2010 09:38, Liviu Andronic написа: On Tue, Nov 30, 2010 at 1:35 AM, Emil Pavlovemil_pav...@mail.bg wrote: Actually, the text is not pixelled. I just HATE the default font. Although I installed a packaged called texlive-fonts-extra, I can only select Helvetica for the sans serif fonts. This means that, when I use book (KOMA-script) class, only the sections, subsetions, etc. are rendered with helvetica and the rest of the text is some other font. Is there a remedy for this? Yes. Read Help User Guide 3.7.2. You need to set a different Serif font, which is used in most parts of the document. Liviu Emil What I meant was if there is a way to use Helvetica for the whole document, I found one and I didn´t like it. But, anyway, thank you for all the responses. Emil
Re: Bad font (follow-up question) [Solved]
Emil, I'm not sure if you're still wanting Helvetica, but what works for me is to open the document settings and go to the Fonts section The first drop-down selection list is where you set the default font family, i.e. the family that LyX should use as the basic family for the whole document. Now that you have told LyX what the default family should be (sans serif), you need to go the the Sans Serif drop-down list and tell it to use Helvetica as the specific sans serif font-face (which you already set to be used for everything). This will change the onscreen LyX font to Helvetica, as well as the typeset output. This will solve your KOMA-Script problems because KOMA will typeset the headings in the sans serif of your choice, which is specified as Helvetica. It will then typeset the body text according to the default font family, which you have specified as sans serif--Helvetica. Regards, Daron On 1 Dec 2010, at 08:30, Emil Pavlov wrote: На 30.11.2010 09:38, Liviu Andronic написа: On Tue, Nov 30, 2010 at 1:35 AM, Emil Pavlovemil_pav...@mail.bg wrote: Actually, the text is not pixelled. I just HATE the default font. Although I installed a packaged called texlive-fonts-extra, I can only select Helvetica for the sans serif fonts. This means that, when I use book (KOMA-script) class, only the sections, subsetions, etc. are rendered with helvetica and the rest of the text is some other font. Is there a remedy for this? Yes. Read Help User Guide 3.7.2. You need to set a different Serif font, which is used in most parts of the document. Liviu Emil What I meant was if there is a way to use Helvetica for the whole document, I found one and I didn´t like it. But, anyway, thank you for all the responses. Emil
LyX format menu: short cut?
Hi, what is the short cut to jump into the drop-down of LyX formats menu? I couldn't find it in the manual, but I am sure I saw it there a long time ago. Thx. /J.
Re: LyX format menu: short cut?
On Wed, Dec 1, 2010 at 8:21 AM, Jannick Asmus jannick.n...@gmail.com wrote: Hi, what is the short cut to jump into the drop-down of LyX formats menu? alt + i + o ? Liviu I couldn't find it in the manual, but I am sure I saw it there a long time ago. Thx. /J. -- Do you know how to read? http://www.alienetworks.com/srtest.cfm http://goodies.xfce.org/projects/applications/xfce4-dict#speed-reader Do you know how to write? http://garbl.home.comcast.net/~garbl/stylemanual/e.htm#e-mail
AW: LyX format menu: short cut?
Liviu Andronic wrote: On Wed, Dec 1, 2010 at 8:21 AM, Jannick Asmus what is the short cut to jump into the drop-down of LyX formats menu? alt + i + o ? No I'm afraid. This splits the screens for my document. What are the keys to undo this? :( BTW: Working on WinVista with LyX 2.0 beta1. /J.
Re: Bad font (follow-up question)
Emil Pavlov wrote: Actually, the text is not pixelled. I just HATE the default font. Although I installed a packaged called texlive-fonts-extra, I can only select Helvetica for the sans serif fonts. This means that, when I use book (KOMA-script) class, only the sections, subsetions, etc. are rendered with helvetica and the rest of the text is some other font. Is there a remedy for this? The Lyx GUI (i.e., the fonts selection widgets) only provides a limited set of the available tex fonts. This is so because the fonts packages differ very much, so every one needs to be treated differently. However, you can load any available font via document Settings Preamble. Just set the sans serif font to Default and inset the necessary command to the preamble (see the documentation of your desired font for the actual command). Jürgen
Re: Bad font (follow-up question)
On Tue, Nov 30, 2010 at 1:35 AM, Emil Pavlov emil_pav...@mail.bg wrote: Actually, the text is not pixelled. I just HATE the default font. Although I installed a packaged called texlive-fonts-extra, I can only select Helvetica for the sans serif fonts. This means that, when I use book (KOMA-script) class, only the sections, subsetions, etc. are rendered with helvetica and the rest of the text is some other font. Is there a remedy for this? Yes. Read Help User Guide 3.7.2. You need to set a different Serif font, which is used in most parts of the document. Liviu Emil -- Do you know how to read? http://www.alienetworks.com/srtest.cfm http://goodies.xfce.org/projects/applications/xfce4-dict#speed-reader Do you know how to write? http://garbl.home.comcast.net/~garbl/stylemanual/e.htm#e-mail
Stupid question about index
Hi, I am using the multiple index feature include in Lyx 2.0 (beta1). It's working well. When the index are printed, their format is index, page1, page2 I want that they are printed with the format index : page1, page2 Anyone an idea ? Thanks. -- Dr. Ir. Pascal Francq BELGIUM signature.asc Description: This is a digitally signed message part.
Re: Some page numbers are rendered in a wrong font
On 2010-11-29, Nikos Chantziaras wrote: On 11/29/2010 05:05 PM, Guenter Milde wrote: On 2010-11-28, Nikos Chantziaras wrote: Not sure if this is a LyX problem, but I hope someone here has encountered this issue and might know a solution. My problem is that when a program listing (Insert - Program Listing) does not fit into the same page it starts in, and so a page break occurs in the middle of it, the page number at the bottom of the page in which the page break occurs is rendered in the typewriter font, just like the program listing itself. This only happens if I use: basicstyle={\ttfamily} in Document Settings - Listings so that program listings use the document's typewriter font (in my case DejaVu Sans Mono) instead of the weird-looking default. I'm using XeTeX. ... ... it only happens when setting the document language to Greek. With English there's no problem. Greek and XeTeX: * make sure not to use the babel package LyX 2 uses the polyglossia package when enabling XeTeX, Fine. which in turn loads babel. But I don't load babel myself, if that's what you mean. At least my version of polyglossia {polyglossia}[2009/01/25 v1.0.2 Babel replacement for XeLaTeX] does not load babel. listings and XeTeX might also be problematic regarding the font choices (as listings will usually select TeX fonts). If I let listing select TeX fonts, then there's no problem. The problem occurs only when I use basicstyle={\ttfamily} so that the XeTeX font is used. What happens, if you use the string expansion \ttfamily (i.e. the real name of the font)? How about changing the language of the listing to English while keeping the document Greek? Just tried, but unfortunately it makes no difference. In this case, I recommend to create a minimal working example that shows the problem, export as LaTeX (XeTeX), cut the LyX stuff, and send it to either the comp.text.tex group or the listings maintainer(s). Günter
LyXWinInstaller for LyX 1.6.8 Nastiness
Hi, Yesterday I installed lyx and all necessary components using LyXWinInstaller for LyX 1.6.8, on Windows Vista. Today, after a restart, the Qt applications I am developing refused to start, not entering main. The cause is some part of the installation process pushing MikTeX's private bin directory on the front of the system PATH env var. This private bin directory contains Qt dlls, which not unsurprisingly, are incompatible with other applications that use Qt. Solving this problem has caused me to waste many valuable hours. Ken Appleby
Re: file conversions
On 11/29/2010 03:50 PM, Paul Sutton wrote: Hi Looking around on the net i found references to the following lyxtox script - converts lyx to docbook sgml db2lyx - converts lyx to xml docbook not sure if these are mentioned anywhere on the wiki not sure if any of this is useful, converting to docbook would be good for anyone interested in doing stuff for the linux documentation project. LyX has native DocBook support now, so there's no need for conversion. rh
Re: Stupid question about index
On 11/30/2010 05:01 AM, Pascal Francq wrote: Hi, I am using the multiple index feature include in Lyx 2.0 (beta1). It's working well. When the index are printed, their format is index, page1, page2 I want that they are printed with the format index : page1, page2 Anyone an idea ? http://mirror.hmc.edu/ctan/indexing/makeindex/doc/makeindex.hlp You need to create a style file that redefines delim_0, etc. You'll also need to modify the index command that LyX issues, under ToolsPreferencesOutputLaTeX. I have never tried to do this. Richard
Strange Problem Importing Text File
In all the years I've used LyX I've not before encountered this problem and I have not yet found the solution. I open a .lyx document. Then I select either File-Import-Text, join lines or ctrl-x i (import file) and select the text file I want to insert in the .lyx file. The open .lyx file is closed (displaying the blank lyx screen) and a message box appears telling me that the lyx file already exists and asks if I want to overwrite it or cancel. Is this a deliberate behavior change from the past when the included file was placed in the existing file at the cursor position? I'm preparing a proposal that must be submitted tomorrow to my client so I do need to get this figured out or fixed ASAP. TIA, Rich
Re: Strange Problem Importing Text File
On Tue, 30 Nov 2010, Rich Shepard wrote: In all the years I've used LyX I've not before encountered this problem and I have not yet found the solution. Forgot to mention that I'm running 1.6.8 here. Rich
AW: [sweave] additional LaTeX package needed, but which one?
Liviu Andronic wrote: I'm surprised that LyX 2.0 ships an *sweave* beamer template. I have just double-checked: It seems to me that I must have simply taken a copy out of the version 1.6.8 template folder which I have saved somewhere on my hard drive. LyX prompts that sweave needs an additional LaTeX package not installed by MikTeX. How can I find out which package is missing? If you load the sweave module, it might be that LyX cannot find Sweave.sty. As a hack, you might want to copy this file from the R installation to the dir of your LyX file. To be honest I do not have any R installed. In my MikTeX folder there is no sweave.sty-file. In LyX I have just loaded the template beamer-sweave-template.lyx with the prompted error that some module is missing in the LaTeX installation. Isn't is possible to have a feature implemented to look for the missing LaTeX part? /J.
Re: LyXWinInstaller for LyX 1.6.8 Nastiness
Am 30.11.2010 14:04, schrieb Ken: The cause is some part of the installation process pushing MikTeX's private bin directory on the front of the system PATH env var. This is done by the MiKTeX installer. The LyX installers only start this MiKTeX-installer (which is a program of its own). Therefore you need to report the problem to the MiKTeX developer. But note that this can most probably not be changed. Many programs put itself at the first position of the PATH when being installed. This is often necessary to overcome problems you have now: that libraries of other programs are used instead of the ones that come with the program. (For example, many programs have a file named convert.exe. The position in the PATH decides which convert.exe will be used.) This general Windows-problematic cannot be solved properly. regards Uwe
Re: [sweave] additional LaTeX package needed, but which one?
On Tue, Nov 30, 2010 at 7:05 PM, Jannick Asmus jannick.n...@gmail.com wrote: To be honest I do not have any R installed. In my MikTeX folder there is no sweave.sty-file. Then you cannot use Sweave. To compile the document LyX first sends it to R to process the code chunks and output the results, and then pipes it to LaTeX to generate the final PDF. In LyX I have just loaded the template beamer-sweave-template.lyx with the prompted error that some module is missing in the LaTeX installation. Isn't is possible to have a feature implemented to look for the missing LaTeX part? No, if you don't have R and Sweave.sty (in path or in current dir). Regards Liviu /J. -- Do you know how to read? http://www.alienetworks.com/srtest.cfm http://goodies.xfce.org/projects/applications/xfce4-dict#speed-reader Do you know how to write? http://garbl.home.comcast.net/~garbl/stylemanual/e.htm#e-mail
Re: LyXWinInstaller for LyX 1.6.8 Nastiness
On 30/11/2010 19:03, Uwe Stöhr wrote: Am 30.11.2010 14:04, schrieb Ken: The cause is some part of the installation process pushing MikTeX's private bin directory on the front of the system PATH env var. This is done by the MiKTeX installer. The LyX installers only start this MiKTeX-installer (which is a program of its own). Therefore you need to report the problem to the MiKTeX developer. But note that this can most probably not be changed. Many programs put itself at the first position of the PATH when being installed. This is often necessary to overcome problems you have now: that libraries of other programs are used instead of the ones that come with the program. (For example, many programs have a file named convert.exe. The position in the PATH decides which convert.exe will be used.) This general Windows-problematic cannot be solved properly. regards Uwe Thanks for the response. I am aware of this kind of problem on Windows. I think the only solution is for installers to never touch the PATH environment variable. Applications can place all the dlls they require, from other products as necessary, in a dedicated directory, the same one containing all the product's own .exes and .dlls. That is what MikTeX has done with the Qt dlls. It should perhaps allow others to treat it equally. Regards, Ken
Re: Strange Problem Importing Text File [SOLVED]
On Tue, 30 Nov 2010, Rich Shepard wrote: In all the years I've used LyX I've not before encountered this problem and I have not yet found the solution. Fixed. User error: I need to Insert-File, not Import-File. More coffee solved the problem. Rich
Point size for captions
Dear all: I'm using the following setting to control the point-size and line-space of my text: \renewcommand{\normalsize}{\fontsize{10pt}{14pt}\selectfont} This works fine for me, except when it comes to captions for photographs. The spacing between lines looks too much. Can you kindly let me know how to reduce the line-space between captions only, while retaining 10/14 for the rest of the text? Many thanks, FN Frederick Noronha :: +91-9822122436 :: +91-832-2409490
Converting doc to Lyx
Dear all: As we work in Lyx to create our alternative books here in Goa, India, we often run into the headache of having to convert entire doc files into Lyx. This is a time-consuming and fraught-with-errors process, and a line-by-line manual method. Recently, thanks to the very efficient Lyx-Users list [lyx-us...@lists.lyx.org] list, I learnt of some ways through which to convert doc files into Lyx. The formatting often works, and with a quick clean-up, it's possible to preserve formatting and import it straight into Lyx. This really saves a lot of time, energy and trouble. Let me share it with you here, while thanking Stefano for helping me convert some of my files! Jim Oldfield jim_...@yahoo.co.uk: One way would be to open the file in Word and from there save it as an HTML file. Then in LyX import that HTML file. I doubt the results would be very good, but they would probably at least preserve the italics. stefano franchi stefano.fran...@gmail.com: The conversion is never pretty, I am afraid. I usually follow this path: 1. in word (or equivalent) save from doc to rtf 2. convert rtf to latex with rtftolatex2e (in Linux and, I think, MacOs X. I do not know if a version for windows exists) 3. clean up the tex file in a text editor (in particular, remove all the \tab commands, take a close look at the font commads) 4. import the latex file into lyx Notice that most of the formatting is done via ad hoc latex command (i.e. changing the fonts, inserting spaces, etc), instead of using the proper Latex commands (i.e. title, chapter, emphasis, etc). That is how the rtf-to-latex converter works. If you want a proper Lyx file, you would have to clean up the file, by removing all the formatting instruction in ERT boxes (i.e. the boxes with \tab et similia), and by fixing the formatting with lyx formatting commands. For instance, the paragraph spacing should be uniform, etc. But the lyx file should get you going. Dr Eberhard W Lisse e...@lisse.na: I have had to do this a bit recently and find that the easiest way is to open the file in OpenOffice, and export it to LaTeX (you need an extension, google for it) using the ultra-clean option. Then I use TeXShop to get rid of some unnecessary stuff and change the header to what I like in LyX and then run tex2lyx. Works very nicely. It may work for you. Others have suggested the html route Frederick Noronha :: +91-9822122436 :: +91-832-2409490
Re: Converting doc to Lyx
Frederick Noronha wrote: Let me share it with you here, while thanking Stefano for helping me convert some of my files! another way how to thank is to create/edit lyx wiki page so others are able to reach it quickly. pavel
Adding an item to LyX format menu
Hello, How do I add an item to LyX format menu? Usually I use Theorem or Lemma but this time I need Question. It doesn't appear in the drop-down menu and I don't know how to add it. Thank you very much for any help, Avi
Re: Bad font (follow-up question) [Solved]
На 30.11.2010 09:38, Liviu Andronic написа: On Tue, Nov 30, 2010 at 1:35 AM, Emil Pavlovemil_pav...@mail.bg wrote: Actually, the text is not pixelled. I just HATE the default font. Although I installed a packaged called texlive-fonts-extra, I can only select Helvetica for the sans serif fonts. This means that, when I use book (KOMA-script) class, only the sections, subsetions, etc. are rendered with helvetica and the rest of the text is some other font. Is there a remedy for this? Yes. Read Help User Guide 3.7.2. You need to set a different Serif font, which is used in most parts of the document. Liviu Emil What I meant was if there is a way to use Helvetica for the whole document, I found one and I didn´t like it. But, anyway, thank you for all the responses. Emil
Re: Bad font (follow-up question) [Solved]
Emil, I'm not sure if you're still wanting Helvetica, but what works for me is to open the document settings and go to the Fonts section The first drop-down selection list is where you set the default font family, i.e. the family that LyX should use as the basic family for the whole document. Now that you have told LyX what the default family should be (sans serif), you need to go the the Sans Serif drop-down list and tell it to use Helvetica as the specific sans serif font-face (which you already set to be used for everything). This will change the onscreen LyX font to Helvetica, as well as the typeset output. This will solve your KOMA-Script problems because KOMA will typeset the headings in the sans serif of your choice, which is specified as Helvetica. It will then typeset the body text according to the default font family, which you have specified as sans serif--Helvetica. Regards, Daron On 1 Dec 2010, at 08:30, Emil Pavlov wrote: На 30.11.2010 09:38, Liviu Andronic написа: On Tue, Nov 30, 2010 at 1:35 AM, Emil Pavlovemil_pav...@mail.bg wrote: Actually, the text is not pixelled. I just HATE the default font. Although I installed a packaged called texlive-fonts-extra, I can only select Helvetica for the sans serif fonts. This means that, when I use book (KOMA-script) class, only the sections, subsetions, etc. are rendered with helvetica and the rest of the text is some other font. Is there a remedy for this? Yes. Read Help User Guide 3.7.2. You need to set a different Serif font, which is used in most parts of the document. Liviu Emil What I meant was if there is a way to use Helvetica for the whole document, I found one and I didn´t like it. But, anyway, thank you for all the responses. Emil
LyX format menu: short cut?
Hi, what is the short cut to jump into the drop-down of LyX formats menu? I couldn't find it in the manual, but I am sure I saw it there a long time ago. Thx. /J.
Re: LyX format menu: short cut?
On Wed, Dec 1, 2010 at 8:21 AM, Jannick Asmus jannick.n...@gmail.com wrote: Hi, what is the short cut to jump into the drop-down of LyX formats menu? alt + i + o ? Liviu I couldn't find it in the manual, but I am sure I saw it there a long time ago. Thx. /J. -- Do you know how to read? http://www.alienetworks.com/srtest.cfm http://goodies.xfce.org/projects/applications/xfce4-dict#speed-reader Do you know how to write? http://garbl.home.comcast.net/~garbl/stylemanual/e.htm#e-mail
AW: LyX format menu: short cut?
Liviu Andronic wrote: On Wed, Dec 1, 2010 at 8:21 AM, Jannick Asmus what is the short cut to jump into the drop-down of LyX formats menu? alt + i + o ? No I'm afraid. This splits the screens for my document. What are the keys to undo this? :( BTW: Working on WinVista with LyX 2.0 beta1. /J.
Re: Bad font (follow-up question)
Emil Pavlov wrote: > Actually, the text is not pixelled. I just HATE the default font. > Although I installed a packaged called texlive-fonts-extra, I can only > select Helvetica for the sans serif fonts. This means that, when I use > book (KOMA-script) class, only the sections, subsetions, etc. are > rendered with helvetica and the rest of the text is some other font. Is > there a remedy for this? The Lyx GUI (i.e., the fonts selection widgets) only provides a limited set of the available tex fonts. This is so because the fonts packages differ very much, so every one needs to be treated differently. However, you can load any available font via document > Settings > Preamble. Just set the sans serif font to "Default" and inset the necessary command to the preamble (see the documentation of your desired font for the actual command). Jürgen
Re: Bad font (follow-up question)
On Tue, Nov 30, 2010 at 1:35 AM, Emil Pavlovwrote: > Actually, the text is not pixelled. I just HATE the default font. > Although I installed a packaged called texlive-fonts-extra, I can only > select Helvetica for the sans serif fonts. This means that, when I use book > (KOMA-script) class, only the sections, subsetions, etc. are rendered with > helvetica and the rest of the text is some other font. Is there a remedy for > this? > Yes. Read Help > User Guide > 3.7.2. You need to set a different Serif font, which is used in most parts of the document. Liviu > Emil > -- Do you know how to read? http://www.alienetworks.com/srtest.cfm http://goodies.xfce.org/projects/applications/xfce4-dict#speed-reader Do you know how to write? http://garbl.home.comcast.net/~garbl/stylemanual/e.htm#e-mail
Stupid question about index
Hi, I am using the multiple index feature include in Lyx 2.0 (beta1). It's working well. When the index are printed, their format is "index, page1, page2...". I want that they are printed with the format "index : page1, page2...". Anyone an idea ? Thanks. -- Dr. Ir. Pascal Francq BELGIUM signature.asc Description: This is a digitally signed message part.
Re: Some page numbers are rendered in a wrong font
On 2010-11-29, Nikos Chantziaras wrote: > On 11/29/2010 05:05 PM, Guenter Milde wrote: >> On 2010-11-28, Nikos Chantziaras wrote: > Not sure if this is a LyX problem, but I hope someone here has > encountered this issue and might know a solution. > My problem is that when a program listing (Insert -> Program Listing) > does not fit into the same page it starts in, and so a page break > occurs in the middle of it, the page number at the bottom of the page > in which the page break occurs is rendered in the typewriter font, > just like the program listing itself. This only happens if I use: > basicstyle={\ttfamily} > in Document Settings -> Listings so that program listings use the > document's typewriter font (in my case "DejaVu Sans Mono") instead of > the weird-looking default. > I'm using XeTeX. ... >>> ... it only happens when setting the document >>> language to Greek. With English there's no problem. >> Greek and XeTeX: * make sure not to use the babel package > LyX 2 uses the polyglossia package when enabling XeTeX, Fine. > which in turn > loads babel. But I don't load babel myself, if that's what you mean. At least my version of polyglossia {polyglossia}[2009/01/25 v1.0.2 Babel replacement for XeLaTeX] does not load babel. >> listings and XeTeX might also be problematic regarding the font >> choices (as listings will usually select TeX fonts). > If I let listing select TeX fonts, then there's no problem. The problem > occurs only when I use "basicstyle={\ttfamily}" so that the XeTeX font > is used. What happens, if you use the string expansion \ttfamily (i.e. the real name of the font)? >> How about changing the language of the listing to English while >> keeping the document Greek? > Just tried, but unfortunately it makes no difference. In this case, I recommend to create a minimal working example that shows the problem, export as LaTeX (XeTeX), cut the LyX stuff, and send it to either the comp.text.tex group or the listings maintainer(s). Günter
LyXWinInstaller for LyX 1.6.8 Nastiness
Hi, Yesterday I installed lyx and all necessary components using "LyXWinInstaller for LyX 1.6.8", on Windows Vista. Today, after a restart, the Qt applications I am developing refused to start, not entering main. The cause is some part of the installation process pushing MikTeX's private bin directory on the front of the system PATH env var. This private bin directory contains Qt dlls, which not unsurprisingly, are incompatible with other applications that use Qt. Solving this problem has caused me to waste many valuable hours. Ken Appleby
Re: file conversions
On 11/29/2010 03:50 PM, Paul Sutton wrote: Hi Looking around on the net i found references to the following lyxtox script - converts lyx to docbook sgml db2lyx - converts lyx to xml docbook not sure if these are mentioned anywhere on the wiki not sure if any of this is useful, converting to docbook would be good for anyone interested in doing stuff for the linux documentation project. LyX has native DocBook support now, so there's no need for conversion. rh
Re: Stupid question about index
On 11/30/2010 05:01 AM, Pascal Francq wrote: Hi, I am using the multiple index feature include in Lyx 2.0 (beta1). It's working well. When the index are printed, their format is "index, page1, page2...". I want that they are printed with the format "index : page1, page2...". Anyone an idea ? http://mirror.hmc.edu/ctan/indexing/makeindex/doc/makeindex.hlp You need to create a "style file" that redefines delim_0, etc. You'll also need to modify the index command that LyX issues, under Tools>Preferences>Output>LaTeX. I have never tried to do this. Richard
Strange Problem Importing Text File
In all the years I've used LyX I've not before encountered this problem and I have not yet found the solution. I open a .lyx document. Then I select either File->Import->Text, join lines or ctrl-x i (import file) and select the text file I want to insert in the .lyx file. The open .lyx file is closed (displaying the blank lyx screen) and a message box appears telling me that the lyx file already exists and asks if I want to overwrite it or cancel. Is this a deliberate behavior change from the past when the included file was placed in the existing file at the cursor position? I'm preparing a proposal that must be submitted tomorrow to my client so I do need to get this figured out or fixed ASAP. TIA, Rich
Re: Strange Problem Importing Text File
On Tue, 30 Nov 2010, Rich Shepard wrote: In all the years I've used LyX I've not before encountered this problem and I have not yet found the solution. Forgot to mention that I'm running 1.6.8 here. Rich
AW: [sweave] additional LaTeX package needed, but which one?
Liviu Andronic wrote: I'm surprised that LyX 2.0 ships an *sweave* beamer template. I have just double-checked: It seems to me that I must have simply taken a copy out of the version 1.6.8 template folder which I have saved somewhere on my hard drive. LyX prompts that sweave needs an additional LaTeX package not installed by MikTeX. How can I find out which package is missing? If you load the sweave module, it might be that LyX cannot find Sweave.sty. As a hack, you might want to copy this file from the R installation to the dir of your LyX file. To be honest I do not have any R installed. In my MikTeX folder there is no sweave.sty-file. In LyX I have just loaded the template "beamer-sweave-template.lyx" with the prompted error that some module is missing in the LaTeX installation. Isn't is possible to have a feature implemented to look for the missing LaTeX part? /J.
Re: LyXWinInstaller for LyX 1.6.8 Nastiness
Am 30.11.2010 14:04, schrieb Ken: The cause is some part of the installation process pushing MikTeX's private bin directory on the front of the system PATH env var. This is done by the MiKTeX installer. The LyX installers only start this MiKTeX-installer (which is a program of its own). Therefore you need to report the problem to the MiKTeX developer. But note that this can most probably not be changed. Many programs put itself at the first position of the PATH when being installed. This is often necessary to overcome problems you have now: that libraries of other programs are used instead of the ones that come with the program. (For example, many programs have a file named "convert.exe". The position in the PATH decides which convert.exe will be used.) This general Windows-problematic cannot be solved properly. regards Uwe
Re: [sweave] additional LaTeX package needed, but which one?
On Tue, Nov 30, 2010 at 7:05 PM, Jannick Asmuswrote: > To be honest I do not have any R installed. In my MikTeX folder there is no > sweave.sty-file. > Then you cannot use Sweave. To compile the document LyX first sends it to R to process the code chunks and output the results, and then pipes it to LaTeX to generate the final PDF. > In LyX I have just loaded the template "beamer-sweave-template.lyx" with the > prompted error that some module is missing in the LaTeX installation. Isn't > is possible to have a feature implemented to look for the missing LaTeX > part? > No, if you don't have R and Sweave.sty (in path or in current dir). Regards Liviu > /J. > -- Do you know how to read? http://www.alienetworks.com/srtest.cfm http://goodies.xfce.org/projects/applications/xfce4-dict#speed-reader Do you know how to write? http://garbl.home.comcast.net/~garbl/stylemanual/e.htm#e-mail
Re: LyXWinInstaller for LyX 1.6.8 Nastiness
On 30/11/2010 19:03, Uwe Stöhr wrote: Am 30.11.2010 14:04, schrieb Ken: The cause is some part of the installation process pushing MikTeX's private bin directory on the front of the system PATH env var. This is done by the MiKTeX installer. The LyX installers only start this MiKTeX-installer (which is a program of its own). Therefore you need to report the problem to the MiKTeX developer. But note that this can most probably not be changed. Many programs put itself at the first position of the PATH when being installed. This is often necessary to overcome problems you have now: that libraries of other programs are used instead of the ones that come with the program. (For example, many programs have a file named "convert.exe". The position in the PATH decides which convert.exe will be used.) This general Windows-problematic cannot be solved properly. regards Uwe Thanks for the response. I am aware of this kind of problem on Windows. I think the only solution is for installers to never touch the PATH environment variable. Applications can place all the dlls they require, from other products as necessary, in a dedicated directory, the same one containing all the product's own .exes and .dlls. That is what MikTeX has done with the Qt dlls. It should perhaps allow others to treat it equally. Regards, Ken
Re: Strange Problem Importing Text File [SOLVED]
On Tue, 30 Nov 2010, Rich Shepard wrote: In all the years I've used LyX I've not before encountered this problem and I have not yet found the solution. Fixed. User error: I need to Insert->File, not Import->File. More coffee solved the problem. Rich
Point size for captions
Dear all: I'm using the following setting to control the point-size and line-space of my text: \renewcommand{\normalsize}{\fontsize{10pt}{14pt}\selectfont} This works fine for me, except when it comes to captions for photographs. The spacing between lines looks too much. Can you kindly let me know how to reduce the line-space between captions only, while retaining 10/14 for the rest of the text? Many thanks, FN Frederick Noronha :: +91-9822122436 :: +91-832-2409490
Converting doc to Lyx
Dear all: As we work in Lyx to create our alternative books here in Goa, India, we often run into the headache of having to convert entire doc files into Lyx. This is a time-consuming and fraught-with-errors process, and a line-by-line manual method. Recently, thanks to the very efficient Lyx-Users list [lyx-us...@lists.lyx.org] list, I learnt of some ways through which to convert doc files into Lyx. The formatting often works, and with a quick clean-up, it's possible to preserve formatting and import it straight into Lyx. This really saves a lot of time, energy and trouble. Let me share it with you here, while thanking Stefano for helping me convert some of my files! Jim Oldfield: One way would be to open the file in Word and from there save it as an HTML file. Then in LyX import that HTML file. I doubt the results would be very good, but they would probably at least preserve the italics. stefano franchi : The conversion is never pretty, I am afraid. I usually follow this path: 1. in word (or equivalent) save from doc to rtf 2. convert rtf to latex with rtftolatex2e (in Linux and, I think, MacOs X. I do not know if a version for windows exists) 3. clean up the tex file in a text editor (in particular, remove all the \tab commands, take a close look at the font commads) 4. import the latex file into lyx Notice that most of the formatting is done via ad hoc latex command (i.e. changing the fonts, inserting spaces, etc), instead of using the proper Latex commands (i.e. title, chapter, emphasis, etc). That is how the rtf-to-latex converter works. If you want a "proper" Lyx file, you would have to clean up the file, by removing all the formatting instruction in ERT boxes (i.e. the boxes with \tab et similia), and by fixing the formatting with lyx formatting commands. For instance, the paragraph spacing should be uniform, etc. But the lyx file should get you going. Dr Eberhard W Lisse : I have had to do this a bit recently and find that the easiest way is to open the file in OpenOffice, and export it to LaTeX (you need an extension, google for it) using the ultra-clean option. Then I use TeXShop to get rid of some unnecessary stuff and change the header to what I like in LyX and then run tex2lyx. Works very nicely. It may work for you. Others have suggested the html route Frederick Noronha :: +91-9822122436 :: +91-832-2409490
Re: Converting doc to Lyx
Frederick Noronha wrote: > Let me share it with you here, while thanking Stefano for helping me > convert some of my files! another way how to thank is to create/edit lyx wiki page so others are able to reach it quickly. pavel
Adding an item to LyX format menu
Hello, How do I add an item to LyX format menu? Usually I use "Theorem" or "Lemma" but this time I need "Question". It doesn't appear in the drop-down menu and I don't know how to add it. Thank you very much for any help, Avi
Re: Bad font (follow-up question) [Solved]
На 30.11.2010 09:38, Liviu Andronic написа: On Tue, Nov 30, 2010 at 1:35 AM, Emil Pavlovwrote: Actually, the text is not pixelled. I just HATE the default font. Although I installed a packaged called texlive-fonts-extra, I can only select Helvetica for the sans serif fonts. This means that, when I use book (KOMA-script) class, only the sections, subsetions, etc. are rendered with helvetica and the rest of the text is some other font. Is there a remedy for this? Yes. Read Help> User Guide> 3.7.2. You need to set a different Serif font, which is used in most parts of the document. Liviu Emil What I meant was if there is a way to use Helvetica for the whole document, I found one and I didn´t like it. But, anyway, thank you for all the responses. Emil
Re: Bad font (follow-up question) [Solved]
Emil, I'm not sure if you're still wanting Helvetica, but what works for me is to open the document settings and go to the Fonts section The first drop-down selection list is where you set the default font family, i.e. the family that LyX should use as the basic family for the whole document. Now that you have told LyX what the default family should be (sans serif), you need to go the the Sans Serif drop-down list and tell it to use Helvetica as the specific sans serif font-face (which you already set to be used for everything). This will change the onscreen LyX font to Helvetica, as well as the typeset output. This will solve your KOMA-Script problems because KOMA will typeset the headings in the sans serif of your choice, which is specified as Helvetica. It will then typeset the body text according to the default font family, which you have specified as sans serif-->Helvetica. Regards, Daron On 1 Dec 2010, at 08:30, Emil Pavlov wrote: > На 30.11.2010 09:38, Liviu Andronic написа: >> On Tue, Nov 30, 2010 at 1:35 AM, Emil Pavlovwrote: >>> Actually, the text is not pixelled. I just HATE the default font. >>> Although I installed a packaged called texlive-fonts-extra, I can only >>> select Helvetica for the sans serif fonts. This means that, when I use book >>> (KOMA-script) class, only the sections, subsetions, etc. are rendered with >>> helvetica and the rest of the text is some other font. Is there a remedy for >>> this? >>> >> Yes. Read Help> User Guide> 3.7.2. You need to set a different Serif >> font, which is used in most parts of the document. >> Liviu >> >> >>> Emil >>> >> >> > What I meant was if there is a way to use Helvetica for the whole document, I > found one and I didn´t like it. But, anyway, thank you for all the responses. > > Emil
LyX format menu: short cut?
Hi, what is the short cut to jump into the drop-down of LyX formats menu? I couldn't find it in the manual, but I am sure I saw it there a long time ago. Thx. /J.
Re: LyX format menu: short cut?
On Wed, Dec 1, 2010 at 8:21 AM, Jannick Asmuswrote: > Hi, > > what is the short cut to jump into the drop-down of LyX formats menu? > + i + o ? Liviu > I couldn't find it in the manual, but I am sure I saw it there a long time > ago. > > Thx. > > /J. > > -- Do you know how to read? http://www.alienetworks.com/srtest.cfm http://goodies.xfce.org/projects/applications/xfce4-dict#speed-reader Do you know how to write? http://garbl.home.comcast.net/~garbl/stylemanual/e.htm#e-mail
AW: LyX format menu: short cut?
Liviu Andronic wrote: On Wed, Dec 1, 2010 at 8:21 AM, Jannick Asmus what is the short cut to jump into the drop-down of LyX formats menu? + i + o ? No I'm afraid. This splits the screens for my document. What are the keys to undo this? :( BTW: Working on WinVista with LyX 2.0 beta1. /J.