Re: Greek Fonts Part 3 - Günter
On 2009-12-02, Brian Bosse wrote: You mentioned that I could wait for 1.6.5 to come out, but I would rather not. You also mentioned to copy the file =91unicodesymbols=92 from the system from the system LYXDIR to my personal lyx-dir and apply a patch. I am on a Windows XP system, and found the file under C:\Program Files\LyX16\Resources. I am not sure where to copy this file. (Specifically, I do not know what you mean by the distinction between the system LYXDIR and my personal lyx-dir.) You might search for this information on the LyX wiki. I don't know about the file layout under Windows. However, you can also patch the original file at the original place (make a backup first (e.g. copy to unicodesymbols.bak)). Also, I do not know how to apply the patch. What are the steps that I need to do to apply the patch? If you have the patch command, things are easy. In a D0S-box (or whatever this is called in newer Win versions), type patch -h for help. If not, you can insert the appended Greek Extended block into the original file (just before # general punctuation) via drag-and-drop. I noticed another patch that seems to be a correction to the first patch. Should I apply that instead? No. I the carxxx patch is the one that works without further changes to LyX. Or go the save way and use utf8x (ucs enhance) latex encoding and mark the Greek text parts as Greek. Günter # # Greek extended # # Call character directly if present in LGR (to enable kerning), use input-ligature else 0x1f00 \\textgreek{\\char130}textgreek# GREEK SMALL LETTER ALPHA WITH PSILI 0x1f01 \\textgreek{\\char129}textgreek# GREEK SMALL LETTER ALPHA WITH DASIA 0x1f02 \\textgreek{\\char139}textgreek# GREEK SMALL LETTER ALPHA WITH PSILI AND VARIA 0x1f03 \\textgreek{\\char131}textgreek# GREEK SMALL LETTER ALPHA WITH DASIA AND VARIA 0x1f04 \\textgreek{\\char138}textgreek# GREEK SMALL LETTER ALPHA WITH PSILI AND OXIA 0x1f05 \\textgreek{\\char137}textgreek# GREEK SMALL LETTER ALPHA WITH DASIA AND OXIA 0x1f06 \\textgreek{\\char146}textgreek# GREEK SMALL LETTER ALPHA WITH PSILI AND PERISPOMENI 0x1f07 \\textgreek{\\char145}textgreek# GREEK SMALL LETTER ALPHA WITH DASIA AND PERISPOMENI 0x1f08 \\textgreek{A} textgreek# GREEK CAPITAL LETTER ALPHA WITH PSILI 0x1f09 \\textgreek{A} textgreek# GREEK CAPITAL LETTER ALPHA WITH DASIA 0x1f0a \\textgreek{`A} textgreek# GREEK CAPITAL LETTER ALPHA WITH PSILI AND VARIA 0x1f0b \\textgreek{`A} textgreek# GREEK CAPITAL LETTER ALPHA WITH DASIA AND VARIA 0x1f0c \\textgreek{'A} textgreek# GREEK CAPITAL LETTER ALPHA WITH PSILI AND OXIA 0x1f0d \\textgreek{'A} textgreek# GREEK CAPITAL LETTER ALPHA WITH DASIA AND OXIA 0x1f0e \\textgreek{\\char126A} textgreek# GREEK CAPITAL LETTER ALPHA WITH PSILI AND PERISPOMENI 0x1f0f \\textgreek{\\char126A} textgreek# GREEK CAPITAL LETTER ALPHA WITH DASIA AND PERISPOMENI 0x1f10 \\textgreek{\\char226}textgreek# GREEK SMALL LETTER EPSILON WITH PSILI 0x1f11 \\textgreek{\\char225}textgreek# GREEK SMALL LETTER EPSILON WITH DASIA 0x1f12 \\textgreek{\\char235}textgreek# GREEK SMALL LETTER EPSILON WITH PSILI AND VARIA 0x1f13 \\textgreek{\\char227}textgreek# GREEK SMALL LETTER EPSILON WITH DASIA AND VARIA 0x1f14 \\textgreek{\\char234}textgreek# GREEK SMALL LETTER EPSILON WITH PSILI AND OXIA 0x1f15 \\textgreek{\\char233}textgreek# GREEK SMALL LETTER EPSILON WITH DASIA AND OXIA 0x1f18 \\textgreek{E} textgreek# GREEK CAPITAL LETTER EPSILON WITH PSILI 0x1f19 \\textgreek{E} textgreek# GREEK CAPITAL LETTER EPSILON WITH DASIA 0x1f1a \\textgreek{`E} textgreek# GREEK CAPITAL LETTER EPSILON WITH PSILI AND VARIA 0x1f1b \\textgreek{`E} textgreek# GREEK CAPITAL LETTER EPSILON WITH DASIA AND VARIA 0x1f1c \\textgreek{'E} textgreek# GREEK CAPITAL LETTER EPSILON WITH PSILI AND OXIA 0x1f1d \\textgreek{'E} textgreek# GREEK CAPITAL LETTER EPSILON WITH DASIA AND OXIA 0x1f20 \\textgreek{\\char154}textgreek# GREEK SMALL LETTER ETA WITH PSILI 0x1f21 \\textgreek{\\char153}textgreek# GREEK SMALL LETTER ETA WITH DASIA 0x1f22 \\textgreek{\\char171}textgreek# GREEK SMALL LETTER ETA WITH PSILI AND VARIA 0x1f23 \\textgreek{\\char163}textgreek# GREEK SMALL LETTER ETA WITH DASIA AND VARIA 0x1f24 \\textgreek{\\char162}textgreek# GREEK SMALL LETTER ETA WITH PSILI AND OXIA 0x1f25 \\textgreek{\\char161}textgreek# GREEK SMALL LETTER ETA WITH DASIA AND OXIA 0x1f26 \\textgreek{\\char170}textgreek# GREEK SMALL LETTER ETA WITH PSILI AND PERISPOMENI 0x1f27 \\textgreek{\\char169}textgreek# GREEK SMALL LETTER ETA WITH DASIA AND PERISPOMENI 0x1f28 \\textgreek{H} textgreek# GREEK CAPITAL LETTER ETA WITH PSILI 0x1f29
Re: Skip a block of text when printing
On 2009-12-02, Rob wrote: I have a bunch of figures at the end of my document that I want to keep in the document, but I don't want to have them appear in the pdf output. How do I skip over these? They need to be part of the material compiled since they have labels that are referenced in the text, but I simply don't want them to appear in the pdf output. At present, I hacked it by setting the font color to white, but now I have lots of extra blank pages. Is there a \skipsendingthistopdf{...} command that would include the material, but just not send it to pdf? As already said, the draft document option should help. Alternatively (and more selectively), you can place the images (not the whole figure) in a branch inset. Günter
Marking lines in a Program Listing in Lyx
Hi Guys, Is it possible to mark certain lines in a Program Listing in Lyx? I'm writing a book and want to point out certain things in code examples. I'm trying to get the same effect as the one used by Mark Pilgrim, see http://diveintopython.org/native_data_types/lists.html#d0e5623 (example 3.6) Many Thanks, Luke Venediger My book: Erlang for Skeptics: http://erlangforskeptics.com/book/
Caption
Hi, This is regarding caption numbering. I am using caption package with following options \RequirePackage[singlelinecheck=off, justification=raggedright, labelformat=empty, labelsep=none]{caption} Under TeTeX (on freebsd) this was producing caption with no numbers. The same on TexLive2009 produces numbers. Does anyone know how to disable numbers in caption?
Marking lines in a Program Listing in Lyx
Hi, Is it possible to mark certain lines in a Program Listing in Lyx? I'm writing a book and want to point out certain things in code examples. I'm trying to get the same effect as the one used by Mark Pilgrim, see http://diveintopython.org/native_data_types/lists.html#d0e5623 (example 3.6) Many Thanks, Luke Venediger My book: Erlang for Skeptics: http://erlangforskeptics.com/book/
Caption
Hi, This is regarding caption numbering. I am using caption package with following options \RequirePackage[singlelinecheck=off, justification=raggedright, labelformat=empty, labelsep=none]{caption} Under TeTeX (on freebsd) this was producing caption with no numbers. The same on TexLive2009 produces numbers. Does anyone know how to disable caption numbering?
Re: Marking lines in a Program Listing in Lyx
On Thursday 03 December 2009 06:59:25 Luke Venediger wrote: Hi Guys, Is it possible to mark certain lines in a Program Listing in Lyx? I'm writing a book and want to point out certain things in code examples. I'm trying to get the same effect as the one used by Mark Pilgrim, see http://diveintopython.org/native_data_types/lists.html#d0e5623 (example 3.6) Many Thanks, Luke Venediger My book: Erlang for Skeptics: http://erlangforskeptics.com/book/ There are probably a hundred ways to do it. The way that occurs to me is to create a new environment -- call it lyx-code-marked, from the lyx-code environment. lyx-code-marked would be a different color. So you would change the environment of the marked lines from lyx-code to lyx-code-marked. HTH SteveT Steve Litt Recession Relief Package http://www.recession-relief.US Twitter: http://www.twitter.com/stevelitt
Caption
Hi, Using suppresses the numbering \renewcommand\thetable{}
Re: Marking lines in a Program Listing in Lyx
Hi Steve, Thanks very much, I'll give it a try. Cheers, Luke On Thu, Dec 3, 2009 at 4:06 PM, Steve Litt sl...@troubleshooters.comwrote: On Thursday 03 December 2009 06:59:25 Luke Venediger wrote: Hi Guys, Is it possible to mark certain lines in a Program Listing in Lyx? I'm writing a book and want to point out certain things in code examples. I'm trying to get the same effect as the one used by Mark Pilgrim, see http://diveintopython.org/native_data_types/lists.html#d0e5623 (example 3.6) Many Thanks, Luke Venediger My book: Erlang for Skeptics: http://erlangforskeptics.com/book/ There are probably a hundred ways to do it. The way that occurs to me is to create a new environment -- call it lyx-code-marked, from the lyx-code environment. lyx-code-marked would be a different color. So you would change the environment of the marked lines from lyx-code to lyx-code-marked. HTH SteveT Steve Litt Recession Relief Package http://www.recession-relief.US Twitter: http://www.twitter.com/stevelitt
Module error message?
Dear Lyxers, after moving a few lines of latex code that frames comments in a grayed box from the preamble to its own module I get the following error each time the module is loaded: The module Comment-in-box requires a package that is not available in your LaTeX installation. LaTeX output may not be possible. However the module works fine and the pdf it produces is correct and the two Latex packages the code uses are available in my installation. I suppose I made a mistake in the module itself. Can anyone tell me what I did wrong? I append the full module code below. Thanks, S. #\DeclareLyXModule[colortbl,tabularx]{Comments-in-box} #DescriptionBegin # Shows comments in a gray box # #DescriptionEnd # Author: stefano Franchi Format 11 AddToPreamble % The next bit shows the comment environment inside a grey box \renewenvironment{comment} {% replaces \begin{comment} \noindent \tabularx{\textwidth}{|{\columncolor[gray]{0.9}}X|} \hline \emph{\textbf{Comment:}} } {% replaces \end{comment} \endtabularx\hrule } EndPreamble __ Stefano Franchi Department of Philosophy Ph: (979) 862-2211 Texas AM University Fax: (979) 845-0458 305B Bolton Hall fran...@philosophy.tamu.edu College Station, TX 77843-4237
Re: Module error message?
On 12/03/2009 02:02 PM, Stefano Franchi wrote: Dear Lyxers, after moving a few lines of latex code that frames comments in a grayed box from the preamble to its own module I get the following error each time the module is loaded: The module Comment-in-box requires a package that is not available in your LaTeX installation. LaTeX output may not be possible. However the module works fine and the pdf it produces is correct and the two Latex packages the code uses are available in my installation. I suppose I made a mistake in the module itself. Can anyone tell me what I did wrong? I append the full module code below. This is bug 6361, which was just fixed. Short-term change this: #\DeclareLyXModule[colortbl,tabularx]{Comments-in-box} to : #\DeclareLyXModule{Comments-in-box} rh
choosing a custom font
I've read similar questions and respective answers but still cannot figure out what to do. I'm using Lyx on Windows. I simply want to use a custom font set for a specific chapter in the book I'm writing. Say I want to use kurier font set for sansserif family (which comes with MikTeX). Can someone please tell me what exactly should I include in the preamble? Ercan Cem
Re: Module error message?
On 12/03/09, rgheck rgh...@bobjweil.com wrote: On 12/03/2009 02:02 PM, Stefano Franchi wrote: Dear Lyxers, after moving a few lines of latex code that frames comments in a grayed box from the preamble to its own module I get the following error each time the module is loaded: The module Comment-in-box requires a package that is not available in your LaTeX installation. LaTeX output may not be possible. However the module works fine and the pdf it produces is correct and the two Latex packages the code uses are available in my installation. I suppose I made a mistake in the module itself. Can anyone tell me what I did wrong? I append the full module code below. This is bug 6361, which was just fixed. Short-term change this: #\DeclareLyXModule[colortbl,tabularx]{Comments-in-box} to : #\DeclareLyXModule{Comments-in-box} Thanks Richard. I am glad to hear I had the module syntax right, for once. Indeed, the change you suggested fixes the problem. Cheers, S. rh __ Stefano Franchi Department of Philosophy Ph: (979) 862-2211 Texas AM University Fax: (979) 845-0458 305B Bolton Hall fran...@philosophy.tamu.edu College Station, TX 77843-4237
Re: Marking lines in a Program Listing in Lyx
On Thu, Dec 3, 2009 at 4:06 PM, Steve Litt sl...@troubleshooters.comwrote: On Thursday 03 December 2009 06:59:25 Luke Venediger wrote: Hi Guys, Is it possible to mark certain lines in a Program Listing in Lyx? I'm writing a book and want to point out certain things in code examples. I'm trying to get the same effect as the one used by Mark Pilgrim, see http://diveintopython.org/native_data_types/lists.html#d0e5623 (example 3.6) Many Thanks, Luke Venediger My book: Erlang for Skeptics: http://erlangforskeptics.com/book/ There are probably a hundred ways to do it. The way that occurs to me is to create a new environment -- call it lyx-code-marked, from the lyx-code environment. lyx-code-marked would be a different color. So you would change the environment of the marked lines from lyx-code to lyx-code-marked. HTH SteveT Steve Litt Recession Relief Package http://www.recession-relief.US Twitter: http://www.twitter.com/stevelitt Hi Steve, Are you saying that inside my program listing block I would change to a custom environment? Currently all text in a program listing block is in the Plain Layout environment. I'm also using program listing to get syntax highlighting when the output is rendered. Thanks, Luke
crashes with templates
Lyx 1.6.4.1 on OS X 10.5.8 crashes when opening a document (either new or created with Lyx 1.5.x) using any template. Preferences:Path:Document Templates points to /Users/user name/Library/Application Support/LyX-1.6/templates. Advice? Thanks, humanengr
Re: LaTeX line length formatting
On Tue, 22 Sep 2009, Jeremy C. Reed wrote: I am looking for a tool that will fold or format long LaTeX lines. It will need to know LaTeX, so it doesn't break commands or environments. (Examples: will properly handle % comments and not split a long \includegraphics filename.) So I never found this. So I always thought that LyX did a good job at this folding long lines into multiple lines -- my many .lyx documents show this. But then today I looked at a document (#LyX file created by tex2lyx 1.6.2 and \lyxformat 247) and it had long lines. I opened it in LyX 1.6.4.1 and and LyX said: Warning: #LyX file created by tex2lyx 1.6.2 Why the warning? When I saved it, it folded the long lines (which is what I wanted because I want diffs to be readable). So I am using LyX for this project. (I was going to try Kile but it chopped and created broken LaTeX when it shortened lines.) Thanks again to LyX!
Insets and Options (or how do I use todonotes effectively)
I am writing up my thesis in LyX and want to use the todonotes package. I found Jürgen Spitzmüller's layout and it's very useful. The basic way the that the todo package is used is as \todo[options] {todoEntry} and I want to know how to pass options to the todo command. For example, one valid option is 'inline.' I created a second, TODOInline inset where the corresponding LatexName is todo[inline] and that works but does not scale when I want more types of todos with more options. It feels like creating a new inset type for each permutation of options is clearly the wrong way. However, optional-insert does not work with the todo inset. What's the LyX way of having inset commands that accept options? Thanks, Alex
Re: Insets and Options (or how do I use todonotes effectively)
On 12/03/09, Alex Simma asi...@eecs.berkeley.edu wrote: I am writing up my thesis in LyX and want to use the todonotes package. I found Jürgen Spitzmüller's layout and it's very useful. The basic way the that the todo package is used is as \todo[options] {todoEntry} and I want to know how to pass options to the todo command. For example, one valid option is 'inline.' I created a second, TODOInline inset where the corresponding LatexName is todo[inline] and that works but does not scale when I want more types of todos with more options. It feels like creating a new inset type for each permutation of options is clearly the wrong way. However, optional-insert does not work with the todo inset. What's the LyX way of having inset commands that accept options? I believe the LyX way to pass options is by using the InsertShort title command. This is how you pass an option, e.g., to the sectioning commands. However, it is grayed out in the To do inset, even though the module declares a one argument command. I suppose it is up to the module experts to provide some enlightenment. S. __ Stefano Franchi Department of Philosophy Ph: (979) 862-2211 Texas AM University Fax: (979) 845-0458 305B Bolton Hall fran...@philosophy.tamu.edu College Station, TX 77843-4237
linguistics module missing
Hello, i d/l recently Lyx 1.6.4 for windows, tried to load linguistics module. however, it tells me I miss a package, and states: covington.sty. I think i found it, then copied it under the latex directory. I see it appears in the list of styles. still ti doesn't help. what dependency still am I missing? why doesn't it come with the installer if the linguistic module is supposed to be supported? thank you very much, Sefi.
Re: linguistics module missing
sefi p schrieb: i d/l recently Lyx 1.6.4 for windows, tried to load linguistics module. however, it tells me I miss a package, and states: covington.sty. To install all LaTeX-packages needed by LyX, open an Internet connection and reconfigure LyX. MiKTeX will do the installation automatically in the background (needs some time). I think i found it, then copied it under the latex directory. I see it appears in the list of styles. Afterwards you need to go to the MikTeX settings and press on the refresh FNDB button. Finally restart LyX and reconfigure it. regards Uwe
Re: choosing a custom font
Ercan Cem schrieb: I've read similar questions and respective answers but still cannot figure out what to do. I'm using Lyx on Windows. I simply want to use a custom font set for a specific chapter in the book I'm writing. Say I want to use kurier font set for sansserif family (which comes with MikTeX). Go to the document settings of LyX and select there under Fonts a font for sans serif. When the desired font is not in the list of available fonts, it gets complicated. Have a look at the documentation of the font you want to use to find out how it is loaded in the document preamble. regards Uwe
Re: linguistics module missing
still ti doesn't help. what dependency still am I missing? why doesn't it come with the installer if the linguistic module is supposed to be supported? The linguistics module manual (LyXHelpSpecific ManualsLinguistics Manual) lists the extra packages required for the module, and Covington is among them. I think the key thing to keep in mind here is that LyX is just a gui for LaTeX--even though it is now pretty sophisticated, it relies on the LaTeX distribution for certain functions. You should also have a look at the wiki page: http://wiki.lyx.org/LyX/LinguistLyX . it lists recommended packages that aren't always included in default installations. Maria
Lyx is messing with my PNG images.
Hello: I Insert/Graphics... a PNG file into my lyx document. I then export the doc to HTML. Apparently, as part of the exporting process, lyx processes the PNG file and produces a new PNG file which is referenced in the html. The problem is that, while my original PNG file (cut.png, attached) looks good (and the preview in lyx looks just as good), the processed PNG image (img2.png, attached) does not look good. The processed image appears to have been scaled up a little, but I did not specify any scaling as part of the graphics insert. Why does lyx mess with my PNG? I'm using version 1.6.4 Thanks. Bill inline: img2.pnginline: cut.png
Problem with table format
I have Lyx version 1.6.4.1 on a mac running os x version 10.5.8 and am a new user of the Lyx application. I am having problems with the format of a simple table when I generate a pdf file. Specifically, I get part of an extra cell attached to the bottom-left corner of the table I create. The partial extra cell does not exist in the table I created in the Lyx document itself, it only exists in the pdf or dvi file I generate from it. Any assistance would be greatly appreciated in helping me determine what I am doing wrong. Sincerely, Rick
letter class
When using a letter class, send to address always fails to print. Any help is welcome. Also how do i use newlfm class with lyx? vaibhav
Re: Marking lines in a Program Listing in Lyx
On Thursday 03 December 2009 16:19:19 you wrote: On Thu, Dec 3, 2009 at 4:06 PM, Steve Litt sl...@troubleshooters.comwrote: On Thursday 03 December 2009 06:59:25 Luke Venediger wrote: Hi Guys, Is it possible to mark certain lines in a Program Listing in Lyx? I'm writing a book and want to point out certain things in code examples. I'm trying to get the same effect as the one used by Mark Pilgrim, see http://diveintopython.org/native_data_types/lists.html#d0e5623 (example 3.6) Many Thanks, Luke Venediger My book: Erlang for Skeptics: http://erlangforskeptics.com/book/ There are probably a hundred ways to do it. The way that occurs to me is to create a new environment -- call it lyx-code-marked, from the lyx-code environment. lyx-code-marked would be a different color. So you would change the environment of the marked lines from lyx-code to lyx-code-marked. HTH SteveT Steve Litt Recession Relief Package http://www.recession-relief.US Twitter: http://www.twitter.com/stevelitt Hi Steve, Are you saying that inside my program listing block I would change to a custom environment? Currently all text in a program listing block is in the Plain Layout environment. I'm also using program listing to get syntax highlighting when the output is rendered. Whoa, you're doing things a whole lot differently than I do. I always use the lyx-code environment for program listings. Whatever environment you're using for code listings, use that environment to derive a new environment differing from the original only in color, either foreground or background. Probably if you're printing black and white paper or if you expect some readers to be color blind, you're probably better off changing the background color so it appears gray instead of white. I suggest you look at the lyx-code environment. I think it's better for displaying computer programs. SteveT Steve Litt Recession Relief Package http://www.recession-relief.US Twitter: http://www.twitter.com/stevelitt
Re: Insets and Options (or how do I use todonotes effectively)
On 2009-12-03, Stefano Franchi wrote: On 12/03/09, Alex Simma asi...@eecs.berkeley.edu wrote: I am writing up my thesis in LyX and want to use the todonotes package. I found Jürgen Spitzmüller's layout and it's very useful. The basic way the that the todo package is used is as \todo[options] {todoEntry} and I want to know how to pass options to the todo command. ... What's the LyX way of having inset commands that accept options? I believe the LyX way to pass options is by using the InsertShort title command. This is how you pass an option, e.g., to the sectioning commands. However, it is grayed out in the To do inset, even though the module declares a one argument command. The Keyword you need in the *.layout or *.module file is OptionalArgs. E.g. the enumitem.module (to be found on the wiki) contains:: # With enumitem, the three standard list environments take an optional # argument. See enumitem.pdf_ for possible values. Style Itemize OptionalArgs 1 End Günter
Re: choosing a custom font
On 2009-12-04, Uwe Stöhr wrote: Ercan Cem schrieb: I've read similar questions and respective answers but still cannot figure out what to do. I'm using Lyx on Windows. I simply want to use a custom font set for a specific chapter in the book I'm writing. Say I want to use kurier font set for sansserif family (which comes with MikTeX). Go to the document settings of LyX and select there under Fonts a font for sans serif. When the desired font is not in the list of available fonts, it gets complicated. Select [Default] in the GUI and ... Have a look at the documentation of the font you want to use to find out how it is loaded in the document preamble. Remember, that TeX needs special font setup. System fonts can only be used with XeTeX. Günter
Re: Greek Fonts Part 3 - Günter
On 2009-12-02, Brian Bosse wrote: You mentioned that I could wait for 1.6.5 to come out, but I would rather not. You also mentioned to copy the file =91unicodesymbols=92 from the system from the system LYXDIR to my personal lyx-dir and apply a patch. I am on a Windows XP system, and found the file under C:\Program Files\LyX16\Resources. I am not sure where to copy this file. (Specifically, I do not know what you mean by the distinction between the system LYXDIR and my personal lyx-dir.) You might search for this information on the LyX wiki. I don't know about the file layout under Windows. However, you can also patch the original file at the original place (make a backup first (e.g. copy to unicodesymbols.bak)). Also, I do not know how to apply the patch. What are the steps that I need to do to apply the patch? If you have the patch command, things are easy. In a D0S-box (or whatever this is called in newer Win versions), type patch -h for help. If not, you can insert the appended Greek Extended block into the original file (just before # general punctuation) via drag-and-drop. I noticed another patch that seems to be a correction to the first patch. Should I apply that instead? No. I the carxxx patch is the one that works without further changes to LyX. Or go the save way and use utf8x (ucs enhance) latex encoding and mark the Greek text parts as Greek. Günter # # Greek extended # # Call character directly if present in LGR (to enable kerning), use input-ligature else 0x1f00 \\textgreek{\\char130}textgreek# GREEK SMALL LETTER ALPHA WITH PSILI 0x1f01 \\textgreek{\\char129}textgreek# GREEK SMALL LETTER ALPHA WITH DASIA 0x1f02 \\textgreek{\\char139}textgreek# GREEK SMALL LETTER ALPHA WITH PSILI AND VARIA 0x1f03 \\textgreek{\\char131}textgreek# GREEK SMALL LETTER ALPHA WITH DASIA AND VARIA 0x1f04 \\textgreek{\\char138}textgreek# GREEK SMALL LETTER ALPHA WITH PSILI AND OXIA 0x1f05 \\textgreek{\\char137}textgreek# GREEK SMALL LETTER ALPHA WITH DASIA AND OXIA 0x1f06 \\textgreek{\\char146}textgreek# GREEK SMALL LETTER ALPHA WITH PSILI AND PERISPOMENI 0x1f07 \\textgreek{\\char145}textgreek# GREEK SMALL LETTER ALPHA WITH DASIA AND PERISPOMENI 0x1f08 \\textgreek{A} textgreek# GREEK CAPITAL LETTER ALPHA WITH PSILI 0x1f09 \\textgreek{A} textgreek# GREEK CAPITAL LETTER ALPHA WITH DASIA 0x1f0a \\textgreek{`A} textgreek# GREEK CAPITAL LETTER ALPHA WITH PSILI AND VARIA 0x1f0b \\textgreek{`A} textgreek# GREEK CAPITAL LETTER ALPHA WITH DASIA AND VARIA 0x1f0c \\textgreek{'A} textgreek# GREEK CAPITAL LETTER ALPHA WITH PSILI AND OXIA 0x1f0d \\textgreek{'A} textgreek# GREEK CAPITAL LETTER ALPHA WITH DASIA AND OXIA 0x1f0e \\textgreek{\\char126A} textgreek# GREEK CAPITAL LETTER ALPHA WITH PSILI AND PERISPOMENI 0x1f0f \\textgreek{\\char126A} textgreek# GREEK CAPITAL LETTER ALPHA WITH DASIA AND PERISPOMENI 0x1f10 \\textgreek{\\char226}textgreek# GREEK SMALL LETTER EPSILON WITH PSILI 0x1f11 \\textgreek{\\char225}textgreek# GREEK SMALL LETTER EPSILON WITH DASIA 0x1f12 \\textgreek{\\char235}textgreek# GREEK SMALL LETTER EPSILON WITH PSILI AND VARIA 0x1f13 \\textgreek{\\char227}textgreek# GREEK SMALL LETTER EPSILON WITH DASIA AND VARIA 0x1f14 \\textgreek{\\char234}textgreek# GREEK SMALL LETTER EPSILON WITH PSILI AND OXIA 0x1f15 \\textgreek{\\char233}textgreek# GREEK SMALL LETTER EPSILON WITH DASIA AND OXIA 0x1f18 \\textgreek{E} textgreek# GREEK CAPITAL LETTER EPSILON WITH PSILI 0x1f19 \\textgreek{E} textgreek# GREEK CAPITAL LETTER EPSILON WITH DASIA 0x1f1a \\textgreek{`E} textgreek# GREEK CAPITAL LETTER EPSILON WITH PSILI AND VARIA 0x1f1b \\textgreek{`E} textgreek# GREEK CAPITAL LETTER EPSILON WITH DASIA AND VARIA 0x1f1c \\textgreek{'E} textgreek# GREEK CAPITAL LETTER EPSILON WITH PSILI AND OXIA 0x1f1d \\textgreek{'E} textgreek# GREEK CAPITAL LETTER EPSILON WITH DASIA AND OXIA 0x1f20 \\textgreek{\\char154}textgreek# GREEK SMALL LETTER ETA WITH PSILI 0x1f21 \\textgreek{\\char153}textgreek# GREEK SMALL LETTER ETA WITH DASIA 0x1f22 \\textgreek{\\char171}textgreek# GREEK SMALL LETTER ETA WITH PSILI AND VARIA 0x1f23 \\textgreek{\\char163}textgreek# GREEK SMALL LETTER ETA WITH DASIA AND VARIA 0x1f24 \\textgreek{\\char162}textgreek# GREEK SMALL LETTER ETA WITH PSILI AND OXIA 0x1f25 \\textgreek{\\char161}textgreek# GREEK SMALL LETTER ETA WITH DASIA AND OXIA 0x1f26 \\textgreek{\\char170}textgreek# GREEK SMALL LETTER ETA WITH PSILI AND PERISPOMENI 0x1f27 \\textgreek{\\char169}textgreek# GREEK SMALL LETTER ETA WITH DASIA AND PERISPOMENI 0x1f28 \\textgreek{H} textgreek# GREEK CAPITAL LETTER ETA WITH PSILI 0x1f29
Re: Skip a block of text when printing
On 2009-12-02, Rob wrote: I have a bunch of figures at the end of my document that I want to keep in the document, but I don't want to have them appear in the pdf output. How do I skip over these? They need to be part of the material compiled since they have labels that are referenced in the text, but I simply don't want them to appear in the pdf output. At present, I hacked it by setting the font color to white, but now I have lots of extra blank pages. Is there a \skipsendingthistopdf{...} command that would include the material, but just not send it to pdf? As already said, the draft document option should help. Alternatively (and more selectively), you can place the images (not the whole figure) in a branch inset. Günter
Marking lines in a Program Listing in Lyx
Hi Guys, Is it possible to mark certain lines in a Program Listing in Lyx? I'm writing a book and want to point out certain things in code examples. I'm trying to get the same effect as the one used by Mark Pilgrim, see http://diveintopython.org/native_data_types/lists.html#d0e5623 (example 3.6) Many Thanks, Luke Venediger My book: Erlang for Skeptics: http://erlangforskeptics.com/book/
Caption
Hi, This is regarding caption numbering. I am using caption package with following options \RequirePackage[singlelinecheck=off, justification=raggedright, labelformat=empty, labelsep=none]{caption} Under TeTeX (on freebsd) this was producing caption with no numbers. The same on TexLive2009 produces numbers. Does anyone know how to disable numbers in caption?
Marking lines in a Program Listing in Lyx
Hi, Is it possible to mark certain lines in a Program Listing in Lyx? I'm writing a book and want to point out certain things in code examples. I'm trying to get the same effect as the one used by Mark Pilgrim, see http://diveintopython.org/native_data_types/lists.html#d0e5623 (example 3.6) Many Thanks, Luke Venediger My book: Erlang for Skeptics: http://erlangforskeptics.com/book/
Caption
Hi, This is regarding caption numbering. I am using caption package with following options \RequirePackage[singlelinecheck=off, justification=raggedright, labelformat=empty, labelsep=none]{caption} Under TeTeX (on freebsd) this was producing caption with no numbers. The same on TexLive2009 produces numbers. Does anyone know how to disable caption numbering?
Re: Marking lines in a Program Listing in Lyx
On Thursday 03 December 2009 06:59:25 Luke Venediger wrote: Hi Guys, Is it possible to mark certain lines in a Program Listing in Lyx? I'm writing a book and want to point out certain things in code examples. I'm trying to get the same effect as the one used by Mark Pilgrim, see http://diveintopython.org/native_data_types/lists.html#d0e5623 (example 3.6) Many Thanks, Luke Venediger My book: Erlang for Skeptics: http://erlangforskeptics.com/book/ There are probably a hundred ways to do it. The way that occurs to me is to create a new environment -- call it lyx-code-marked, from the lyx-code environment. lyx-code-marked would be a different color. So you would change the environment of the marked lines from lyx-code to lyx-code-marked. HTH SteveT Steve Litt Recession Relief Package http://www.recession-relief.US Twitter: http://www.twitter.com/stevelitt
Caption
Hi, Using suppresses the numbering \renewcommand\thetable{}
Re: Marking lines in a Program Listing in Lyx
Hi Steve, Thanks very much, I'll give it a try. Cheers, Luke On Thu, Dec 3, 2009 at 4:06 PM, Steve Litt sl...@troubleshooters.comwrote: On Thursday 03 December 2009 06:59:25 Luke Venediger wrote: Hi Guys, Is it possible to mark certain lines in a Program Listing in Lyx? I'm writing a book and want to point out certain things in code examples. I'm trying to get the same effect as the one used by Mark Pilgrim, see http://diveintopython.org/native_data_types/lists.html#d0e5623 (example 3.6) Many Thanks, Luke Venediger My book: Erlang for Skeptics: http://erlangforskeptics.com/book/ There are probably a hundred ways to do it. The way that occurs to me is to create a new environment -- call it lyx-code-marked, from the lyx-code environment. lyx-code-marked would be a different color. So you would change the environment of the marked lines from lyx-code to lyx-code-marked. HTH SteveT Steve Litt Recession Relief Package http://www.recession-relief.US Twitter: http://www.twitter.com/stevelitt
Module error message?
Dear Lyxers, after moving a few lines of latex code that frames comments in a grayed box from the preamble to its own module I get the following error each time the module is loaded: The module Comment-in-box requires a package that is not available in your LaTeX installation. LaTeX output may not be possible. However the module works fine and the pdf it produces is correct and the two Latex packages the code uses are available in my installation. I suppose I made a mistake in the module itself. Can anyone tell me what I did wrong? I append the full module code below. Thanks, S. #\DeclareLyXModule[colortbl,tabularx]{Comments-in-box} #DescriptionBegin # Shows comments in a gray box # #DescriptionEnd # Author: stefano Franchi Format 11 AddToPreamble % The next bit shows the comment environment inside a grey box \renewenvironment{comment} {% replaces \begin{comment} \noindent \tabularx{\textwidth}{|{\columncolor[gray]{0.9}}X|} \hline \emph{\textbf{Comment:}} } {% replaces \end{comment} \endtabularx\hrule } EndPreamble __ Stefano Franchi Department of Philosophy Ph: (979) 862-2211 Texas AM University Fax: (979) 845-0458 305B Bolton Hall fran...@philosophy.tamu.edu College Station, TX 77843-4237
Re: Module error message?
On 12/03/2009 02:02 PM, Stefano Franchi wrote: Dear Lyxers, after moving a few lines of latex code that frames comments in a grayed box from the preamble to its own module I get the following error each time the module is loaded: The module Comment-in-box requires a package that is not available in your LaTeX installation. LaTeX output may not be possible. However the module works fine and the pdf it produces is correct and the two Latex packages the code uses are available in my installation. I suppose I made a mistake in the module itself. Can anyone tell me what I did wrong? I append the full module code below. This is bug 6361, which was just fixed. Short-term change this: #\DeclareLyXModule[colortbl,tabularx]{Comments-in-box} to : #\DeclareLyXModule{Comments-in-box} rh
choosing a custom font
I've read similar questions and respective answers but still cannot figure out what to do. I'm using Lyx on Windows. I simply want to use a custom font set for a specific chapter in the book I'm writing. Say I want to use kurier font set for sansserif family (which comes with MikTeX). Can someone please tell me what exactly should I include in the preamble? Ercan Cem
Re: Module error message?
On 12/03/09, rgheck rgh...@bobjweil.com wrote: On 12/03/2009 02:02 PM, Stefano Franchi wrote: Dear Lyxers, after moving a few lines of latex code that frames comments in a grayed box from the preamble to its own module I get the following error each time the module is loaded: The module Comment-in-box requires a package that is not available in your LaTeX installation. LaTeX output may not be possible. However the module works fine and the pdf it produces is correct and the two Latex packages the code uses are available in my installation. I suppose I made a mistake in the module itself. Can anyone tell me what I did wrong? I append the full module code below. This is bug 6361, which was just fixed. Short-term change this: #\DeclareLyXModule[colortbl,tabularx]{Comments-in-box} to : #\DeclareLyXModule{Comments-in-box} Thanks Richard. I am glad to hear I had the module syntax right, for once. Indeed, the change you suggested fixes the problem. Cheers, S. rh __ Stefano Franchi Department of Philosophy Ph: (979) 862-2211 Texas AM University Fax: (979) 845-0458 305B Bolton Hall fran...@philosophy.tamu.edu College Station, TX 77843-4237
Re: Marking lines in a Program Listing in Lyx
On Thu, Dec 3, 2009 at 4:06 PM, Steve Litt sl...@troubleshooters.comwrote: On Thursday 03 December 2009 06:59:25 Luke Venediger wrote: Hi Guys, Is it possible to mark certain lines in a Program Listing in Lyx? I'm writing a book and want to point out certain things in code examples. I'm trying to get the same effect as the one used by Mark Pilgrim, see http://diveintopython.org/native_data_types/lists.html#d0e5623 (example 3.6) Many Thanks, Luke Venediger My book: Erlang for Skeptics: http://erlangforskeptics.com/book/ There are probably a hundred ways to do it. The way that occurs to me is to create a new environment -- call it lyx-code-marked, from the lyx-code environment. lyx-code-marked would be a different color. So you would change the environment of the marked lines from lyx-code to lyx-code-marked. HTH SteveT Steve Litt Recession Relief Package http://www.recession-relief.US Twitter: http://www.twitter.com/stevelitt Hi Steve, Are you saying that inside my program listing block I would change to a custom environment? Currently all text in a program listing block is in the Plain Layout environment. I'm also using program listing to get syntax highlighting when the output is rendered. Thanks, Luke
crashes with templates
Lyx 1.6.4.1 on OS X 10.5.8 crashes when opening a document (either new or created with Lyx 1.5.x) using any template. Preferences:Path:Document Templates points to /Users/user name/Library/Application Support/LyX-1.6/templates. Advice? Thanks, humanengr
Re: LaTeX line length formatting
On Tue, 22 Sep 2009, Jeremy C. Reed wrote: I am looking for a tool that will fold or format long LaTeX lines. It will need to know LaTeX, so it doesn't break commands or environments. (Examples: will properly handle % comments and not split a long \includegraphics filename.) So I never found this. So I always thought that LyX did a good job at this folding long lines into multiple lines -- my many .lyx documents show this. But then today I looked at a document (#LyX file created by tex2lyx 1.6.2 and \lyxformat 247) and it had long lines. I opened it in LyX 1.6.4.1 and and LyX said: Warning: #LyX file created by tex2lyx 1.6.2 Why the warning? When I saved it, it folded the long lines (which is what I wanted because I want diffs to be readable). So I am using LyX for this project. (I was going to try Kile but it chopped and created broken LaTeX when it shortened lines.) Thanks again to LyX!
Insets and Options (or how do I use todonotes effectively)
I am writing up my thesis in LyX and want to use the todonotes package. I found Jürgen Spitzmüller's layout and it's very useful. The basic way the that the todo package is used is as \todo[options] {todoEntry} and I want to know how to pass options to the todo command. For example, one valid option is 'inline.' I created a second, TODOInline inset where the corresponding LatexName is todo[inline] and that works but does not scale when I want more types of todos with more options. It feels like creating a new inset type for each permutation of options is clearly the wrong way. However, optional-insert does not work with the todo inset. What's the LyX way of having inset commands that accept options? Thanks, Alex
Re: Insets and Options (or how do I use todonotes effectively)
On 12/03/09, Alex Simma asi...@eecs.berkeley.edu wrote: I am writing up my thesis in LyX and want to use the todonotes package. I found Jürgen Spitzmüller's layout and it's very useful. The basic way the that the todo package is used is as \todo[options] {todoEntry} and I want to know how to pass options to the todo command. For example, one valid option is 'inline.' I created a second, TODOInline inset where the corresponding LatexName is todo[inline] and that works but does not scale when I want more types of todos with more options. It feels like creating a new inset type for each permutation of options is clearly the wrong way. However, optional-insert does not work with the todo inset. What's the LyX way of having inset commands that accept options? I believe the LyX way to pass options is by using the InsertShort title command. This is how you pass an option, e.g., to the sectioning commands. However, it is grayed out in the To do inset, even though the module declares a one argument command. I suppose it is up to the module experts to provide some enlightenment. S. __ Stefano Franchi Department of Philosophy Ph: (979) 862-2211 Texas AM University Fax: (979) 845-0458 305B Bolton Hall fran...@philosophy.tamu.edu College Station, TX 77843-4237
linguistics module missing
Hello, i d/l recently Lyx 1.6.4 for windows, tried to load linguistics module. however, it tells me I miss a package, and states: covington.sty. I think i found it, then copied it under the latex directory. I see it appears in the list of styles. still ti doesn't help. what dependency still am I missing? why doesn't it come with the installer if the linguistic module is supposed to be supported? thank you very much, Sefi.
Re: linguistics module missing
sefi p schrieb: i d/l recently Lyx 1.6.4 for windows, tried to load linguistics module. however, it tells me I miss a package, and states: covington.sty. To install all LaTeX-packages needed by LyX, open an Internet connection and reconfigure LyX. MiKTeX will do the installation automatically in the background (needs some time). I think i found it, then copied it under the latex directory. I see it appears in the list of styles. Afterwards you need to go to the MikTeX settings and press on the refresh FNDB button. Finally restart LyX and reconfigure it. regards Uwe
Re: choosing a custom font
Ercan Cem schrieb: I've read similar questions and respective answers but still cannot figure out what to do. I'm using Lyx on Windows. I simply want to use a custom font set for a specific chapter in the book I'm writing. Say I want to use kurier font set for sansserif family (which comes with MikTeX). Go to the document settings of LyX and select there under Fonts a font for sans serif. When the desired font is not in the list of available fonts, it gets complicated. Have a look at the documentation of the font you want to use to find out how it is loaded in the document preamble. regards Uwe
Re: linguistics module missing
still ti doesn't help. what dependency still am I missing? why doesn't it come with the installer if the linguistic module is supposed to be supported? The linguistics module manual (LyXHelpSpecific ManualsLinguistics Manual) lists the extra packages required for the module, and Covington is among them. I think the key thing to keep in mind here is that LyX is just a gui for LaTeX--even though it is now pretty sophisticated, it relies on the LaTeX distribution for certain functions. You should also have a look at the wiki page: http://wiki.lyx.org/LyX/LinguistLyX . it lists recommended packages that aren't always included in default installations. Maria
Lyx is messing with my PNG images.
Hello: I Insert/Graphics... a PNG file into my lyx document. I then export the doc to HTML. Apparently, as part of the exporting process, lyx processes the PNG file and produces a new PNG file which is referenced in the html. The problem is that, while my original PNG file (cut.png, attached) looks good (and the preview in lyx looks just as good), the processed PNG image (img2.png, attached) does not look good. The processed image appears to have been scaled up a little, but I did not specify any scaling as part of the graphics insert. Why does lyx mess with my PNG? I'm using version 1.6.4 Thanks. Bill inline: img2.pnginline: cut.png
Problem with table format
I have Lyx version 1.6.4.1 on a mac running os x version 10.5.8 and am a new user of the Lyx application. I am having problems with the format of a simple table when I generate a pdf file. Specifically, I get part of an extra cell attached to the bottom-left corner of the table I create. The partial extra cell does not exist in the table I created in the Lyx document itself, it only exists in the pdf or dvi file I generate from it. Any assistance would be greatly appreciated in helping me determine what I am doing wrong. Sincerely, Rick
letter class
When using a letter class, send to address always fails to print. Any help is welcome. Also how do i use newlfm class with lyx? vaibhav
Re: Marking lines in a Program Listing in Lyx
On Thursday 03 December 2009 16:19:19 you wrote: On Thu, Dec 3, 2009 at 4:06 PM, Steve Litt sl...@troubleshooters.comwrote: On Thursday 03 December 2009 06:59:25 Luke Venediger wrote: Hi Guys, Is it possible to mark certain lines in a Program Listing in Lyx? I'm writing a book and want to point out certain things in code examples. I'm trying to get the same effect as the one used by Mark Pilgrim, see http://diveintopython.org/native_data_types/lists.html#d0e5623 (example 3.6) Many Thanks, Luke Venediger My book: Erlang for Skeptics: http://erlangforskeptics.com/book/ There are probably a hundred ways to do it. The way that occurs to me is to create a new environment -- call it lyx-code-marked, from the lyx-code environment. lyx-code-marked would be a different color. So you would change the environment of the marked lines from lyx-code to lyx-code-marked. HTH SteveT Steve Litt Recession Relief Package http://www.recession-relief.US Twitter: http://www.twitter.com/stevelitt Hi Steve, Are you saying that inside my program listing block I would change to a custom environment? Currently all text in a program listing block is in the Plain Layout environment. I'm also using program listing to get syntax highlighting when the output is rendered. Whoa, you're doing things a whole lot differently than I do. I always use the lyx-code environment for program listings. Whatever environment you're using for code listings, use that environment to derive a new environment differing from the original only in color, either foreground or background. Probably if you're printing black and white paper or if you expect some readers to be color blind, you're probably better off changing the background color so it appears gray instead of white. I suggest you look at the lyx-code environment. I think it's better for displaying computer programs. SteveT Steve Litt Recession Relief Package http://www.recession-relief.US Twitter: http://www.twitter.com/stevelitt
Re: Insets and Options (or how do I use todonotes effectively)
On 2009-12-03, Stefano Franchi wrote: On 12/03/09, Alex Simma asi...@eecs.berkeley.edu wrote: I am writing up my thesis in LyX and want to use the todonotes package. I found Jürgen Spitzmüller's layout and it's very useful. The basic way the that the todo package is used is as \todo[options] {todoEntry} and I want to know how to pass options to the todo command. ... What's the LyX way of having inset commands that accept options? I believe the LyX way to pass options is by using the InsertShort title command. This is how you pass an option, e.g., to the sectioning commands. However, it is grayed out in the To do inset, even though the module declares a one argument command. The Keyword you need in the *.layout or *.module file is OptionalArgs. E.g. the enumitem.module (to be found on the wiki) contains:: # With enumitem, the three standard list environments take an optional # argument. See enumitem.pdf_ for possible values. Style Itemize OptionalArgs 1 End Günter
Re: choosing a custom font
On 2009-12-04, Uwe Stöhr wrote: Ercan Cem schrieb: I've read similar questions and respective answers but still cannot figure out what to do. I'm using Lyx on Windows. I simply want to use a custom font set for a specific chapter in the book I'm writing. Say I want to use kurier font set for sansserif family (which comes with MikTeX). Go to the document settings of LyX and select there under Fonts a font for sans serif. When the desired font is not in the list of available fonts, it gets complicated. Select [Default] in the GUI and ... Have a look at the documentation of the font you want to use to find out how it is loaded in the document preamble. Remember, that TeX needs special font setup. System fonts can only be used with XeTeX. Günter
Re: Greek Fonts Part 3 - Günter
On 2009-12-02, Brian Bosse wrote: > You mentioned that I could wait for 1.6.5 to come out, but I would > rather not. > You also mentioned to copy the file =91unicodesymbols=92 > from the system from the system LYXDIR to my personal lyx-dir and apply > a patch. I am on a Windows XP system, and found the file under > C:\Program Files\LyX16\Resources. I am not sure where to copy this > file. (Specifically, I do not know what you mean by the distinction > between the system LYXDIR and my personal lyx-dir.) You might search for this information on the LyX wiki. I don't know about the file layout under Windows. However, you can also patch the original file at the original place (make a backup first (e.g. copy to unicodesymbols.bak)). > Also, I do not know how to apply the patch. What are the steps that I > need to do to apply the patch? If you have the "patch" command, things are easy. In a D0S-box (or whatever this is called in newer Win versions), type patch -h for help. If not, you can insert the appended "Greek Extended" block into the original file (just before "# general punctuation") via drag-and-drop. > I noticed another patch that seems to be a correction to the first > patch. Should I apply that instead? No. I the carxxx patch is the one that works without further changes to LyX. Or go the save way and use utf8x (ucs enhance) latex encoding and mark the Greek text parts as Greek. Günter # # Greek extended # # Call character directly if present in LGR (to enable kerning), use input-ligature else 0x1f00 "\\textgreek{\\char130}""textgreek" "" "" "" # GREEK SMALL LETTER ALPHA WITH PSILI 0x1f01 "\\textgreek{\\char129}""textgreek" "" "" "" # GREEK SMALL LETTER ALPHA WITH DASIA 0x1f02 "\\textgreek{\\char139}""textgreek" "" "" "" # GREEK SMALL LETTER ALPHA WITH PSILI AND VARIA 0x1f03 "\\textgreek{\\char131}""textgreek" "" "" "" # GREEK SMALL LETTER ALPHA WITH DASIA AND VARIA 0x1f04 "\\textgreek{\\char138}""textgreek" "" "" "" # GREEK SMALL LETTER ALPHA WITH PSILI AND OXIA 0x1f05 "\\textgreek{\\char137}""textgreek" "" "" "" # GREEK SMALL LETTER ALPHA WITH DASIA AND OXIA 0x1f06 "\\textgreek{\\char146}""textgreek" "" "" "" # GREEK SMALL LETTER ALPHA WITH PSILI AND PERISPOMENI 0x1f07 "\\textgreek{\\char145}""textgreek" "" "" "" # GREEK SMALL LETTER ALPHA WITH DASIA AND PERISPOMENI 0x1f08 "\\textgreek{>A}" "textgreek" "" "" "" # GREEK CAPITAL LETTER ALPHA WITH PSILI 0x1f09 "\\textgreek{`A}" "textgreek" "" "" "" # GREEK CAPITAL LETTER ALPHA WITH PSILI AND VARIA 0x1f0b "\\textgreek{<`A}" "textgreek" "" "" "" # GREEK CAPITAL LETTER ALPHA WITH DASIA AND VARIA 0x1f0c "\\textgreek{>'A}" "textgreek" "" "" "" # GREEK CAPITAL LETTER ALPHA WITH PSILI AND OXIA 0x1f0d "\\textgreek{<'A}" "textgreek" "" "" "" # GREEK CAPITAL LETTER ALPHA WITH DASIA AND OXIA 0x1f0e "\\textgreek{>\\char126A}" "textgreek" "" "" "" # GREEK CAPITAL LETTER ALPHA WITH PSILI AND PERISPOMENI 0x1f0f "\\textgreek{<\\char126A}" "textgreek" "" "" "" # GREEK CAPITAL LETTER ALPHA WITH DASIA AND PERISPOMENI 0x1f10 "\\textgreek{\\char226}""textgreek" "" "" "" # GREEK SMALL LETTER EPSILON WITH PSILI 0x1f11 "\\textgreek{\\char225}""textgreek" "" "" "" # GREEK SMALL LETTER EPSILON WITH DASIA 0x1f12 "\\textgreek{\\char235}""textgreek" "" "" "" # GREEK SMALL LETTER EPSILON WITH PSILI AND VARIA 0x1f13 "\\textgreek{\\char227}""textgreek" "" "" "" # GREEK SMALL LETTER EPSILON WITH DASIA AND VARIA 0x1f14 "\\textgreek{\\char234}""textgreek" "" "" "" # GREEK SMALL LETTER EPSILON WITH PSILI AND OXIA 0x1f15 "\\textgreek{\\char233}""textgreek" "" "" "" # GREEK SMALL LETTER EPSILON WITH DASIA AND OXIA 0x1f18 "\\textgreek{>E}" "textgreek" "" "" "" # GREEK CAPITAL LETTER EPSILON WITH PSILI 0x1f19 "\\textgreek{`E}" "textgreek" "" "" "" # GREEK CAPITAL LETTER EPSILON WITH PSILI AND VARIA 0x1f1b "\\textgreek{<`E}" "textgreek" "" "" "" # GREEK CAPITAL LETTER EPSILON WITH DASIA AND VARIA 0x1f1c "\\textgreek{>'E}" "textgreek" "" "" "" # GREEK CAPITAL LETTER EPSILON WITH PSILI AND OXIA 0x1f1d "\\textgreek{<'E}" "textgreek" "" "" "" # GREEK CAPITAL LETTER EPSILON WITH DASIA AND OXIA 0x1f20 "\\textgreek{\\char154}""textgreek" "" "" "" # GREEK SMALL LETTER ETA WITH PSILI 0x1f21 "\\textgreek{\\char153}""textgreek" "" "" "" # GREEK SMALL LETTER ETA WITH DASIA 0x1f22 "\\textgreek{\\char171}""textgreek" "" "" "" # GREEK SMALL LETTER ETA WITH PSILI AND VARIA 0x1f23 "\\textgreek{\\char163}""textgreek" "" "" "" # GREEK SMALL LETTER ETA WITH DASIA AND VARIA 0x1f24 "\\textgreek{\\char162}""textgreek" "" "" "" # GREEK SMALL LETTER ETA WITH PSILI AND OXIA 0x1f25
Re: Skip a block of text when printing
On 2009-12-02, Rob wrote: > I have a bunch of figures at the end of my document that I want to keep > in the document, but I don't want to have them appear in the pdf > output. How do I "skip" over these? They need to be part of the > material compiled since they have labels that are referenced in the > text, but I simply don't want them to appear in the pdf output. At > present, I hacked it by setting the font color to white, but now I have > lots of extra blank pages. Is there a \skipsendingthistopdf{...} > command that would include the material, but just not send it to pdf? As already said, the "draft" document option should help. Alternatively (and more selectively), you can place the images (not the whole figure) in a branch inset. Günter
Marking lines in a Program Listing in Lyx
Hi Guys, Is it possible to mark certain lines in a Program Listing in Lyx? I'm writing a book and want to point out certain things in code examples. I'm trying to get the same effect as the one used by Mark Pilgrim, see http://diveintopython.org/native_data_types/lists.html#d0e5623 (example 3.6) Many Thanks, Luke Venediger My book: Erlang for Skeptics: http://erlangforskeptics.com/book/
Caption
Hi, This is regarding caption numbering. I am using caption package with following options \RequirePackage[singlelinecheck=off, justification=raggedright, labelformat=empty, labelsep=none]{caption} Under TeTeX (on freebsd) this was producing caption with no numbers. The same on TexLive2009 produces numbers. Does anyone know how to disable numbers in caption?
Marking lines in a Program Listing in Lyx
Hi, Is it possible to mark certain lines in a Program Listing in Lyx? I'm writing a book and want to point out certain things in code examples. I'm trying to get the same effect as the one used by Mark Pilgrim, see http://diveintopython.org/native_data_types/lists.html#d0e5623 (example 3.6) Many Thanks, Luke Venediger My book: Erlang for Skeptics: http://erlangforskeptics.com/book/
Caption
Hi, This is regarding caption numbering. I am using caption package with following options \RequirePackage[singlelinecheck=off, justification=raggedright, labelformat=empty, labelsep=none]{caption} Under TeTeX (on freebsd) this was producing caption with no numbers. The same on TexLive2009 produces numbers. Does anyone know how to disable caption numbering?
Re: Marking lines in a Program Listing in Lyx
On Thursday 03 December 2009 06:59:25 Luke Venediger wrote: > Hi Guys, > > Is it possible to mark certain lines in a Program Listing in Lyx? I'm > writing a book and want to point out certain things in code examples. I'm > trying to get the same effect as the one used by Mark Pilgrim, see > http://diveintopython.org/native_data_types/lists.html#d0e5623 (example > 3.6) > > Many Thanks, > Luke Venediger > My book: Erlang for Skeptics: http://erlangforskeptics.com/book/ There are probably a hundred ways to do it. The way that occurs to me is to create a new environment -- call it lyx-code-marked, from the lyx-code environment. lyx-code-marked would be a different color. So you would change the environment of the marked lines from lyx-code to lyx-code-marked. HTH SteveT Steve Litt Recession Relief Package http://www.recession-relief.US Twitter: http://www.twitter.com/stevelitt
Caption
Hi, Using suppresses the numbering \renewcommand\thetable{}
Re: Marking lines in a Program Listing in Lyx
Hi Steve, Thanks very much, I'll give it a try. Cheers, Luke On Thu, Dec 3, 2009 at 4:06 PM, Steve Littwrote: > On Thursday 03 December 2009 06:59:25 Luke Venediger wrote: > > Hi Guys, > > > > Is it possible to mark certain lines in a Program Listing in Lyx? I'm > > writing a book and want to point out certain things in code examples. I'm > > trying to get the same effect as the one used by Mark Pilgrim, see > > http://diveintopython.org/native_data_types/lists.html#d0e5623 (example > > 3.6) > > > > Many Thanks, > > Luke Venediger > > My book: Erlang for Skeptics: http://erlangforskeptics.com/book/ > > There are probably a hundred ways to do it. The way that occurs to me is to > create a new environment -- call it lyx-code-marked, from the lyx-code > environment. lyx-code-marked would be a different color. So you would > change > the environment of the marked lines from lyx-code to lyx-code-marked. > > HTH > > SteveT > > Steve Litt > Recession Relief Package > http://www.recession-relief.US > Twitter: http://www.twitter.com/stevelitt > >
Module error message?
Dear Lyxers, after moving a few lines of latex code that frames comments in a grayed box from the preamble to its own module I get the following error each time the module is loaded: The module Comment-in-box requires a package that is not available in your LaTeX installation. LaTeX output may not be possible. However the module works fine and the pdf it produces is correct and the two Latex packages the code uses are available in my installation. I suppose I made a mistake in the module itself. Can anyone tell me what I did wrong? I append the full module code below. Thanks, S. #\DeclareLyXModule[colortbl,tabularx]{Comments-in-box} #DescriptionBegin # Shows comments in a gray box # #DescriptionEnd # Author: stefano Franchi Format 11 AddToPreamble % The next bit shows the comment environment inside a grey box \renewenvironment{comment} {% replaces \begin{comment} \noindent \tabularx{\textwidth}{|>{\columncolor[gray]{0.9}}X|} \hline \emph{\textbf{Comment:}} } {% replaces \end{comment} \endtabularx\hrule } EndPreamble __ Stefano Franchi Department of Philosophy Ph: (979) 862-2211 Texas A University Fax: (979) 845-0458 305B Bolton Hall fran...@philosophy.tamu.edu College Station, TX 77843-4237
Re: Module error message?
On 12/03/2009 02:02 PM, Stefano Franchi wrote: Dear Lyxers, after moving a few lines of latex code that frames comments in a grayed box from the preamble to its own module I get the following error each time the module is loaded: The module Comment-in-box requires a package that is not available in your LaTeX installation. LaTeX output may not be possible. However the module works fine and the pdf it produces is correct and the two Latex packages the code uses are available in my installation. I suppose I made a mistake in the module itself. Can anyone tell me what I did wrong? I append the full module code below. This is bug 6361, which was just fixed. Short-term change this: #\DeclareLyXModule[colortbl,tabularx]{Comments-in-box} to : #\DeclareLyXModule{Comments-in-box} rh
choosing a custom font
I've read similar questions and respective answers but still cannot figure out what to do. I'm using Lyx on Windows. I simply want to use a custom font set for a specific chapter in the book I'm writing. Say I want to use kurier font set for sansserif family (which comes with MikTeX). Can someone please tell me what exactly should I include in the preamble? Ercan Cem
Re: Module error message?
On 12/03/09, rgheckwrote: >On 12/03/2009 02:02 PM, Stefano Franchi wrote: >> Dear Lyxers, >> >> after moving a few lines of latex code that frames comments in a grayed >> box from the preamble to its own module I get the following error each >> time the module is loaded: >> >> The module Comment-in-box requires a package that is >> not available in your LaTeX installation. LaTeX output >> may not be possible. >> >> >> However the module works fine and the pdf it produces is correct and the >> two Latex packages the code uses are available in my installation. I >> suppose I made a mistake in the module itself. Can anyone tell me what I >> did wrong? I append the full module code below. > >This is bug 6361, which was just fixed. Short-term change this: >> #\DeclareLyXModule[colortbl,tabularx]{Comments-in-box} > >to : > >#\DeclareLyXModule{Comments-in-box} > > Thanks Richard. I am glad to hear I had the module syntax right, for once. Indeed, the change you suggested fixes the problem. Cheers, S. >rh > __ Stefano Franchi Department of Philosophy Ph: (979) 862-2211 Texas A University Fax: (979) 845-0458 305B Bolton Hall fran...@philosophy.tamu.edu College Station, TX 77843-4237
Re: Marking lines in a Program Listing in Lyx
On Thu, Dec 3, 2009 at 4:06 PM, Steve Littwrote: > On Thursday 03 December 2009 06:59:25 Luke Venediger wrote: > > Hi Guys, > > > > Is it possible to mark certain lines in a Program Listing in Lyx? I'm > > writing a book and want to point out certain things in code examples. I'm > > trying to get the same effect as the one used by Mark Pilgrim, see > > http://diveintopython.org/native_data_types/lists.html#d0e5623 (example > > 3.6) > > > > Many Thanks, > > Luke Venediger > > My book: Erlang for Skeptics: http://erlangforskeptics.com/book/ > > There are probably a hundred ways to do it. The way that occurs to me is to > create a new environment -- call it lyx-code-marked, from the lyx-code > environment. lyx-code-marked would be a different color. So you would > change > the environment of the marked lines from lyx-code to lyx-code-marked. > > HTH > > SteveT > > Steve Litt > Recession Relief Package > http://www.recession-relief.US > Twitter: http://www.twitter.com/stevelitt > > Hi Steve, Are you saying that inside my "program listing" block I would change to a custom environment? Currently all text in a program listing block is in the Plain Layout environment. I'm also using "program listing" to get syntax highlighting when the output is rendered. Thanks, Luke
crashes with templates
Lyx 1.6.4.1 on OS X 10.5.8 crashes when opening a document (either new or created with Lyx 1.5.x) using any template. Preferences:Path:Document Templates points to /Users/name>/Library/Application Support/LyX-1.6/templates. Advice? Thanks, humanengr
Re: LaTeX line length formatting
On Tue, 22 Sep 2009, Jeremy C. Reed wrote: > I am looking for a tool that will fold or format long LaTeX lines. It > will need to know LaTeX, so it doesn't break commands or environments. > (Examples: will properly handle % comments and not split a long > \includegraphics filename.) So I never found this. So I always thought that LyX did a good job at this folding long lines into multiple lines -- my many .lyx documents show this. But then today I looked at a document ("#LyX file created by tex2lyx 1.6.2" and "\lyxformat 247") and it had long lines. I opened it in LyX 1.6.4.1 and and LyX said: Warning: #LyX file created by tex2lyx 1.6.2 Why the warning? When I saved it, it folded the long lines (which is what I wanted because I want diffs to be readable). So I am using LyX for this project. (I was going to try Kile but it chopped and created broken LaTeX when it shortened lines.) Thanks again to LyX!
Insets and Options (or how do I use todonotes effectively)
I am writing up my thesis in LyX and want to use the todonotes package. I found Jürgen Spitzmüller's layout and it's very useful. The basic way the that the todo package is used is as \todo[options] {todoEntry} and I want to know how to pass options to the todo command. For example, one valid option is 'inline.' I created a second, TODOInline inset where the corresponding LatexName is todo[inline] and that works but does not scale when I want more types of todos with more options. It feels like creating a new inset type for each permutation of options is clearly the wrong way. However, optional-insert does not work with the todo inset. What's the LyX way of having inset commands that accept options? Thanks, Alex
Re: Insets and Options (or how do I use todonotes effectively)
On 12/03/09, Alex Simmawrote: >I am writing up my thesis in LyX and want to use the todonotes >package. I found Jürgen Spitzmüller's layout and it's very useful. > >The basic way the that the todo package is used is as \todo[options] >{todoEntry} and I want to know how to pass options to the todo >command. For example, one valid option is 'inline.' I created a >second, TODOInline inset where the corresponding LatexName is >todo[inline] and that works but does not scale when I want more types >of todos with more options. It feels like creating a new inset type >for each permutation of options is clearly the wrong way. However, >optional-insert does not work with the todo inset. > >What's the LyX way of having inset commands that accept options? > I believe the LyX way to pass options is by using the Insert>>Short title command. This is how you pass an option, e.g., to the sectioning commands. However, it is grayed out in the To do inset, even though the module declares a one argument command. I suppose it is up to the module experts to provide some enlightenment. S. __ Stefano Franchi Department of Philosophy Ph: (979) 862-2211 Texas A University Fax: (979) 845-0458 305B Bolton Hall fran...@philosophy.tamu.edu College Station, TX 77843-4237
linguistics module missing
Hello, i d/l recently Lyx 1.6.4 for windows, tried to load linguistics module. however, it tells me I miss a package, and states: covington.sty. I think i found it, then copied it under the latex directory. I see it appears in the list of styles. still ti doesn't help. what dependency still am I missing? why doesn't it come with the installer if the linguistic module is supposed to be supported? thank you very much, Sefi.
Re: linguistics module missing
sefi p schrieb: i d/l recently Lyx 1.6.4 for windows, tried to load linguistics module. however, it tells me I miss a package, and states: covington.sty. To install all LaTeX-packages needed by LyX, open an Internet connection and reconfigure LyX. MiKTeX will do the installation automatically in the background (needs some time). I think i found it, then copied it under the latex directory. I see it appears in the list of styles. Afterwards you need to go to the MikTeX settings and press on the "refresh FNDB" button. Finally restart LyX and reconfigure it. regards Uwe
Re: choosing a custom font
Ercan Cem schrieb: I've read similar questions and respective answers but still cannot figure out what to do. I'm using Lyx on Windows. I simply want to use a custom font set for a specific chapter in the book I'm writing. Say I want to use kurier font set for sansserif family (which comes with MikTeX). Go to the document settings of LyX and select there under Fonts a font for sans serif. When the desired font is not in the list of available fonts, it gets complicated. Have a look at the documentation of the font you want to use to find out how it is loaded in the document preamble. regards Uwe
Re: linguistics module missing
> still ti doesn't help. what dependency still am I missing? why doesn't it come with the installer if the linguistic module is supposed to be supported? The linguistics module manual (LyX>Help>Specific Manuals>Linguistics Manual) lists the extra packages required for the module, and Covington is among them. I think the key thing to keep in mind here is that LyX is just a gui for LaTeX--even though it is now pretty sophisticated, it relies on the LaTeX distribution for certain functions. You should also have a look at the wiki page: http://wiki.lyx.org/LyX/LinguistLyX . it lists recommended packages that aren't always included in default installations. Maria
Lyx is messing with my PNG images.
Hello: I Insert/Graphics... a PNG file into my lyx document. I then export the doc to HTML. Apparently, as part of the exporting process, lyx processes the PNG file and produces a new PNG file which is referenced in the html. The problem is that, while my original PNG file (cut.png, attached) looks good (and the preview in lyx looks just as good), the processed PNG image (img2.png, attached) does not look good. The processed image appears to have been scaled up a little, but I did not specify any scaling as part of the graphics insert. Why does lyx mess with my PNG? I'm using version 1.6.4 Thanks. Bill <><>
Problem with table format
I have Lyx version 1.6.4.1 on a mac running os x version 10.5.8 and am a new user of the Lyx application. I am having problems with the format of a simple table when I generate a pdf file. Specifically, I get part of an extra cell attached to the bottom-left corner of the table I create. The partial extra cell does not exist in the table I created in the Lyx document itself, it only exists in the pdf or dvi file I generate from it. Any assistance would be greatly appreciated in helping me determine what I am doing wrong. Sincerely, Rick
letter class
When using a letter class, "send to" address always fails to print. Any help is welcome. Also how do i use newlfm class with lyx? vaibhav
Re: Marking lines in a Program Listing in Lyx
On Thursday 03 December 2009 16:19:19 you wrote: > On Thu, Dec 3, 2009 at 4:06 PM, Steve Littwrote: > > On Thursday 03 December 2009 06:59:25 Luke Venediger wrote: > > > Hi Guys, > > > > > > Is it possible to mark certain lines in a Program Listing in Lyx? I'm > > > writing a book and want to point out certain things in code examples. > > > I'm trying to get the same effect as the one used by Mark Pilgrim, see > > > http://diveintopython.org/native_data_types/lists.html#d0e5623 > > > (example 3.6) > > > > > > Many Thanks, > > > Luke Venediger > > > My book: Erlang for Skeptics: http://erlangforskeptics.com/book/ > > > > There are probably a hundred ways to do it. The way that occurs to me is > > to create a new environment -- call it lyx-code-marked, from the lyx-code > > environment. lyx-code-marked would be a different color. So you would > > change > > the environment of the marked lines from lyx-code to lyx-code-marked. > > > > HTH > > > > SteveT > > > > Steve Litt > > Recession Relief Package > > http://www.recession-relief.US > > Twitter: http://www.twitter.com/stevelitt > > Hi Steve, > > Are you saying that inside my "program listing" block I would change to a > custom environment? Currently all text in a program listing block is in the > Plain Layout environment. I'm also using "program listing" to get syntax > highlighting when the output is rendered. Whoa, you're doing things a whole lot differently than I do. I always use the lyx-code environment for program listings. Whatever environment you're using for code listings, use that environment to derive a new environment differing from the original only in color, either foreground or background. Probably if you're printing black and white paper or if you expect some readers to be color blind, you're probably better off changing the background color so it appears gray instead of white. I suggest you look at the lyx-code environment. I think it's better for displaying computer programs. SteveT Steve Litt Recession Relief Package http://www.recession-relief.US Twitter: http://www.twitter.com/stevelitt
Re: Insets and Options (or how do I use todonotes effectively)
On 2009-12-03, Stefano Franchi wrote: > On 12/03/09, Alex Simmawrote: >>I am writing up my thesis in LyX and want to use the todonotes >>package. I found Jürgen Spitzmüller's layout and it's very useful. >>The basic way the that the todo package is used is as \todo[options] >>{todoEntry} and I want to know how to pass options to the todo >>command. ... >>What's the LyX way of having inset commands that accept options? > I believe the LyX way to pass options is by using the Insert>>Short > title command. This is how you pass an option, e.g., to the sectioning > commands. However, it is grayed out in the To do inset, even though > the module declares a one argument command. The Keyword you need in the *.layout or *.module file is OptionalArgs. E.g. the enumitem.module (to be found on the wiki) contains:: # With enumitem, the three standard list environments take an optional # argument. See enumitem.pdf_ for possible values. Style Itemize OptionalArgs 1 End Günter
Re: choosing a custom font
On 2009-12-04, Uwe Stöhr wrote: > Ercan Cem schrieb: >> I've read similar questions and respective answers but still cannot >> figure out what to do. >> I'm using Lyx on Windows. I simply want to use a custom font set for a >> specific chapter in the book I'm writing. Say I want to use kurier >> font set for sansserif family (which comes with MikTeX). > Go to the document settings of LyX and select there under Fonts a font > for sans serif. When the desired font is not in the list of available > fonts, it gets complicated. Select [Default] in the GUI and ... > Have a look at the documentation of the > font you want to use to find out how it is loaded in the document > preamble. Remember, that TeX needs special font setup. System fonts can only be used with XeTeX. Günter