multicolumn or whatever
I want to use cell 2 and 3 of the uppermost row of a table without a border for a common heading), but the cells below this header in column 2 and 3 should be separated. I have tried to follow the descriptions in the documents, but I can't get it work. It always takes off the border between the cells below too, whether I mark the cell 2 and 3 of the first row as multicolumn or whether I remove the corrersponding border. How can I restict removal of just one border in a cell to this cell? There must be a simple trick which I haven't grasped. Could somebody help? I include the table as a .lyx sample (`no magnet' should cover cell 2 and 3, same with `magnet'). Thanks! #This file was created by wolfgang Tue Mar 7 09:30:29 2000 #LyX 1.0 (C) 1995-1999 Matthias Ettrich and the LyX Team \lyxformat 2.15 \textclass article \language default \inputencoding default \fontscheme default \graphics default \paperfontsize default \spacing single \papersize Default \paperpackage a4 \use_geometry 0 \use_amsmath 0 \paperorientation portrait \secnumdepth 3 \tocdepth 3 \paragraph_separation indent \defskip medskip \quotes_language english \quotes_times 2 \papercolumns 1 \papersides 1 \paperpagestyle default \layout Standard Re: Multicolumn \layout Standard I want to use cell 2 and 3 of the uppermost row of a table without a border (for a common heading), but the cells below this header in column 2 and 3 should be separated. I have tried to follow the descriptions in the documents, but I can't get it work. It always takes off the border between the cells below too, whether I mark the cell 2 and 3 of the first row as multicolumn or whether I remove the corrersponding border. How can I restict removal of just one border in a cell to this cell? There must be a simple trick which I haven't grasped. Could somebody help? I include the table as a .lyx sample (`no magnet' should cover cell 2 and 3, same with `magnet'). \layout Standard \added_space_top 0.3cm \added_space_bottom 0.3cm \align center a \layout Standard \added_space_top 0.3cm \added_space_bottom 0.3cm \align center \LyXTable multicol5 8 5 0 0 -1 -1 -1 -1 1 1 0 0 1 1 0 0 1 1 0 0 1 1 0 0 0 0 0 0 1 1 0 0 1 0 0 0 1 1 0 0 2 1 1 "" "" 8 1 0 "" "" 2 1 1 "" "" 8 1 1 "" "" 8 0 1 "" "" 0 2 1 0 0 0 0 "" "" 1 8 1 1 0 0 0 "" "" 0 2 1 1 0 0 0 "" "" 1 8 1 1 0 0 0 "" "" 1 8 1 1 0 0 0 "" "20mm" 0 8 1 0 0 0 0 "" "" 0 8 1 0 0 0 0 "" "" 0 2 1 0 0 0 0 "" "" 0 8 1 0 0 0 0 "" "" 0 8 1 0 0 0 0 "" "" 1 2 1 1 0 0 0 "" "" 0 8 1 0 0 0 0 "" "" 0 8 1 0 0 0 0 "" "" 0 8 1 0 0 0 0 "" "" 0 8 1 0 0 0 0 "" "" 0 8 1 0 0 0 0 "" "" 0 8 1 0 0 0 0 "" "" 0 8 1 0 0 0 0 "" "" 0 8 1 0 0 0 0 "" "" 0 8 1 0 0 0 0 "" "" 0 2 1 0 0 0 0 "" "" 0 8 1 0 0 0 0 "" "" 0 8 1 0 0 0 0 "" "" 0 8 1 0 0 0 0 "" "" 0 8 1 0 0 0 0 "" "" 0 8 1 0 0 0 0 "" "" 0 8 1 0 0 0 0 "" "" 0 8 1 0 0 0 0 "" "" 0 8 1 0 0 0 0 "" "" 0 8 1 0 0 0 0 "" "" 0 8 1 0 0 0 0 "" "" 0 8 1 0 0 0 0 "" "" 0 8 1 0 0 0 0 "" "" 0 8 1 0 0 0 0 "" "" 0 8 1 0 0 0 0 "" "" 0 8 1 0 0 0 0 "" "" 0 8 1 0 0 0 0 "" "" 0 8 1 0 0 0 0 "" "" 0 8 1 0 0 0 0 "" "" 0 8 1 0 0 0 0 "" "" \newline no magnet \newline \newline magnet \newline \newline experiment \newline amplitude \newline period [min] \newline amplitude \newline period [min] \newline a \newline \begin_inset Formula \( 82.57\pm 15.07 \) \end_inset \newline \begin_inset Formula \( 6.05\pm 0.07 \) \end_inset \newline \begin_inset Formula \( 63.78\pm 21.63 \) \end_inset \newline \begin_inset Formula \( 7.14\pm 0.35 \) \end_inset \newline b \newline \begin_inset Formula \( 62.08\pm 1.58 \) \end_inset \newline \begin_inset Formula \( 5.62\pm 0.14 \) \end_inset \newline \begin_inset Formula \( 68.21\pm 7.91 \) \end_inset \newline \begin_inset Formula \( 5.94\pm 0.01 \) \end_inset \newline \newline \begin_inset Formula \( 64.45\pm 0.72 \) \end_inset \newline \begin_inset Formula \( 5.90\pm 0.47 \) \end_inset \newline \begin_inset Formula \( 69.69\pm 1.38 \) \end_inset \newline \begin_inset Formula \( 6.31\pm 0.39 \) \end_inset \newline \newline \newline \newline \begin_inset Formula \( 61.70\pm 2.24 \) \end_inset \newline \begin_inset Formula \( 6.13\pm 0.35 \) \end_inset \newline c \newline \begin_inset Formula \( 70.63\pm 6.37 \) \end_inset \newline \begin_inset Formula \( 6.48\pm 0.10 \) \end_inset \newline \begin_inset Formula \( 75.07\pm 0.70 \) \end_inset \newline \begin_inset Formula \( 7.15\pm 0.38 \) \end_inset \newline \newline \begin_inset Formula \( 78.29\pm 0.92 \) \end_inset \newline \begin_inset Formula \( 6.69\pm 0.26 \) \end_inset \newline \begin_inset Formula \( 81.34\pm 0.30 \) \end_inset \newline
reLyX problems
Hi there, a few days ago it happened to me that LyX crashed (Rel. 1.1.4). After the crash LyX couldn't read the LyX-file well: it told me that there were problems during reading it and at the end all I got was about a quarter of the original file. Fortunately, before it crashed I exported the file as LaTeX (which was obviously not the reason why LyX crashed). Unfortunately, an import of this LaTeX-file via File - Import didn't work. So I tried a "reLyX -d [LaTeX-file]". First, it seemed to wok very well, but at the end of "reLyXing" I got the following error message: -snip Expecting `}', got \end in ` ' at /usr/X11R6/bin/../share/lyx/reLyX/Text/TeX.pm line 397, TeXOpenFile0003 chunk 5218. Can't locate object method "environment" via package "Text::TeX::Begin::Group" at /usr/X11R6/bin/../share/lyx/reLyX/Text/TeX.pm line 400, TeXOpenFile0003 chunk 5218. Exited due to fatal Error! -snip- Does anybody have an idea what's going wrong? (If necessary I could send the LaTeX-file, of course...) I'm using LyX 1.1.4 on a SuSe Linux 6.2 Any help is appreciated! Thanks a lot, Stephan -- Stephan E. Schlierf M.A. - Product Management - ++49 9254 960332 CSE GmbH Germany
RE: multicolumn or whatever
On 07-Mar-2000 Prof. Wolfgang Engelmann wrote: I want to use cell 2 and 3 of the uppermost row of a table without a border for a common heading), but the cells below this header in column 2 and 3 should be separated. I have tried to follow the descriptions in the documents, but I can't get it work. It always takes off the border between the cells below too, whether I mark the cell 2 and 3 of the first row as multicolumn or whether I remove the corrersponding border. How can I restict removal of just one border in a cell to this cell? There must be a simple trick which I haven't grasped. Could somebody help? I include the table as a .lyx sample (`no magnet' should cover cell 2 and 3, same with `magnet'). Thanks! Well you just have to select the two cells and the click on multicolumn on the Table-Layout-Menu. If I understood right what you want look at the attached file where I already modified your example. Hope this helps, Jürgen -._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._ Dr. Jürgen Vigna E-Mail: [EMAIL PROTECTED] Italienallee 13/N Tel:+39-0471-450260 I-39100 Bozen Fax:+39-0471-450296 ITALY Web:http://www.sad.it/~jug You two ought to be more careful--your love could drag on for years and years. -._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._ #This file was created by jug Tue Mar 7 10:33:38 2000 #LyX 1.0 (C) 1995-1999 Matthias Ettrich and the LyX Team \lyxformat 2.15 \textclass article \language default \inputencoding default \fontscheme default \graphics default \paperfontsize default \spacing single \papersize Default \paperpackage a4 \use_geometry 0 \use_amsmath 0 \paperorientation portrait \secnumdepth 3 \tocdepth 3 \paragraph_separation indent \defskip medskip \quotes_language english \quotes_times 2 \papercolumns 1 \papersides 1 \paperpagestyle default \layout Standard Re: Multicolumn \layout Standard I want to use cell 2 and 3 of the uppermost row of a table without a border (for a common heading), but the cells below this header in column 2 and 3 should be separated. I have tried to follow the descriptions in the documents, but I can't get it work. It always takes off the border between the cells below too, whether I mark the cell 2 and 3 of the first row as multicolumn or whether I remove the corrersponding border. How can I restict removal of just one border in a cell to this cell? There must be a simple trick which I haven't grasped. Could somebody help? I include the table as a .lyx sample (`no magnet' should cover cell 2 and 3, same with `magnet'). \layout Standard \added_space_top 0.3cm \added_space_bottom 0.3cm \align center a \layout Standard \added_space_top 0.3cm \added_space_bottom 0.3cm \align center \LyXTable multicol5 8 5 0 0 -1 -1 -1 -1 1 1 0 0 1 1 0 0 1 1 0 0 1 1 0 0 0 0 0 0 1 1 0 0 1 0 0 0 1 1 0 0 2 1 1 "" "" 8 1 0 "" "" 2 1 1 "" "" 8 1 1 "" "" 8 0 1 "" "" 0 2 1 0 0 0 0 "" "" 1 8 1 1 0 0 0 "" "" 2 2 1 1 0 0 0 "" "" 1 8 1 1 0 0 0 "" "" 2 8 1 1 0 0 0 "" "20mm" 0 8 1 0 0 0 0 "" "" 0 8 1 0 0 0 0 "" "" 0 2 1 0 0 0 0 "" "" 0 8 1 0 0 0 0 "" "" 0 8 1 0 0 0 0 "" "" 1 2 1 1 0 0 0 "" "" 0 8 1 0 0 0 0 "" "" 0 8 1 0 0 0 0 "" "" 0 8 1 0 0 0 0 "" "" 0 8 1 0 0 0 0 "" "" 0 8 1 0 0 0 0 "" "" 0 8 1 0 0 0 0 "" "" 0 8 1 0 0 0 0 "" "" 0 8 1 0 0 0 0 "" "" 0 8 1 0 0 0 0 "" "" 0 2 1 0 0 0 0 "" "" 0 8 1 0 0 0 0 "" "" 0 8 1 0 0 0 0 "" "" 0 8 1 0 0 0 0 "" "" 0 8 1 0 0 0 0 "" "" 0 8 1 0 0 0 0 "" "" 0 8 1 0 0 0 0 "" "" 0 8 1 0 0 0 0 "" "" 0 8 1 0 0 0 0 "" "" 0 8 1 0 0 0 0 "" "" 0 8 1 0 0 0 0 "" "" 0 8 1 0 0 0 0 "" "" 0 8 1 0 0 0 0 "" "" 0 8 1 0 0 0 0 "" "" 0 8 1 0 0 0 0 "" "" 0 8 1 0 0 0 0 "" "" 0 8 1 0 0 0 0 "" "" 0 8 1 0 0 0 0 "" "" 0 8 1 0 0 0 0 "" "" 0 8 1 0 0 0 0 "" "" \newline no magnet \newline magnet \newline experiment \newline amplitude \newline period [min] \newline amplitude \newline period [min] \newline a \newline \begin_inset Formula \( 82.57\pm 15.07 \) \end_inset \newline \begin_inset Formula \( 6.05\pm 0.07 \) \end_inset \newline \begin_inset Formula \( 63.78\pm 21.63 \) \end_inset \newline \begin_inset Formula \( 7.14\pm 0.35 \) \end_inset \newline b \newline \begin_inset Formula \( 62.08\pm 1.58 \) \end_inset \newline \begin_inset Formula \( 5.62\pm 0.14 \) \end_inset \newline \begin_inset Formula \( 68.21\pm 7.91 \) \end_inset \newline \begin_inset Formula \( 5.94\pm 0.01 \) \end_inset \newline \newline \begin_inset Formula \( 64.45\pm 0.72 \) \end_inset \newline \begin_inset Formula \( 5.90\pm 0.47 \) \end_inset \newline \begin_inset Formula \( 69.69\pm 1.38 \) \end_inset \newline \begin_inset Formula \( 6.31\pm 0.39 \) \end_inset \newline \newline \newline \newline \begin_inset Formula \( 61.70\pm 2.24 \) \end_inset \newline \begin_inset Formula \( 6.13\pm 0.35 \) \end_inset \newline c \newline
Re: reLyX problems
On Tue, Mar 07, 2000 at 10:28:20AM +0100, Stephan E. Schlierf wrote: Does anybody have an idea what's going wrong? (If necessary I could send the LaTeX-file, of course...) I'm using LyX 1.1.4 on a SuSe Linux 6.2 Any help is appreciated! Send me the LaTeX file and I will figure out why it crashed. ---Kayvan -- Kayvan A. Sylvan | Proud husband of | Father to my kids: Sylvan Associates, Inc.| Laura Isabella Sylvan | Katherine Yelena http://www.successlinks.com/kayvan | Reach your goals now! | Robin Gregory
Re: mathrm in lyx
Herbert Voss wrote: Wolfgang Riedel wrote: Hi, if I type the tex code (for instance) for an unit of measurement 'meter per second' "\mathrm{\frac{m}{s}}" inside a mathematical expression in lyx (the frac was created via the mathematical menue) it seems correct, the dvi is okay. But if I leave lyx, start it again and load the saved lyx file, then the roman font information is lost. 'm' and 's' are considered as variables :-( try in lyx-mathmode alt-M-m for writing in textmode for "m" and "s" or $\frac{\textrm{m}}{\textrm{s}}$in text-mathode, which is just the same Unfortunately this is the wrong approach, at least when using computer modern fonts for math typesetting. Try to press M-c r (which is the english mapping for font-roman, german users which use de_menus.bind should press M-z r), this gives you a \mathrm encapsulation for the letters typed afterwards. Any "math" operator switches the font back, so check twice if your letters m and s are "upright" and not "italics". On the other hand, if you type a dimension within your floating text, you should use the same font as in the text itself. Here the text-mathmode might be a good choice. Or use \usepackage{mathptm} (or {mathptmx}) to use Times as the math font. Then your measurements should look the same as the rest (disregarding \mathrm or \textrm). HTH, Frank -- Hi! I'm a .signature virus! Copy me into your ~/.signature to help me spread! -- Sign the Linux Driver Petition: http://www.libranet.com/petition.html --
Colors in Lyx
Hello People, my name is Roman Poeschl. I am working since two months now with lyx 1.0.4. First of all it is in many ways the thing I have always serched for. Recently, I have tried to prepare a talk using the slide mode of Lyx. Unfortunately, I did not manage to put any colored text onto the slides. When I try the tex commands like eg. '\color{red}' or '\red' Lyx tells me that these commands are never defined. I also fiddled around with the latex preamble but I did not succeed. Of course I can hack all the text in plain tex but that is exactly the thing which one wants to avoid using Lyx. Is there anyone haveing an idea how to produce colored slides using Lyx. I would be grateful for a response. Nevertheless, I think that Lyx is a real step forward. Cheers, Roman -- +-+ | Roman Poeschl ([EMAIL PROTECTED]) | | Lehrstuhl f. Experimentalphysik V | | Universitaet Dortmund | | Tel.: ++49-231-755-4526| | | | In HH: Deutsches Elektronensynchrotron(DESY) | | Raum 1b,Nr.604 | | Tel.: ++49-40-8998-2636 | | Fax.: ++49-40-8998-4385 | | | +-+
Re: Colors in Lyx
"Roman" == Roman Poeschl [EMAIL PROTECTED] writes: Roman Recently, I have tried to prepare a talk using the slide mode Roman of Lyx. Unfortunately, I did not manage to put any colored text Roman onto the slides. When I try the tex commands like eg. Roman '\color{red}' or '\red' Lyx tells me that these commands are Roman never defined. I also fiddled around with the latex preamble Roman but I did not succeed. Go in Layout-Chracter. There you will find (surprise!) an entry named 'color'. You cannot select all colors this way, but it is better than nothing. Hope this helps. JMarc
Re: Problem with dead keys
"Jacques" == Jacques B Siboni [EMAIL PROTECTED] writes: Jacques But presently the problem occurs with lyx editor: generation Jacques of accented characters is ok 'e leads to é `e leads to è "e Jacques leads to ë but generation of standard apostrophe, double Jacques quote, caret (^), tilde and back quote are impossible. Lyx Jacques refuses I get the accent that would be upon a character. Jacques Generated LateX is \i \'{ } instead of ' Follow-up question: are you sure you get ' when typing '-key twice in linux? What you should get is the special acute accent character, which is different. And do you get \i \'{ } by typing ' twice? I get it by typing ' and then space. JMarc
Re: include files
"Wolfgang" == Wolfgang Riedel [EMAIL PROTECTED] writes: Wolfgang Hi, I´ve a nice lyx file which includes some other lyx files Wolfgang (via \inlude). If I´d modified something in this subfiles Wolfgang and want to look at the resulting dvi (new dvi window or Wolfgang refreshed old one) then I see, that the batch latex process Wolfgang was *not* started. That means, I see the old text again. Is Wolfgang it correct? Can I configure the right behaviour? I use Wolfgang lyx-1.0.3-1 (in german) at a redhat 6.0 linux box. This bug has been corrected in later LyX versions. Upgrade to lyx 1.1.4fix1. JMarc
Re: lyx and greek
"François" == François Patte [EMAIL PROTECTED] writes: François There is a problem in lyx with ~ accent: this character is François active in the babel greek stuff, so if you type: François ~h François in a latex file with \usepackage[babel]{greek} in the François preamble you get the correct eta with spirit and tilde François accent on it. François In lyx, the tilde accent is exported as: \textasciitilde{} François so with the same sequence: ~h you get in the corresponding François latex file: François \textasciitilde{}h François and get in the dvi the spirit, then the tilde accent and François then the eta. The babel input conventions are designed for shortcut entry of special characters and are not really needed by LyX. And LyX does need to know that ~ is a nonbreaking space or " just a double quote and not some fancy macro... We have a greek.kmap keymap file in the distribution. Does it work? [as you can see, I know nothing about the particular problems of greek language..]. BTW, what is a 'spirit'? François In the latex file we get the preamble: François \documentclass[12pt,a4paper,greek]{article} François \usepackage[T1]{fontenc} \usepackage{babel} François I think that the syntax: François \documentclass[12pt,a4paper]{article} François \usepackage[T1]{fontenc} \usepackage[greek]{babel} François should be better. As Lars said, this allows all packages to have the language information. In any case, babel gets to see the option. François How to get a multilingual preamble? François \usepackage[greek,french]{babel} Unfortunately, we are not there yet... François Last: what is the lyx release in which there are separate François fonctions to search and replace: in my version (1.1.4 pre) I François can't browse the manual because it a read only file! This problem is fixed in 1.1.4fix1. The search and replace are not separated, but work correctly on read-only documents. Hope this helps. JMarc
Re: Macros ?
"Luis" == Luis A Fernandez [EMAIL PROTECTED] writes: Luis Hi all, So far I've been quite happy with LyX for some 3 years Luis now. I've done a lot of writing with it: papers, articles, Luis books, classnotes, lists of problems for the students and so on. Luis However, I have to write a LOT of chemistry, which is rather Luis tedious (things like proton concentration: [H+] -the '+' as Luis superscript-). Up to the moment I was more or less happy once I Luis got to know by heart the different key-bindings. But I came up Luis wondering if there's a way of defining one's own key-bindings Luis (can I call it a macro ?), for instance, the proton concentation Luis mentioned above in a way that if I, for instance, type Alt-F1 Luis the whole thing shows up. I would really appreciate Luis pointers/suggestions so as how to do this, it it can be done. What we have now are math macros (look in the user guide on how to do that). Once the macro is setup, you can probably bind a key to math-insert foo to insert macro foo. I do not know whether this is what you want... JMarc
Re: chapters in included files
"Torsten" == Torsten Mueller [EMAIL PROTECTED] writes: Torsten Hallo, I am writing a thesis and have included the chapters Torsten with the include-command. Version 1.0.3 supports this, but: Torsten - it does not display the chapters in the TOC (on the screen), Several of these problems have been fixed recently (labels and citations in multipart documents) but I do not know about TOC. Torsten - I cannot do spellcheck over the whole document. Indeed. Torsten - Another problem is, that I cannot change the document style Torsten for all chapters now, so if I wanted to used another style, Torsten say amsbook instead of book, then I would have to change that Torsten in all files. It is because you cannot generate latex code which would work across multiple document classes. JMarc
Re: invisible in lyx but visible in PostScript 2
"Shawn" == Shawn Koons [EMAIL PROTECTED] writes: Shawn Thank you Kayvan A. Sylvan, the fix worked. Shawn At your promting, I have shortened the file and am attaching it Shawn here for other developers to see as a test case. Shawn If you open the file in lyx (I use 1.1.4) and then "View Shawn PostScript", when you compare the two views, you will find that Shawn certain text is repeated. If you then change all the Paragraphs Shawn to Standard, the duplication is gone and the desired result is Shawn produced. [Please excuse the roughness of the content, it is a Shawn rough draft :)] Note that you are not supposed to use Paragraph here. As its name does not say, Paragraph is in fact a subsubsubsection header, and it not designed to be used for running text. Use Standard instead. JMarc
Re: TTF-Fonts as Screen-Fonts
Hi Allan! -ttf-humnst777 bt-medium-r-normal-roman-0-0-0-0-p-0-iso8859-1 Try putting quotes around it. "..." It works, but only with the whole font-name. Therfore it is not possible to use short-cuts als -*-humnst777. The consequence is that the other shapes (eg. italic ord bold) does not appear. Ciao! juh -- juh's Sudelbuch --- Literatur und Satire per E-Mail http://www.sudelbuch.de Unterstützen Sie das Sudelbuch durch eine Spende. http://www.sudelbuch.de/spende.html
Re: Formatting source code
From: Gerald Gutierrez [EMAIL PROTECTED] To: Lyx Users Mailinglist [EMAIL PROTECTED] Subject: Formatting source code Date: Tue, 7 Mar 2000 11:29:01 -0800 Hello! I'm currently writing my thesis and need to have some code snippets as part of it. Unfortunately, because I'll be using double spacing, simply putting the code in and changing it to a typewriter font, or using Lyx-Code causes the code to be double spaced as well, making it really hard to read (and fairly ugly). Is there a way to separately control the spacing of Lyx-Code? Alternatively, what is There are about 40 known languages.a good way to insert code so that it'll look proper? Also, is there such a thing as a "code float" (like a figure float) ? Thanks. I use the lgrind latex package, which can be used in LyX using ERT. Works with preprocessing using a shell command (lgrind) which must be installed in the bin directory of the LaTeX installation. Provides pretty printing and line numbering of various languages, and can be used standalone, e.g. %lgrind -lC -o foo.tex foo.c %latex foo;dvips foo provides a printed version of C code in foo.c. There are about 40 recognised languages. Does not fold long lines however, you have to format yourself. So with LyX: - get the package from the nearest CTAN archive - install it in the LaTeX tree - make it available (texhash with teTeX) - preprocess the code for inline inclusion in a latex doc, e.g. %lgrind -i -lC -o foo.c.tex foo.c - edit the premable in LyX, e.g.: \usepackage[lineno5,leftno,norules]{lgrind} - at the right location in the doc, insert in ERT \lgrindfile{foo.c.tex} Should work OK, perhaps a bit sophisticated for simple pieces of code, in which case a simple Lyx input of the code embedded between \begin{verbatim} ... \end{verbatim} could be sufficient. Regards -- Jean-Pierre
Re: Problem with dead keys
I do not have the answer to your question. Just another question: How can you accented letters under lyx? When I type: á What I get is similar to . a Is this right? TIA: -- Jose Albores --- __o [EMAIL PROTECTED] ---_ \,_ --- (_)/ (_) "Jacques B. Siboni" wrote: Hi all, I have the following problem and will appreciate if someone has an answer. My Linux X server handles the dead keys correctly that is 'e leads to é `e leads to è "e leads to ë and ' key (apostrophe) typed two times leads to ' " key (double quote) typed two times leads to " xterm and standard applications handle this correctly. What I'm typing now on Netscape is done this way. But presently the problem occurs with lyx editor: generation of accented characters is ok 'e leads to é `e leads to è "e leads to ë but generation of standard apostrophe, double quote, caret (^), tilde and back quote are impossible. Lyx refuses I get the accent that would be upon a character. Generated LateX is \i \'{ } instead of ' I have put no key map translation in config file. I believe it is a known problem. Thanks in advance for your help Cheers Jacques -- Dr. Jacques B. Siboni mailto:[EMAIL PROTECTED] 8 pass. Charles Albert, F75018 Paris, France Tel. Fax: 33 (0) 1 42 28 76 78 Home Page: http://www.lutecium.fr/jacsib/
RE: Win32Port ...
Hello, I am a new LyX-user and new to this list; at this moment I am using the Win32Port of Claus Hentschel (LyX 1.1.4fix1); I have two questions (at this moment); maybe somemone can help me. At first: when I use the option 'view dvi', this will not work with the files 'UserGuide.lyx' and 'Extended.lyx'; at the moment that Yap should open I get a message: C:\tmp\lyx_tmp1001aab\lyx_bufrtmp1001aaa\UserGuide.dvi: cannot open DVI document With the other files from the help-menu and my own files this does not happen. make sure that you have the following commands in your lyxrc file. \view_dvi_command "yap `cygpath -w $$FName`" \view_dvi_paper_option "" \view_ps_command "gsview32 `cygpath -w $$FName`" These commands make sure that yap and gsview32 are called with the right parameters. If yap and/or gsview32 are not in your path you can specify the complete path here. With this it works for me (official 1.1.4fix1 version from CVS). I do not know whether Claus Hentschels port has additional changes. Second: my system is completely hanging when in the lyxrc-file behind /ps_command the default words "gs" are not removed ; this also happens with 'UserGuide.lyx' and 'Extended.lyx'; when I delete gs there is no problem; why? You can try to do the following in your lyxrc file. \view_pspic_command gsview32 \ps_command gswin32c Though inlined pictures do not work because of certain limitations in ghostscript and presumably problems with the fork calls. These problems will not go away anytime soon so you are best off finding a Linux box if you really desire to see inlined pictures :-) Regards Roland Greetings, Sjaak Kamerling Holland PS: Sorry for the "premature posting earlier" - Netscape Messenger just plain sucks -- Dr.-Ing. Roland Krause Engineering Software Research and Development Inc, Saint Louis, MO voice: (314) 983 0649-12
Re: Problem with dead keys
Jean-Marc Lasgouttes wrote: "Jacques" == Jacques B Siboni [EMAIL PROTECTED] writes: Jacques But presently the problem occurs with lyx editor: generation Jacques of accented characters is ok 'e leads to é `e leads to è "e Jacques leads to ë but generation of standard apostrophe, double Jacques quote, caret (^), tilde and back quote are impossible. Lyx Jacques refuses I get the accent that would be upon a character. Jacques Generated LateX is \i \'{ } instead of ' Follow-up question: are you sure you get ' when typing '-key twice in linux? What you should get is the special acute accent character, which is different. And do you get \i \'{ } by typing ' twice? I get it by typing ' and then space. JMarc Jean-Marc, You're right when I type ' twice I get a space in LyX (even if there is already a space! I can add as many spaces as I want, that way!) I get the funny acute accent when I type ' space The desired feature is: ' ' -- ' or ' space -- ' Thanks for your help Bien amicalement Jacques -- Dr. Jacques B. Siboni mailto:[EMAIL PROTECTED] 8 pass. Charles Albert, F75018 Paris, France Tel. Fax: 33 (0) 1 42 28 76 78 Home Page: http://www.lutecium.fr/jacsib/
Formatting source code
Hello! I'm currently writing my thesis and need to have some code snippets as part of it. Unfortunately, because I'll be using double spacing, simply putting the code in and changing it to a typewriter font, or using Lyx-Code causes the code to be double spaced as well, making it really hard to read (and fairly ugly). Is there a way to separately control the spacing of Lyx-Code? Alternatively, what is a good way to insert code so that it'll look proper? Also, is there such a thing as a "code float" (like a figure float) ? Thanks.
Re: reLyX problems
On Tue, Mar 07, 2000 at 11:28:05AM +0100, Stephan E. Schlierf wrote: Hi Kayvan, attached you find the respective LaTeX-file. Thank you very much for your help! Regards, Stephan Hi Stephen, I've CC'ed this to the users list since I think it might help other people to know my approach in solving these types of problems. What I did was the following: 1) Run reLyX on your file to see if I could make heads or tails of the error message (which I couldn't). 2) Open up your file in an editor and split it in half by inserting a \begin{reLyXskip} and \end{reLyXskip} in the file like this: %%% BEGIN HERE \begin{reLyXskip} [] %%% END HERE \end{reLyXskip} I do this in such a way that I respect the logical structure of the LaTeX document (i.e. don't put an end{reLyXskip} in the middle of an enumerated list). 3) Run reLyX. This works. Now I've isolated the problem to the first half of the document. 4) Using a binary search method, by moving the reLyXskip block around the file, I isolate the problems. In any case, please apply this patch to your file and run it through reLyX, then you should be able to fix up the file again in LyX. Hopefully, when I fix some of the outstanding reLyX bugs, we will have less of these types of problems, but meanwhile you (and others) can apply this method to isolate reLyX translation problems. Best regards, ---Kayvan -- Kayvan A. Sylvan | Proud husband of | Father to my kids: Sylvan Associates, Inc.| Laura Isabella Sylvan | Katherine Yelena http://www.successlinks.com/kayvan | Reach your goals now! | Robin Gregory --- ir_englisch.tex~Tue Mar 7 13:15:57 2000 +++ ir_englisch.tex Tue Mar 7 13:28:38 2000 @@ -40,7 +40,7 @@ \begin{document} -\title{{\Huge scanBOY$^\copyright$\@} {\large }{\Huge IR}\\ +\title{{\Huge scanBOY$^\copyright$} {\large }{\Huge IR}\\ {\large Release 3.05}\\ Administration manual} @@ -931,8 +931,11 @@ \item Make sure that the parameter \noun{Random Tests}\index{random tests@\textsc{random tests}} (menu level \noun{Customers}\index{customers@\textsc{customers}}) is set to \texttt{J} (yes) for the respective customers. + +\begin{reLyXskip} \item Make the following adjustments via \noun{Company Parameters}\index{company parameters@\textsc{company parameters}} \( \rightarrow \) \keys{F7 Check\}\index{f7 check@\textsc{f7 check}}: +\end{reLyXskip} \begin{tabular}{ll} \noun{In how many shopping processes shall be at least 1 check}\index{in how many shopping processes shall be at least 1 check@\textsc{in how many shopping processes shall be at least 1 check}}\index{customer check!in how many shopping processes shall be at least 1 check}
multicolumn or whatever
I want to use cell 2 and 3 of the uppermost row of a table without a border for a common heading), but the cells below this header in column 2 and 3 should be separated. I have tried to follow the descriptions in the documents, but I can't get it work. It always takes off the border between the cells below too, whether I mark the cell 2 and 3 of the first row as multicolumn or whether I remove the corrersponding border. How can I restict removal of just one border in a cell to this cell? There must be a simple trick which I haven't grasped. Could somebody help? I include the table as a .lyx sample (`no magnet' should cover cell 2 and 3, same with `magnet'). Thanks! #This file was created by wolfgang Tue Mar 7 09:30:29 2000 #LyX 1.0 (C) 1995-1999 Matthias Ettrich and the LyX Team \lyxformat 2.15 \textclass article \language default \inputencoding default \fontscheme default \graphics default \paperfontsize default \spacing single \papersize Default \paperpackage a4 \use_geometry 0 \use_amsmath 0 \paperorientation portrait \secnumdepth 3 \tocdepth 3 \paragraph_separation indent \defskip medskip \quotes_language english \quotes_times 2 \papercolumns 1 \papersides 1 \paperpagestyle default \layout Standard Re: Multicolumn \layout Standard I want to use cell 2 and 3 of the uppermost row of a table without a border (for a common heading), but the cells below this header in column 2 and 3 should be separated. I have tried to follow the descriptions in the documents, but I can't get it work. It always takes off the border between the cells below too, whether I mark the cell 2 and 3 of the first row as multicolumn or whether I remove the corrersponding border. How can I restict removal of just one border in a cell to this cell? There must be a simple trick which I haven't grasped. Could somebody help? I include the table as a .lyx sample (`no magnet' should cover cell 2 and 3, same with `magnet'). \layout Standard \added_space_top 0.3cm \added_space_bottom 0.3cm \align center a \layout Standard \added_space_top 0.3cm \added_space_bottom 0.3cm \align center \LyXTable multicol5 8 5 0 0 -1 -1 -1 -1 1 1 0 0 1 1 0 0 1 1 0 0 1 1 0 0 0 0 0 0 1 1 0 0 1 0 0 0 1 1 0 0 2 1 1 "" "" 8 1 0 "" "" 2 1 1 "" "" 8 1 1 "" "" 8 0 1 "" "" 0 2 1 0 0 0 0 "" "" 1 8 1 1 0 0 0 "" "" 0 2 1 1 0 0 0 "" "" 1 8 1 1 0 0 0 "" "" 1 8 1 1 0 0 0 "" "20mm" 0 8 1 0 0 0 0 "" "" 0 8 1 0 0 0 0 "" "" 0 2 1 0 0 0 0 "" "" 0 8 1 0 0 0 0 "" "" 0 8 1 0 0 0 0 "" "" 1 2 1 1 0 0 0 "" "" 0 8 1 0 0 0 0 "" "" 0 8 1 0 0 0 0 "" "" 0 8 1 0 0 0 0 "" "" 0 8 1 0 0 0 0 "" "" 0 8 1 0 0 0 0 "" "" 0 8 1 0 0 0 0 "" "" 0 8 1 0 0 0 0 "" "" 0 8 1 0 0 0 0 "" "" 0 8 1 0 0 0 0 "" "" 0 2 1 0 0 0 0 "" "" 0 8 1 0 0 0 0 "" "" 0 8 1 0 0 0 0 "" "" 0 8 1 0 0 0 0 "" "" 0 8 1 0 0 0 0 "" "" 0 8 1 0 0 0 0 "" "" 0 8 1 0 0 0 0 "" "" 0 8 1 0 0 0 0 "" "" 0 8 1 0 0 0 0 "" "" 0 8 1 0 0 0 0 "" "" 0 8 1 0 0 0 0 "" "" 0 8 1 0 0 0 0 "" "" 0 8 1 0 0 0 0 "" "" 0 8 1 0 0 0 0 "" "" 0 8 1 0 0 0 0 "" "" 0 8 1 0 0 0 0 "" "" 0 8 1 0 0 0 0 "" "" 0 8 1 0 0 0 0 "" "" 0 8 1 0 0 0 0 "" "" 0 8 1 0 0 0 0 "" "" \newline no magnet \newline \newline magnet \newline \newline experiment \newline amplitude \newline period [min] \newline amplitude \newline period [min] \newline a \newline \begin_inset Formula \( 82.57\pm 15.07 \) \end_inset \newline \begin_inset Formula \( 6.05\pm 0.07 \) \end_inset \newline \begin_inset Formula \( 63.78\pm 21.63 \) \end_inset \newline \begin_inset Formula \( 7.14\pm 0.35 \) \end_inset \newline b \newline \begin_inset Formula \( 62.08\pm 1.58 \) \end_inset \newline \begin_inset Formula \( 5.62\pm 0.14 \) \end_inset \newline \begin_inset Formula \( 68.21\pm 7.91 \) \end_inset \newline \begin_inset Formula \( 5.94\pm 0.01 \) \end_inset \newline \newline \begin_inset Formula \( 64.45\pm 0.72 \) \end_inset \newline \begin_inset Formula \( 5.90\pm 0.47 \) \end_inset \newline \begin_inset Formula \( 69.69\pm 1.38 \) \end_inset \newline \begin_inset Formula \( 6.31\pm 0.39 \) \end_inset \newline \newline \newline \newline \begin_inset Formula \( 61.70\pm 2.24 \) \end_inset \newline \begin_inset Formula \( 6.13\pm 0.35 \) \end_inset \newline c \newline \begin_inset Formula \( 70.63\pm 6.37 \) \end_inset \newline \begin_inset Formula \( 6.48\pm 0.10 \) \end_inset \newline \begin_inset Formula \( 75.07\pm 0.70 \) \end_inset \newline \begin_inset Formula \( 7.15\pm 0.38 \) \end_inset \newline \newline \begin_inset Formula \( 78.29\pm 0.92 \) \end_inset \newline \begin_inset Formula \( 6.69\pm 0.26 \) \end_inset \newline \begin_inset Formula \( 81.34\pm 0.30 \) \end_inset \newline
reLyX problems
Hi there, a few days ago it happened to me that LyX crashed (Rel. 1.1.4). After the crash LyX couldn't read the LyX-file well: it told me that there were problems during reading it and at the end all I got was about a quarter of the original file. Fortunately, before it crashed I exported the file as LaTeX (which was obviously not the reason why LyX crashed). Unfortunately, an import of this LaTeX-file via File - Import didn't work. So I tried a "reLyX -d [LaTeX-file]". First, it seemed to wok very well, but at the end of "reLyXing" I got the following error message: -snip Expecting `}', got \end in ` ' at /usr/X11R6/bin/../share/lyx/reLyX/Text/TeX.pm line 397, TeXOpenFile0003 chunk 5218. Can't locate object method "environment" via package "Text::TeX::Begin::Group" at /usr/X11R6/bin/../share/lyx/reLyX/Text/TeX.pm line 400, TeXOpenFile0003 chunk 5218. Exited due to fatal Error! -snip- Does anybody have an idea what's going wrong? (If necessary I could send the LaTeX-file, of course...) I'm using LyX 1.1.4 on a SuSe Linux 6.2 Any help is appreciated! Thanks a lot, Stephan -- Stephan E. Schlierf M.A. - Product Management - ++49 9254 960332 CSE GmbH Germany
RE: multicolumn or whatever
On 07-Mar-2000 Prof. Wolfgang Engelmann wrote: I want to use cell 2 and 3 of the uppermost row of a table without a border for a common heading), but the cells below this header in column 2 and 3 should be separated. I have tried to follow the descriptions in the documents, but I can't get it work. It always takes off the border between the cells below too, whether I mark the cell 2 and 3 of the first row as multicolumn or whether I remove the corrersponding border. How can I restict removal of just one border in a cell to this cell? There must be a simple trick which I haven't grasped. Could somebody help? I include the table as a .lyx sample (`no magnet' should cover cell 2 and 3, same with `magnet'). Thanks! Well you just have to select the two cells and the click on multicolumn on the Table-Layout-Menu. If I understood right what you want look at the attached file where I already modified your example. Hope this helps, Jürgen -._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._ Dr. Jürgen Vigna E-Mail: [EMAIL PROTECTED] Italienallee 13/N Tel:+39-0471-450260 I-39100 Bozen Fax:+39-0471-450296 ITALY Web:http://www.sad.it/~jug You two ought to be more careful--your love could drag on for years and years. -._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._ #This file was created by jug Tue Mar 7 10:33:38 2000 #LyX 1.0 (C) 1995-1999 Matthias Ettrich and the LyX Team \lyxformat 2.15 \textclass article \language default \inputencoding default \fontscheme default \graphics default \paperfontsize default \spacing single \papersize Default \paperpackage a4 \use_geometry 0 \use_amsmath 0 \paperorientation portrait \secnumdepth 3 \tocdepth 3 \paragraph_separation indent \defskip medskip \quotes_language english \quotes_times 2 \papercolumns 1 \papersides 1 \paperpagestyle default \layout Standard Re: Multicolumn \layout Standard I want to use cell 2 and 3 of the uppermost row of a table without a border (for a common heading), but the cells below this header in column 2 and 3 should be separated. I have tried to follow the descriptions in the documents, but I can't get it work. It always takes off the border between the cells below too, whether I mark the cell 2 and 3 of the first row as multicolumn or whether I remove the corrersponding border. How can I restict removal of just one border in a cell to this cell? There must be a simple trick which I haven't grasped. Could somebody help? I include the table as a .lyx sample (`no magnet' should cover cell 2 and 3, same with `magnet'). \layout Standard \added_space_top 0.3cm \added_space_bottom 0.3cm \align center a \layout Standard \added_space_top 0.3cm \added_space_bottom 0.3cm \align center \LyXTable multicol5 8 5 0 0 -1 -1 -1 -1 1 1 0 0 1 1 0 0 1 1 0 0 1 1 0 0 0 0 0 0 1 1 0 0 1 0 0 0 1 1 0 0 2 1 1 "" "" 8 1 0 "" "" 2 1 1 "" "" 8 1 1 "" "" 8 0 1 "" "" 0 2 1 0 0 0 0 "" "" 1 8 1 1 0 0 0 "" "" 2 2 1 1 0 0 0 "" "" 1 8 1 1 0 0 0 "" "" 2 8 1 1 0 0 0 "" "20mm" 0 8 1 0 0 0 0 "" "" 0 8 1 0 0 0 0 "" "" 0 2 1 0 0 0 0 "" "" 0 8 1 0 0 0 0 "" "" 0 8 1 0 0 0 0 "" "" 1 2 1 1 0 0 0 "" "" 0 8 1 0 0 0 0 "" "" 0 8 1 0 0 0 0 "" "" 0 8 1 0 0 0 0 "" "" 0 8 1 0 0 0 0 "" "" 0 8 1 0 0 0 0 "" "" 0 8 1 0 0 0 0 "" "" 0 8 1 0 0 0 0 "" "" 0 8 1 0 0 0 0 "" "" 0 8 1 0 0 0 0 "" "" 0 2 1 0 0 0 0 "" "" 0 8 1 0 0 0 0 "" "" 0 8 1 0 0 0 0 "" "" 0 8 1 0 0 0 0 "" "" 0 8 1 0 0 0 0 "" "" 0 8 1 0 0 0 0 "" "" 0 8 1 0 0 0 0 "" "" 0 8 1 0 0 0 0 "" "" 0 8 1 0 0 0 0 "" "" 0 8 1 0 0 0 0 "" "" 0 8 1 0 0 0 0 "" "" 0 8 1 0 0 0 0 "" "" 0 8 1 0 0 0 0 "" "" 0 8 1 0 0 0 0 "" "" 0 8 1 0 0 0 0 "" "" 0 8 1 0 0 0 0 "" "" 0 8 1 0 0 0 0 "" "" 0 8 1 0 0 0 0 "" "" 0 8 1 0 0 0 0 "" "" 0 8 1 0 0 0 0 "" "" \newline no magnet \newline magnet \newline experiment \newline amplitude \newline period [min] \newline amplitude \newline period [min] \newline a \newline \begin_inset Formula \( 82.57\pm 15.07 \) \end_inset \newline \begin_inset Formula \( 6.05\pm 0.07 \) \end_inset \newline \begin_inset Formula \( 63.78\pm 21.63 \) \end_inset \newline \begin_inset Formula \( 7.14\pm 0.35 \) \end_inset \newline b \newline \begin_inset Formula \( 62.08\pm 1.58 \) \end_inset \newline \begin_inset Formula \( 5.62\pm 0.14 \) \end_inset \newline \begin_inset Formula \( 68.21\pm 7.91 \) \end_inset \newline \begin_inset Formula \( 5.94\pm 0.01 \) \end_inset \newline \newline \begin_inset Formula \( 64.45\pm 0.72 \) \end_inset \newline \begin_inset Formula \( 5.90\pm 0.47 \) \end_inset \newline \begin_inset Formula \( 69.69\pm 1.38 \) \end_inset \newline \begin_inset Formula \( 6.31\pm 0.39 \) \end_inset \newline \newline \newline \newline \begin_inset Formula \( 61.70\pm 2.24 \) \end_inset \newline \begin_inset Formula \( 6.13\pm 0.35 \) \end_inset \newline c \newline
Re: reLyX problems
On Tue, Mar 07, 2000 at 10:28:20AM +0100, Stephan E. Schlierf wrote: Does anybody have an idea what's going wrong? (If necessary I could send the LaTeX-file, of course...) I'm using LyX 1.1.4 on a SuSe Linux 6.2 Any help is appreciated! Send me the LaTeX file and I will figure out why it crashed. ---Kayvan -- Kayvan A. Sylvan | Proud husband of | Father to my kids: Sylvan Associates, Inc.| Laura Isabella Sylvan | Katherine Yelena http://www.successlinks.com/kayvan | Reach your goals now! | Robin Gregory
Re: mathrm in lyx
Herbert Voss wrote: Wolfgang Riedel wrote: Hi, if I type the tex code (for instance) for an unit of measurement 'meter per second' "\mathrm{\frac{m}{s}}" inside a mathematical expression in lyx (the frac was created via the mathematical menue) it seems correct, the dvi is okay. But if I leave lyx, start it again and load the saved lyx file, then the roman font information is lost. 'm' and 's' are considered as variables :-( try in lyx-mathmode alt-M-m for writing in textmode for "m" and "s" or $\frac{\textrm{m}}{\textrm{s}}$in text-mathode, which is just the same Unfortunately this is the wrong approach, at least when using computer modern fonts for math typesetting. Try to press M-c r (which is the english mapping for font-roman, german users which use de_menus.bind should press M-z r), this gives you a \mathrm encapsulation for the letters typed afterwards. Any "math" operator switches the font back, so check twice if your letters m and s are "upright" and not "italics". On the other hand, if you type a dimension within your floating text, you should use the same font as in the text itself. Here the text-mathmode might be a good choice. Or use \usepackage{mathptm} (or {mathptmx}) to use Times as the math font. Then your measurements should look the same as the rest (disregarding \mathrm or \textrm). HTH, Frank -- Hi! I'm a .signature virus! Copy me into your ~/.signature to help me spread! -- Sign the Linux Driver Petition: http://www.libranet.com/petition.html --
Colors in Lyx
Hello People, my name is Roman Poeschl. I am working since two months now with lyx 1.0.4. First of all it is in many ways the thing I have always serched for. Recently, I have tried to prepare a talk using the slide mode of Lyx. Unfortunately, I did not manage to put any colored text onto the slides. When I try the tex commands like eg. '\color{red}' or '\red' Lyx tells me that these commands are never defined. I also fiddled around with the latex preamble but I did not succeed. Of course I can hack all the text in plain tex but that is exactly the thing which one wants to avoid using Lyx. Is there anyone haveing an idea how to produce colored slides using Lyx. I would be grateful for a response. Nevertheless, I think that Lyx is a real step forward. Cheers, Roman -- +-+ | Roman Poeschl ([EMAIL PROTECTED]) | | Lehrstuhl f. Experimentalphysik V | | Universitaet Dortmund | | Tel.: ++49-231-755-4526| | | | In HH: Deutsches Elektronensynchrotron(DESY) | | Raum 1b,Nr.604 | | Tel.: ++49-40-8998-2636 | | Fax.: ++49-40-8998-4385 | | | +-+
Re: Colors in Lyx
"Roman" == Roman Poeschl [EMAIL PROTECTED] writes: Roman Recently, I have tried to prepare a talk using the slide mode Roman of Lyx. Unfortunately, I did not manage to put any colored text Roman onto the slides. When I try the tex commands like eg. Roman '\color{red}' or '\red' Lyx tells me that these commands are Roman never defined. I also fiddled around with the latex preamble Roman but I did not succeed. Go in Layout-Chracter. There you will find (surprise!) an entry named 'color'. You cannot select all colors this way, but it is better than nothing. Hope this helps. JMarc
Re: Problem with dead keys
"Jacques" == Jacques B Siboni [EMAIL PROTECTED] writes: Jacques But presently the problem occurs with lyx editor: generation Jacques of accented characters is ok 'e leads to é `e leads to è "e Jacques leads to ë but generation of standard apostrophe, double Jacques quote, caret (^), tilde and back quote are impossible. Lyx Jacques refuses I get the accent that would be upon a character. Jacques Generated LateX is \i \'{ } instead of ' Follow-up question: are you sure you get ' when typing '-key twice in linux? What you should get is the special acute accent character, which is different. And do you get \i \'{ } by typing ' twice? I get it by typing ' and then space. JMarc
Re: include files
"Wolfgang" == Wolfgang Riedel [EMAIL PROTECTED] writes: Wolfgang Hi, I´ve a nice lyx file which includes some other lyx files Wolfgang (via \inlude). If I´d modified something in this subfiles Wolfgang and want to look at the resulting dvi (new dvi window or Wolfgang refreshed old one) then I see, that the batch latex process Wolfgang was *not* started. That means, I see the old text again. Is Wolfgang it correct? Can I configure the right behaviour? I use Wolfgang lyx-1.0.3-1 (in german) at a redhat 6.0 linux box. This bug has been corrected in later LyX versions. Upgrade to lyx 1.1.4fix1. JMarc
Re: lyx and greek
"François" == François Patte [EMAIL PROTECTED] writes: François There is a problem in lyx with ~ accent: this character is François active in the babel greek stuff, so if you type: François ~h François in a latex file with \usepackage[babel]{greek} in the François preamble you get the correct eta with spirit and tilde François accent on it. François In lyx, the tilde accent is exported as: \textasciitilde{} François so with the same sequence: ~h you get in the corresponding François latex file: François \textasciitilde{}h François and get in the dvi the spirit, then the tilde accent and François then the eta. The babel input conventions are designed for shortcut entry of special characters and are not really needed by LyX. And LyX does need to know that ~ is a nonbreaking space or " just a double quote and not some fancy macro... We have a greek.kmap keymap file in the distribution. Does it work? [as you can see, I know nothing about the particular problems of greek language..]. BTW, what is a 'spirit'? François In the latex file we get the preamble: François \documentclass[12pt,a4paper,greek]{article} François \usepackage[T1]{fontenc} \usepackage{babel} François I think that the syntax: François \documentclass[12pt,a4paper]{article} François \usepackage[T1]{fontenc} \usepackage[greek]{babel} François should be better. As Lars said, this allows all packages to have the language information. In any case, babel gets to see the option. François How to get a multilingual preamble? François \usepackage[greek,french]{babel} Unfortunately, we are not there yet... François Last: what is the lyx release in which there are separate François fonctions to search and replace: in my version (1.1.4 pre) I François can't browse the manual because it a read only file! This problem is fixed in 1.1.4fix1. The search and replace are not separated, but work correctly on read-only documents. Hope this helps. JMarc
Re: Macros ?
"Luis" == Luis A Fernandez [EMAIL PROTECTED] writes: Luis Hi all, So far I've been quite happy with LyX for some 3 years Luis now. I've done a lot of writing with it: papers, articles, Luis books, classnotes, lists of problems for the students and so on. Luis However, I have to write a LOT of chemistry, which is rather Luis tedious (things like proton concentration: [H+] -the '+' as Luis superscript-). Up to the moment I was more or less happy once I Luis got to know by heart the different key-bindings. But I came up Luis wondering if there's a way of defining one's own key-bindings Luis (can I call it a macro ?), for instance, the proton concentation Luis mentioned above in a way that if I, for instance, type Alt-F1 Luis the whole thing shows up. I would really appreciate Luis pointers/suggestions so as how to do this, it it can be done. What we have now are math macros (look in the user guide on how to do that). Once the macro is setup, you can probably bind a key to math-insert foo to insert macro foo. I do not know whether this is what you want... JMarc
Re: chapters in included files
"Torsten" == Torsten Mueller [EMAIL PROTECTED] writes: Torsten Hallo, I am writing a thesis and have included the chapters Torsten with the include-command. Version 1.0.3 supports this, but: Torsten - it does not display the chapters in the TOC (on the screen), Several of these problems have been fixed recently (labels and citations in multipart documents) but I do not know about TOC. Torsten - I cannot do spellcheck over the whole document. Indeed. Torsten - Another problem is, that I cannot change the document style Torsten for all chapters now, so if I wanted to used another style, Torsten say amsbook instead of book, then I would have to change that Torsten in all files. It is because you cannot generate latex code which would work across multiple document classes. JMarc
Re: invisible in lyx but visible in PostScript 2
"Shawn" == Shawn Koons [EMAIL PROTECTED] writes: Shawn Thank you Kayvan A. Sylvan, the fix worked. Shawn At your promting, I have shortened the file and am attaching it Shawn here for other developers to see as a test case. Shawn If you open the file in lyx (I use 1.1.4) and then "View Shawn PostScript", when you compare the two views, you will find that Shawn certain text is repeated. If you then change all the Paragraphs Shawn to Standard, the duplication is gone and the desired result is Shawn produced. [Please excuse the roughness of the content, it is a Shawn rough draft :)] Note that you are not supposed to use Paragraph here. As its name does not say, Paragraph is in fact a subsubsubsection header, and it not designed to be used for running text. Use Standard instead. JMarc
Re: TTF-Fonts as Screen-Fonts
Hi Allan! -ttf-humnst777 bt-medium-r-normal-roman-0-0-0-0-p-0-iso8859-1 Try putting quotes around it. "..." It works, but only with the whole font-name. Therfore it is not possible to use short-cuts als -*-humnst777. The consequence is that the other shapes (eg. italic ord bold) does not appear. Ciao! juh -- juh's Sudelbuch --- Literatur und Satire per E-Mail http://www.sudelbuch.de Unterstützen Sie das Sudelbuch durch eine Spende. http://www.sudelbuch.de/spende.html
Re: Formatting source code
From: Gerald Gutierrez [EMAIL PROTECTED] To: Lyx Users Mailinglist [EMAIL PROTECTED] Subject: Formatting source code Date: Tue, 7 Mar 2000 11:29:01 -0800 Hello! I'm currently writing my thesis and need to have some code snippets as part of it. Unfortunately, because I'll be using double spacing, simply putting the code in and changing it to a typewriter font, or using Lyx-Code causes the code to be double spaced as well, making it really hard to read (and fairly ugly). Is there a way to separately control the spacing of Lyx-Code? Alternatively, what is There are about 40 known languages.a good way to insert code so that it'll look proper? Also, is there such a thing as a "code float" (like a figure float) ? Thanks. I use the lgrind latex package, which can be used in LyX using ERT. Works with preprocessing using a shell command (lgrind) which must be installed in the bin directory of the LaTeX installation. Provides pretty printing and line numbering of various languages, and can be used standalone, e.g. %lgrind -lC -o foo.tex foo.c %latex foo;dvips foo provides a printed version of C code in foo.c. There are about 40 recognised languages. Does not fold long lines however, you have to format yourself. So with LyX: - get the package from the nearest CTAN archive - install it in the LaTeX tree - make it available (texhash with teTeX) - preprocess the code for inline inclusion in a latex doc, e.g. %lgrind -i -lC -o foo.c.tex foo.c - edit the premable in LyX, e.g.: \usepackage[lineno5,leftno,norules]{lgrind} - at the right location in the doc, insert in ERT \lgrindfile{foo.c.tex} Should work OK, perhaps a bit sophisticated for simple pieces of code, in which case a simple Lyx input of the code embedded between \begin{verbatim} ... \end{verbatim} could be sufficient. Regards -- Jean-Pierre
Re: Problem with dead keys
I do not have the answer to your question. Just another question: How can you accented letters under lyx? When I type: á What I get is similar to . a Is this right? TIA: -- Jose Albores --- __o [EMAIL PROTECTED] ---_ \,_ --- (_)/ (_) "Jacques B. Siboni" wrote: Hi all, I have the following problem and will appreciate if someone has an answer. My Linux X server handles the dead keys correctly that is 'e leads to é `e leads to è "e leads to ë and ' key (apostrophe) typed two times leads to ' " key (double quote) typed two times leads to " xterm and standard applications handle this correctly. What I'm typing now on Netscape is done this way. But presently the problem occurs with lyx editor: generation of accented characters is ok 'e leads to é `e leads to è "e leads to ë but generation of standard apostrophe, double quote, caret (^), tilde and back quote are impossible. Lyx refuses I get the accent that would be upon a character. Generated LateX is \i \'{ } instead of ' I have put no key map translation in config file. I believe it is a known problem. Thanks in advance for your help Cheers Jacques -- Dr. Jacques B. Siboni mailto:[EMAIL PROTECTED] 8 pass. Charles Albert, F75018 Paris, France Tel. Fax: 33 (0) 1 42 28 76 78 Home Page: http://www.lutecium.fr/jacsib/
RE: Win32Port ...
Hello, I am a new LyX-user and new to this list; at this moment I am using the Win32Port of Claus Hentschel (LyX 1.1.4fix1); I have two questions (at this moment); maybe somemone can help me. At first: when I use the option 'view dvi', this will not work with the files 'UserGuide.lyx' and 'Extended.lyx'; at the moment that Yap should open I get a message: C:\tmp\lyx_tmp1001aab\lyx_bufrtmp1001aaa\UserGuide.dvi: cannot open DVI document With the other files from the help-menu and my own files this does not happen. make sure that you have the following commands in your lyxrc file. \view_dvi_command "yap `cygpath -w $$FName`" \view_dvi_paper_option "" \view_ps_command "gsview32 `cygpath -w $$FName`" These commands make sure that yap and gsview32 are called with the right parameters. If yap and/or gsview32 are not in your path you can specify the complete path here. With this it works for me (official 1.1.4fix1 version from CVS). I do not know whether Claus Hentschels port has additional changes. Second: my system is completely hanging when in the lyxrc-file behind /ps_command the default words "gs" are not removed ; this also happens with 'UserGuide.lyx' and 'Extended.lyx'; when I delete gs there is no problem; why? You can try to do the following in your lyxrc file. \view_pspic_command gsview32 \ps_command gswin32c Though inlined pictures do not work because of certain limitations in ghostscript and presumably problems with the fork calls. These problems will not go away anytime soon so you are best off finding a Linux box if you really desire to see inlined pictures :-) Regards Roland Greetings, Sjaak Kamerling Holland PS: Sorry for the "premature posting earlier" - Netscape Messenger just plain sucks -- Dr.-Ing. Roland Krause Engineering Software Research and Development Inc, Saint Louis, MO voice: (314) 983 0649-12
Re: Problem with dead keys
Jean-Marc Lasgouttes wrote: "Jacques" == Jacques B Siboni [EMAIL PROTECTED] writes: Jacques But presently the problem occurs with lyx editor: generation Jacques of accented characters is ok 'e leads to é `e leads to è "e Jacques leads to ë but generation of standard apostrophe, double Jacques quote, caret (^), tilde and back quote are impossible. Lyx Jacques refuses I get the accent that would be upon a character. Jacques Generated LateX is \i \'{ } instead of ' Follow-up question: are you sure you get ' when typing '-key twice in linux? What you should get is the special acute accent character, which is different. And do you get \i \'{ } by typing ' twice? I get it by typing ' and then space. JMarc Jean-Marc, You're right when I type ' twice I get a space in LyX (even if there is already a space! I can add as many spaces as I want, that way!) I get the funny acute accent when I type ' space The desired feature is: ' ' -- ' or ' space -- ' Thanks for your help Bien amicalement Jacques -- Dr. Jacques B. Siboni mailto:[EMAIL PROTECTED] 8 pass. Charles Albert, F75018 Paris, France Tel. Fax: 33 (0) 1 42 28 76 78 Home Page: http://www.lutecium.fr/jacsib/
Formatting source code
Hello! I'm currently writing my thesis and need to have some code snippets as part of it. Unfortunately, because I'll be using double spacing, simply putting the code in and changing it to a typewriter font, or using Lyx-Code causes the code to be double spaced as well, making it really hard to read (and fairly ugly). Is there a way to separately control the spacing of Lyx-Code? Alternatively, what is a good way to insert code so that it'll look proper? Also, is there such a thing as a "code float" (like a figure float) ? Thanks.
Re: reLyX problems
On Tue, Mar 07, 2000 at 11:28:05AM +0100, Stephan E. Schlierf wrote: Hi Kayvan, attached you find the respective LaTeX-file. Thank you very much for your help! Regards, Stephan Hi Stephen, I've CC'ed this to the users list since I think it might help other people to know my approach in solving these types of problems. What I did was the following: 1) Run reLyX on your file to see if I could make heads or tails of the error message (which I couldn't). 2) Open up your file in an editor and split it in half by inserting a \begin{reLyXskip} and \end{reLyXskip} in the file like this: %%% BEGIN HERE \begin{reLyXskip} [] %%% END HERE \end{reLyXskip} I do this in such a way that I respect the logical structure of the LaTeX document (i.e. don't put an end{reLyXskip} in the middle of an enumerated list). 3) Run reLyX. This works. Now I've isolated the problem to the first half of the document. 4) Using a binary search method, by moving the reLyXskip block around the file, I isolate the problems. In any case, please apply this patch to your file and run it through reLyX, then you should be able to fix up the file again in LyX. Hopefully, when I fix some of the outstanding reLyX bugs, we will have less of these types of problems, but meanwhile you (and others) can apply this method to isolate reLyX translation problems. Best regards, ---Kayvan -- Kayvan A. Sylvan | Proud husband of | Father to my kids: Sylvan Associates, Inc.| Laura Isabella Sylvan | Katherine Yelena http://www.successlinks.com/kayvan | Reach your goals now! | Robin Gregory --- ir_englisch.tex~Tue Mar 7 13:15:57 2000 +++ ir_englisch.tex Tue Mar 7 13:28:38 2000 @@ -40,7 +40,7 @@ \begin{document} -\title{{\Huge scanBOY$^\copyright$\@} {\large }{\Huge IR}\\ +\title{{\Huge scanBOY$^\copyright$} {\large }{\Huge IR}\\ {\large Release 3.05}\\ Administration manual} @@ -931,8 +931,11 @@ \item Make sure that the parameter \noun{Random Tests}\index{random tests@\textsc{random tests}} (menu level \noun{Customers}\index{customers@\textsc{customers}}) is set to \texttt{J} (yes) for the respective customers. + +\begin{reLyXskip} \item Make the following adjustments via \noun{Company Parameters}\index{company parameters@\textsc{company parameters}} \( \rightarrow \) \keys{F7 Check\}\index{f7 check@\textsc{f7 check}}: +\end{reLyXskip} \begin{tabular}{ll} \noun{In how many shopping processes shall be at least 1 check}\index{in how many shopping processes shall be at least 1 check@\textsc{in how many shopping processes shall be at least 1 check}}\index{customer check!in how many shopping processes shall be at least 1 check}
multicolumn or whatever
I want to use cell 2 and 3 of the uppermost row of a table without a border for a common heading), but the cells below this header in column 2 and 3 should be separated. I have tried to follow the descriptions in the documents, but I can't get it work. It always takes off the border between the cells below too, whether I mark the cell 2 and 3 of the first row as multicolumn or whether I remove the corrersponding border. How can I restict removal of just one border in a cell to this cell? There must be a simple trick which I haven't grasped. Could somebody help? I include the table as a .lyx sample (`no magnet' should cover cell 2 and 3, same with `magnet'). Thanks! #This file was created by Tue Mar 7 09:30:29 2000 #LyX 1.0 (C) 1995-1999 Matthias Ettrich and the LyX Team \lyxformat 2.15 \textclass article \language default \inputencoding default \fontscheme default \graphics default \paperfontsize default \spacing single \papersize Default \paperpackage a4 \use_geometry 0 \use_amsmath 0 \paperorientation portrait \secnumdepth 3 \tocdepth 3 \paragraph_separation indent \defskip medskip \quotes_language english \quotes_times 2 \papercolumns 1 \papersides 1 \paperpagestyle default \layout Standard Re: Multicolumn \layout Standard I want to use cell 2 and 3 of the uppermost row of a table without a border (for a common heading), but the cells below this header in column 2 and 3 should be separated. I have tried to follow the descriptions in the documents, but I can't get it work. It always takes off the border between the cells below too, whether I mark the cell 2 and 3 of the first row as multicolumn or whether I remove the corrersponding border. How can I restict removal of just one border in a cell to this cell? There must be a simple trick which I haven't grasped. Could somebody help? I include the table as a .lyx sample (`no magnet' should cover cell 2 and 3, same with `magnet'). \layout Standard \added_space_top 0.3cm \added_space_bottom 0.3cm \align center a \layout Standard \added_space_top 0.3cm \added_space_bottom 0.3cm \align center \LyXTable multicol5 8 5 0 0 -1 -1 -1 -1 1 1 0 0 1 1 0 0 1 1 0 0 1 1 0 0 0 0 0 0 1 1 0 0 1 0 0 0 1 1 0 0 2 1 1 "" "" 8 1 0 "" "" 2 1 1 "" "" 8 1 1 "" "" 8 0 1 "" "" 0 2 1 0 0 0 0 "" "" 1 8 1 1 0 0 0 "" "" 0 2 1 1 0 0 0 "" "" 1 8 1 1 0 0 0 "" "" 1 8 1 1 0 0 0 "" "20mm" 0 8 1 0 0 0 0 "" "" 0 8 1 0 0 0 0 "" "" 0 2 1 0 0 0 0 "" "" 0 8 1 0 0 0 0 "" "" 0 8 1 0 0 0 0 "" "" 1 2 1 1 0 0 0 "" "" 0 8 1 0 0 0 0 "" "" 0 8 1 0 0 0 0 "" "" 0 8 1 0 0 0 0 "" "" 0 8 1 0 0 0 0 "" "" 0 8 1 0 0 0 0 "" "" 0 8 1 0 0 0 0 "" "" 0 8 1 0 0 0 0 "" "" 0 8 1 0 0 0 0 "" "" 0 8 1 0 0 0 0 "" "" 0 2 1 0 0 0 0 "" "" 0 8 1 0 0 0 0 "" "" 0 8 1 0 0 0 0 "" "" 0 8 1 0 0 0 0 "" "" 0 8 1 0 0 0 0 "" "" 0 8 1 0 0 0 0 "" "" 0 8 1 0 0 0 0 "" "" 0 8 1 0 0 0 0 "" "" 0 8 1 0 0 0 0 "" "" 0 8 1 0 0 0 0 "" "" 0 8 1 0 0 0 0 "" "" 0 8 1 0 0 0 0 "" "" 0 8 1 0 0 0 0 "" "" 0 8 1 0 0 0 0 "" "" 0 8 1 0 0 0 0 "" "" 0 8 1 0 0 0 0 "" "" 0 8 1 0 0 0 0 "" "" 0 8 1 0 0 0 0 "" "" 0 8 1 0 0 0 0 "" "" 0 8 1 0 0 0 0 "" "" \newline no magnet \newline \newline magnet \newline \newline experiment \newline amplitude \newline period [min] \newline amplitude \newline period [min] \newline a \newline \begin_inset Formula \( 82.57\pm 15.07 \) \end_inset \newline \begin_inset Formula \( 6.05\pm 0.07 \) \end_inset \newline \begin_inset Formula \( 63.78\pm 21.63 \) \end_inset \newline \begin_inset Formula \( 7.14\pm 0.35 \) \end_inset \newline b \newline \begin_inset Formula \( 62.08\pm 1.58 \) \end_inset \newline \begin_inset Formula \( 5.62\pm 0.14 \) \end_inset \newline \begin_inset Formula \( 68.21\pm 7.91 \) \end_inset \newline \begin_inset Formula \( 5.94\pm 0.01 \) \end_inset \newline \newline \begin_inset Formula \( 64.45\pm 0.72 \) \end_inset \newline \begin_inset Formula \( 5.90\pm 0.47 \) \end_inset \newline \begin_inset Formula \( 69.69\pm 1.38 \) \end_inset \newline \begin_inset Formula \( 6.31\pm 0.39 \) \end_inset \newline \newline \newline \newline \begin_inset Formula \( 61.70\pm 2.24 \) \end_inset \newline \begin_inset Formula \( 6.13\pm 0.35 \) \end_inset \newline c \newline \begin_inset Formula \( 70.63\pm 6.37 \) \end_inset \newline \begin_inset Formula \( 6.48\pm 0.10 \) \end_inset \newline \begin_inset Formula \( 75.07\pm 0.70 \) \end_inset \newline \begin_inset Formula \( 7.15\pm 0.38 \) \end_inset \newline \newline \begin_inset Formula \( 78.29\pm 0.92 \) \end_inset \newline \begin_inset Formula \( 6.69\pm 0.26 \) \end_inset \newline \begin_inset Formula \( 81.34\pm 0.30 \) \end_inset \newline \begin_inset
reLyX problems
Hi there, a few days ago it happened to me that LyX crashed (Rel. 1.1.4). After the crash LyX couldn't read the LyX-file well: it told me that there were problems during reading it and at the end all I got was about a quarter of the original file. Fortunately, before it crashed I exported the file as LaTeX (which was obviously not the reason why LyX crashed). Unfortunately, an import of this LaTeX-file via File -> Import didn't work. So I tried a "reLyX -d [LaTeX-file]". First, it seemed to wok very well, but at the end of "reLyXing" I got the following error message: -snip Expecting `}', got \end in ` ' at /usr/X11R6/bin/../share/lyx/reLyX/Text/TeX.pm line 397, chunk 5218. Can't locate object method "environment" via package "Text::TeX::Begin::Group" at /usr/X11R6/bin/../share/lyx/reLyX/Text/TeX.pm line 400, chunk 5218. Exited due to fatal Error! -snip- Does anybody have an idea what's going wrong? (If necessary I could send the LaTeX-file, of course...) I'm using LyX 1.1.4 on a SuSe Linux 6.2 Any help is appreciated! Thanks a lot, Stephan -- Stephan E. Schlierf M.A. - Product Management - ++49 9254 960332 CSE GmbH Germany
RE: multicolumn or whatever
On 07-Mar-2000 Prof. Wolfgang Engelmann wrote: > I want to use cell 2 and 3 of the uppermost row of a table without a > border for a common heading), but the cells below this header in column 2 > and 3 should be separated. I have tried to follow the descriptions > in the documents, but I can't get it work. It always takes off the > border between the cells below too, whether I mark the cell 2 and 3 of > the first row as multicolumn or whether I remove the corrersponding border. > How can I restict removal of just one border in a cell to this cell? > There must be a simple trick which I haven't grasped. > Could somebody help? I include the table as a .lyx sample (`no magnet' > should cover cell 2 and 3, same with `magnet'). > Thanks! Well you just have to select the two cells and the click on multicolumn on the Table->Layout->Menu. If I understood right what you want look at the attached file where I already modified your example. Hope this helps, Jürgen -._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._ Dr. Jürgen Vigna E-Mail: [EMAIL PROTECTED] Italienallee 13/N Tel:+39-0471-450260 I-39100 Bozen Fax:+39-0471-450296 ITALY Web:http://www.sad.it/~jug You two ought to be more careful--your love could drag on for years and years. -._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._ #This file was created by Tue Mar 7 10:33:38 2000 #LyX 1.0 (C) 1995-1999 Matthias Ettrich and the LyX Team \lyxformat 2.15 \textclass article \language default \inputencoding default \fontscheme default \graphics default \paperfontsize default \spacing single \papersize Default \paperpackage a4 \use_geometry 0 \use_amsmath 0 \paperorientation portrait \secnumdepth 3 \tocdepth 3 \paragraph_separation indent \defskip medskip \quotes_language english \quotes_times 2 \papercolumns 1 \papersides 1 \paperpagestyle default \layout Standard Re: Multicolumn \layout Standard I want to use cell 2 and 3 of the uppermost row of a table without a border (for a common heading), but the cells below this header in column 2 and 3 should be separated. I have tried to follow the descriptions in the documents, but I can't get it work. It always takes off the border between the cells below too, whether I mark the cell 2 and 3 of the first row as multicolumn or whether I remove the corrersponding border. How can I restict removal of just one border in a cell to this cell? There must be a simple trick which I haven't grasped. Could somebody help? I include the table as a .lyx sample (`no magnet' should cover cell 2 and 3, same with `magnet'). \layout Standard \added_space_top 0.3cm \added_space_bottom 0.3cm \align center a \layout Standard \added_space_top 0.3cm \added_space_bottom 0.3cm \align center \LyXTable multicol5 8 5 0 0 -1 -1 -1 -1 1 1 0 0 1 1 0 0 1 1 0 0 1 1 0 0 0 0 0 0 1 1 0 0 1 0 0 0 1 1 0 0 2 1 1 "" "" 8 1 0 "" "" 2 1 1 "" "" 8 1 1 "" "" 8 0 1 "" "" 0 2 1 0 0 0 0 "" "" 1 8 1 1 0 0 0 "" "" 2 2 1 1 0 0 0 "" "" 1 8 1 1 0 0 0 "" "" 2 8 1 1 0 0 0 "" "20mm" 0 8 1 0 0 0 0 "" "" 0 8 1 0 0 0 0 "" "" 0 2 1 0 0 0 0 "" "" 0 8 1 0 0 0 0 "" "" 0 8 1 0 0 0 0 "" "" 1 2 1 1 0 0 0 "" "" 0 8 1 0 0 0 0 "" "" 0 8 1 0 0 0 0 "" "" 0 8 1 0 0 0 0 "" "" 0 8 1 0 0 0 0 "" "" 0 8 1 0 0 0 0 "" "" 0 8 1 0 0 0 0 "" "" 0 8 1 0 0 0 0 "" "" 0 8 1 0 0 0 0 "" "" 0 8 1 0 0 0 0 "" "" 0 2 1 0 0 0 0 "" "" 0 8 1 0 0 0 0 "" "" 0 8 1 0 0 0 0 "" "" 0 8 1 0 0 0 0 "" "" 0 8 1 0 0 0 0 "" "" 0 8 1 0 0 0 0 "" "" 0 8 1 0 0 0 0 "" "" 0 8 1 0 0 0 0 "" "" 0 8 1 0 0 0 0 "" "" 0 8 1 0 0 0 0 "" "" 0 8 1 0 0 0 0 "" "" 0 8 1 0 0 0 0 "" "" 0 8 1 0 0 0 0 "" "" 0 8 1 0 0 0 0 "" "" 0 8 1 0 0 0 0 "" "" 0 8 1 0 0 0 0 "" "" 0 8 1 0 0 0 0 "" "" 0 8 1 0 0 0 0 "" "" 0 8 1 0 0 0 0 "" "" 0 8 1 0 0 0 0 "" "" \newline no magnet \newline magnet \newline experiment \newline amplitude \newline period [min] \newline amplitude \newline period [min] \newline a \newline \begin_inset Formula \( 82.57\pm 15.07 \) \end_inset \newline \begin_inset Formula \( 6.05\pm 0.07 \) \end_inset \newline \begin_inset Formula \( 63.78\pm 21.63 \) \end_inset \newline \begin_inset Formula \( 7.14\pm 0.35 \) \end_inset \newline b \newline \begin_inset Formula \( 62.08\pm 1.58 \) \end_inset \newline \begin_inset Formula \( 5.62\pm 0.14 \) \end_inset \newline \begin_inset Formula \( 68.21\pm 7.91 \) \end_inset \newline \begin_inset Formula \( 5.94\pm 0.01 \) \end_inset \newline \newline \begin_inset Formula \( 64.45\pm 0.72 \) \end_inset \newline \begin_inset Formula \( 5.90\pm 0.47 \) \end_inset \newline \begin_inset Formula \( 69.69\pm 1.38 \) \end_inset \newline \begin_inset Formula \( 6.31\pm 0.39 \) \end_inset \newline \newline \newline \newline \begin_inset Formula \( 61.70\pm 2.24 \) \end_inset \newline \begin_inset Formula \( 6.13\pm 0.35 \) \end_inset \newline c
Re: reLyX problems
On Tue, Mar 07, 2000 at 10:28:20AM +0100, Stephan E. Schlierf wrote: > Does anybody have an idea what's going wrong? (If necessary I could send > the LaTeX-file, of course...) > > I'm using LyX 1.1.4 on a SuSe Linux 6.2 > > Any help is appreciated! > Send me the LaTeX file and I will figure out why it crashed. ---Kayvan -- Kayvan A. Sylvan | Proud husband of | Father to my kids: Sylvan Associates, Inc.| Laura Isabella Sylvan | Katherine Yelena http://www.successlinks.com/kayvan | Reach your goals now! | Robin Gregory
Re: mathrm in lyx
Herbert Voss wrote: > > Wolfgang Riedel wrote: > > > > Hi, > > > > if I type the tex code (for instance) for an unit of measurement 'meter > > per second' "\mathrm{\frac{m}{s}}" inside a mathematical expression in > > lyx (the frac was created via the mathematical menue) it seems correct, > > the dvi is okay. But if I leave lyx, start it again and load the saved > > lyx file, then the roman font information is lost. 'm' and 's' are > > considered as variables :-( > > try in lyx-mathmode alt-M-m for writing in textmode for "m" and "s" or > > $\frac{\textrm{m}}{\textrm{s}}$in text-mathode, which is just the > same Unfortunately this is the wrong approach, at least when using computer modern fonts for math typesetting. Try to press M-c r (which is the english mapping for font-roman, german users which use de_menus.bind should press M-z r), this gives you a \mathrm encapsulation for the letters typed afterwards. Any "math" operator switches the font back, so check twice if your letters m and s are "upright" and not "italics". On the other hand, if you type a dimension within your floating text, you should use the same font as in the text itself. Here the text-mathmode might be a good choice. Or use \usepackage{mathptm} (or {mathptmx}) to use Times as the math font. Then your measurements should look the same as the rest (disregarding \mathrm or \textrm). HTH, Frank -- Hi! I'm a .signature virus! Copy me into your ~/.signature to help me spread! --> Sign the Linux Driver Petition: http://www.libranet.com/petition.html <--
Colors in Lyx
Hello People, my name is Roman Poeschl. I am working since two months now with lyx 1.0.4. First of all it is in many ways the thing I have always serched for. Recently, I have tried to prepare a talk using the slide mode of Lyx. Unfortunately, I did not manage to put any colored text onto the slides. When I try the tex commands like eg. '\color{red}' or '\red' Lyx tells me that these commands are never defined. I also fiddled around with the latex preamble but I did not succeed. Of course I can hack all the text in plain tex but that is exactly the thing which one wants to avoid using Lyx. Is there anyone haveing an idea how to produce colored slides using Lyx. I would be grateful for a response. Nevertheless, I think that Lyx is a real step forward. Cheers, Roman -- +-+ | Roman Poeschl ([EMAIL PROTECTED]) | | Lehrstuhl f. Experimentalphysik V | | Universitaet Dortmund | | Tel.: ++49-231-755-4526| | | | In HH: Deutsches Elektronensynchrotron(DESY) | | Raum 1b,Nr.604 | | Tel.: ++49-40-8998-2636 | | Fax.: ++49-40-8998-4385 | | | +-+
Re: Colors in Lyx
> "Roman" == Roman Poeschl <[EMAIL PROTECTED]> writes: Roman> Recently, I have tried to prepare a talk using the slide mode Roman> of Lyx. Unfortunately, I did not manage to put any colored text Roman> onto the slides. When I try the tex commands like eg. Roman> '\color{red}' or '\red' Lyx tells me that these commands are Roman> never defined. I also fiddled around with the latex preamble Roman> but I did not succeed. Go in Layout->Chracter. There you will find (surprise!) an entry named 'color'. You cannot select all colors this way, but it is better than nothing. Hope this helps. JMarc
Re: Problem with dead keys
> "Jacques" == Jacques B Siboni <[EMAIL PROTECTED]> writes: Jacques> But presently the problem occurs with lyx editor: generation Jacques> of accented characters is ok 'e leads to é `e leads to è "e Jacques> leads to ë but generation of standard apostrophe, double Jacques> quote, caret (^), tilde and back quote are impossible. Lyx Jacques> refuses I get the accent that would be upon a character. Jacques> Generated LateX is \i \'{ } instead of ' Follow-up question: are you sure you get ' when typing '-key twice in linux? What you should get is the special acute accent character, which is different. And do you get \i \'{ } by typing ' twice? I get it by typing ' and then space. JMarc
Re: include files
> "Wolfgang" == Wolfgang Riedel <[EMAIL PROTECTED]> writes: Wolfgang> Hi, I´ve a nice lyx file which includes some other lyx files Wolfgang> (via \inlude). If I´d modified something in this subfiles Wolfgang> and want to look at the resulting dvi (new dvi window or Wolfgang> refreshed old one) then I see, that the batch latex process Wolfgang> was *not* started. That means, I see the old text again. Is Wolfgang> it correct? Can I configure the right behaviour? I use Wolfgang> lyx-1.0.3-1 (in german) at a redhat 6.0 linux box. This bug has been corrected in later LyX versions. Upgrade to lyx 1.1.4fix1. JMarc
Re: lyx and greek
> "François" == François Patte <[EMAIL PROTECTED]> writes: François> There is a problem in lyx with ~ accent: this character is François> active in the babel greek stuff, so if you type: François> <~h François> in a latex file with \usepackage[babel]{greek} in the François> preamble you get the correct eta with spirit and tilde François> accent on it. François> In lyx, the tilde accent is exported as: \textasciitilde{} François> so with the same sequence: <~h you get in the corresponding François> latex file: François> <\textasciitilde{}h François> and get in the dvi the spirit, then the tilde accent and François> then the eta. The babel input conventions are designed for shortcut entry of special characters and are not really needed by LyX. And LyX does need to know that ~ is a nonbreaking space or " just a double quote and not some fancy macro... We have a greek.kmap keymap file in the distribution. Does it work? [as you can see, I know nothing about the particular problems of greek language..]. BTW, what is a 'spirit'? François> In the latex file we get the preamble: François> \documentclass[12pt,a4paper,greek]{article} François> \usepackage[T1]{fontenc} \usepackage{babel} François> I think that the syntax: François> \documentclass[12pt,a4paper]{article} François> \usepackage[T1]{fontenc} \usepackage[greek]{babel} François> should be better. As Lars said, this allows all packages to have the language information. In any case, babel gets to see the option. François> How to get a multilingual preamble? François> \usepackage[greek,french]{babel} Unfortunately, we are not there yet... François> Last: what is the lyx release in which there are separate François> fonctions to search and replace: in my version (1.1.4 pre) I François> can't browse the manual because it a read only file! This problem is fixed in 1.1.4fix1. The search and replace are not separated, but work correctly on read-only documents. Hope this helps. JMarc
Re: Macros ?
> "Luis" == Luis A Fernandez <[EMAIL PROTECTED]> writes: Luis> Hi all, So far I've been quite happy with LyX for some 3 years Luis> now. I've done a lot of writing with it: papers, articles, Luis> books, classnotes, lists of problems for the students and so on. Luis> However, I have to write a LOT of chemistry, which is rather Luis> tedious (things like proton concentration: [H+] -the '+' as Luis> superscript-). Up to the moment I was more or less happy once I Luis> got to know by heart the different key-bindings. But I came up Luis> wondering if there's a way of defining one's own key-bindings Luis> (can I call it a macro ?), for instance, the proton concentation Luis> mentioned above in a way that if I, for instance, type Alt-F1 Luis> the whole thing shows up. I would really appreciate Luis> pointers/suggestions so as how to do this, it it can be done. What we have now are math macros (look in the user guide on how to do that). Once the macro is setup, you can probably bind a key to math-insert foo to insert macro foo. I do not know whether this is what you want... JMarc
Re: chapters in included files
> "Torsten" == Torsten Mueller <[EMAIL PROTECTED]> writes: Torsten> Hallo, I am writing a thesis and have included the chapters Torsten> with the include-command. Version 1.0.3 supports this, but: Torsten> - it does not display the chapters in the TOC (on the screen), Several of these problems have been fixed recently (labels and citations in multipart documents) but I do not know about TOC. Torsten> - I cannot do spellcheck over the whole document. Indeed. Torsten> - Another problem is, that I cannot change the document style Torsten> for all chapters now, so if I wanted to used another style, Torsten> say amsbook instead of book, then I would have to change that Torsten> in all files. It is because you cannot generate latex code which would work across multiple document classes. JMarc
Re: invisible in lyx but visible in PostScript 2
> "Shawn" == Shawn Koons <[EMAIL PROTECTED]> writes: Shawn> Thank you Kayvan A. Sylvan, the fix worked. Shawn> At your promting, I have shortened the file and am attaching it Shawn> here for other developers to see as a test case. Shawn> If you open the file in lyx (I use 1.1.4) and then "View Shawn> PostScript", when you compare the two views, you will find that Shawn> certain text is repeated. If you then change all the Paragraphs Shawn> to Standard, the duplication is gone and the desired result is Shawn> produced. [Please excuse the roughness of the content, it is a Shawn> rough draft :)] Note that you are not supposed to use Paragraph here. As its name does not say, Paragraph is in fact a subsubsubsection header, and it not designed to be used for running text. Use Standard instead. JMarc
Re: TTF-Fonts as Screen-Fonts
Hi Allan! > > -ttf-humnst777 bt-medium-r-normal-roman-0-0-0-0-p-0-iso8859-1 > > Try putting quotes around it. "..." It works, but only with the whole font-name. Therfore it is not possible to use short-cuts als -*-humnst777. The consequence is that the other shapes (eg. italic ord bold) does not appear. Ciao! juh -- juh's Sudelbuch --- Literatur und Satire per E-Mail http://www.sudelbuch.de Unterstützen Sie das Sudelbuch durch eine Spende. http://www.sudelbuch.de/spende.html
Re: Formatting source code
>>From: Gerald Gutierrez <[EMAIL PROTECTED]> >>To: Lyx Users Mailinglist <[EMAIL PROTECTED]> >>Subject: Formatting source code >>Date: Tue, 7 Mar 2000 11:29:01 -0800 >> >> >>Hello! >> >>I'm currently writing my thesis and need to have some code snippets as part of >>it. Unfortunately, because I'll be using double spacing, simply putting the >>code in and changing it to a typewriter font, or using Lyx-Code causes the code >>to be double spaced as well, making it really hard to read (and fairly ugly). >> >>Is there a way to separately control the spacing of Lyx-Code? Alternatively, >>what is There are about 40 known languages.a good way to insert code so that it'll look proper? Also, is there >>such a thing as a "code float" (like a figure float) ? >> >>Thanks. >> >> I use the lgrind latex package, which can be used in LyX using ERT. Works with preprocessing using a shell command (lgrind) which must be installed in the bin directory of the LaTeX installation. Provides pretty printing and line numbering of various languages, and can be used standalone, e.g. %lgrind -lC -o foo.tex foo.c %latex foo;dvips foo provides a printed version of C code in foo.c. There are about 40 recognised languages. Does not fold long lines however, you have to format yourself. So with LyX: - get the package from the nearest CTAN archive - install it in the LaTeX tree - make it available (texhash with teTeX) - preprocess the code for inline inclusion in a latex doc, e.g. %lgrind -i -lC -o foo.c.tex foo.c - edit the premable in LyX, e.g.: \usepackage[lineno5,leftno,norules]{lgrind} - at the right location in the doc, insert in ERT \lgrindfile{foo.c.tex} Should work OK, perhaps a bit sophisticated for simple pieces of code, in which case a simple Lyx input of the code embedded between \begin{verbatim} ... \end{verbatim} could be sufficient. Regards -- Jean-Pierre
Re: Problem with dead keys
I do not have the answer to your question. Just another question: How can you accented letters under lyx? When I type: á > What I get is similar to > . a Is this right? TIA: -- Jose Albores --- __o [EMAIL PROTECTED] ---_ \<,_ --- (_)/ (_) "Jacques B. Siboni" wrote: > > Hi all, > > I have the following problem and will appreciate if someone has an answer. > > My Linux X server handles the dead keys correctly that is > 'e leads to é > `e leads to è > "e leads to ë > and ' key (apostrophe) typed two times leads to ' > " key (double quote) typed two times leads to " > > xterm and standard applications handle this correctly. What I'm typing now on > Netscape is done this way. > > But presently the problem occurs with lyx editor: > generation of accented characters is ok > 'e leads to é > `e leads to è > "e leads to ë > but generation of standard apostrophe, double quote, caret (^), tilde and back > quote are impossible. Lyx refuses I get the accent that would be upon a > character. Generated LateX is > \i \'{ } instead of ' > > I have put no key map translation in config file. > > I believe it is a known problem. > > Thanks in advance for your help > > Cheers > > Jacques > > -- > Dr. Jacques B. Siboni mailto:[EMAIL PROTECTED] > 8 pass. Charles Albert, F75018 Paris, France > Tel. & Fax: 33 (0) 1 42 28 76 78 > Home Page: http://www.lutecium.fr/jacsib/
RE: Win32Port ...
> Hello, > I am a new LyX-user and new to this list; at this moment I am using the Win32Port of Claus Hentschel (LyX 1.1.4fix1); > I have two > questions (at this moment); maybe somemone can help me. > At first: when I use the option 'view dvi', this will not work with the files 'UserGuide.lyx' and 'Extended.lyx'; at the > moment that Yap > should open I get a message: C:\tmp\lyx_tmp1001aab\lyx_bufrtmp1001aaa\UserGuide.dvi: cannot open DVI document > With the other files from the help-menu and my own files this does not happen. make sure that you have the following commands in your lyxrc file. \view_dvi_command "yap `cygpath -w $$FName`" \view_dvi_paper_option "" \view_ps_command "gsview32 `cygpath -w $$FName`" These commands make sure that yap and gsview32 are called with the right parameters. If yap and/or gsview32 are not in your path you can specify the complete path here. With this it works for me (official 1.1.4fix1 version from CVS). I do not know whether Claus Hentschels port has additional changes. > Second: my system is completely hanging when in the lyxrc-file behind /ps_command the default words "gs" are not > removed ; this also > happens with 'UserGuide.lyx' and 'Extended.lyx'; when I delete gs there is no problem; why? You can try to do the following in your lyxrc file. \view_pspic_command gsview32 \ps_command gswin32c Though inlined pictures do not work because of certain limitations in ghostscript and presumably problems with the fork calls. These problems will not go away anytime soon so you are best off finding a Linux box if you really desire to see inlined pictures :-) Regards Roland > Greetings, > Sjaak Kamerling > Holland PS: Sorry for the "premature posting earlier" - Netscape Messenger just plain sucks -- Dr.-Ing. Roland Krause Engineering Software Research and Development Inc, Saint Louis, MO voice: (314) 983 0649-12
Re: Problem with dead keys
Jean-Marc Lasgouttes wrote: > > > "Jacques" == Jacques B Siboni <[EMAIL PROTECTED]> writes: > > Jacques> But presently the problem occurs with lyx editor: generation > Jacques> of accented characters is ok 'e leads to é `e leads to è "e > Jacques> leads to ë but generation of standard apostrophe, double > Jacques> quote, caret (^), tilde and back quote are impossible. Lyx > Jacques> refuses I get the accent that would be upon a character. > Jacques> Generated LateX is \i \'{ } instead of ' > > Follow-up question: are you sure you get ' when typing '-key twice in > linux? What you should get is the special acute accent character, > which is different. > > And do you get \i \'{ } by typing ' twice? I get it by typing ' and > then space. > > JMarc Jean-Marc, You're right when I type ' twice I get a space in LyX (even if there is already a space! I can add as many spaces as I want, that way!) I get the funny acute accent when I type ' The desired feature is: ' ' --> ' or ' --> ' Thanks for your help Bien amicalement Jacques -- Dr. Jacques B. Siboni mailto:[EMAIL PROTECTED] 8 pass. Charles Albert, F75018 Paris, France Tel. & Fax: 33 (0) 1 42 28 76 78 Home Page: http://www.lutecium.fr/jacsib/
Formatting source code
Hello! I'm currently writing my thesis and need to have some code snippets as part of it. Unfortunately, because I'll be using double spacing, simply putting the code in and changing it to a typewriter font, or using Lyx-Code causes the code to be double spaced as well, making it really hard to read (and fairly ugly). Is there a way to separately control the spacing of Lyx-Code? Alternatively, what is a good way to insert code so that it'll look proper? Also, is there such a thing as a "code float" (like a figure float) ? Thanks.
Re: reLyX problems
On Tue, Mar 07, 2000 at 11:28:05AM +0100, Stephan E. Schlierf wrote: > > Hi Kayvan, > > attached you find the respective LaTeX-file. > > Thank you very much for your help! > > Regards, > > Stephan Hi Stephen, I've CC'ed this to the users list since I think it might help other people to know my approach in solving these types of problems. What I did was the following: 1) Run reLyX on your file to see if I could make heads or tails of the error message (which I couldn't). 2) Open up your file in an editor and split it in half by inserting a \begin{reLyXskip} and \end{reLyXskip} in the file like this: %%% BEGIN HERE \begin{reLyXskip} [] %%% END HERE \end{reLyXskip} I do this in such a way that I respect the logical structure of the LaTeX document (i.e. don't put an end{reLyXskip} in the middle of an enumerated list). 3) Run reLyX. This works. Now I've isolated the problem to the first half of the document. 4) Using a binary search method, by moving the reLyXskip block around the file, I isolate the problems. In any case, please apply this patch to your file and run it through reLyX, then you should be able to fix up the file again in LyX. Hopefully, when I fix some of the outstanding reLyX bugs, we will have less of these types of problems, but meanwhile you (and others) can apply this method to isolate reLyX translation problems. Best regards, ---Kayvan -- Kayvan A. Sylvan | Proud husband of | Father to my kids: Sylvan Associates, Inc.| Laura Isabella Sylvan | Katherine Yelena http://www.successlinks.com/kayvan | Reach your goals now! | Robin Gregory --- ir_englisch.tex~Tue Mar 7 13:15:57 2000 +++ ir_englisch.tex Tue Mar 7 13:28:38 2000 @@ -40,7 +40,7 @@ \begin{document} -\title{{\Huge scanBOY$^\copyright$\@} {\large }{\Huge IR}\\ +\title{{\Huge scanBOY$^\copyright$} {\large }{\Huge IR}\\ {\large Release 3.05}\\ Administration manual} @@ -931,8 +931,11 @@ \item Make sure that the parameter \noun{Random Tests}\index{random tests@\textsc{random tests}} (menu level \noun{Customers}\index{customers@\textsc{customers}}) is set to \texttt{J} (yes) for the respective customers. + +\begin{reLyXskip} \item Make the following adjustments via \noun{Company Parameters}\index{company parameters@\textsc{company parameters}} \( \rightarrow \) \keys{F7 Check\}\index{f7 check@\textsc{f7 check}}: +\end{reLyXskip} \begin{tabular}{ll} \noun{In how many shopping processes shall be at least 1 check}\index{in how many shopping processes shall be at least 1 check@\textsc{in how many shopping processes shall be at least 1 check}}\index{customer check!in how many shopping processes shall be at least 1 check}