Re: TIPA (IPA) and limited tree support previews in LyX, working!
Stacia Hartleben wrote: I added a few things to the Wiki. Feel free to flesh it out if you want and add new things (I don't do any optimality theory for examples so I won't be writing anything related to it) Well done. I have edited the TIPA documentation. Most notably, xytree is not needed at all to enter \textipa. Jürgen
Re: Automatic formatting of a particular word?
Hi Stephen, Stephen Harris schrieb: I have a question about this. My knowledge is theoretical rather than practical and draws upon Knuth's discussion of macros/definitions in The TeXbook concerning the TeX logo plus chapter twenty, Knuth: The TeXbook is great if you want to learn to program TeX. If you want to use LaTeX you should not use it as primary source of information. SH: Does this work with LyX? Suppose I wanted a better way of expressing, linux and unix, than *nix. So I invented the word NyX to substitute for *nix. And suppose this was a document which discussed LyX and I wanted to typeset the y in NyX like LyX and use it maybe 15 times so that it was worthwhile to create it. You're mixing up two things. One is that it is possible to define LaTeX commands for special Logo Words, like \LaTeX, \TeX, \BibteX and so on. This could be done with a command like [EMAIL PROTECTED] (don't use the \setbox / \tenrm stuff, that's plain TeX and doesn't mix well with LaTeX font selection). The other is that LyX replaces some hardcoded strings like LaTeX, TeX, LyX with those logo commands (\TeX, \LaTeX, \LyX, it even replaces occurences of TeX inside words like »myWayTooCoolTeX«!). ATM and AFAIK there is no user interface for that, so you have to either patch you LyX version to recognize NyX as well or (better!) use ERT:\NyX{}. (Or you make the N active and try to detect occurences of NyX on TeX processing level. (not really ;-))). So could I create a definition for NyX \NyX\ (or any word for that matter) Yes, definitely and put it in macros.tex and load it with \input macros and use it in LyX with automatic expansion, even if it weren't hardwired like Uwe's example? Better do it the LateX way: write a simple sty nyxlogo.sty and put that \providecommand*{\NyX}{...} in there (look at clsguide.dvi/pdf on how to do that). Yours, Karsten
Re: Automatic formatting of a particular word?
- Original Message - From: Karsten Heymann [EMAIL PROTECTED] To: lyx-users@lists.lyx.org Sent: Wednesday, February 22, 2006 1:06 AM Subject: Re: Automatic formatting of a particular word? Hi Stephen, and put it in macros.tex and load it with \input macros and use it in LyX with automatic expansion, even if it weren't hardwired like Uwe's example? Better do it the LateX way: write a simple sty nyxlogo.sty and put that \providecommand*{\NyX}{...} in there (look at clsguide.dvi/pdf on how to do that). Yours, Karsten That does seem simpler. Thanks for the explanation, it led me to discover texlogos.sty which contains the Metapost and Metafont logos as well as BibTex so it serves as a model. %% Displays the BibTeX logo. %% \DeclareRobustCommand{\bibtexlogo}{% \protect\scalebox{0.75}[1]{B}% \protect\scalebox{0.5625}[0.75]{IB}\TeX} Though the syntax of \DeclareRobustCommand is probably older than \providecommand? Regards, Stephen
lyx compatibility to MsWord etc
Hi all, I am about to begin to write up my Phd-thesis and would like to do this in lyx. One thing that worries me is that the Profs who will correct it are working in MsWord! Is there an tested/validated way to convert lyx files to .doc? I have read something about lyx-latex-rtf-doc . This sounds not really promising, I guess all the layout will be lost?! Any ideas / experience with something like that? Thanks a lot! L. __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com
Re: Automatic formatting of a particular word?
Hi Stephen, (your OE does strange quoting, please fix it, it's difficult to see who'se written what. thanks. Maybe the following link ist interesting too: http://home.in.tum.de/~jain/software/oe-quotefix/) Stephen Harris schrieb: Though the syntax of \DeclareRobustCommand is probably older than \providecommand? You're reaching the borders of my LaTeX knowledge, but fortunately there is google groups :) Maybe http://groups.google.com/group/comp.text.tex/browse_thread/thread/ 1f502a2d05d09f67/ba2e854e2274491f or http://groups.google.com/group/comp.text.tex/browse_thread/thread/ 43979d37f901cb5e/395907c6db8808ec (one line each) will help. Have a look at usrguide.dvi/pdf too. Yours, Karsten
Re: lyx compatibility to MsWord etc
Tom Tom wrote: Hi all, I am about to begin to write up my Phd-thesis and would like to do this in lyx. One thing that worries me is that the Profs who will correct it are working in MsWord! The easiest way is to give pdf files to your supervisors. They print it, mark it and gave them back to you. Is there an tested/validated way to convert lyx files to .doc? I have read something about lyx-latex-rtf-doc . This sounds not really promising, I guess all the layout will be lost?! No, the tex - doc converters are today much more powerful than they were a couple of years ago and you will be able to keep most of your layout. The most powerful way is lyx - latex - oowriter -- doc with tex4ht The alternative way is lyx - latex - rtf with rtf2latex Tex4ht is more powerful with bibliographies and custom environments. rtf2latex has a more limited set of features but is fast and easier to use. It all depends on what you are writing. Create an example with the most complex stuff you will be writing (math, tables, bibliography) and test conversion. Charles -- http://www.kde-france.org
Re: selecting special fonts
Stacia Hartleben wrote: Is there a better way to select special special fonts other than doing ERT? I know under character I can change it to san serif or whatever but for a special font I installed I have to do something like this: \usefont{T1}{stacish}{m}{n} \selectfont myword \usefont{T1}{ae}{m}{n} \selectfont in a huge ERT snippet. Yes, you should create a macro. In your preamble put something like : \newcommand\stacia [1]{\usefont{T1}{stacish}{m}{n}% \selectfont% #1% \normalfont} and then in your text an ert with for example \stacia{Hartleben} With LyX 1.4 you can even use the character style and do the last part without ert. It is documented in the Wiki. Look in your LaTeX manual how you can create macros. It is easy to do and can save you a lot of time. Cheers, Charles -- http://www.kde-france.org
Re: lyx compatibility to MsWord etc
Tom Tom writes: Hi all, I am about to begin to write up my Phd-thesis and would like to do this in lyx. One thing that worries me is that the Profs who will correct it are working in MsWord! Do you mean your readers? I would hope that their changes, comments, etc. are to be made with a red pencil. If you are lucky enough to have someone editing your work, then perhaps you can ask the person to install LyX? -Kevin -- Kevin Pfeiffer [EMAIL PROTECTED] Tiros-Translations
Managing of notes
Hello all, I'm writing a big lyx document and I use notes extensively for me to make the organization of text more clear. Is there any automated or manual way, using lyx or exporting lyx to latex and working out after with this, to make a document (in whatever format) including only the notes ? Thanks in advance.
Re: Automatic formatting of a particular word?
Stephen Harris wrote: - Original Message - From: Karsten Heymann [EMAIL PROTECTED] To: lyx-users@lists.lyx.org Sent: Wednesday, February 22, 2006 1:06 AM Subject: Re: Automatic formatting of a particular word? Hi Stephen, and put it in macros.tex and load it with \input macros and use it in LyX with automatic expansion, even if it weren't hardwired like Uwe's example? Better do it the LateX way: write a simple sty nyxlogo.sty and put that \providecommand*{\NyX}{...} in there (look at clsguide.dvi/pdf on how to do that). Yours, Karsten That does seem simpler. Thanks for the explanation, it led me to discover texlogos.sty which contains the Metapost and Metafont logos as well as BibTex so it serves as a model. %% Displays the BibTeX logo. %% \DeclareRobustCommand{\bibtexlogo}{% \protect\scalebox{0.75}[1]{B}% \protect\scalebox{0.5625}[0.75]{IB}\TeX} Though the syntax of \DeclareRobustCommand is probably older than \providecommand? no, it is quite different. \section{\bibtexlogo} is possible, because it is a robust macro and _not_ expanded, when it is going also into the table of contents. Otherwise it won't work, it moves not as a macro into the *.toc file, but fully expanded, which often causes errors. Herbert
Re: selecting special fonts
Charles de Miramon wrote: Stacia Hartleben wrote: Is there a better way to select special special fonts other than doing ERT? I know under character I can change it to san serif or whatever but for a special font I installed I have to do something like this: \usefont{T1}{stacish}{m}{n} \selectfont myword \usefont{T1}{ae}{m}{n} \selectfont in a huge ERT snippet. Yes, you should create a macro. In your preamble put something like : \newcommand\stacia [1]{\usefont{T1}{stacish}{m}{n}% \selectfont% #1% \normalfont} \newcommand\stacia[1]{% bgroup \usefont{T1}{stacish}{m}{n}\selectfont#1% \egroup} then and then in your text an ert with for example \stacia{Hartleben} and then in your text an ert with for {\large example \stacia{Hartleben} and so on} also works. Herbert
Re: selecting special fonts
Herbert Voss wrote: Charles de Miramon wrote: \newcommand\stacia[1]{% bgroup \usefont{T1}{stacish}{m}{n}\selectfont#1% \egroup} I guess it is \bgroup Herbert, can you explain what is the purpose of \begingroup \endgroup ? The TLC2 (my Bible) is not very clear about it. Cheers, Charles -- http://www.kde-france.org
color print problem (CMYK converted to RGB)
I just got a call from the printer who wanted to let me know that all the color images in our books were somehow converted from C4 (CMYK) to RGB. They caught this much later than it should have been, but it was caught and they were able to swap out the plates. Here are the steps that were followed: 1. Received TIFF (CMYK) images from printer (verified) 2. TIFF images placed in LyX 3. LaTeX to DVI output (TIFF in tmp file is still CMYK, but not the EPS files) 4. DVI file saved as Postscript 5. Postscript file delivered to printer. I checked the EPS's with Adobe Preflight and it reports that they are in fact RGB color space and not CMYK. Is this a problem with the ImageMagick conversion that LyX calls? Is this a configuration error on my part? Is it a known problem? I would be grateful for any advice or comments. -Kevin -- Kevin Pfeiffer [EMAIL PROTECTED] Tiros-Translations
Re: Managing of notes
_/ On Wed 22 Feb 2006 11:19:26 GMT, [Horacio] wrote : \_ Hello all, I'm writing a big lyx document and I use notes extensively for me to make the organization of text more clear. Is there any automated or manual way, using lyx or exporting lyx to latex and working out after with this, to make a document (in whatever format) including only the notes ? Thanks in advance. I used to be marking notes as Comment under LyX. After a few years I re- alised that Ctrl+I+N (quick route to note) catered for the inclusion of actual document structures (formatting) /and/ was foldable, so as to decrease the level of clutter. If you later want to produce, view or even print the 'notes component' of your LyX document, you could run a scanner to pick everything in between /Note delimiters in the raw in and and output everything to a separate file, which is formatted in line with LyX's convertions. You could then open or import it. There might be simpler solutions though. Hope it helps, Roy -- Roy S. Schestowitz http://Schestowitz.com
Re: TIPA (IPA) and limited tree support previews in LyX, working!
I have edited the TIPA documentation. Most notably, xytree is not needed at all to enter \textipa. thanks, jürgen! it's wonderful. on a related note... i have a bit of a problem with trees that contain greek letters (for syllables and moraic structure, for example): sigma / \ mu mu this should be easy to do, but for some reason lyx freezes when i try to typeset. i use lyx 1.3.7 and mac os 10.4.4. i enter the following in math/text mode: \Tree [.sigma symbol mu symbol mu symbol ] and all i get is errors (missing brackets, etc.). qtree is definitely working correctly, as i can view and typeset \Tree [.a b c ] w/o a problem. am i doing something wrong? does anyone know another way of making trees with greek letters as nodes? maria
Re: selecting special fonts
Charles de Miramon wrote: Herbert Voss wrote: Charles de Miramon wrote: \newcommand\stacia[1]{% bgroup \usefont{T1}{stacish}{m}{n}\selectfont#1% \egroup} I guess it is \bgroup Herbert, can you explain what is the purpose of \begingroup \endgroup ? The TLC2 (my Bible) is not very clear about it. inside a group everything is local. And I have the old behaviour after leaving this macro (group). Means same font, same lengths, etc Herbert
Re: TIPA (IPA) and limited tree support previews in LyX, working!
Maria Gouskova wrote: on a related note... i have a bit of a problem with trees that contain greek letters (for syllables and moraic structure, for example): sigma / \ mu mu this should be easy to do, but for some reason lyx freezes when i try to typeset. i use lyx 1.3.7 and mac os 10.4.4. i enter the following in math/text mode: \Tree [.sigma symbol mu symbol mu symbol ] The problem is that you are in math-text-mode at the moment. The greek letters have to be in math-math mode. That is \Tree [.$\sigma$ $\mu$ $\mu$ ] HTH, Jürgen
Re: TIPA (IPA) and limited tree support previews in LyX, working!
The problem is that you are in math-text-mode at the moment. The greek letters have to be in math-math mode. That is \Tree [.$\sigma$ $\mu$ $\mu$ ] oh, duh... okay, it's going in the linguist-lyx wiki. maria
eqnarray environement
hello, I'm using Lyx 1.3.7 and I can not put a set of equations defined with eqnarry in curly brakets After compiling I always get severals errors . Can you please help me? Thanks in advance, Eric. -- Eric Germaneau * " Reason" in things existed before things themselves existed and all the changes in things were governed by it. Zhu Xi. Eric Germaneau Assistant Doctorant Ecole polytechnique fédérale de Lausanne (EPFL) FSB - IPMC Laboratoire de Cristallographie(LCr) BSP 518 CH-1015 Lausanne Switzerland [EMAIL PROTECTED] Tel.: +41 (0)21 / 693 06 36 Fax.: +41 (0)21 / 693 05 04
Mayday: problem with french quotation marks
I just reinstalled LyX 1.3.5 on a brand new computer. I'm writing in french and use french guillemets and for quotation. At least I try to, as they appear as spanish upside down exclamation-mark and question-mark. I remember having the problem once but can't figure out how I solved it. I use latin9 coding and french both in Preferences and Document. Other combination like french (gutemberg) or other codings won't do any good. Please help... Thanks, -- Alain DIDIERJEAN Puisque ces mystères nous dépassent Feignons d'en être l'organisateur.
Mayday: problem with french quotation marks
I just reinstalled LyX 1.3.5 on a brand new computer. I'm writing in french and use french guillemets and for quotation. At least I try to, as they appear as spanish upside down exclamation-mark and question-mark. I remember having the problem once but can't figure out how I solved it. I use latin9 coding and french both in Preferences and Document. Other combination like french (gutemberg) or other codings won't do any good. Please help... Thanks, -- Alain DIDIERJEAN Puisque ces mystères nous dépassent Feignons d'en être l'organisateur.
Mayday: problem with french quotation marks
I just reinstalled LyX 1.3.5 on a brand new computer. I'm writing in french and use french guillemets and for quotation. At least I try to, as they appear as spanish upside down exclamation-mark and question-mark. I remember having the problem once but can't figure out how I solved it. I use latin9 coding and french both in Preferences and Document. Other combination like french (gutemberg) or other codings won't do any good. Please help... Thanks, -- Alain DIDIERJEAN Puisque ces mystères nous dépassent Feignons d'en être l'organisateur.
Re: eqnarray environement
Eric Germaneau schrieb: hello, I'm using Lyx 1.3.7 and I can not put a set of equations defined with eqnarry in curly brakets After compiling I always get severals errors . Can you please help me? I need a small example LyX-file. If you could understand german, you'll find all necessary informations about LyX and math here: http://wiki.lyx.org/LyX/LyXMathebefehle http://wiki.lyx.org/uploads/LyX/LyXMathebefehle/LyXMathebefehle.pdf regards Uwe
replacing with a protected blank
I have a legal document that I converted from ooo (.odt) to .lyx It has a lot of periods that must be followed by protected blank, for example: The /Dancing Goats Act/, S.O., 1997, c. D.12, ss. 30--31. Here, c. and ss. must have a Ctrl+space after them. How do I search and replace? Do you use the lyx environment, or start a text editor and do it there? Also, unrelated (I might need to start a separate thread, I know...) How can I use a separate font for my footnotes, say I want to use Sabon {lsbx} where the default font is, say {charter}?
Re: How to convert letter to math symbol/font in 1.3+?
On Tue, Feb 21, 2006 at 03:45:16PM +1300, John McCabe-Dansted wrote: I recall that in 1.2 we could convert a ordinary letter to math font simply by selecting it and pressing cntl-M. In 1.3 it converts it into math mode, but leaves it in the original font. Is there an easy way to convert letters into math font in 1.3+? Put a '$' in front of it, mark the $ and your letter, hit Ctrl-M. Andre'
Re: Automatic formatting of a particular word?
On Mon, Feb 20, 2006 at 02:36:01PM -0800, Rich Shepard wrote: On Mon, 20 Feb 2006, Kevin Pfeiffer wrote: ... how can I get this behavior with any word? Good question. Maybe Herbert or someone else can help. That's like the user calling the help desk because she cannot find the any key on her keyboard. But the instructions say to press any key! I keep telling people that the 'any key' is the '5' on the numeric keys block. It works and has not much potential to break thing when hit at the wrong time. Andre'
Re: Automatic formatting of a particular word?
On Mon, Feb 20, 2006 at 10:58:38PM +0100, Kevin Pfeiffer wrote: Joerg Hau writes: Inserting ERT in the text is exactly the opposite of what I want to do. An example of what I am looking for: Open a document in LyX, write e.g. LyX is a kind of LaTeX frontend (upper/lowercase!), and go to the preview ... the two words LyX and LaTeX are displayed in their very particular style, but without any need to have them ERT'd. This was a very early hard-coded feature of LyX and only recognized a few words, i.e. basically 'cute but not scalable'. Andre'
Still: citation reference is wrong
The problem continues to exist: Matthias Schmidt schrieb am Dienstag, 21. Februar 2006 um 17:32: I`m working with WinXP, Lyx 1.3.7 and JabRef 2.0.1. The citation reference is positioned in the footnote. The bibliography for the document is formatted as natbib and author-year. So far so good: in the Lyx user interface the result is given correct as in this case Gerhard (1953). So: Lyx can find the name of the author. But in the dvi-preview and in the pdf-print is the citation reference printed as (author ?)[2] Here the name of the author cannot be found. It should be something with autor and year. What has happened there? What's wrong? Paul answered: Maybe LyX is not running latex often enough? If you export the document as LaTeX and run latex three or four times against it, does the DVI eventually come out correctly? Herbert answered: I suppose, that you enabled the bibliography not from within LyX. If so, then you have to run bibtex by yourself, which is not the best choice ... use LyX for with insert-bibliography. well, I checked it: latex is running 3 times, and the bibliography is inserted within Lyx. So, the problem continues to exist! I don't understand, why I can see the citation reference in Lyx correct, but in the dvi-preview and pdf-print it is wrong -- Mit freundlichen Grüssen Matthias Schmidt mailto:[EMAIL PROTECTED] -- Mit freundlichen Grüssen Matthias Schmidt mailto:[EMAIL PROTECTED] Virus checked by G DATA AntiVirusKit ___ Telefonate ohne weitere Kosten vom PC zum PC: http://messenger.yahoo.de
double superscript a lyx bug?
Hi, I just ran into the same thing reported by Bo Peng a short while ago -- if in math you make an explicit superscript but also append a ' as a shortcut for prime (= matrix transpose sign here), latex complains about double superscript. Minimal lyx file is embedded below, but I guess only \begin_inset Formula $a^{*}'$ actually matters. I know how to workaround, but I read somewhere that lyx tries to produce correct latex files (absent any ERT). So, is this a bug by official standards? -Sven #LyX 1.3 created this file. For more info see http://www.lyx.org/ \lyxformat 221 \textclass article \language ngerman \inputencoding auto \fontscheme times \graphics default \paperfontsize 11 \spacing single \papersize a4paper \paperpackage a4 \use_geometry 1 \use_amsmath 1 \use_natbib 0 \use_numerical_citations 0 \paperorientation portrait \leftmargin 3cm \topmargin 2.5cm \rightmargin 3cm \bottommargin 2cm \headheight 1.5cm \headsep 0.5cm \footskip 1cm \secnumdepth 3 \tocdepth 3 \paragraph_separation skip \defskip medskip \quotes_language english \quotes_times 2 \papercolumns 1 \papersides 1 \paperpagestyle fancy \layout Standard \lang english \begin_inset Formula $a^{*}'$ \end_inset \the_end
Re: TIPA (IPA) and limited tree support previews in LyX, working!
Thanks for updating the Wiki guys, you put a lot of stuff in there that I didn't know about!! Did anyone find out how to make it so glosses go under the nodes on the tree - usually with the // command? Also, is there a way to make it automatically preview all of the images once you open a document other than clicking on the formula a bunch of times? On 2/22/06, Maria Gouskova [EMAIL PROTECTED] wrote: The problem is that you are in math-text-mode at the moment. The greek letters have to be in math-math mode. That is \Tree [.$\sigma$ $\mu$ $\mu$ ] oh, duh... okay, it's going in the linguist-lyx wiki. maria
Re: double superscript a lyx bug?
Sven Schreiber wrote: Hi, I just ran into the same thing reported by Bo Peng a short while ago -- if in math you make an explicit superscript but also append a ' as a shortcut for prime (= matrix transpose sign here), latex complains about double superscript. Minimal lyx file is embedded below, but I guess only \begin_inset Formula $a^{*}'$ actually matters. ' looks ugly, use ${a^{*}}^\prime$ or $a^{*\prime}$ Herbert
Re: lyx compatibility to MsWord etc
On Tue, Feb 21, 2006 at 08:50:45AM -0800, Tom Tom wrote: I have read something about lyx-latex-rtf-doc . This sounds not really promising, I guess all the layout will be lost?! Any ideas / experience with something like that? Yes. It basically does not work properly. However, as your professors aren't supposed to mess around with your thesis, producing a .pdf should be completely sufficient. Andre'
Re: lyx compatibility to MsWord etc
On Wed, 22 Feb 2006, Andre Poenitz wrote: However, as your professors aren't supposed to mess around with your thesis, producing a .pdf should be completely sufficient. Andre', Who are you kidding? Thesis/dissertation advisors and committees will mess with both your work and your head. :-) One of the major benefits of successfully defending my dissertation (a very long time ago) was not having to assemble my committee of five faculty ever again. Rich -- Richard B. Shepard, Ph.D. | Author of Quantifying Environmental Applied Ecosystem Services, Inc. (TM) | Impact Assessments Using Fuzzy Logic http://www.appl-ecosys.com Voice: 503-667-4517 Fax: 503-667-8863
Re: lyx compatibility to MsWord etc
I successfully persuaded my adviser to install lyx. He does not know how to insert a formula, but making small changes has been easy. BTW, with the new windows installer (I mean the non-official one), even your advisor can install lyx. :-) Bo.
Re: LyX fails picture conversion
On 2/21/06, Stephen Harris [EMAIL PROTECTED] wrote: I have just installed dvipdfmx, but when running it, I get $ dvipdfmx test2.dvi teste2.dvi - test2.pdf ** WARNING ** Failed to load AGL file glyphlist.txt... [1] 7284 bytes written $ Notwithstanding, pdf file is generated. You can use find / -name glyphlist.txt to see if the file exists and where it is installed. [Perhaps /usr/share/texmf/dvipdfm/glyphlist.txt] So if you already have the file, that narrows the problem down. :-) Did you run texconfig rehash after you installed the package in order to refresh the Tetex filename database (fndb)? As I said before, Stephen, running the command texhash suffices to solve the reported problem. Paul
Looking for way of writing pseudocode
Dear All I need to write some pseudocode. Is there some specific package? Or it suffices LyX code? Thanks in advance, Paul
Re: Looking for way of writing pseudocode
lyx code is good. otherwise have a look at the listings package martin On 22/02/06, Paul Smith [EMAIL PROTECTED] wrote: Dear All I need to write some pseudocode. Is there some specific package? Or it suffices LyX code? Thanks in advance, Paul
En: Figures location
Hi folks, Does anyone know a solution for the problem I reported previously? Thanks in advance, AnaObservação: mensagem anexa encaminhada. Yahoo! Acesso Grátis Internet rápida e grátis. Instale o discador agora!---BeginMessage--- Hi all, I´m writing a document with a lot of figures. I´m succeeding to convert these figures, but in despite I´m using the advanced placement option Here definetely, all the figures are being displayed in the beginning of the page, instead of in the place I added them in the source document. Is it possible that another document layout option is affecting the whole document, and how can I turn off this option? Thanks in advance, Ana - Yahoo! Search Dê uma espiadinha e saiba tudo sobre o Big Brother Brasil.---End Message---
Re: replacing with a protected blank
mail.k writes: I have a legal document that I converted from ooo (.odt) to .lyx It has a lot of periods that must be followed by protected blank, for example: [...] How do I search and replace? Do you use the lyx environment, or start a text editor and do it there? Well, if one could search and replace ERTs in LyX, for example, you would have no problem. One way would be to do this in a text editor on a copy of your LyX file. If you are careful and comfortable doing this, the period/space, for example, needs to be replaced with: \SpecialChar ~ But try this on a copy of the file just in case. -Kevin -- Kevin Pfeiffer [EMAIL PROTECTED] Tiros-Translations
Re: Looking for way of writing pseudocode
Paul Smith wrote: Dear All I need to write some pseudocode. Is there some specific package? Or it suffices LyX code? Thanks in advance, Paul You could use one of the following LaTeX package (Probably there are more): pseudocode alg algorithm2e you need to go to http://www.ctan.org/ and choose the type you prefer
inserting image
Good evening, I am new with Lyx 1.3.7 (French language) under Windows XP Pro installed with the help of the installer thanks. I just not installed Ghostview which seems to have a conflict with Yap when looking to launch DVI. My current problem: I am trying to insert image inside one document: - one small image of a button inside the document itself, - one small image of the same button inside a table for that purpose I use whether insert-graphic or the insert graphic button in the tool bar.I have no problem with the LyX document which displays properly the image of the button at the right place. However, when I intend to look at the document launching display-PDF(pdflatex). I got five errors for each image. I have got the same problem with floating figure however, it was because of some parameters; but with the current actions, I did not change anything in the parameter box -First error message Double subscript. ..._l-0_7_1-2_timerate_increase\string.png} I treat `x_1_2' essentially like `x_1{}_2'. -Second, third, fourth error messages Missing { inserted. ..._l-0_7_1-2_timerate_increase\string.png} A left brace was mandatory here, so I've put one in. You might want to delete and/or insert some corrections so that I will find a matching right brace soon. (If you're confused by all this, try typing `I}' now.) -fifth error message Missing $ inserted. ..._l-0_7_1-2_timerate_increase\string.png} I've inserted a begin-math/end-math symbol since I think you left one out. Proceed, with fingers crossed. I surveyed the User manual, but did not find the solution. Any Idea! Thanks Paul
Re: double superscript a lyx bug?
Sven Schreiber wrote: Hi, I just ran into the same thing reported by Bo Peng a short while ago -- if in math you make an explicit superscript but also append a ' as a shortcut for prime (= matrix transpose sign here), latex complains about double superscript. Minimal lyx file is embedded below, but I guess only \begin_inset Formula $a^{*}'$ actually matters. I know how to workaround, but I read somewhere that lyx tries to produce correct latex files (absent any ERT). So, is this a bug by official standards? LyX is creating a correct LaTeX file. If you try the same formula in a .tex file, LaTeX will complain. It's just not valid LaTeX, so you need to make it $a^{*\prime)$. This is not a LyX issue. Dan
Re: lyx compatibility to MsWord etc
On Wed, Feb 22, 2006 at 11:09:48AM -0800, Rich Shepard wrote: On Wed, 22 Feb 2006, Andre Poenitz wrote: However, as your professors aren't supposed to mess around with your thesis, producing a .pdf should be completely sufficient. Andre', Who are you kidding? Thesis/dissertation advisors and committees will mess with both your work and your head. :-) Mine certainly did not. And a .pdf was just fine. One of the major benefits of successfully defending my dissertation (a very long time ago) was not having to assemble my committee of five faculty ever again. ;-} Andre'
Re: Still: citation reference is wrong
Matthias Schmidt wrote: well, I checked it: latex is running 3 times, and the bibliography is inserted within Lyx. So, the problem continues to exist! I don't understand, why I can see the citation reference in Lyx correct, but in the dvi-preview and pdf-print it is wrong Give a minimal LyX file and bibliography file. Cheers, Charles -- http://www.kde-france.org
Re: inserting image
Paul Schwartz wrote I am new with Lyx 1.3.7 (French language) under Windows XP Pro installed with the help of the installer thanks. I just not installed Ghostview which seems to have a conflict with Yap when looking to launch DVI. Nobody reported this problem yet. Have you tested that GhostView interfers with Yap? This shouldn't be possible as GhostView can't display DVI-files. But this has nothing todo with your problem: I am trying to insert image inside one document: - one small image of a button inside the document itself, - one small image of the same button inside a table ... display-PDF(pdflatex). I got five errors for each image. Please send a minimal LyX file with the problematic image insets and the used image. regards Uwe
Re: double superscript a lyx bug?
Daniel Watkins schrieb: LyX is creating a correct LaTeX file. If you try the same formula in a .tex file, LaTeX will complain. It's just not valid LaTeX, so you need to make it $a^{*\prime)$. This is not a LyX issue. Dan Sorry, that sounds self-contradictory, or is it because I should already be in bed? Right, it's not valid Latex, produced from lyx w/o ert. So your point is?
Re: inserting image
Paul Schwartz wrote: Good evening, I am new with Lyx 1.3.7 (French language) under Windows XP Pro installed with the help of the installer thanks. I just not installed Ghostview which seems to have a conflict with Yap when looking to launch DVI. I use Ghostview and Yap (the version that comes with MiKTeX) on Win XP Pro with no problems. Are you saying that when Yap tries to launch (or tries to open a DVI after launching) it triggers an error message from Ghostview? My current problem: I am trying to insert image inside one document: - one small image of a button inside the document itself, - one small image of the same button inside a table for that purpose I use whether insert-graphic or the insert graphic button in the tool bar.I have no problem with the LyX document which displays properly the image of the button at the right place. However, when I intend to look at the document launching display-PDF(pdflatex). I got five errors for each image. I have got the same problem with floating figure however, it was because of some parameters; but with the current actions, I did not change anything in the parameter box -First error message Double subscript. ..._l-0_7_1-2_timerate_increase\string.png} I treat `x_1_2' essentially like `x_1{}_2'. -Second, third, fourth error messages Missing { inserted. ..._l-0_7_1-2_timerate_increase\string.png} A left brace was mandatory here, so I've put one in. You might want to delete and/or insert some corrections so that I will find a matching right brace soon. (If you're confused by all this, try typing `I}' now.) -fifth error message Missing $ inserted. ..._l-0_7_1-2_timerate_increase\string.png} I've inserted a begin-math/end-math symbol since I think you left one out. Proceed, with fingers crossed. I surveyed the User manual, but did not find the solution. Any Idea! Something is causing LaTeX to think that the file name is a mathematical expression misplaced in regular text, which among other things makes it insert a dollar sign (to either start or end an inline formula) and treat the underscores in the file name as if they were subscript operators. As Uwe suggests, about the only way to figure out why this is happening is to see a (minimal) example where it occurs. /Paul
Re: Figures location
En/na Ana Lobo ha escrit: Hi all, I´m writing a document with a lot of figures. I´m succeeding to convert these figures, but in despite I´m using the advanced placement option Here definetely, all the figures are being displayed in the beginning of the page, instead of in the place I added them in the source document. Too many !h (here definitively) may fool LaTeX. Try to use them only when no other solution is possible and normal h (here) otherwise. Is it possible that another document layout option is affecting the whole document, and how can I turn off this option? Thanks in advance, Ana
Re: eqnarray environement
Eric Germaneau schrieb: you will find the file where my probleme is as attached file. Braces mustn't spread over more than one formula line. So either you use - the \cases-environment, see chapter 3.5 of http://wiki.lyx.org/uploads/LyX/LyXMathebefehle/LyXMathebefehle.pdf - or the aligned-environment, see chapter 18.5 of http://wiki.lyx.org/uploads/LyX/LyXMathebefehle/LyXMathebefehle.pdf I attached a LyX-file showing both cases. regards Uwe kurt-exo2.lyx Description: application/lyx
Re: double superscript a lyx bug?
Sven Schreiber wrote: Daniel Watkins schrieb: LyX is creating a correct LaTeX file. If you try the same formula in a .tex file, LaTeX will complain. It's just not valid LaTeX, so you need to make it $a^{*\prime)$. This is not a LyX issue. Dan Sorry, that sounds self-contradictory, or is it because I should already be in bed? Right, it's not valid Latex, produced from lyx w/o ert. So your point is? Isn't math mode ERT (without the red, and not automatically evil)? AFAIK, LyX does not translate commands typed into math insets any more than it translates/edits/parses commands typed into TeX insets. If you type \junk in a math inset, and no such macro is defined, you'll see junk displayed in LyX and you'll get an error message from LaTeX. Same story with the prime (albeit quite a bit more subtle). On-the-fly automatic correction is a tricky business at best (if you want to learn the seamier side of English, listen to me when I try to start a paragraph in Word with a. and Word insists on capitalizing the letter). Would be a nice feature, if done correctly, but I'm not about to suggest it to the developers and find out that the sleep-deprived Angus knows where I live. :-) /Paul
Re: double superscript a lyx bug?
Sven Schreiber schrieb: Hi, I just ran into the same thing reported by Bo Peng a short while ago -- if in math you make an explicit superscript but also append a ' as a shortcut for prime (= matrix transpose sign here), latex complains about double superscript. I know how to workaround, but I read somewhere that lyx tries to produce correct latex files (absent any ERT). So, is this a bug by official standards? Yes it is, there is already a bug report at bugzilla: http://bugzilla.lyx.org/show_bug.cgi?id=1633 where you can find a detailed explanation of the problem. For a german explanation have a look at chapter 16.4 of http://wiki.lyx.org/uploads/LyX/LyXMathebefehle/LyXMathebefehle.pdf (from http://wiki.lyx.org/LyX/LyXMathebefehle ) regards Uwe
Re: Automatic formatting of a particular word?
On Wed, 22 Feb 2006 11:36:13 +0100, Karsten Heymann [EMAIL PROTECTED] said: Karsten Hi Stephen, (your OE does strange quoting, please fix it, Karsten it's difficult to see who'se written what. thanks. Maybe the Karsten following link ist interesting too: Karsten http://home.in.tum.de/~jain/software/oe-quotefix/) Karsten Stephen Harris schrieb: Though the syntax of \DeclareRobustCommand is probably older than \providecommand? Karsten You're reaching the borders of my LaTeX knowledge, but Karsten fortunately there is google groups :) Karsten Maybe Karsten http://groups.google.com/group/comp.text.tex/browse_thread/thread/ Karsten 1f502a2d05d09f67/ba2e854e2274491f Karsten or Karsten http://groups.google.com/group/comp.text.tex/browse_thread/thread/ Karsten 43979d37f901cb5e/395907c6db8808ec Karsten (one line each) will help. Have a look at usrguide.dvi/pdf Karsten too. Karsten Yours, Karsten Stephen Harris replied: I've noticed two logo styles, texnames.sty and texlogos.sty. Since texlogos.sty uses \DeclareRobustCommand rather than \providecommand, I wondered which was best or most current, because the documentation seems to favor \DeclareRobustCommand but in any event supports your advice to use Latex commands. --- From clsguide.pdf, the only entry mentioning \providecommand 1. Thus, instead of using \def... we recommend using one of \newcommand, \renewcommand or \providecommand; \CheckCommand is also useful. Doing this makes it less likely that you will inadvertently redefine a command, giving unexpected results. --- clsguide.pdf, three of six entries re: \DeclareRobustCommand 1. This command takes the same arguments as \newcommand but it declares a robust command, even if some code within the definition is fragile. You can use this command to define new robust commands, or to redefine existing commands and make them robust. -- 2. Because LATEX2e supports different encodings, definitions of commands for producing symbols, accents, composite glyphs, etc. must be defined using the commands provided for this purpose and described in LATEX2 Font Selection. This part of the system is still under development so such tasks should be undertaken with great caution. Also, \DeclareRobustCommand should be used for encoding-independent commands of this type. 3. LATEX 2.09 used several commands beginning with \p in order to provide `protected'commands. For example, \LaTeX was defined to be \protect\pLaTeX, and \pLaTeX was defined to produce the LATEX logo. This made \LaTeX robust, even though \pLaTeX was not. These commands have now been reimplemented using \DeclareRobustCommand (described in Section 4.10). If your package redefined one of the \p-commands then you must remove the redefinition and use \DeclareRobustCommand to redefine the non-\p command. - Xemacs Supercite regards, Stephen
Re: LyX on Cygwin
Stephen Harris [EMAIL PROTECTED] writes: I did not succeed in compiling Qt. I got the files in the right directory with cvs, but the ./configure failed quickly with the error make: *** [project.o] Error 1 qmake failed to build. Aborting Probably this is because the qt3/include dir should be populated first. I had that dir already populated by a previous MinGW build, so I forgot to add the instructions to do so. I have updated the Qt patches and the howto at http://wiki.lyx.org/LyX/LyXOnCygwin Is this line correctly typed? ./configure -platform cygwin-g++-win32 -v -release -static also I didn't put a backslash \, at the end of the continued configure lines of switches, but that didn't seem to matter. Yes it is. You can type all switches in a very long line. I am not motivated to put much effort into troubleshooting as I wanted to look at Pre5 now, but the final release is due soon. ;-) -- Enrico
Re: Automatic formatting of a particular word?
- Original Message - From: Herbert Voss [EMAIL PROTECTED] To: lyx-users@lists.lyx.org Sent: Wednesday, February 22, 2006 3:20 AM Subject: Re: Automatic formatting of a particular word? Stephen Harris wrote: - Original Message - From: Karsten Heymann [EMAIL PROTECTED] To: lyx-users@lists.lyx.org Sent: Wednesday, February 22, 2006 1:06 AM Subject: Re: Automatic formatting of a particular word? Hi Stephen, and put it in macros.tex and load it with \input macros and use it in LyX with automatic expansion, even if it weren't hardwired like Uwe's example? Better do it the LateX way: write a simple sty nyxlogo.sty and put that \providecommand*{\NyX}{...} in there (look at clsguide.dvi/pdf on how to do that). Yours, Karsten That does seem simpler. Thanks for the explanation, it led me to discover texlogos.sty which contains the Metapost and Metafont logos as well as BibTex so it serves as a model. %% Displays the BibTeX logo. %% \DeclareRobustCommand{\bibtexlogo}{% \protect\scalebox{0.75}[1]{B}% \protect\scalebox{0.5625}[0.75]{IB}\TeX} SH: Though the syntax of \DeclareRobustCommand is probably older than \providecommand? -- HVoss: no, it is quite different. \section{\bibtexlogo} is possible, because it is a robust macro and _not_ expanded, when it is going also into the table of contents. Otherwise it won't work, it moves not as a macro into the *.toc file, but fully expanded, which often causes errors. Herbert - SH: Thanks for your comment, it clarifies the fragile/robust distinction. Uwe wrote that the following command is hardcoded in LyX: [EMAIL PROTECTED] - SH: Is that robust because it is hardcoded? Would \DeclareRobustCommand work better for inclusion in a created document using a style file than \providecommand ? I read this in clsguide.pdf: --- Because LATEX2e supports different encodings, definitions of commands for producing symbols, accents, composite glyphs, etc. must be defined using the commands provided for this purpose and described in LATEX2e Font Selection. This part of the system is still under development so such tasks should be undertaken with great caution. Also, \DeclareRobustCommand should be used for encoding-independent commands of this type. LATEX 2.09 used several commands beginning with \p in order to provide `protected'commands. For example, \LaTeX was defined to be \protect\pLaTeX, and \pLaTeX was defined to produce the LATEX logo. This made \LaTeX robust, even though \pLaTeX was not. These commands have now been reimplemented using \DeclareRobustCommand (described in Section 4.10). If your package redefined one of the \p-commands then you must remove the redefinition and use \DeclareRobustCommand to redefine the non-\p command. - Best regards, Stephen
Re: lyx compatibility to MsWord etc
- Original Message - From: Andre Poenitz [EMAIL PROTECTED] To: Tom Tom [EMAIL PROTECTED] Cc: lyx-users@lists.lyx.org Sent: Wednesday, February 22, 2006 10:03 AM Subject: Re: lyx compatibility to MsWord etc On Tue, Feb 21, 2006 at 08:50:45AM -0800, Tom Tom wrote: I have read something about lyx-latex-rtf-doc . This sounds not really promising, I guess all the layout will be lost?! Any ideas / experience with something like that? Yes. It basically does not work properly. However, as your professors aren't supposed to mess around with your thesis, producing a .pdf should be completely sufficient. Andre' Adobe Acrobat Pro has the best pdf commenting tools available. It is expensive, but you can input your standard .pdf thesis file (exported or View/save) from LyX. You could also open that file on somebody elses Pro and enable commenting. You can use yellow notes, arrows, highlighting and more. You can save the commenting enabled pdf file on cd or email it. There is also ftp software to connect to computers and do large file transfers. This feature was a main selling point of Pro 7. I dual boot and if I new of a Open Source tool as good, I would recommend it. Tech writers moved away from Word because it has/had a horrible Master Document ineptitude. I've read a few dozen complaints about people using Word and losing their thesis if they dont know to take extreme backup precautions. Maybe Word2003 is better but I haven't heard that. The other program that does well with equations, but is costly, and has a learning curve is FrameMaker. Find somebody who owns Pro. There is no software to install and the commenting is quite intuitive. Maybe you could write sections in Word if they won't do Pro edits, which also does conversion between Word and .pdf. Maybe there is a Pro educational version without limitations. Currently I think tex4ht will convert latex to html. Then the html can be imported by Word. This doesn't work great. Regards, Stephen
Re: Automatic formatting of a particular word?
On Tue, Feb 21, 2006, Andre Poenitz wrote: That's like the user calling the help desk because she cannot find the any key on her keyboard. But the instructions say to press any key! I keep telling people that the 'any key' is the '5' on the numeric keys block. It works and has not much potential to break thing when hit at the wrong time. But I have a laptop, with no numeric keypad! Does this mean I can't use LyX??
Re: LyX on Cygwin
On Thu, 23 Feb 2006 00:33:06 + (UTC), Enrico Forestieri [EMAIL PROTECTED] said: Enrico Stephen Harris [EMAIL PROTECTED] writes: I did not succeed in compiling Qt. I got the files in the right directory with cvs, but the ./configure failed quickly with the error make: *** [project.o] Error 1 qmake failed to build. Aborting Enrico Probably this is because the qt3/include dir should be Enrico populated first. I had that dir already populated by a Enrico previous MinGW build, so I forgot to add the instructions to Enrico do so. I have updated the Qt patches and the howto at Enrico http://wiki.lyx.org/LyX/LyXOnCygwin Enrico -- Enrico - SH: Ok, I will give it another try. I did notice an apparent discrepancy in the instuctions from the LyXonCygwin page: - In this howto all examples are shown for tcsh, but it is trivial to change them for bash. Mainly, it is simply a matter of substituting export XXX=YYY in place of setenv XXX YYY (or simply use tcsh instead of bash). -- If your Qt source tree is not in /usr/local/src/qt3, you should now modify as appropriate the following line export QTDIR=/usr/local/src/qt3 at the very start of the following sh scripts: config.tests/unix/endian.test config.tests/unix/ipv6.test config.tests/unix/largefile.test config.tests/unix/ptrsize.test config.tests/unix/stl.test - SH: It appears to me that export QTDIR=/usr/local/src/qt3 is written in bash syntax rather than all tcsh syntax? I did try the tcsh shell and I liked how it displayed the contents (directory vs. file). I have a Mingw directory of Qt3 from LyX140-pre3 already but I will follow the instructions on the webpage as a proof of concept (hope). I'm (un?)fortunately perfectionistic. Supercitelfully yours, Stephen
Re: LyX on Cygwin
Stephen Harris [EMAIL PROTECTED] writes: SH: Ok, I will give it another try. I did notice an apparent discrepancy in the instuctions from the LyXonCygwin page: - In this howto all examples are shown for tcsh, but it is trivial to change them for bash. Mainly, it is simply a matter of substituting export XXX=YYY in place of setenv XXX YYY (or simply use tcsh instead of bash). -- If your Qt source tree is not in /usr/local/src/qt3, you should now modify as appropriate the following line export QTDIR=/usr/local/src/qt3 at the very start of the following sh scripts: config.tests/unix/endian.test config.tests/unix/ipv6.test config.tests/unix/largefile.test config.tests/unix/ptrsize.test config.tests/unix/stl.test - SH: It appears to me that export QTDIR=/usr/local/src/qt3 is written in bash syntax rather than all tcsh syntax? Yes, that's correct. Indeed, those scripts are Bourne shell scripts. I use tcsh for interactive working, but sh (or bash) is better for scripting. So, what you should enter on the command line is in tcsh syntax, whereas the scripts are in sh syntax. I did try the tcsh shell and I liked how it displayed the contents (directory vs. file). I have a Mingw directory of Qt3 from LyX140-pre3 already but I will follow the instructions on the webpage as a proof of concept (hope). I'm (un?)fortunately perfectionistic. I think that you are right. I myself followed those instructions and downloaded again from scratch the Qt sources, thus finding the problem of the not populated include dir. Had you used your existing Qt3 directory you would have had no problems ;-) Please, download again the qt3-cygwin.patch file as I updated it. Applying that patch you will find the link_includes script in the bin directory. This is the script that should be run before the configure command to populate the include dir. You should also revert the previous patch. I think that it can be done using the -R switch to the patch command, but perhaps it is better if you simply delete all patched files and then do a cvs update to have them freshly restored. Also, pay attention to the updated instructions on the wiki as I added a switch to the tar command used to copy the includes such that it dereferences the symlinks created by link_includes. -- Enrico
Re: LyX on Cygwin
- Original Message - From: Enrico Forestieri [EMAIL PROTECTED] To: lyx-users@lists.lyx.org Sent: Wednesday, February 22, 2006 8:10 PM Subject: Re: LyX on Cygwin Stephen Harris [EMAIL PROTECTED] writes: SH: Ok, I will give it another try. I did notice an apparent discrepancy in the instuctions from the LyXonCygwin page: I have a Mingw directory of Qt3 from LyX140-pre3 already but I will follow the instructions on the webpage as a proof of concept (hope). I'm (un?)fortunately perfectionistic. I think that you are right. I myself followed those instructions and downloaded again from scratch the Qt sources, thus finding the problem of the not populated include dir. Had you used your existing Qt3 directory you would have had no problems ;-) Please, download again the qt3-cygwin.patch file as I updated it. Applying that patch you will find the link_includes script in the bin directory. This is the script that should be run before the configure command to populate the include dir. SH: I removed the entire qt3 directory and started over. You should also revert the previous patch. I think that it can be done using the -R switch to the patch command, but perhaps it is better if you simply delete all patched files and then do a cvs update to have them freshly restored. SH: I downloaded the patch and it apparently worked. Also, pay attention to the updated instructions on the wiki as I added a switch to the tar command used to copy the includes such that it dereferences the symlinks created by link_includes. -- Enrico SH: The qt3 install got further this time but failed with this error: -DQT_NO_STL -DQT_NO_COMPRESS -I/usr/local/src/qt3/mkspecs/cygwin-g++-win32 -DAVE_QCONFIG_CPP /usr/local/src/qt3/src/tools/qglobal.cpp In file included from /usr/local/src/qt3/src/tools/qglobal.cpp:38: /usr/local/src/qt3/mkspecs/cygwin-g++-win32/qplatformdefs.h:67:20: resolv.h: No such file or directory make: *** [qglobal.o] Error 1 SH: I have been using X-Win32 as my X server. In order to make our systems closer, I downloaded most of the X11 files and headers. But I seem to remember something about xforms. Are they still needed even though the build is with qt3? I searched Cygwin and there were no hits for xforms. Is this required and how about xpm? http://savannah.nongnu.org/download/xforms/xforms-1.0.90.tar.gz I may try this again with my old qt3 directory as the QTsrcdir. Regards, Stephen
Re: TIPA (IPA) and limited tree support previews in LyX, working!
Stacia Hartleben wrote: Did anyone find out how to make it so glosses go under the nodes on the tree - usually with the // command? I think you have to fool mathed. The following hack works for me (the mathematicians might come up with a better solution): In preamble: \newcommand{\breakline}{\\} (the LaTeX commands \linebreak and \newline do not work) And then: \Tree[.S [.N This\breakline Das ] [.V is\breakline ist ] [.NP [.Det a\breakline ein ] [.N test\breakline Versuch ] ] ] Also, is there a way to make it automatically preview all of the images once you open a document other than clicking on the formula a bunch of times? It works for me automatically, albeit I have to wait a bit sometimes until the images are converted. HTH, Jürgen
Re: TIPA (IPA) and limited tree support previews in LyX, working!
Stacia Hartleben wrote: I added a few things to the Wiki. Feel free to flesh it out if you want and add new things (I don't do any optimality theory for examples so I won't be writing anything related to it) Well done. I have edited the TIPA documentation. Most notably, xytree is not needed at all to enter \textipa. Jürgen
Re: Automatic formatting of a particular word?
Hi Stephen, Stephen Harris schrieb: I have a question about this. My knowledge is theoretical rather than practical and draws upon Knuth's discussion of macros/definitions in The TeXbook concerning the TeX logo plus chapter twenty, Knuth: The TeXbook is great if you want to learn to program TeX. If you want to use LaTeX you should not use it as primary source of information. SH: Does this work with LyX? Suppose I wanted a better way of expressing, linux and unix, than *nix. So I invented the word NyX to substitute for *nix. And suppose this was a document which discussed LyX and I wanted to typeset the y in NyX like LyX and use it maybe 15 times so that it was worthwhile to create it. You're mixing up two things. One is that it is possible to define LaTeX commands for special Logo Words, like \LaTeX, \TeX, \BibteX and so on. This could be done with a command like [EMAIL PROTECTED] (don't use the \setbox / \tenrm stuff, that's plain TeX and doesn't mix well with LaTeX font selection). The other is that LyX replaces some hardcoded strings like LaTeX, TeX, LyX with those logo commands (\TeX, \LaTeX, \LyX, it even replaces occurences of TeX inside words like »myWayTooCoolTeX«!). ATM and AFAIK there is no user interface for that, so you have to either patch you LyX version to recognize NyX as well or (better!) use ERT:\NyX{}. (Or you make the N active and try to detect occurences of NyX on TeX processing level. (not really ;-))). So could I create a definition for NyX \NyX\ (or any word for that matter) Yes, definitely and put it in macros.tex and load it with \input macros and use it in LyX with automatic expansion, even if it weren't hardwired like Uwe's example? Better do it the LateX way: write a simple sty nyxlogo.sty and put that \providecommand*{\NyX}{...} in there (look at clsguide.dvi/pdf on how to do that). Yours, Karsten
Re: Automatic formatting of a particular word?
- Original Message - From: Karsten Heymann [EMAIL PROTECTED] To: lyx-users@lists.lyx.org Sent: Wednesday, February 22, 2006 1:06 AM Subject: Re: Automatic formatting of a particular word? Hi Stephen, and put it in macros.tex and load it with \input macros and use it in LyX with automatic expansion, even if it weren't hardwired like Uwe's example? Better do it the LateX way: write a simple sty nyxlogo.sty and put that \providecommand*{\NyX}{...} in there (look at clsguide.dvi/pdf on how to do that). Yours, Karsten That does seem simpler. Thanks for the explanation, it led me to discover texlogos.sty which contains the Metapost and Metafont logos as well as BibTex so it serves as a model. %% Displays the BibTeX logo. %% \DeclareRobustCommand{\bibtexlogo}{% \protect\scalebox{0.75}[1]{B}% \protect\scalebox{0.5625}[0.75]{IB}\TeX} Though the syntax of \DeclareRobustCommand is probably older than \providecommand? Regards, Stephen
lyx compatibility to MsWord etc
Hi all, I am about to begin to write up my Phd-thesis and would like to do this in lyx. One thing that worries me is that the Profs who will correct it are working in MsWord! Is there an tested/validated way to convert lyx files to .doc? I have read something about lyx-latex-rtf-doc . This sounds not really promising, I guess all the layout will be lost?! Any ideas / experience with something like that? Thanks a lot! L. __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com
Re: Automatic formatting of a particular word?
Hi Stephen, (your OE does strange quoting, please fix it, it's difficult to see who'se written what. thanks. Maybe the following link ist interesting too: http://home.in.tum.de/~jain/software/oe-quotefix/) Stephen Harris schrieb: Though the syntax of \DeclareRobustCommand is probably older than \providecommand? You're reaching the borders of my LaTeX knowledge, but fortunately there is google groups :) Maybe http://groups.google.com/group/comp.text.tex/browse_thread/thread/ 1f502a2d05d09f67/ba2e854e2274491f or http://groups.google.com/group/comp.text.tex/browse_thread/thread/ 43979d37f901cb5e/395907c6db8808ec (one line each) will help. Have a look at usrguide.dvi/pdf too. Yours, Karsten
Re: lyx compatibility to MsWord etc
Tom Tom wrote: Hi all, I am about to begin to write up my Phd-thesis and would like to do this in lyx. One thing that worries me is that the Profs who will correct it are working in MsWord! The easiest way is to give pdf files to your supervisors. They print it, mark it and gave them back to you. Is there an tested/validated way to convert lyx files to .doc? I have read something about lyx-latex-rtf-doc . This sounds not really promising, I guess all the layout will be lost?! No, the tex - doc converters are today much more powerful than they were a couple of years ago and you will be able to keep most of your layout. The most powerful way is lyx - latex - oowriter -- doc with tex4ht The alternative way is lyx - latex - rtf with rtf2latex Tex4ht is more powerful with bibliographies and custom environments. rtf2latex has a more limited set of features but is fast and easier to use. It all depends on what you are writing. Create an example with the most complex stuff you will be writing (math, tables, bibliography) and test conversion. Charles -- http://www.kde-france.org
Re: selecting special fonts
Stacia Hartleben wrote: Is there a better way to select special special fonts other than doing ERT? I know under character I can change it to san serif or whatever but for a special font I installed I have to do something like this: \usefont{T1}{stacish}{m}{n} \selectfont myword \usefont{T1}{ae}{m}{n} \selectfont in a huge ERT snippet. Yes, you should create a macro. In your preamble put something like : \newcommand\stacia [1]{\usefont{T1}{stacish}{m}{n}% \selectfont% #1% \normalfont} and then in your text an ert with for example \stacia{Hartleben} With LyX 1.4 you can even use the character style and do the last part without ert. It is documented in the Wiki. Look in your LaTeX manual how you can create macros. It is easy to do and can save you a lot of time. Cheers, Charles -- http://www.kde-france.org
Re: lyx compatibility to MsWord etc
Tom Tom writes: Hi all, I am about to begin to write up my Phd-thesis and would like to do this in lyx. One thing that worries me is that the Profs who will correct it are working in MsWord! Do you mean your readers? I would hope that their changes, comments, etc. are to be made with a red pencil. If you are lucky enough to have someone editing your work, then perhaps you can ask the person to install LyX? -Kevin -- Kevin Pfeiffer [EMAIL PROTECTED] Tiros-Translations
Managing of notes
Hello all, I'm writing a big lyx document and I use notes extensively for me to make the organization of text more clear. Is there any automated or manual way, using lyx or exporting lyx to latex and working out after with this, to make a document (in whatever format) including only the notes ? Thanks in advance.
Re: Automatic formatting of a particular word?
Stephen Harris wrote: - Original Message - From: Karsten Heymann [EMAIL PROTECTED] To: lyx-users@lists.lyx.org Sent: Wednesday, February 22, 2006 1:06 AM Subject: Re: Automatic formatting of a particular word? Hi Stephen, and put it in macros.tex and load it with \input macros and use it in LyX with automatic expansion, even if it weren't hardwired like Uwe's example? Better do it the LateX way: write a simple sty nyxlogo.sty and put that \providecommand*{\NyX}{...} in there (look at clsguide.dvi/pdf on how to do that). Yours, Karsten That does seem simpler. Thanks for the explanation, it led me to discover texlogos.sty which contains the Metapost and Metafont logos as well as BibTex so it serves as a model. %% Displays the BibTeX logo. %% \DeclareRobustCommand{\bibtexlogo}{% \protect\scalebox{0.75}[1]{B}% \protect\scalebox{0.5625}[0.75]{IB}\TeX} Though the syntax of \DeclareRobustCommand is probably older than \providecommand? no, it is quite different. \section{\bibtexlogo} is possible, because it is a robust macro and _not_ expanded, when it is going also into the table of contents. Otherwise it won't work, it moves not as a macro into the *.toc file, but fully expanded, which often causes errors. Herbert
Re: selecting special fonts
Charles de Miramon wrote: Stacia Hartleben wrote: Is there a better way to select special special fonts other than doing ERT? I know under character I can change it to san serif or whatever but for a special font I installed I have to do something like this: \usefont{T1}{stacish}{m}{n} \selectfont myword \usefont{T1}{ae}{m}{n} \selectfont in a huge ERT snippet. Yes, you should create a macro. In your preamble put something like : \newcommand\stacia [1]{\usefont{T1}{stacish}{m}{n}% \selectfont% #1% \normalfont} \newcommand\stacia[1]{% bgroup \usefont{T1}{stacish}{m}{n}\selectfont#1% \egroup} then and then in your text an ert with for example \stacia{Hartleben} and then in your text an ert with for {\large example \stacia{Hartleben} and so on} also works. Herbert
Re: selecting special fonts
Herbert Voss wrote: Charles de Miramon wrote: \newcommand\stacia[1]{% bgroup \usefont{T1}{stacish}{m}{n}\selectfont#1% \egroup} I guess it is \bgroup Herbert, can you explain what is the purpose of \begingroup \endgroup ? The TLC2 (my Bible) is not very clear about it. Cheers, Charles -- http://www.kde-france.org
color print problem (CMYK converted to RGB)
I just got a call from the printer who wanted to let me know that all the color images in our books were somehow converted from C4 (CMYK) to RGB. They caught this much later than it should have been, but it was caught and they were able to swap out the plates. Here are the steps that were followed: 1. Received TIFF (CMYK) images from printer (verified) 2. TIFF images placed in LyX 3. LaTeX to DVI output (TIFF in tmp file is still CMYK, but not the EPS files) 4. DVI file saved as Postscript 5. Postscript file delivered to printer. I checked the EPS's with Adobe Preflight and it reports that they are in fact RGB color space and not CMYK. Is this a problem with the ImageMagick conversion that LyX calls? Is this a configuration error on my part? Is it a known problem? I would be grateful for any advice or comments. -Kevin -- Kevin Pfeiffer [EMAIL PROTECTED] Tiros-Translations
Re: Managing of notes
_/ On Wed 22 Feb 2006 11:19:26 GMT, [Horacio] wrote : \_ Hello all, I'm writing a big lyx document and I use notes extensively for me to make the organization of text more clear. Is there any automated or manual way, using lyx or exporting lyx to latex and working out after with this, to make a document (in whatever format) including only the notes ? Thanks in advance. I used to be marking notes as Comment under LyX. After a few years I re- alised that Ctrl+I+N (quick route to note) catered for the inclusion of actual document structures (formatting) /and/ was foldable, so as to decrease the level of clutter. If you later want to produce, view or even print the 'notes component' of your LyX document, you could run a scanner to pick everything in between /Note delimiters in the raw in and and output everything to a separate file, which is formatted in line with LyX's convertions. You could then open or import it. There might be simpler solutions though. Hope it helps, Roy -- Roy S. Schestowitz http://Schestowitz.com
Re: TIPA (IPA) and limited tree support previews in LyX, working!
I have edited the TIPA documentation. Most notably, xytree is not needed at all to enter \textipa. thanks, jürgen! it's wonderful. on a related note... i have a bit of a problem with trees that contain greek letters (for syllables and moraic structure, for example): sigma / \ mu mu this should be easy to do, but for some reason lyx freezes when i try to typeset. i use lyx 1.3.7 and mac os 10.4.4. i enter the following in math/text mode: \Tree [.sigma symbol mu symbol mu symbol ] and all i get is errors (missing brackets, etc.). qtree is definitely working correctly, as i can view and typeset \Tree [.a b c ] w/o a problem. am i doing something wrong? does anyone know another way of making trees with greek letters as nodes? maria
Re: selecting special fonts
Charles de Miramon wrote: Herbert Voss wrote: Charles de Miramon wrote: \newcommand\stacia[1]{% bgroup \usefont{T1}{stacish}{m}{n}\selectfont#1% \egroup} I guess it is \bgroup Herbert, can you explain what is the purpose of \begingroup \endgroup ? The TLC2 (my Bible) is not very clear about it. inside a group everything is local. And I have the old behaviour after leaving this macro (group). Means same font, same lengths, etc Herbert
Re: TIPA (IPA) and limited tree support previews in LyX, working!
Maria Gouskova wrote: on a related note... i have a bit of a problem with trees that contain greek letters (for syllables and moraic structure, for example): sigma / \ mu mu this should be easy to do, but for some reason lyx freezes when i try to typeset. i use lyx 1.3.7 and mac os 10.4.4. i enter the following in math/text mode: \Tree [.sigma symbol mu symbol mu symbol ] The problem is that you are in math-text-mode at the moment. The greek letters have to be in math-math mode. That is \Tree [.$\sigma$ $\mu$ $\mu$ ] HTH, Jürgen
Re: TIPA (IPA) and limited tree support previews in LyX, working!
The problem is that you are in math-text-mode at the moment. The greek letters have to be in math-math mode. That is \Tree [.$\sigma$ $\mu$ $\mu$ ] oh, duh... okay, it's going in the linguist-lyx wiki. maria
eqnarray environement
hello, I'm using Lyx 1.3.7 and I can not put a set of equations defined with eqnarry in curly brakets After compiling I always get severals errors . Can you please help me? Thanks in advance, Eric. -- Eric Germaneau * " Reason" in things existed before things themselves existed and all the changes in things were governed by it. Zhu Xi. Eric Germaneau Assistant Doctorant Ecole polytechnique fédérale de Lausanne (EPFL) FSB - IPMC Laboratoire de Cristallographie(LCr) BSP 518 CH-1015 Lausanne Switzerland [EMAIL PROTECTED] Tel.: +41 (0)21 / 693 06 36 Fax.: +41 (0)21 / 693 05 04
Mayday: problem with french quotation marks
I just reinstalled LyX 1.3.5 on a brand new computer. I'm writing in french and use french guillemets and for quotation. At least I try to, as they appear as spanish upside down exclamation-mark and question-mark. I remember having the problem once but can't figure out how I solved it. I use latin9 coding and french both in Preferences and Document. Other combination like french (gutemberg) or other codings won't do any good. Please help... Thanks, -- Alain DIDIERJEAN Puisque ces mystères nous dépassent Feignons d'en être l'organisateur.
Mayday: problem with french quotation marks
I just reinstalled LyX 1.3.5 on a brand new computer. I'm writing in french and use french guillemets and for quotation. At least I try to, as they appear as spanish upside down exclamation-mark and question-mark. I remember having the problem once but can't figure out how I solved it. I use latin9 coding and french both in Preferences and Document. Other combination like french (gutemberg) or other codings won't do any good. Please help... Thanks, -- Alain DIDIERJEAN Puisque ces mystères nous dépassent Feignons d'en être l'organisateur.
Mayday: problem with french quotation marks
I just reinstalled LyX 1.3.5 on a brand new computer. I'm writing in french and use french guillemets and for quotation. At least I try to, as they appear as spanish upside down exclamation-mark and question-mark. I remember having the problem once but can't figure out how I solved it. I use latin9 coding and french both in Preferences and Document. Other combination like french (gutemberg) or other codings won't do any good. Please help... Thanks, -- Alain DIDIERJEAN Puisque ces mystères nous dépassent Feignons d'en être l'organisateur.
Re: eqnarray environement
Eric Germaneau schrieb: hello, I'm using Lyx 1.3.7 and I can not put a set of equations defined with eqnarry in curly brakets After compiling I always get severals errors . Can you please help me? I need a small example LyX-file. If you could understand german, you'll find all necessary informations about LyX and math here: http://wiki.lyx.org/LyX/LyXMathebefehle http://wiki.lyx.org/uploads/LyX/LyXMathebefehle/LyXMathebefehle.pdf regards Uwe
replacing with a protected blank
I have a legal document that I converted from ooo (.odt) to .lyx It has a lot of periods that must be followed by protected blank, for example: The /Dancing Goats Act/, S.O., 1997, c. D.12, ss. 30--31. Here, c. and ss. must have a Ctrl+space after them. How do I search and replace? Do you use the lyx environment, or start a text editor and do it there? Also, unrelated (I might need to start a separate thread, I know...) How can I use a separate font for my footnotes, say I want to use Sabon {lsbx} where the default font is, say {charter}?
Re: How to convert letter to math symbol/font in 1.3+?
On Tue, Feb 21, 2006 at 03:45:16PM +1300, John McCabe-Dansted wrote: I recall that in 1.2 we could convert a ordinary letter to math font simply by selecting it and pressing cntl-M. In 1.3 it converts it into math mode, but leaves it in the original font. Is there an easy way to convert letters into math font in 1.3+? Put a '$' in front of it, mark the $ and your letter, hit Ctrl-M. Andre'
Re: Automatic formatting of a particular word?
On Mon, Feb 20, 2006 at 02:36:01PM -0800, Rich Shepard wrote: On Mon, 20 Feb 2006, Kevin Pfeiffer wrote: ... how can I get this behavior with any word? Good question. Maybe Herbert or someone else can help. That's like the user calling the help desk because she cannot find the any key on her keyboard. But the instructions say to press any key! I keep telling people that the 'any key' is the '5' on the numeric keys block. It works and has not much potential to break thing when hit at the wrong time. Andre'
Re: Automatic formatting of a particular word?
On Mon, Feb 20, 2006 at 10:58:38PM +0100, Kevin Pfeiffer wrote: Joerg Hau writes: Inserting ERT in the text is exactly the opposite of what I want to do. An example of what I am looking for: Open a document in LyX, write e.g. LyX is a kind of LaTeX frontend (upper/lowercase!), and go to the preview ... the two words LyX and LaTeX are displayed in their very particular style, but without any need to have them ERT'd. This was a very early hard-coded feature of LyX and only recognized a few words, i.e. basically 'cute but not scalable'. Andre'
Still: citation reference is wrong
The problem continues to exist: Matthias Schmidt schrieb am Dienstag, 21. Februar 2006 um 17:32: I`m working with WinXP, Lyx 1.3.7 and JabRef 2.0.1. The citation reference is positioned in the footnote. The bibliography for the document is formatted as natbib and author-year. So far so good: in the Lyx user interface the result is given correct as in this case Gerhard (1953). So: Lyx can find the name of the author. But in the dvi-preview and in the pdf-print is the citation reference printed as (author ?)[2] Here the name of the author cannot be found. It should be something with autor and year. What has happened there? What's wrong? Paul answered: Maybe LyX is not running latex often enough? If you export the document as LaTeX and run latex three or four times against it, does the DVI eventually come out correctly? Herbert answered: I suppose, that you enabled the bibliography not from within LyX. If so, then you have to run bibtex by yourself, which is not the best choice ... use LyX for with insert-bibliography. well, I checked it: latex is running 3 times, and the bibliography is inserted within Lyx. So, the problem continues to exist! I don't understand, why I can see the citation reference in Lyx correct, but in the dvi-preview and pdf-print it is wrong -- Mit freundlichen Grüssen Matthias Schmidt mailto:[EMAIL PROTECTED] -- Mit freundlichen Grüssen Matthias Schmidt mailto:[EMAIL PROTECTED] Virus checked by G DATA AntiVirusKit ___ Telefonate ohne weitere Kosten vom PC zum PC: http://messenger.yahoo.de
double superscript a lyx bug?
Hi, I just ran into the same thing reported by Bo Peng a short while ago -- if in math you make an explicit superscript but also append a ' as a shortcut for prime (= matrix transpose sign here), latex complains about double superscript. Minimal lyx file is embedded below, but I guess only \begin_inset Formula $a^{*}'$ actually matters. I know how to workaround, but I read somewhere that lyx tries to produce correct latex files (absent any ERT). So, is this a bug by official standards? -Sven #LyX 1.3 created this file. For more info see http://www.lyx.org/ \lyxformat 221 \textclass article \language ngerman \inputencoding auto \fontscheme times \graphics default \paperfontsize 11 \spacing single \papersize a4paper \paperpackage a4 \use_geometry 1 \use_amsmath 1 \use_natbib 0 \use_numerical_citations 0 \paperorientation portrait \leftmargin 3cm \topmargin 2.5cm \rightmargin 3cm \bottommargin 2cm \headheight 1.5cm \headsep 0.5cm \footskip 1cm \secnumdepth 3 \tocdepth 3 \paragraph_separation skip \defskip medskip \quotes_language english \quotes_times 2 \papercolumns 1 \papersides 1 \paperpagestyle fancy \layout Standard \lang english \begin_inset Formula $a^{*}'$ \end_inset \the_end
Re: TIPA (IPA) and limited tree support previews in LyX, working!
Thanks for updating the Wiki guys, you put a lot of stuff in there that I didn't know about!! Did anyone find out how to make it so glosses go under the nodes on the tree - usually with the // command? Also, is there a way to make it automatically preview all of the images once you open a document other than clicking on the formula a bunch of times? On 2/22/06, Maria Gouskova [EMAIL PROTECTED] wrote: The problem is that you are in math-text-mode at the moment. The greek letters have to be in math-math mode. That is \Tree [.$\sigma$ $\mu$ $\mu$ ] oh, duh... okay, it's going in the linguist-lyx wiki. maria
Re: double superscript a lyx bug?
Sven Schreiber wrote: Hi, I just ran into the same thing reported by Bo Peng a short while ago -- if in math you make an explicit superscript but also append a ' as a shortcut for prime (= matrix transpose sign here), latex complains about double superscript. Minimal lyx file is embedded below, but I guess only \begin_inset Formula $a^{*}'$ actually matters. ' looks ugly, use ${a^{*}}^\prime$ or $a^{*\prime}$ Herbert
Re: lyx compatibility to MsWord etc
On Tue, Feb 21, 2006 at 08:50:45AM -0800, Tom Tom wrote: I have read something about lyx-latex-rtf-doc . This sounds not really promising, I guess all the layout will be lost?! Any ideas / experience with something like that? Yes. It basically does not work properly. However, as your professors aren't supposed to mess around with your thesis, producing a .pdf should be completely sufficient. Andre'
Re: lyx compatibility to MsWord etc
On Wed, 22 Feb 2006, Andre Poenitz wrote: However, as your professors aren't supposed to mess around with your thesis, producing a .pdf should be completely sufficient. Andre', Who are you kidding? Thesis/dissertation advisors and committees will mess with both your work and your head. :-) One of the major benefits of successfully defending my dissertation (a very long time ago) was not having to assemble my committee of five faculty ever again. Rich -- Richard B. Shepard, Ph.D. | Author of Quantifying Environmental Applied Ecosystem Services, Inc. (TM) | Impact Assessments Using Fuzzy Logic http://www.appl-ecosys.com Voice: 503-667-4517 Fax: 503-667-8863
Re: lyx compatibility to MsWord etc
I successfully persuaded my adviser to install lyx. He does not know how to insert a formula, but making small changes has been easy. BTW, with the new windows installer (I mean the non-official one), even your advisor can install lyx. :-) Bo.
Re: LyX fails picture conversion
On 2/21/06, Stephen Harris [EMAIL PROTECTED] wrote: I have just installed dvipdfmx, but when running it, I get $ dvipdfmx test2.dvi teste2.dvi - test2.pdf ** WARNING ** Failed to load AGL file glyphlist.txt... [1] 7284 bytes written $ Notwithstanding, pdf file is generated. You can use find / -name glyphlist.txt to see if the file exists and where it is installed. [Perhaps /usr/share/texmf/dvipdfm/glyphlist.txt] So if you already have the file, that narrows the problem down. :-) Did you run texconfig rehash after you installed the package in order to refresh the Tetex filename database (fndb)? As I said before, Stephen, running the command texhash suffices to solve the reported problem. Paul
Looking for way of writing pseudocode
Dear All I need to write some pseudocode. Is there some specific package? Or it suffices LyX code? Thanks in advance, Paul
Re: Looking for way of writing pseudocode
lyx code is good. otherwise have a look at the listings package martin On 22/02/06, Paul Smith [EMAIL PROTECTED] wrote: Dear All I need to write some pseudocode. Is there some specific package? Or it suffices LyX code? Thanks in advance, Paul
En: Figures location
Hi folks, Does anyone know a solution for the problem I reported previously? Thanks in advance, AnaObservação: mensagem anexa encaminhada. Yahoo! Acesso Grátis Internet rápida e grátis. Instale o discador agora!---BeginMessage--- Hi all, I´m writing a document with a lot of figures. I´m succeeding to convert these figures, but in despite I´m using the advanced placement option Here definetely, all the figures are being displayed in the beginning of the page, instead of in the place I added them in the source document. Is it possible that another document layout option is affecting the whole document, and how can I turn off this option? Thanks in advance, Ana - Yahoo! Search Dê uma espiadinha e saiba tudo sobre o Big Brother Brasil.---End Message---
Re: replacing with a protected blank
mail.k writes: I have a legal document that I converted from ooo (.odt) to .lyx It has a lot of periods that must be followed by protected blank, for example: [...] How do I search and replace? Do you use the lyx environment, or start a text editor and do it there? Well, if one could search and replace ERTs in LyX, for example, you would have no problem. One way would be to do this in a text editor on a copy of your LyX file. If you are careful and comfortable doing this, the period/space, for example, needs to be replaced with: \SpecialChar ~ But try this on a copy of the file just in case. -Kevin -- Kevin Pfeiffer [EMAIL PROTECTED] Tiros-Translations
Re: Looking for way of writing pseudocode
Paul Smith wrote: Dear All I need to write some pseudocode. Is there some specific package? Or it suffices LyX code? Thanks in advance, Paul You could use one of the following LaTeX package (Probably there are more): pseudocode alg algorithm2e you need to go to http://www.ctan.org/ and choose the type you prefer