Re: Problem with standard installer for version 1.6.8-1 (Windoze)
Mukhtar Ullah wrote: > Julien Rioux physics.utoronto.ca> writes: > > > > > > On 21/11/2010 2:28 PM, Jim Rockford wrote: > > > Use the '-sysdir' command line parameter or set the environment > > > variable LYX_DIR_16x to the Lyx system directory containing the file > > > 'chkconfig.Itx'." > > > > > > > > > The problem appears to be the 'chkconfig.Itx' file. I don't see it > > > anywhere within the Lyx installation directory tree. > > > > > > > > hmm, shouldn't it be looking for chkconfig.ltx (l as in latex), right? > > > > > > I faced the exact same problem with the standard LyX 1.6.8-1 installer on > windows 7 64-bit. The other installer from Uwe works fine. There seems to be a problem with the standard installer and some external libraries. Joost is working on a fix. Meanwhile, we have removed the standard installer from the servers. Jürgen
Re: Use AMS math package (semi-)automatically
Andrew Parsloe wrote: > In Document>Settings>Math Options, checking the 'Use AMS math package > automatically' option doesn't mean exactly that. I use LyX for > constructing diagrams with PSTricks and enter the code in ERT (LyX's > PostScript View and Update buttons are excellent for this). I wanted to > label an angle with pi/4 and entered > > $\tfrac{\pi}{4}$ ERT always means: you are responsible for what you do alone. LyX does not care what you enter in ERT, it just passes whatever the content of this is to LaTeX. That's why we call it "Evil Red Text" ;-) > A bug? Confusing at least. No. Design. Jürgen
Re: buffer view pdf2
Am 22.11.2010 um 01:33 schrieb Hellmut Weber: > On 21.11.2010 19:21, Emanuel Blum wrote: >> >> Am 21.11.2010 um 01:30 schrieb Hellmut Weber: >> >>> >>> On 18.11.2010 17:34, Emanuel Blum wrote: Hallo zusammen, ich bin seit Monaten glücklicher Lyx-User, habe jedoch seit geraumer Zeit das Problem, dass ich kein PDF-file mehr auswerfen kann. Wenn ich den Pdf-Button betätige, erscheint in der Leiste unten die Meldung "buffer view pdf2". Habe versucht das Problem zu googeln, bin aber nicht wirklich schlauer geworden. Falls es euch hilft: -Lyx Version: 1.6.5 -Betriebssystem: Mac OS X 10.5.8 Vielen Dank im Voraus. Liebe Grüße, Emanuel Blum >>> >>> >>> Hi Emanuel, >>> this is an english list, so I'll respond in english. >>> >>> Do you note this effect when you try to view a lyx document for the >>> first time as pdf? >>> Are you sure that there is not a pdf viewer (like acroread) open >>> somewhere else (e.g. on another desktop)? >>> >>> When I'mworking on my Linux system on a lyx document an press the pdf >>> button for the first time, acfroread pops up with my document ONLY IF >>> there is no acroread open at some other place. >>> >>> What system do you use? OS? Lyx Version? >>> >>> >>> HTH >>> >>> Hellmut >>> >>> >>> >>> >>> -- >>> Dr. Hellmut Weber m...@hellmutweber.de >>> Degenfeldstraße 2 tel +49-89-3081172 >>> D-80803 München-Schwabing mobil +49-172-8450321 >>> please: No DOCs, no PPTs. why: tinyurl.com/cbgq >> >> >> >> Hi Hellmut, >> >> thanks for your response! >> >> I use Lyx version 1.6.5 and Mac OS X 10.5.8. >> Yes, it's the case when I try to open a PDF for the first time. No other >> pdf viewers are active. >> >> Best, >> >> Emanuel >> > > > Hallo Emaunuel, > > Hi Emaunuel, > I didn't realize from your first message that are working on Mac. I > don't have any experience with this clas of machines. > > Nevertheless one thought: Since I see the same message in the status > line of lyx, when lyx has done its job successfully, I suppose that the > problem is some wheer in the pdf viewer installation. > > Can it be that the problem appeared after some system update? > Is there on Mac an automatic system update function? Hi Emanual, there is more then one possibility to produce a .pdf file with LyX. pdf2 is the way to produce a .pdf file with pdflatex. It looks like you are able to produce a .pdf file and then no viewer is started. What you may try: 1. export the document as pdflatex and see if you're able to open it in finder. 2. check your preferences - what's the configured viewer for pdf2 (pdflatex)? 3. check if one of the other view pdf output paths works (dvipdfm or ps2pdf) Stephan
Use AMS math package (semi-)automatically
In Document>Settings>Math Options, checking the 'Use AMS math package automatically' option doesn't mean exactly that. I use LyX for constructing diagrams with PSTricks and enter the code in ERT (LyX's PostScript View and Update buttons are excellent for this). I wanted to label an angle with pi/4 and entered $\tfrac{\pi}{4}$ but got an undefined control sequence message for my troubles, despite the AMS math package option being checked. When I added \usepackage{AMSmath} manually in the document preamble, all was well. When I enter the same expression in LyX's math editor, the AMS math package does load automatically. The code in both cases looks identical in the View Source window. A bug? Confusing at least. (LyX 1.6.8; ponderous Windows Vista) Andrew Parsloe
Re: [LyX] Re: how to make fragile frames in beamer layout
On Mon, Nov 22, 2010 at 3:17 AM, Kevin Middleton wrote: > > Would you mind posting a small .lyx file demonstrating the ordering of > FragileFrame and EndFrame? I'm trying your suggestion with LyX 2.0 beta 1 (OS > X), but I can't get it to work. I have added the code below to beamer.layout > and reconfigured LyX (not sure if this is necessary). > Yes, it is. >I have a document with the Sweave module loaded and one fragile frame >containing some minimal Sweave code in a Chunk. > I don't know if it makes a difference, but I use R code in ERT. > When I try to view, I get an error: "Missing } inserted". The operative part > of the log appears to be: > > ! Missing } inserted. > > } > l.32 \end{frame} > > I have tried adding EndFrame, both inside the FragileFrame and just after it, > but that did not help. > > Any suggestions would be appreciated. > See attached. Document created using 2.0 beta1 on Xubuntu. Also [1] for the PDF result. Regards Liviu [1] http://s000.tinyupload.com/index.php?file_id=15938587467372347593 > Thanks, > Kevin > > >> I came up with two hacks which sofar work just fine in combination >> with the Sweave module (for R output). One usage note: you need to use >> 'EndFrame' env before RragileFrame, when the latter comes immediately >> after the Beamer title or after a regular Frame. Later I'll look into >> making this a module; now you'd simply need to add this to your >> beamer.layout. >> >> Regards >> Liviu >> >> InsetLayout Flex:FragileFrame >> LyXType custom >> LatexType Environment >> LatexName frame >> LatexParam [fragile] >> Decoration Classic >> MultiPar 1 >> LabelString "Fragile Frame" >> NeedProtect 0 >> Spellcheck 1 >> End >> >> InsetLayout Flex:FragileTitle >> LyXType custom >> LatexType Command >> LatexName frametitle >> LabelString "Fragile Title" >> Decoration Classic >> Spellcheck 1 >> End > > -- Do you know how to read? http://www.alienetworks.com/srtest.cfm http://goodies.xfce.org/projects/applications/xfce4-dict#speed-reader Do you know how to write? http://garbl.home.comcast.net/~garbl/stylemanual/e.htm#e-mail beamer-sweave-template.lyx Description: Binary data
Updating a language for the LaTeX program listings package?
I understand I need to update the lstdrvrs.dtx of the listings package to add a new language. What I'm not clear about is, once I update the listings package, how do I get it into LyX (on a Macintosh using LyX-2.0 beta) I.E. where does that live in the Mac Filesystem if I installed LyX 2.0beta with the binary installer? Thanks! Rob __ Robert J Berger Internet Bandwidth Development 15550 Wildcat Ridge, Saratoga, CA 95070 +1 408-838-8896 http://blog.ibd.com
Re: Greek+English documents show English words with Greek letters
(This is probably grave-digging :P) I left LyX (and TeX) alone since that thread. Recently I was asked to create a paper in LaTeX and therefore looked at the LyX site again. I saw that LyX 2.0 beta supports "XeTeX", which presumably does exactly what I described in this thread! So after all, thanks LyX devs! I just tried it out and indeed it works like a charm after enabling XeTeX in the Document Settings. I can write Latin and Greek characters at the same time without being driven insane by constantly selecting text and switching language. :-) On 02/17/2009 05:46 PM, Guenter Milde wrote: On 2009-02-16, Nikos Chantziaras wrote: Guenter Milde wrote: On 2009-02-09, Nikos Chantziaras wrote: I'm using LyX 1.6.1 with TeXLive 2007 on Linux (Gentoo). I created a new document using the "article" class and selected "Greek" as language. The document is a mix of English and Greek, but there's a problem: even though English words appear correctly in LyX, the final PDF output shows English using the Greek alphabet. ... You need to tell LyX which parts of the document are Greek and which are English ... This is too slow, really, and in contrast with every other software out there where you simply press Alt+Shift (or whatever combination you've set up) and type away. However, this software will most probably not do correct hyphenation and spell-cheking... For single foreign words in Latin script, where this is not a problem, you can use a customized "unicodesymbols" file: * Copy it to your LyX directory (~/.lyx). * For all the latin Letters (and maybe also the question mark and other punktuation), you need to add lines like:: 0x0067 "\textlatin{g}""" "force" "" "" # LATIN SMALL LETTER G However, this will stand in your way, if you want to compile e.g. English or German documents, so it needs a way to "switch off". (one possibility is a to put the modified file into another userdir (say ~/.lyx-greek) and start LyX with the "-userdir ~/.lyx-greek" option. It's not really an option to have to type two shortcuts to switch language You need to switch two things: keyboard layout (in LyX or in the OS) and language (in LyX). To achieve both with one key-combo, you could: a) use the lyx-server and a script to let the shortcut switch the OS keyboard settings and send the lfun to LyX, or b) define a keymap in LyX (see Help>Customization) and define a shortcut in LyX to switch the language + the keymap. Option b) is preferable, if you wish to have a persistent keyboard mapping outside LyX (e.g. for Greek-ignorant applications). But if this is a limitation of TeX or LaTeX then I guess LyX has to live with it. No, It is one of the limitations that LyX (due to its consequent use of Unicode) can "easily" overcome. As it stands, it's too painful to use LyX for multilingual documents that way, where the second language does not use a Latin alphabet. Actually, it's no problem in the (worldwide more common) case that the *second* language uses a non-Latin alphabet (like Greek words in German text). The other way round is the problem. I suppose most people can't really comprehend the painfulness of this because their language is based on the Latin alphabet and Alt+Shift does the right thing for them. This might be one of the reasons for this feature still missing in LyX. After all, LyX is a project by volunteers that need to be interested in fixing this by one of * own need for the feature, * "scientific", "sportive" or some other interest in solving the problem, * financial stimulus. So, a first step towards a solution would be to file an enhancement report to bugzilla.lyx.org that gets the developers interested. A second step would be getting involved with the development and e.g. provide a patch for unicodesymbols or a "greek.kmap" file that translates Latin input to Greek Unicodechars for LyX.
Re: [LyX] Re: how to make fragile frames in beamer layout
Would you mind posting a small .lyx file demonstrating the ordering of FragileFrame and EndFrame? I'm trying your suggestion with LyX 2.0 beta 1 (OS X), but I can't get it to work. I have added the code below to beamer.layout and reconfigured LyX (not sure if this is necessary). I have a document with the Sweave module loaded and one fragile frame containing some minimal Sweave code in a Chunk. When I try to view, I get an error: "Missing } inserted". The operative part of the log appears to be: ! Missing } inserted. } l.32 \end{frame} I have tried adding EndFrame, both inside the FragileFrame and just after it, but that did not help. Any suggestions would be appreciated. Thanks, Kevin > I came up with two hacks which sofar work just fine in combination > with the Sweave module (for R output). One usage note: you need to use > 'EndFrame' env before RragileFrame, when the latter comes immediately > after the Beamer title or after a regular Frame. Later I'll look into > making this a module; now you'd simply need to add this to your > beamer.layout. > > Regards > Liviu > > InsetLayout Flex:FragileFrame > LyXType custom > LatexTypeEnvironment > LatexNameframe > LatexParam [fragile] > Decoration Classic > MultiPar 1 > LabelString "Fragile Frame" > NeedProtect 0 > Spellcheck 1 > End > > InsetLayout Flex:FragileTitle > LyXType custom > LatexTypeCommand > LatexNameframetitle > LabelString "Fragile Title" > Decoration Classic > Spellcheck 1 > End
Re: No printing of any files
Anthony Campbell writes: > Can someone kindly point to where this printing issue is documented? http://wiki.lyx.org/Windows/LyXWinTips#printing -- Enrico
Re: buffer view pdf2
On 21.11.2010 19:21, Emanuel Blum wrote: > > Am 21.11.2010 um 01:30 schrieb Hellmut Weber: > >> >> On 18.11.2010 17:34, Emanuel Blum wrote: >>> >>> Hallo zusammen, >>> >>> ich bin seit Monaten glücklicher Lyx-User, habe jedoch seit geraumer >>> Zeit das Problem, dass ich kein PDF-file mehr auswerfen kann. Wenn ich >>> den Pdf-Button betätige, erscheint in der Leiste unten die Meldung >>> "buffer view pdf2". Habe versucht das Problem zu googeln, bin aber nicht >>> wirklich schlauer geworden. >>> >>> Falls es euch hilft: >>> -Lyx Version: 1.6.5 >>> -Betriebssystem: Mac OS X 10.5.8 >>> >>> Vielen Dank im Voraus. >>> >>> Liebe Grüße, >>> >>> Emanuel Blum >> >> >> Hi Emanuel, >> this is an english list, so I'll respond in english. >> >> Do you note this effect when you try to view a lyx document for the >> first time as pdf? >> Are you sure that there is not a pdf viewer (like acroread) open >> somewhere else (e.g. on another desktop)? >> >> When I'mworking on my Linux system on a lyx document an press the pdf >> button for the first time, acfroread pops up with my document ONLY IF >> there is no acroread open at some other place. >> >> What system do you use? OS? Lyx Version? >> >> >> HTH >> >> Hellmut >> >> >> >> >> -- >> Dr. Hellmut Weber m...@hellmutweber.de >> Degenfeldstraße 2 tel +49-89-3081172 >> D-80803 München-Schwabing mobil +49-172-8450321 >> please: No DOCs, no PPTs. why: tinyurl.com/cbgq > > > > Hi Hellmut, > > thanks for your response! > > I use Lyx version 1.6.5 and Mac OS X 10.5.8. > Yes, it's the case when I try to open a PDF for the first time. No other > pdf viewers are active. > > Best, > > Emanuel > Hallo Emaunuel, Hi Emaunuel, I didn't realize from your first message that are working on Mac. I don't have any experience with this clas of machines. Nevertheless one thought: Since I see the same message in the status line of lyx, when lyx has done its job successfully, I suppose that the problem is some wheer in the pdf viewer installation. Can it be that the problem appeared after some system update? Is there on Mac an automatic system update function? There a Mac guru's on the list normally, I hope they can help you Cheers Hellmut -- Dr. Hellmut Weber m...@hellmutweber.de Degenfeldstraße 2 tel +49-89-3081172 D-80803 München-Schwabing mobil +49-172-8450321 please: No DOCs, no PPTs. why: tinyurl.com/cbgq
Re: Problem with standard installer for version 1.6.8-1 (Windoze)
Julien Rioux physics.utoronto.ca> writes: > > On 21/11/2010 2:28 PM, Jim Rockford wrote: > > Use the '-sysdir' command line parameter or set the environment variable > > LYX_DIR_16x to the Lyx system directory containing the file > > 'chkconfig.Itx'." > > > > > > The problem appears to be the 'chkconfig.Itx' file. I don't see it > > anywhere within the Lyx installation directory tree. > > hmm, shouldn't it be looking for chkconfig.ltx (l as in latex), right? > I faced the exact same problem with the standard LyX 1.6.8-1 installer on windows 7 64-bit. The other installer from Uwe works fine. Mukhtar
Re: aligned vs AMS align
На 19.11.2010 16:52, Uwe Stöhr написа: Am 19.11.2010 13:51, schrieb Emil Pavlov: The LyX Math manual gives in sec. 18.2 "Align Environments" a detailed overview about the different AMS environments. You find this manual in the Help menu of LyX. Perhaps, I am stupid, but I cannot find where the difference between "Aligned Environment" and "AMS align Environment" in section 18.2 is. Can you give a page number for the math manual in Lyx 1.6.7? Aligned is an environment to be used within other formula environments as described in sec. 18.6 "Multiline Formula Parts" of the Math manual. regards Uwe Thank you. I'm sorry for the stupid question.
Re: No printing of any files
Am 21.11.2010 15:37, schrieb Anthony Campbell: When I try to print any file I get the message: "Check that your printer is set up correctly." I have my printer set as Kyocera. LyX's printing is not a real printing. LyX will create a postscript file and try to send this to a printer. This mechanism does for example not work on Windows. So to print your document, export it as PDF (pdflatex) and open the resulting PDF with a program of your choice and use its printing menu to print the PDF. regards Uwe
Re: strikeout math? (was: Re: Arrows: boldface, negated diagonal?)
Am 21.11.2010 16:05, schrieb Liviu Andronic: What should one do when the regular \not way of striking out math produces ugly output? Use one of the AMS negated relations available in the math toolbar. That are almost all relations one could need. See attached example. This file doesn't ope with LyX 1.6.x. If you are not testing LyX for bugs or development, lease use the stable LyX 1.6.x releases! In this case I'd like to use regular strikeout (as from within Text style), but it doesn't seem to work on Math. This won't work because \not is not designed to strike-out characters but to negate relations. But anyway, the syntax you are using in your formula seems to be wrong. If you want to state that a variable is negated, you need to place a \neg if front of it. See the attached example file. Another issue: you write Var_1 where "Var" is italic. This would mean V*a*r_1 but I guess that your variable is named "Var". So to avoid confusions, write "Var" upright. (Appendix A of the Math manual gives some advices about math typography.) regards Uwe newfile1-fixed.lyx Description: application/lyx
Re: Troubleshooting Windows Installation "unable to find textclass file" - Win XP, Lyx 1.6.7
Am 21.11.2010 12:44, schrieb Thomas Vandieken: After a successful installation I'm unable to start Lyx. I always get the error message that a textclass file was not found. That means that your installation got broken. This can be repaired, but as LyX 1.6.8 is already available, I recommend to - uninstall LyX 1.6.7 _completely_ - install LyX 1.6.8 using the alternative installer (for the standard 1.6.8 installer problems were reported today) regards Uwe
AW: TOC in pdf's sidebar: section and subsection structure not as expected
Uwe Stöhr wrote: Am 21.11.2010 22:29, schrieb Jannick Asmus: the table of contents in the pdf's sidebar does not reflect the (sub)subsection structure given in the LyX-file. Please see the LyX-file and the pdf attached. You file doesn't open with LyX 1.6.x. If you are using LyX test build and think that you found a bug, please state this. I used the beta1-version. The problem you have is because you have a section and subsubsection, but no subsection. Add a subsection and it works, see attached. Oooh, thanks. /J.
Re: TOC in pdf's sidebar: section and subsection structure not as expected
Am 21.11.2010 22:29, schrieb Jannick Asmus: the table of contents in the pdf's sidebar does not reflect the (sub)subsection structure given in the LyX-file. Please see the LyX-file and the pdf attached. You file doesn't open with LyX 1.6.x. If you are using LyX test build and think that you found a bug, please state this. For normal documents please only use the stable LyX 1.6.x! The problem you have is because you have a section and subsubsection, but no subsection. Add a subsection and it works, see attached. regards Uwe TOC.lyx Description: application/lyx
Re: modernCV example in LyX 1.6.8 broken for me on MiKTeX 2.9, Win XP
Am 21.11.2010 22:04, schrieb David Hewitt: Fresh install of all of the above, with latest modernCV stuff, and the example that ships with LyX 1.6.8 fails to compile through pdflatex. I already fixed this for LyX 1.6.9. For now use the attached example file. regards Uwe modernCV.lyx Description: application/lyx
Re: Paste cells into table with Math
Paul Rubin msu.edu> writes: > > I can't answer the context-aware pasting question, but I'll point out that if > you paste the math content in as ordinary text, you can highlight it and hit > ctrl-M to turn it into a math inset. (This works anywhere in the document, > and > in both directions -- you can also turn a math inset into plain text.) > > /Paul > > Hi Paul, Thanks for your reply. Yes, I could highlight and manually switch the selection to math insets but this is very slow/tedious if there are many fields which require editing. If I were to go down this route I think I would rather copy and paste latex code into an ERT which, on restarting LyX, should give me the tables and correct formats. It would really be nicer if I could simply paste content into LyX and have the math values recognised. Does anyone else have any ideas? Thanks, Ken
modernCV example in LyX 1.6.8 broken for me on MiKTeX 2.9, Win XP
Fresh install of all of the above, with latest modernCV stuff, and the example that ships with LyX 1.6.8 fails to compile through pdflatex. I only get the error below repeated as two entries (same) in the LyX error display: \begin{document} The control sequence at the end of the top line of your error message was never \def'ed. If you have misspelled it (e.g., `\hobx'), type `I' and the correct spelling (e.g., `I\hbox'). Otherwise just continue, and I'll forget about whatever was undefined. I rooted around for a bit and compared the source to a version that compiled on LyX 1.5.2 with older MiKTeX and nothing jumps out. I also tried eliminating things in the Preamble (quote, photo) and also cutting out the Bibliography-related stuff. Nothing seems to compile. Any ideas? Dave Hewitt
Re: Section, not showing up in the table-of-contents
On Sun, Nov 21, 2010 at 9:38 PM, Frederick Noronha wrote: > Dear all: Is there some way I could include a section (in a book) > which features in the text (without a number) but also shows up in the > table-of-contents? FN > Are you looking for this [1]? Liviu [1] http://wiki.lyx.org/FAQ/TOC#toc4 > Frederick Noronha :: +91-9822122436 :: +91-832-2409490 > -- Do you know how to read? http://www.alienetworks.com/srtest.cfm http://goodies.xfce.org/projects/applications/xfce4-dict#speed-reader Do you know how to write? http://garbl.home.comcast.net/~garbl/stylemanual/e.htm#e-mail
Section, not showing up in the table-of-contents
Dear all: Is there some way I could include a section (in a book) which features in the text (without a number) but also shows up in the table-of-contents? FN Frederick Noronha :: +91-9822122436 :: +91-832-2409490
Re: Use of Latex's parallel package in LyX?
Thanks for this. Somehow I completely missed those in my first search. Does not look all that easy to use but I was just curious anyway. --- On Sun, 11/21/10, Liviu Andronic wrote: > From: Liviu Andronic > Subject: Re: Use of Latex's parallel package in LyX? > To: "John Kane" > Cc: lyx-users@lists.lyx.org > Received: Sunday, November 21, 2010, 2:00 PM > On Sun, Nov 21, 2010 at 7:34 PM, John > Kane > wrote: > > As the subject heading says I wondered if it was > possible to use the latex package 'parallel' in LyX? It > seems to be similar in purpose to something like ledmac. > > > > I'm not intending to actually us it so this is just a > curiosity question. > > > I'm not sure if LyX supports this natively. > > Google 'lyx parallel' found an old thread on teh subject > [1]. And the > wiki 'feature requests' has a poll on 'ledmac' support. I > guess you > could add the one for 'parallel' [2]. > > As usual with LyX, you can input \usepackage{parallel} in > the preamble > and try using it via ERT, and see what happens. Regards > Liviu > > [1] http://www.mail-archive.com/lyx-users@lists.lyx.org/msg28767.html > [2] http://wiki.lyx.org/LyX/FeaturePoll2#toc1 >
Re: Troubleshooting Windows Installation "unable to find textclass file" - Win XP, Lyx 1.6.7
On 21/11/2010 6:44 AM, Thomas Vandieken wrote: WindowsError: [Error 2] Das System kann die angegebene Datei nicht finden: '%WIN DOWS\\system32\\cmd.exe /c latex "\\nonstopmode\\input{c:/dokume\\string~1/tommy /lokale\\string~1/temp/tmpe06ohs.ltx}"' Hi, Thanks for your report. The message says that either cmd.exe is not found or latex.exe is not found. I can't tell for sure, but it is likely the latter: that you don't have the latex program in your PATH. Do you have a latex distribution installed (e.g. miktex) ? Howver, it should be possible to install and use LyX without a latex distribution. So, if indeed you get this error message because of a missing latex distribution, it is a bug. I see in configure.py that checkTeXPaths is called before the check for latex. This should get fixed. Regards, Julien
Re: Problem with standard installer for version 1.6.8-1 (Windoze)
On 21/11/2010 2:28 PM, Jim Rockford wrote: Use the '-sysdir' command line parameter or set the environment variable LYX_DIR_16x to the Lyx system directory containing the file 'chkconfig.Itx'." The problem appears to be the 'chkconfig.Itx' file. I don't see it anywhere within the Lyx installation directory tree. hmm, shouldn't it be looking for chkconfig.ltx (l as in latex), right? -- Julien
Problem with standard installer for version 1.6.8-1 (Windoze)
I just tried installing the 1.6.8 update using the standard installer bundle "LyX-1.6.8-1-Installer-Bundle" on Windows 7 (64 bit). Although it appeared to install without any problems, upon trying to start Lyx I get the following popup message: "Lyx: no system directory Unable to determine the system directory having searched C:/Program Files (x86)/LyX16/bin/../Resources/ Use the '-sysdir' command line parameter or set the environment variable LYX_DIR_16x to the Lyx system directory containing the file 'chkconfig.Itx'." The problem appears to be the 'chkconfig.Itx' file. I don't see it anywhere within the Lyx installation directory tree. Jim
Re: Use of Latex's parallel package in LyX?
On Sun, Nov 21, 2010 at 7:34 PM, John Kane wrote: > As the subject heading says I wondered if it was possible to use the latex > package 'parallel' in LyX? It seems to be similar in purpose to something > like ledmac. > > I'm not intending to actually us it so this is just a curiosity question. > I'm not sure if LyX supports this natively. Google 'lyx parallel' found an old thread on teh subject [1]. And the wiki 'feature requests' has a poll on 'ledmac' support. I guess you could add the one for 'parallel' [2]. As usual with LyX, you can input \usepackage{parallel} in the preamble and try using it via ERT, and see what happens. Regards Liviu [1] http://www.mail-archive.com/lyx-users@lists.lyx.org/msg28767.html [2] http://wiki.lyx.org/LyX/FeaturePoll2#toc1
Re: placing the figure number
curtis osterhoudt wrote: > Ah. Sorry for not being clear. Here's the sequence I use: > > > 1. Insert -> Float -> Figure (or Figure Wrap Float). > 2. Cursor is left in the Figure Caption box. I type something in here > (even if I haven't thought up a caption yet). > 3. Move the cursor (with mouse or arrow keys) so that it's just to the > left of "Figure #:". > 4. Press 'Enter' (I don't know if this step is strictly required, but it > works). > 5. Insert -> Graphics (or Insert -> File -> External Material if I want to > put in an XFig figure). succeeded, thank you ---p
Re: placing the figure number
Ah. Sorry for not being clear. Here's the sequence I use: 1. Insert -> Float -> Figure (or Figure Wrap Float). 2. Cursor is left in the Figure Caption box. I type something in here (even if I haven't thought up a caption yet). 3. Move the cursor (with mouse or arrow keys) so that it's just to the left of "Figure #:". 4. Press 'Enter' (I don't know if this step is strictly required, but it works). 5. Insert -> Graphics (or Insert -> File -> External Material if I want to put in an XFig figure). 6. Browse to the file to insert.If I've already done these steps for a figure and want to repeat for more figures, it's often easier for me to select the float box and simply copy the whole damned thing to where I want another figure to sit, and paste it in, then go back and change the figure and caption, etc. Tuning the figure to be centered above the caption is often a matter of moving the cursor to the inside of the float box and setting the "paragraph settings" to "Alignment -> Center". Hope that helps, and that I've understood your original question! C /** "The four points of the compass be logic, knowledge, wisdom and the unknown. Some do bow in that final direction. Others advance upon it. To bow before the one is to lose sight of the three. I may submit to the unknown, but never to the unknowable." ~~Roger Zelazny, in "Lord of Light" ***/ From: xPol To: lyx-users@lists.lyx.org Sent: Sun, November 21, 2010 11:05:28 AM Subject: Re: placing the figure number curtis osterhoudt wrote: > The way I do this is to press "Enter" before putting the actual xfig > picture (or any picture) in the frame. This makes the figure number (and > caption, if needed) go below the figure. Sorry, i fear i have not clearly understood your sequence At which stage do you press enter? thank you ---p
Paste cells into table with Math
Hi. When I wish to copy results from Matlab into a LyX document I generate a tab-delimited string and then paste it into a LyX table. For example,in Matlab I might have a cell of results like: test = {'A' 'dog' 200; 'B' 'cat' 99.3} which looks like test = 'A' 'dog' [200] 'B' 'cat' [99.3] If I convert this to a string by substituting new cells by tab character sprintf('\t') and newlines by sprintf('\t') I get something like: str = A dog 200. B cat 99.3000 Using the Matlab command clipboard('copy',str) this can easily be pasted into a LyX table using Ctrl+Shft+V, or "Plain Text, Join Lines". This is a nice, easy way to generate tables of results... ...however, this pastes the contents into the LyX table as text only. Is there a way of pasting cells where some of them are in math mode? For instance, what if I have the matlab cell: test = {'\alpha' 'dog' 200; '\beta' 'cat' 99.3} I wish to paste this into a LyX table where the cells \alpha and \beta and the numbers are not pasted as text, but as math (i.e. as greek letters)? Is there an easy way to do this? Adding $...$ around data does not change the behaviour when pasted. I would guess there is some way of formatting the copied string so that LyX knows when to swap into and out of math mode. This obviously happens when one copies and pastes tables within LyX. But I need help trying to add this to the text string which I generate in Matlab and paste in LyX. Any ideas? Thanks, Ken
Use of Latex's parallel package in LyX?
As the subject heading says I wondered if it was possible to use the latex package 'parallel' in LyX? It seems to be similar in purpose to something like ledmac. I'm not intending to actually us it so this is just a curiosity question.
Re: Paste cells into table with Math
I can't answer the context-aware pasting question, but I'll point out that if you paste the math content in as ordinary text, you can highlight it and hit ctrl-M to turn it into a math inset. (This works anywhere in the document, and in both directions -- you can also turn a math inset into plain text.) /Paul
Re: Paste cells into table with Math
I am guessing one reason why LyX is able to copy and paste cells or tables while retaining the distinction between text and math cells or math within a cell has to do with clipboard locales. My understanding is that the clipboard might retain the copied content in different formats. http://msdn.microsoft.com/en-us/library/ms649013%28VS.85%29.aspx So my question might be, is there a way of generating a string which can be pasted into LyX where math mode is recognized and applied? For instance, is there a way to paste the string "The result is $\beta=2$." into LyX where LyX automatically knows to use math mode for $\beta=2$ and not simply paste is as a string? Thanks, Ken
Re: placing the figure number
curtis osterhoudt wrote: > The way I do this is to press "Enter" before putting the actual xfig > picture (or any picture) in the frame. This makes the figure number (and > caption, if needed) go below the figure. Sorry, i fear i have not clearly understood your sequence At which stage do you press enter? thank you ---p
invoices and handouts
Hi all, I have two different questions. a. Is there ay invoice layout for lyx in particular and latex in general? I saw one on ctan and I didn't like it - I would like something a bit more fancy. b. A professor of computer wants to give handouts to his students, i am helping him prepare them? I am not too much in favor of tufte handout class (one reason is too much wasting of righthand margin and placement of footnotes). Can anyone suggest other layouts? If I get to see some sample lyx or tex files on the above two points, it will be nice. With warm regards, -Payal --
Re: placing the figure number
The way I do this is to press "Enter" before putting the actual xfig picture (or any picture) in the frame. This makes the figure number (and caption, if needed) go below the figure. My very rough rule-of-thumb is that if the 'figure #' appears to (say) the immediate right of the actual picture, the Fig. # + caption will be to the right when the file is compiled, etc. /** "The four points of the compass be logic, knowledge, wisdom and the unknown. Some do bow in that final direction. Others advance upon it. To bow before the one is to lose sight of the three. I may submit to the unknown, but never to the unknowable." ~~Roger Zelazny, in "Lord of Light" ***/ From: xPol To: lyx-users@lists.lyx.org Sent: Sun, November 21, 2010 6:03:11 AM Subject: placing the figure number I have just inserted a (xfig) picture in a float frame. The 'figure #' title has been placed on the left side. How to place the figure number on the bottom of the figure? thank you -p
No printing of any files
When I try to print any file I get the message: "Check that your printer is set up correctly." I have my printer set as Kyocera. All other programs use this without problems and so does dvips. I couldn't find anything in the docs or in Google. Of course, I can work round the problem by first exporting the file as ps and then printing that. Can someone kindly point to where this printing issue is documented? -- Anthony Campbell - a...@acampbell.org.uk Microsoft-free zone - Using Debian GNU/Linux http://www.acampbell.org.uk - sample my ebooks at http://www.smashwords.com/profile/view/acampbell
Re: UNSOLVED AGAIN -- AW: [LyX2.0beta1] side bar always closed
> But only for the first relanch of LyX. The next fire up > gave me the frustrating result that the problem persists. > ... But I can live with hitting the button once a day. > > If you would like me to file a bug on this, just tell me. > Please include the information you need. I suspect that > something in the registry and/or in the user prefs are > changed inconsistently ... but I am really no specialists on > this at all. I must admit that I was not very unsure while > killing parts of the registry. But eventually my machine is > still working. ;) > > /J. Yes,in linux or windows the bug remain. I think that is not necessary to create a new bug report. Marcelo
Troubleshooting Windows Installation "unable to find textclass file" - Win XP, Lyx 1.6.7
Hi, maybe someone can help me to run Lyx on my Windows XP machine. Installer: LyX-1.6.7-4-Installer.exe After a successful installation I'm unable to start Lyx. I always get the error message that a textclass file was not found. I tried the workaround like described here: http://wiki.lyx.org/LyX/Troubleshooting#TextClassListbut I get the same error in the CMD: C:\>c:/lyx16/python/python.exe c:/lyx16/resources/configure.py Traceback (most recent call last): File "c:/lyx16/resources/configure.py", line 989, in windows_style_tex_paths = checkTeXPaths() File "c:/lyx16/resources/configure.py", line 111, in checkTeXPaths latex_out = cmdOutput(r'latex "\nonstopmode\input{%s}"' % inpname) File "c:/lyx16/resources/configure.py", line 65, in cmdOutput fout = os.popen(cmd) WindowsError: [Error 2] Das System kann die angegebene Datei nicht finden: '%WIN DOWS\\system32\\cmd.exe /c latex "\\nonstopmode\\input{c:/dokume\\string~1/tommy /lokale\\string~1/temp/tmpe06ohs.ltx}"' Some ideas? Thanks! Tom