Re: configure lyx and layouts with texlive
On 2011-06-24, Terrance Wickman wrote: I am using lyx 2.0. I have installed all packages and files from texlive 2011 (2000 something of them). I am using the fedora stack of both of them. The latex styles and classes are in my /usr/share/texlive/texmf-dist/ folder. I have texhash several times. I have set the path in lyx to /usr/share/texlive/ Then reconfigured, and rescanned the tex information several times. Did you also check, whether they are found by LaTeX (e.g. running a minimal latex document by hand or with kpseawich the package? lyx shows the latex classes and styles I need in the tex information. It does not however show the layouts that I have them for. Does this mean the layout files shipped with lyx or additional ones (downloaded from the wiki or home-made)? Where are your layout files stored? With most Unix-based systems, private layouts and modules should be in ~/.lyx/layouts (HelpAbout shows the LYXDIR). Such as chess still shows up as unavailable. I don't need chess, I need other ones such as apae6. I have about 100 latex classes that I would like to use, but are unavailable in lyx. LyX only supports a (compared to CTAN) small subset of popular LaTeX classes and packages. Rule of thumb: * if it is grey in the class selection drop-down box, the latex class is missing (or not found). * if it does not turn up in the menus, the LyX layout (or module) is missing (or not found). I have used the wiki to add apae6.layout. It works but others do not. This is cumbersome, and several latex classes to do not report the origin of their .cls file (ie article or book and such) and so when I manually add the .layout file to lyx, lyx cannot understand it. Can I automate the process of adding the latex classes to lyx and having .layout files created or at least having them made available? Writing a script for generating LyX layouts (or layout templates) might be a task worth considering. I don't know of an existing solution, though. Günter
Re: Is there an easy way to convert straight quotes into smart quotes ?
On 2011-06-23, Liviu Andronic wrote: On Thu, Jun 23, 2011 at 9:48 PM, Julio Rojas jcredbe...@gmail.com wrote: Nope, unless you define a particular character. But is not an allowed one. There is Document Settings Language Quote style, but effectively it doesn't seem to take care of things. Maybe a solution involving advanced search replace? This converts the quotes when input from the keyboard. Alternatives: * Regexp search. Example regular expressions can be found by googling for the script SmartyPants (Perl) or the Python version smartypants.py. * A latex package (I think it was named quotes but I am not sure) which can be configured so that some character is made active and converted context-dependent. Günter
Re: xetex CV
On 2011-06-24, Liviu Andronic wrote: [-- Type: text/plain, Encoding: --] On Fri, Jun 24, 2011 at 12:20 AM, Jean-Marc Lasgouttes lasgout...@lyx.org wrote: Try TitleLatexName makecvtitle I tried the following (see attached), but it doesn't seem to work even after reconfiguring. Am I doing something wrong? I suppose this should be in the layout file. Günter
Re: Is there an easy way to convert straight quotes into smart quotes ?
On 2011-06-23, Julio Rojas wrote: The problem is that the csquote package requires different glyphs for opening and closing quotes. Not necessarily: from csquotes.pdf: 4.1 Quoting regular text \MakeOuterQuote and \MakeInnerQuote define active quotes which print outer and inner quotation marks. Both take one mandatory argument, the character serving as both opening and closing mark: \MakeOuterQuote{ character } \MakeInnerQuote{ character } So, defining a character in the user preamble should work. Günter
Re: Is there an easy way to convert straight quotes into smart quotes ?
Defining the same, how can it differentiate? I guess this package is not context-sensitive. Also, it has a list of not allowed characters, like, for example, straight single and double quotes. - Julio Rojas jcredbe...@gmail.com On Fri, Jun 24, 2011 at 8:17 AM, Guenter Milde mi...@users.berlios.dewrote: On 2011-06-23, Julio Rojas wrote: The problem is that the csquote package requires different glyphs for opening and closing quotes. Not necessarily: from csquotes.pdf: 4.1 Quoting regular text \MakeOuterQuote and \MakeInnerQuote define active quotes which print outer and inner quotation marks. Both take one mandatory argument, the character serving as both opening and closing mark: \MakeOuterQuote{ character } \MakeInnerQuote{ character } So, defining a character in the user preamble should work. Günter
Re: xetex CV
Le 24/06/2011 04:11, Liviu Andronic a écrit : On Fri, Jun 24, 2011 at 12:20 AM, Jean-Marc Lasgouttes lasgout...@lyx.org wrote: Try TitleLatexName makecvtitle I tried the following (see attached), but it doesn't seem to work even after reconfiguring. Am I doing something wrong? No, it should work... What happens exactly? JMarc
full the page vertically
Hi I would like to have pictures (and/or text) vertically better distributed into the page. I make an example to explain what I mean. The attachement shows 2 pages with a picture: Lyx puts the picture as showed in page 1 and I would like that, entering a new option, Lyx makes in the way showed at page number 2... is it possible? I hope I was clear explaining... :-S Thanks a lot! attachment: lyxprob.jpg
Re: Table cell widths are wrong and cannot be changed from LyX 1.6.10 to 2.0.0
You've helped me before Richard, so thank you again. Since my first posting, I've found out what the culprit was which was causing funny things in my table floats. This seems to do with inserting the \usepackage{pdfsync} LaTeX code in the preamble. When I removed the above code, the funny stretching of my tables stopped, although this means I cannot perform reverse searching any more. For now, I will do without reverse-searching capabilities in exchange for correctly-rendered tables. Daisuke On 23 Jun 2011, at 18:43, Richard Heck wrote: On 06/23/2011 12:44 PM, Daisuke Koya wrote: Hello All, In my attempt to finally make the switch from LyX 1.6.10 to LyX 2.0.0, I have found out that my tables go off the page on the rendered PDF, and cannot be corrected. I have confirmed that the column width on the table to be identical to the previous setting (i.e. 2.5 cm), but some single columns can be as wide as the page width! I will go back to using LyX 1.6.10 for now, but was wondering whether my experience above was a known problem that will be fixed in a future version of LyX 2.0. I am using LyX on Mac OS 10.6.7. Can you send me (privately) the LyX 1.6 file that is causing the problem? Richard
Re: No PDFs.
(please reply to the list, too) On Fri, Jun 24, 2011 at 9:15 AM, Gordon Cooper gordon_coo...@clear.net.nz wrote: Liviu wrote: We would need more info than that. What OS? What version of LaTeX. Have you tried removing LyX and re-installing and starting with a clean profile folder ( on Linux, remove ~/.lyx). The OS is Linux MEPIS 11.0, which is based on Debian. The most recent is Lyx version 1.6.7 . This Lyx was downloaded from a Linux repository and in my possible newbie ignorance, I assumed that the appropriate LateX file was included in the download. Make sure that you have texlive installed. I have deleted Lyx and re-installed but with no improvement. Make sure that after a reinstall you also (re)move ~/.lyx folder. If it still doesn't work, post a minimal example and the latex log. Regards Liviu More investigating tomorrow will be slowish as my right arm and hand is in a splint. Gordon Cooper. -- 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
Empty output file?
When I try to create a PDF of my Lyx file, this is the error message I get. Could someone guide me pls: File does not exist: /tmp/lyx_tmpdir.J10717/lyx_tmpbuf2/eugenio-24june2011.pdf FN +91-832-2409490 or +91-9822122436 (after 2pm) #784 Nr Lourdes Convent, Saligao 403511 Goa India http://fn.goa-india.org http://goa1556.goa-india.org
Re: xetex CV
On Fri, Jun 24, 2011 at 10:40 AM, Jean-Marc Lasgouttes lasgout...@lyx.org wrote: Try TitleLatexName makecvtitle I tried the following (see attached), but it doesn't seem to work even after reconfiguring. Am I doing something wrong? No, it should work... What happens exactly? Stupid me, I've fallen prey to LyX' ability to automatically use the .layout files located in the same folder as the .lyx file: this meant that all the changes that I was performing in ~/.lyx-svn/layouts/ were ignored. The updated layout file (that I sent originally) works like sweet. Thanks! Rob, could you test the patch that I sent earlier and, if acceptable, include it into the xetexCV distribution? Cheers Liviu JMarc -- 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
Importing LaTeX file fails
I grabbed a copy of a tutorial on the use of Constraint Grammars from here http://kevindonnelly.org.uk/2010/05/constraint-grammar-tutorial/ The author provides a LaTeX file that latex processes correctly (other than that my system doesn't have a specific font installed). When I import this file into LyX it screws up after a Verbatim usage; there's an earlier one that LyX processes correctly but the second (longer one) is really screwed. What is it that LyX is getting wrong? Regards, Trevor. Re: deemed!
LyX 2.0 Preview Inset with PSTricks
I've successfully used the Preview Inset to display qtrees. Can I use it for PSTricks too? Ultimately, I want to use the package pst-sigsys and preview a diagram like the one appended. Thanks! Gustavo \begin{figure}[ht] \centering % \begin{pspicture}[showgrid=false](0,3)(10,5) \psset{style=RoundCorners} %--- Define blocks --- \pssignal(0,4){tm}{$\tau_m$} \pscircleop(1,4){sum1}\nput{70}{sum1}{$\scriptstyle -$} \psblock(2,4){Jm}{$\frac{1}{J_m}$} \psblock(3.5,4){dint1}{$\frac{1}{s^2}$} \pscircleop(4.5,4){sum2}\nput{-160}{sum2}{$\scriptstyle -$} \psblock(5.5,4){hooke}{$K_s$} \dotnode[dotstyle=square*,dotscale=0.001](6,4){tldot} \dotnode[dotstyle=square*,dotscale=0.001](5,5){tldot1} \psblock(7,4){Jl}{$\frac{1}{J_l}$} \psblock(8.5,4){dint2}{$\frac{1}{s^2}$} \dotnode[dotstyle=square*,dotscale=0.001](9,4){thetal_dot} \dotnode[dotstyle=square*,dotscale=0.001](8,3){thetal_dot1} \pssignal(10,4){tl}{$\theta_l$} %--- Connect blocks --- \psset{style=Arrow} \ncline[nodesepA=.0]{-}{tm}{sum1} \ncline{sum1}{Jm} \ncline{Jm}{dint1}\naput[npos=.5]{$\ddot\theta_m$} \ncline{dint1}{sum2}\naput[npos=.5]{$\theta_m$} \ncline{sum2}{hooke} \ncline{hooke}{Jl}\naput[npos=.5]{$\tau_l$} \ncline{Jl}{dint2}\naput[npos=.5]{$\ddot\theta_l$} \ncline{dint2}{tl} %feedback1 \ncangle[angleA=-90,angleB=0]{-}{tldot}{tldot1} \ncangle[angleA=180,angleB=90]{tldot1}{sum1} \ncangle[angleA=-90,angleB=0]{-}{thetal_dot}{thetal_dot1} \ncangle[angleA=180,angleB=-90]{thetal_dot1}{sum2} \end{pspicture} \end{figure}
How does LyX compile to PDF?
Hi all, The following shellscript compiles my PDF: = #!/bin/bash rm -f junk.* cp -p larry.lyx junk.lyx lyx --export latex junk.lyx latex junk.tex makeindex -c -q junk.idx latex junk.tex dvips junk.dvi ps2pdf13 junk.ps acroread junk.pdf = The preceding fails to produce a table of contents item for the book's index, yet when I compile to PDF within the LyX environment, the index appears in the table of contents. The latex files produced are slightly different, but even if I replace the script compiled latex file with the one internally compiled (from the tmp directory), the symptom still appears. And, before I put in a special line of text and \clearpage, the script compiled version had page numbers not matched to the PDF reader's opinion of the page number, whereas the environment compiled version had the page numbers on the pdf match those of the pdf reader. I need to find out what the internal compile is doing that my script is not or vice versa. The following are the definition of the converters in the LyX configuration: DVI-Postscript: dvips -o $$o $$i LaTeX (Plain)-DVI: latex DVI-Postscript: dvips -o $$o $$i Postscript-PDF (ps2pdf): ps2pdf13 $$i $$o What the heck is accounting for the discrepancy in these two techniques? Thanks SteveT Steve Litt Recession Relief Package http://www.recession-relief.US Twitter: http://www.twitter.com/stevelitt
Re: LyX 2.0 Preview Inset with PSTricks
On Fri, Jun 24, 2011 at 7:30 PM, Gustavo Goretkin gustavo.goret...@gmail.com wrote: I've successfully used the Preview Inset to display qtrees. Can I use it for PSTricks too? PSTricks features the big drawback that it is incompatible with pdflatex. I'm not sure how the Preview machinery works, but you need either PostScript or XeTeX to compile PSTricks code. Liviu Ultimately, I want to use the package pst-sigsys and preview a diagram like the one appended. Thanks! Gustavo \begin{figure}[ht] \centering % \begin{pspicture}[showgrid=false](0,3)(10,5) \psset{style=RoundCorners} %--- Define blocks --- \pssignal(0,4){tm}{$\tau_m$} \pscircleop(1,4){sum1} \nput{70}{sum1}{$\scriptstyle -$} \psblock(2,4){Jm}{$\frac{1}{J_m}$} \psblock(3.5,4){dint1}{$\frac{1}{s^2}$} \pscircleop(4.5,4){sum2} \nput{-160}{sum2}{$\scriptstyle -$} \psblock(5.5,4){hooke}{$K_s$} \dotnode[dotstyle=square*,dotscale=0.001](6,4){tldot} \dotnode[dotstyle=square*,dotscale=0.001](5,5){tldot1} \psblock(7,4){Jl}{$\frac{1}{J_l}$} \psblock(8.5,4){dint2}{$\frac{1}{s^2}$} \dotnode[dotstyle=square*,dotscale=0.001](9,4){thetal_dot} \dotnode[dotstyle=square*,dotscale=0.001](8,3){thetal_dot1} \pssignal(10,4){tl}{$\theta_l$} %--- Connect blocks --- \psset{style=Arrow} \ncline[nodesepA=.0]{-}{tm}{sum1} \ncline{sum1}{Jm} \ncline{Jm}{dint1} \naput[npos=.5]{$\ddot\theta_m$} \ncline{dint1}{sum2} \naput[npos=.5]{$\theta_m$} \ncline{sum2}{hooke} \ncline{hooke}{Jl} \naput[npos=.5]{$\tau_l$} \ncline{Jl}{dint2} \naput[npos=.5]{$\ddot\theta_l$} \ncline{dint2}{tl} %feedback1 \ncangle[angleA=-90,angleB=0]{-}{tldot}{tldot1} \ncangle[angleA=180,angleB=90]{tldot1}{sum1} \ncangle[angleA=-90,angleB=0]{-}{thetal_dot}{thetal_dot1} \ncangle[angleA=180,angleB=-90]{thetal_dot1}{sum2} \end{pspicture} \end{figure} -- Do you know how to read? http://www.alienetworks.com/srtest.cfm http://goodies.xfce.org/projects/applications/xfce4-dict#speed-reader Do you know how to write? http://garbl.home.comcast.net/~garbl/stylemanual/e.htm#e-mail
Re: Is there an easy way to convert straight quotes into smart quotes ?
On 2011-06-24, Julio Rojas wrote: [-- Type: text/plain, Encoding: quoted-printable --] Defining the same, how can it differentiate? I guess this package is not context-sensitive. Try yourself: \documentclass{minimal} \usepackage{csquotes} \MakeOuterQuote{} \MakeInnerQuote{|} \begin{document} It's context |sensitive| or not? \end{document} It works here with csquotes.sty,v 4.4c 2009/09/23. Also, it has a list of not allowed characters, like, for example, straight single and double quotes. single yes, double only in certain languages (like German) where they are active with a different meaning. Günter
Re: No PDFs.
On 06/24/2011 11:41 AM, Liviu Andronic wrote: Make sure that you have texlive installed. THANK YOU! Re-installing texlive has restored the PDF. Now to work on learning more. Gordon
Re: Lyx Crashing Unexpectedly
On Fri, Jun 24, 2011 at 9:12 PM, Tim Wescott t...@wescottdesign.com wrote: I'm using Lyx 1.6.5 on Ubuntu 10.04, it's been just fine. Until now. This is what happens when I open a document, then try to create a figure frame. This is an operation that I've done many times before -- but now it crashes Lyx. This is just after I restarted the machine, to make sure things are nice and clean. See below for what shows up on the command line. So -- is this a known problem? Yes. Most probably the combination of 1.6.5 and the Qt coming with Lucid. Try 1.6.7 [1] or later (including 2.0.0). Liviu [1] https://launchpad.net/~lyx-outline-devel/+archive/lyx-stable Is there a work-around? I assume that it's some nasty interaction between an Ubuntu upgrade, some new package I've added, or the phase of the moon. Guidance welcome -- it does create the figure before it crashes, but this is tedious! tim@servo:~$ lyx Analysis.lyx ../../../../src/frontends/qt4/TocModel.cpp(268): type not found: ../../../../src/frontends/qt4/TocModel.cpp(358): type not found: ../../../../src/frontends/qt4/TocModel.cpp(268): type not found: ../../../../src/frontends/qt4/TocModel.cpp(358): type not found: ../../../../src/frontends/qt4/TocModel.cpp(268): type not found: ../../../../src/frontends/qt4/TocModel.cpp(358): type not found: ../../../../src/frontends/qt4/TocModel.cpp(268): type not found: ../../../../src/frontends/qt4/TocModel.cpp(358): type not found: ../../../../src/frontends/qt4/TocModel.cpp(268): type not found: ../../../../src/frontends/qt4/TocModel.cpp(358): type not found: ../../../../src/frontends/qt4/TocModel.cpp(268): type not found: ../../../../src/frontends/qt4/TocModel.cpp(358): type not found: ../../../../src/frontends/qt4/TocModel.cpp(268): type not found: ../../../../src/frontends/qt4/TocModel.cpp(358): type not found: ../../../../src/frontends/qt4/TocModel.cpp(268): type not found: ../../../../src/frontends/qt4/TocModel.cpp(358): type not found: ../../src/Buffer.cpp(956): /home/tim/Analysis.lyx.emergency lyx: SIGSEGV signal caught Sorry, you have found a bug in LyX. Please read the bug-reporting instructions in Help-Introduction and send us a bug report, if necessary. Thanks ! Bye. Aborted tim@servo:~$ -- Tim Wescott Wescott Design Services Voice: 503-631-7815 Cell: 503-349-8432 http://www.wescottdesign.com -- Do you know how to read? http://www.alienetworks.com/srtest.cfm http://goodies.xfce.org/projects/applications/xfce4-dict#speed-reader Do you know how to write? http://garbl.home.comcast.net/~garbl/stylemanual/e.htm#e-mail
Re: Importing LaTeX file fails
On 06/24/2011 01:02 PM, Trevor Jenkins wrote: I grabbed a copy of a tutorial on the use of Constraint Grammars from here http://kevindonnelly.org.uk/2010/05/constraint-grammar-tutorial/ The author provides a LaTeX file that latex processes correctly (other than that my system doesn't have a specific font installed). When I import this file into LyX it screws up after a Verbatim usage; there's an earlier one that LyX processes correctly but the second (longer one) is really screwed. What is it that LyX is getting wrong? Hard to know without seeing the file. Verbatim stuff is hard to import, I think. Richard
Re: no classes available after installation of 1.6.10 and 2.0.0-3
When you successfully run latex at a command prompt, you are doing so with the limited rights account, correct? Am I correct in assuming that if you log in with the local admin account, LyX works correctly for you? One thing you might try is to delete the local LyX directory for the limited rights user, then restart LyX (as the limited rights user) and let it try to rebuild that directory. I think the directory is usually stored at C:\Documents and Settings\limited rights user id\Application Data\lyx. (Unfortunately I don't have access to a Win XP machine anymore.) Just delete the entire directory. I you have modified any bind or layout files, you might want to back those up first, but if this is an out-of-the-box LyX installation there is nothing there you need to worry about. Paul
Re: Image PDF output rescalling issues
Can you post a minimal example (single page document, one image), including the image file, here? That would help to sort out what you're seeing. Paul
Re: Can't convert
Just as an FYI, the Desktop path _does_ contain spaces if it is translated into an absolute path (it maps to C:\Documents and Settings\you\Desktop). Is it possible that your MiKTeX installation (I assume you are using MiKTeX) became borked during an upgrade? If you open a command prompt and run 'kpsewhich article.cls', do you get a path to the article class file? Paul
Re: Empty output file?
Unknown unknown at unknown.invalid writes: File does not exist: /tmp/lyx_tmpdir.J10717/lyx_tmpbuf2/eugenio-24june2011.pdf All this means is that LaTeX failed to generate the PDF output file; it does not tell you why. After trying (and presumably failing) to view the PDF, look in Document LaTeX Log and see if there are error messages (click the Next Error button if it is active). Paul
Re: Can't convert
On 06/23/2011 03:06 PM, William Hanson wrote: I reconfigured both 1.6.7 and 2.0.0 just a few moments ago. the only configure.log files I can find are attached. But the first (from 1.6.7) is dated nearly two years ago, and the second (from 2.0.0) is dated three days ago. This is extremely suspicious. Reconfiguration should create a new log file each time. It suggests that there is some issue that is preventing LyX from creating these files, which could mean that LyX isn't able to create the files it actually needs to do the reconfiguration properly either. Perhaps Paul has some ideas? Richard
Re: Can't convert
I have a folder named MIKTEX2.7 in Program Files, so I suppose I'm using MiKTeX. But I know very little about how LyX works. Also, I don't know what you mean when you say, open a command prompt and run 'kpsewhich article.cls' . Bill Hanson On Fri, Jun 24, 2011 at 4:47 PM, Paul Rubin ru...@msu.edu wrote: Just as an FYI, the Desktop path _does_ contain spaces if it is translated into an absolute path (it maps to C:\Documents and Settings\you\Desktop). Is it possible that your MiKTeX installation (I assume you are using MiKTeX) became borked during an upgrade? If you open a command prompt and run 'kpsewhich article.cls', do you get a path to the article class file? Paul
Re: configure lyx and layouts with texlive
On 2011-06-24, Terrance Wickman wrote: I am using lyx 2.0. I have installed all packages and files from texlive 2011 (2000 something of them). I am using the fedora stack of both of them. The latex styles and classes are in my /usr/share/texlive/texmf-dist/ folder. I have texhash several times. I have set the path in lyx to /usr/share/texlive/ Then reconfigured, and rescanned the tex information several times. Did you also check, whether they are found by LaTeX (e.g. running a minimal latex document by hand or with kpseawich the package? lyx shows the latex classes and styles I need in the tex information. It does not however show the layouts that I have them for. Does this mean the layout files shipped with lyx or additional ones (downloaded from the wiki or home-made)? Where are your layout files stored? With most Unix-based systems, private layouts and modules should be in ~/.lyx/layouts (HelpAbout shows the LYXDIR). Such as chess still shows up as unavailable. I don't need chess, I need other ones such as apae6. I have about 100 latex classes that I would like to use, but are unavailable in lyx. LyX only supports a (compared to CTAN) small subset of popular LaTeX classes and packages. Rule of thumb: * if it is grey in the class selection drop-down box, the latex class is missing (or not found). * if it does not turn up in the menus, the LyX layout (or module) is missing (or not found). I have used the wiki to add apae6.layout. It works but others do not. This is cumbersome, and several latex classes to do not report the origin of their .cls file (ie article or book and such) and so when I manually add the .layout file to lyx, lyx cannot understand it. Can I automate the process of adding the latex classes to lyx and having .layout files created or at least having them made available? Writing a script for generating LyX layouts (or layout templates) might be a task worth considering. I don't know of an existing solution, though. Günter
Re: Is there an easy way to convert straight quotes into smart quotes ?
On 2011-06-23, Liviu Andronic wrote: On Thu, Jun 23, 2011 at 9:48 PM, Julio Rojas jcredbe...@gmail.com wrote: Nope, unless you define a particular character. But is not an allowed one. There is Document Settings Language Quote style, but effectively it doesn't seem to take care of things. Maybe a solution involving advanced search replace? This converts the quotes when input from the keyboard. Alternatives: * Regexp search. Example regular expressions can be found by googling for the script SmartyPants (Perl) or the Python version smartypants.py. * A latex package (I think it was named quotes but I am not sure) which can be configured so that some character is made active and converted context-dependent. Günter
Re: xetex CV
On 2011-06-24, Liviu Andronic wrote: [-- Type: text/plain, Encoding: --] On Fri, Jun 24, 2011 at 12:20 AM, Jean-Marc Lasgouttes lasgout...@lyx.org wrote: Try TitleLatexName makecvtitle I tried the following (see attached), but it doesn't seem to work even after reconfiguring. Am I doing something wrong? I suppose this should be in the layout file. Günter
Re: Is there an easy way to convert straight quotes into smart quotes ?
On 2011-06-23, Julio Rojas wrote: The problem is that the csquote package requires different glyphs for opening and closing quotes. Not necessarily: from csquotes.pdf: 4.1 Quoting regular text \MakeOuterQuote and \MakeInnerQuote define active quotes which print outer and inner quotation marks. Both take one mandatory argument, the character serving as both opening and closing mark: \MakeOuterQuote{ character } \MakeInnerQuote{ character } So, defining a character in the user preamble should work. Günter
Re: Is there an easy way to convert straight quotes into smart quotes ?
Defining the same, how can it differentiate? I guess this package is not context-sensitive. Also, it has a list of not allowed characters, like, for example, straight single and double quotes. - Julio Rojas jcredbe...@gmail.com On Fri, Jun 24, 2011 at 8:17 AM, Guenter Milde mi...@users.berlios.dewrote: On 2011-06-23, Julio Rojas wrote: The problem is that the csquote package requires different glyphs for opening and closing quotes. Not necessarily: from csquotes.pdf: 4.1 Quoting regular text \MakeOuterQuote and \MakeInnerQuote define active quotes which print outer and inner quotation marks. Both take one mandatory argument, the character serving as both opening and closing mark: \MakeOuterQuote{ character } \MakeInnerQuote{ character } So, defining a character in the user preamble should work. Günter
Re: xetex CV
Le 24/06/2011 04:11, Liviu Andronic a écrit : On Fri, Jun 24, 2011 at 12:20 AM, Jean-Marc Lasgouttes lasgout...@lyx.org wrote: Try TitleLatexName makecvtitle I tried the following (see attached), but it doesn't seem to work even after reconfiguring. Am I doing something wrong? No, it should work... What happens exactly? JMarc
full the page vertically
Hi I would like to have pictures (and/or text) vertically better distributed into the page. I make an example to explain what I mean. The attachement shows 2 pages with a picture: Lyx puts the picture as showed in page 1 and I would like that, entering a new option, Lyx makes in the way showed at page number 2... is it possible? I hope I was clear explaining... :-S Thanks a lot! attachment: lyxprob.jpg
Re: Table cell widths are wrong and cannot be changed from LyX 1.6.10 to 2.0.0
You've helped me before Richard, so thank you again. Since my first posting, I've found out what the culprit was which was causing funny things in my table floats. This seems to do with inserting the \usepackage{pdfsync} LaTeX code in the preamble. When I removed the above code, the funny stretching of my tables stopped, although this means I cannot perform reverse searching any more. For now, I will do without reverse-searching capabilities in exchange for correctly-rendered tables. Daisuke On 23 Jun 2011, at 18:43, Richard Heck wrote: On 06/23/2011 12:44 PM, Daisuke Koya wrote: Hello All, In my attempt to finally make the switch from LyX 1.6.10 to LyX 2.0.0, I have found out that my tables go off the page on the rendered PDF, and cannot be corrected. I have confirmed that the column width on the table to be identical to the previous setting (i.e. 2.5 cm), but some single columns can be as wide as the page width! I will go back to using LyX 1.6.10 for now, but was wondering whether my experience above was a known problem that will be fixed in a future version of LyX 2.0. I am using LyX on Mac OS 10.6.7. Can you send me (privately) the LyX 1.6 file that is causing the problem? Richard
Re: No PDFs.
(please reply to the list, too) On Fri, Jun 24, 2011 at 9:15 AM, Gordon Cooper gordon_coo...@clear.net.nz wrote: Liviu wrote: We would need more info than that. What OS? What version of LaTeX. Have you tried removing LyX and re-installing and starting with a clean profile folder ( on Linux, remove ~/.lyx). The OS is Linux MEPIS 11.0, which is based on Debian. The most recent is Lyx version 1.6.7 . This Lyx was downloaded from a Linux repository and in my possible newbie ignorance, I assumed that the appropriate LateX file was included in the download. Make sure that you have texlive installed. I have deleted Lyx and re-installed but with no improvement. Make sure that after a reinstall you also (re)move ~/.lyx folder. If it still doesn't work, post a minimal example and the latex log. Regards Liviu More investigating tomorrow will be slowish as my right arm and hand is in a splint. Gordon Cooper. -- 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
Empty output file?
When I try to create a PDF of my Lyx file, this is the error message I get. Could someone guide me pls: File does not exist: /tmp/lyx_tmpdir.J10717/lyx_tmpbuf2/eugenio-24june2011.pdf FN +91-832-2409490 or +91-9822122436 (after 2pm) #784 Nr Lourdes Convent, Saligao 403511 Goa India http://fn.goa-india.org http://goa1556.goa-india.org
Re: xetex CV
On Fri, Jun 24, 2011 at 10:40 AM, Jean-Marc Lasgouttes lasgout...@lyx.org wrote: Try TitleLatexName makecvtitle I tried the following (see attached), but it doesn't seem to work even after reconfiguring. Am I doing something wrong? No, it should work... What happens exactly? Stupid me, I've fallen prey to LyX' ability to automatically use the .layout files located in the same folder as the .lyx file: this meant that all the changes that I was performing in ~/.lyx-svn/layouts/ were ignored. The updated layout file (that I sent originally) works like sweet. Thanks! Rob, could you test the patch that I sent earlier and, if acceptable, include it into the xetexCV distribution? Cheers Liviu JMarc -- 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
Importing LaTeX file fails
I grabbed a copy of a tutorial on the use of Constraint Grammars from here http://kevindonnelly.org.uk/2010/05/constraint-grammar-tutorial/ The author provides a LaTeX file that latex processes correctly (other than that my system doesn't have a specific font installed). When I import this file into LyX it screws up after a Verbatim usage; there's an earlier one that LyX processes correctly but the second (longer one) is really screwed. What is it that LyX is getting wrong? Regards, Trevor. Re: deemed!
LyX 2.0 Preview Inset with PSTricks
I've successfully used the Preview Inset to display qtrees. Can I use it for PSTricks too? Ultimately, I want to use the package pst-sigsys and preview a diagram like the one appended. Thanks! Gustavo \begin{figure}[ht] \centering % \begin{pspicture}[showgrid=false](0,3)(10,5) \psset{style=RoundCorners} %--- Define blocks --- \pssignal(0,4){tm}{$\tau_m$} \pscircleop(1,4){sum1}\nput{70}{sum1}{$\scriptstyle -$} \psblock(2,4){Jm}{$\frac{1}{J_m}$} \psblock(3.5,4){dint1}{$\frac{1}{s^2}$} \pscircleop(4.5,4){sum2}\nput{-160}{sum2}{$\scriptstyle -$} \psblock(5.5,4){hooke}{$K_s$} \dotnode[dotstyle=square*,dotscale=0.001](6,4){tldot} \dotnode[dotstyle=square*,dotscale=0.001](5,5){tldot1} \psblock(7,4){Jl}{$\frac{1}{J_l}$} \psblock(8.5,4){dint2}{$\frac{1}{s^2}$} \dotnode[dotstyle=square*,dotscale=0.001](9,4){thetal_dot} \dotnode[dotstyle=square*,dotscale=0.001](8,3){thetal_dot1} \pssignal(10,4){tl}{$\theta_l$} %--- Connect blocks --- \psset{style=Arrow} \ncline[nodesepA=.0]{-}{tm}{sum1} \ncline{sum1}{Jm} \ncline{Jm}{dint1}\naput[npos=.5]{$\ddot\theta_m$} \ncline{dint1}{sum2}\naput[npos=.5]{$\theta_m$} \ncline{sum2}{hooke} \ncline{hooke}{Jl}\naput[npos=.5]{$\tau_l$} \ncline{Jl}{dint2}\naput[npos=.5]{$\ddot\theta_l$} \ncline{dint2}{tl} %feedback1 \ncangle[angleA=-90,angleB=0]{-}{tldot}{tldot1} \ncangle[angleA=180,angleB=90]{tldot1}{sum1} \ncangle[angleA=-90,angleB=0]{-}{thetal_dot}{thetal_dot1} \ncangle[angleA=180,angleB=-90]{thetal_dot1}{sum2} \end{pspicture} \end{figure}
How does LyX compile to PDF?
Hi all, The following shellscript compiles my PDF: = #!/bin/bash rm -f junk.* cp -p larry.lyx junk.lyx lyx --export latex junk.lyx latex junk.tex makeindex -c -q junk.idx latex junk.tex dvips junk.dvi ps2pdf13 junk.ps acroread junk.pdf = The preceding fails to produce a table of contents item for the book's index, yet when I compile to PDF within the LyX environment, the index appears in the table of contents. The latex files produced are slightly different, but even if I replace the script compiled latex file with the one internally compiled (from the tmp directory), the symptom still appears. And, before I put in a special line of text and \clearpage, the script compiled version had page numbers not matched to the PDF reader's opinion of the page number, whereas the environment compiled version had the page numbers on the pdf match those of the pdf reader. I need to find out what the internal compile is doing that my script is not or vice versa. The following are the definition of the converters in the LyX configuration: DVI-Postscript: dvips -o $$o $$i LaTeX (Plain)-DVI: latex DVI-Postscript: dvips -o $$o $$i Postscript-PDF (ps2pdf): ps2pdf13 $$i $$o What the heck is accounting for the discrepancy in these two techniques? Thanks SteveT Steve Litt Recession Relief Package http://www.recession-relief.US Twitter: http://www.twitter.com/stevelitt
Re: LyX 2.0 Preview Inset with PSTricks
On Fri, Jun 24, 2011 at 7:30 PM, Gustavo Goretkin gustavo.goret...@gmail.com wrote: I've successfully used the Preview Inset to display qtrees. Can I use it for PSTricks too? PSTricks features the big drawback that it is incompatible with pdflatex. I'm not sure how the Preview machinery works, but you need either PostScript or XeTeX to compile PSTricks code. Liviu Ultimately, I want to use the package pst-sigsys and preview a diagram like the one appended. Thanks! Gustavo \begin{figure}[ht] \centering % \begin{pspicture}[showgrid=false](0,3)(10,5) \psset{style=RoundCorners} %--- Define blocks --- \pssignal(0,4){tm}{$\tau_m$} \pscircleop(1,4){sum1} \nput{70}{sum1}{$\scriptstyle -$} \psblock(2,4){Jm}{$\frac{1}{J_m}$} \psblock(3.5,4){dint1}{$\frac{1}{s^2}$} \pscircleop(4.5,4){sum2} \nput{-160}{sum2}{$\scriptstyle -$} \psblock(5.5,4){hooke}{$K_s$} \dotnode[dotstyle=square*,dotscale=0.001](6,4){tldot} \dotnode[dotstyle=square*,dotscale=0.001](5,5){tldot1} \psblock(7,4){Jl}{$\frac{1}{J_l}$} \psblock(8.5,4){dint2}{$\frac{1}{s^2}$} \dotnode[dotstyle=square*,dotscale=0.001](9,4){thetal_dot} \dotnode[dotstyle=square*,dotscale=0.001](8,3){thetal_dot1} \pssignal(10,4){tl}{$\theta_l$} %--- Connect blocks --- \psset{style=Arrow} \ncline[nodesepA=.0]{-}{tm}{sum1} \ncline{sum1}{Jm} \ncline{Jm}{dint1} \naput[npos=.5]{$\ddot\theta_m$} \ncline{dint1}{sum2} \naput[npos=.5]{$\theta_m$} \ncline{sum2}{hooke} \ncline{hooke}{Jl} \naput[npos=.5]{$\tau_l$} \ncline{Jl}{dint2} \naput[npos=.5]{$\ddot\theta_l$} \ncline{dint2}{tl} %feedback1 \ncangle[angleA=-90,angleB=0]{-}{tldot}{tldot1} \ncangle[angleA=180,angleB=90]{tldot1}{sum1} \ncangle[angleA=-90,angleB=0]{-}{thetal_dot}{thetal_dot1} \ncangle[angleA=180,angleB=-90]{thetal_dot1}{sum2} \end{pspicture} \end{figure} -- Do you know how to read? http://www.alienetworks.com/srtest.cfm http://goodies.xfce.org/projects/applications/xfce4-dict#speed-reader Do you know how to write? http://garbl.home.comcast.net/~garbl/stylemanual/e.htm#e-mail
Re: Is there an easy way to convert straight quotes into smart quotes ?
On 2011-06-24, Julio Rojas wrote: [-- Type: text/plain, Encoding: quoted-printable --] Defining the same, how can it differentiate? I guess this package is not context-sensitive. Try yourself: \documentclass{minimal} \usepackage{csquotes} \MakeOuterQuote{} \MakeInnerQuote{|} \begin{document} It's context |sensitive| or not? \end{document} It works here with csquotes.sty,v 4.4c 2009/09/23. Also, it has a list of not allowed characters, like, for example, straight single and double quotes. single yes, double only in certain languages (like German) where they are active with a different meaning. Günter
Re: No PDFs.
On 06/24/2011 11:41 AM, Liviu Andronic wrote: Make sure that you have texlive installed. THANK YOU! Re-installing texlive has restored the PDF. Now to work on learning more. Gordon
Re: Lyx Crashing Unexpectedly
On Fri, Jun 24, 2011 at 9:12 PM, Tim Wescott t...@wescottdesign.com wrote: I'm using Lyx 1.6.5 on Ubuntu 10.04, it's been just fine. Until now. This is what happens when I open a document, then try to create a figure frame. This is an operation that I've done many times before -- but now it crashes Lyx. This is just after I restarted the machine, to make sure things are nice and clean. See below for what shows up on the command line. So -- is this a known problem? Yes. Most probably the combination of 1.6.5 and the Qt coming with Lucid. Try 1.6.7 [1] or later (including 2.0.0). Liviu [1] https://launchpad.net/~lyx-outline-devel/+archive/lyx-stable Is there a work-around? I assume that it's some nasty interaction between an Ubuntu upgrade, some new package I've added, or the phase of the moon. Guidance welcome -- it does create the figure before it crashes, but this is tedious! tim@servo:~$ lyx Analysis.lyx ../../../../src/frontends/qt4/TocModel.cpp(268): type not found: ../../../../src/frontends/qt4/TocModel.cpp(358): type not found: ../../../../src/frontends/qt4/TocModel.cpp(268): type not found: ../../../../src/frontends/qt4/TocModel.cpp(358): type not found: ../../../../src/frontends/qt4/TocModel.cpp(268): type not found: ../../../../src/frontends/qt4/TocModel.cpp(358): type not found: ../../../../src/frontends/qt4/TocModel.cpp(268): type not found: ../../../../src/frontends/qt4/TocModel.cpp(358): type not found: ../../../../src/frontends/qt4/TocModel.cpp(268): type not found: ../../../../src/frontends/qt4/TocModel.cpp(358): type not found: ../../../../src/frontends/qt4/TocModel.cpp(268): type not found: ../../../../src/frontends/qt4/TocModel.cpp(358): type not found: ../../../../src/frontends/qt4/TocModel.cpp(268): type not found: ../../../../src/frontends/qt4/TocModel.cpp(358): type not found: ../../../../src/frontends/qt4/TocModel.cpp(268): type not found: ../../../../src/frontends/qt4/TocModel.cpp(358): type not found: ../../src/Buffer.cpp(956): /home/tim/Analysis.lyx.emergency lyx: SIGSEGV signal caught Sorry, you have found a bug in LyX. Please read the bug-reporting instructions in Help-Introduction and send us a bug report, if necessary. Thanks ! Bye. Aborted tim@servo:~$ -- Tim Wescott Wescott Design Services Voice: 503-631-7815 Cell: 503-349-8432 http://www.wescottdesign.com -- Do you know how to read? http://www.alienetworks.com/srtest.cfm http://goodies.xfce.org/projects/applications/xfce4-dict#speed-reader Do you know how to write? http://garbl.home.comcast.net/~garbl/stylemanual/e.htm#e-mail
Re: Importing LaTeX file fails
On 06/24/2011 01:02 PM, Trevor Jenkins wrote: I grabbed a copy of a tutorial on the use of Constraint Grammars from here http://kevindonnelly.org.uk/2010/05/constraint-grammar-tutorial/ The author provides a LaTeX file that latex processes correctly (other than that my system doesn't have a specific font installed). When I import this file into LyX it screws up after a Verbatim usage; there's an earlier one that LyX processes correctly but the second (longer one) is really screwed. What is it that LyX is getting wrong? Hard to know without seeing the file. Verbatim stuff is hard to import, I think. Richard
Re: no classes available after installation of 1.6.10 and 2.0.0-3
When you successfully run latex at a command prompt, you are doing so with the limited rights account, correct? Am I correct in assuming that if you log in with the local admin account, LyX works correctly for you? One thing you might try is to delete the local LyX directory for the limited rights user, then restart LyX (as the limited rights user) and let it try to rebuild that directory. I think the directory is usually stored at C:\Documents and Settings\limited rights user id\Application Data\lyx. (Unfortunately I don't have access to a Win XP machine anymore.) Just delete the entire directory. I you have modified any bind or layout files, you might want to back those up first, but if this is an out-of-the-box LyX installation there is nothing there you need to worry about. Paul
Re: Image PDF output rescalling issues
Can you post a minimal example (single page document, one image), including the image file, here? That would help to sort out what you're seeing. Paul
Re: Can't convert
Just as an FYI, the Desktop path _does_ contain spaces if it is translated into an absolute path (it maps to C:\Documents and Settings\you\Desktop). Is it possible that your MiKTeX installation (I assume you are using MiKTeX) became borked during an upgrade? If you open a command prompt and run 'kpsewhich article.cls', do you get a path to the article class file? Paul
Re: Empty output file?
Unknown unknown at unknown.invalid writes: File does not exist: /tmp/lyx_tmpdir.J10717/lyx_tmpbuf2/eugenio-24june2011.pdf All this means is that LaTeX failed to generate the PDF output file; it does not tell you why. After trying (and presumably failing) to view the PDF, look in Document LaTeX Log and see if there are error messages (click the Next Error button if it is active). Paul
Re: Can't convert
On 06/23/2011 03:06 PM, William Hanson wrote: I reconfigured both 1.6.7 and 2.0.0 just a few moments ago. the only configure.log files I can find are attached. But the first (from 1.6.7) is dated nearly two years ago, and the second (from 2.0.0) is dated three days ago. This is extremely suspicious. Reconfiguration should create a new log file each time. It suggests that there is some issue that is preventing LyX from creating these files, which could mean that LyX isn't able to create the files it actually needs to do the reconfiguration properly either. Perhaps Paul has some ideas? Richard
Re: Can't convert
I have a folder named MIKTEX2.7 in Program Files, so I suppose I'm using MiKTeX. But I know very little about how LyX works. Also, I don't know what you mean when you say, open a command prompt and run 'kpsewhich article.cls' . Bill Hanson On Fri, Jun 24, 2011 at 4:47 PM, Paul Rubin ru...@msu.edu wrote: Just as an FYI, the Desktop path _does_ contain spaces if it is translated into an absolute path (it maps to C:\Documents and Settings\you\Desktop). Is it possible that your MiKTeX installation (I assume you are using MiKTeX) became borked during an upgrade? If you open a command prompt and run 'kpsewhich article.cls', do you get a path to the article class file? Paul
Re: configure lyx and layouts with texlive
On 2011-06-24, Terrance Wickman wrote: > I am using lyx 2.0. I have installed all packages and files from texlive > 2011 (2000 something of them). I am using the fedora stack of both of > them. The latex styles and classes are in my > /usr/share/texlive/texmf-dist/ folder. I have texhash several times. I > have set the path in lyx to /usr/share/texlive/ Then reconfigured, and > rescanned the tex information several times. Did you also check, whether they are found by LaTeX (e.g. running a minimal latex document "by hand" or with kpseawich ? > lyx shows the latex classes > and styles I need in the tex information. It does not however show the > layouts that I have them for. Does this mean the layout files shipped with lyx or additional ones (downloaded from the wiki or home-made)? Where are your layout files stored? With most Unix-based systems, private layouts and modules should be in ~/.lyx/layouts (Help>About shows the LYXDIR). > Such as chess still shows up as unavailable. I don't need chess, I > need other ones such as apae6. I have about 100 latex classes that I > would like to use, but are unavailable in lyx. LyX only supports a (compared to CTAN) small subset of popular LaTeX classes and packages. Rule of thumb: * if it is grey in the class selection drop-down box, the latex class is missing (or not found). * if it does not turn up in the menus, the LyX layout (or module) is missing (or not found). > I have used the wiki to add apae6.layout. It works but others do not. > This is cumbersome, and several latex classes to do not report the > origin of their .cls file (ie article or book and such) and so when I > manually add the .layout file to lyx, lyx cannot understand it. Can I > automate the process of adding the latex classes to lyx and having > .layout files created or at least having them made available? Writing a script for generating LyX layouts (or layout templates) might be a task worth considering. I don't know of an existing solution, though. Günter
Re: Is there an easy way to convert "straight quotes" into "smart quotes" ?
On 2011-06-23, Liviu Andronic wrote: > On Thu, Jun 23, 2011 at 9:48 PM, Julio Rojaswrote: >> Nope, unless you define a particular character. But " is not an allowed one. > There is Document Settings > Language > Quote style, but effectively > it doesn't seem to take care of things. Maybe a solution involving > advanced search & replace? This converts the quotes when input from the keyboard. Alternatives: * Regexp search. Example regular expressions can be found by googling for the script "SmartyPants" (Perl) or the Python version "smartypants.py". * A latex package (I think it was named quotes but I am not sure) which can be configured so that some character is made "active" and converted context-dependent. Günter
Re: xetex CV
On 2011-06-24, Liviu Andronic wrote: > [-- Type: text/plain, Encoding: --] > On Fri, Jun 24, 2011 at 12:20 AM, Jean-Marc Lasgouttes >wrote: >> Try >> TitleLatexName makecvtitle > I tried the following (see attached), but it doesn't seem to work even > after reconfiguring. Am I doing something wrong? I suppose this should be in the layout file. Günter
Re: Is there an easy way to convert "straight quotes" into "smart quotes" ?
On 2011-06-23, Julio Rojas wrote: > The problem is that the csquote package requires different glyphs for > opening and closing quotes. Not necessarily: from csquotes.pdf: 4.1 Quoting regular text \MakeOuterQuote and \MakeInnerQuote define active quotes which print outer and inner quotation marks. Both take one mandatory argument, the character serving as both opening and closing mark: \MakeOuterQuote{ character } \MakeInnerQuote{ character } So, defining a character in the user preamble should work. Günter
Re: Is there an easy way to convert "straight quotes" into "smart quotes" ?
Defining the same, how can it differentiate? I guess this package is not context-sensitive. Also, it has a list of not allowed characters, like, for example, straight single and double quotes. - Julio Rojas jcredbe...@gmail.com On Fri, Jun 24, 2011 at 8:17 AM, Guenter Mildewrote: > On 2011-06-23, Julio Rojas wrote: > > > The problem is that the csquote package requires different glyphs for > > opening and closing quotes. > > Not necessarily: from csquotes.pdf: > > 4.1 Quoting regular text > > \MakeOuterQuote and \MakeInnerQuote define active quotes which print > outer and inner quotation marks. Both take one mandatory argument, the > character serving as both opening and closing mark: > > \MakeOuterQuote{ character } > \MakeInnerQuote{ character } > > So, defining a character in the user preamble should work. > > Günter > >
Re: xetex CV
Le 24/06/2011 04:11, Liviu Andronic a écrit : On Fri, Jun 24, 2011 at 12:20 AM, Jean-Marc Lasgoutteswrote: Try TitleLatexName makecvtitle I tried the following (see attached), but it doesn't seem to work even after reconfiguring. Am I doing something wrong? No, it should work... What happens exactly? JMarc
full the page vertically
Hi I would like to have pictures (and/or text) vertically better distributed into the page. I make an example to explain what I mean. The attachement shows 2 pages with a picture: Lyx puts the picture as showed in page 1 and I would like that, entering a new option, Lyx makes in the way showed at page number 2... is it possible? I hope I was clear explaining... :-S Thanks a lot! <>
Re: Table cell widths are wrong and cannot be changed from LyX 1.6.10 to 2.0.0
You've helped me before Richard, so thank you again. Since my first posting, I've found out what the culprit was which was causing funny things in my table floats. This seems to do with inserting the \usepackage{pdfsync} LaTeX code in the preamble. When I removed the above code, the funny "stretching" of my tables stopped, although this means I cannot perform reverse searching any more. For now, I will do without reverse-searching capabilities in exchange for correctly-rendered tables. Daisuke On 23 Jun 2011, at 18:43, Richard Heck wrote: > On 06/23/2011 12:44 PM, Daisuke Koya wrote: >> Hello All, >> >> In my attempt to finally make the switch from LyX 1.6.10 to LyX 2.0.0, I >> have found out that my tables go off the page on the rendered PDF, and >> cannot be corrected. I have confirmed that the column width on the table to >> be identical to the previous setting (i.e. "2.5 cm"), but some single >> columns can be as wide as the page width! >> >> I will go back to using LyX 1.6.10 for now, but was wondering whether my >> experience above was a known problem that will be fixed in a future version >> of LyX 2.0. >> >> I am using LyX on Mac OS 10.6.7. >> > Can you send me (privately) the LyX 1.6 file that is causing the problem? > > Richard >
Re: No PDFs.
(please reply to the list, too) On Fri, Jun 24, 2011 at 9:15 AM, Gordon Cooperwrote: > Liviu wrote: >> >> We would need more info than that. What OS? What version of LaTeX. >> Have you tried removing LyX and re-installing and starting with a >> clean profile folder ( on Linux, remove ~/.lyx). > > The OS is Linux MEPIS 11.0, which is based on Debian. > The most recent is Lyx version 1.6.7 . > > This Lyx was downloaded from a Linux repository and in my > possible newbie ignorance, I assumed that the appropriate > LateX file was included in the download. > Make sure that you have texlive installed. > I have deleted Lyx > and re-installed but with no improvement. > Make sure that after a reinstall you also (re)move ~/.lyx folder. If it still doesn't work, post a minimal example and the latex log. Regards Liviu > More investigating > tomorrow will be slowish as my right arm and hand is in a splint. > > Gordon Cooper. > > -- 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
Empty output file?
When I try to create a PDF of my Lyx file, this is the error message I get. Could someone guide me pls: File does not exist: /tmp/lyx_tmpdir.J10717/lyx_tmpbuf2/eugenio-24june2011.pdf FN +91-832-2409490 or +91-9822122436 (after 2pm) #784 Nr Lourdes Convent, Saligao 403511 Goa India http://fn.goa-india.org http://goa1556.goa-india.org
Re: xetex CV
On Fri, Jun 24, 2011 at 10:40 AM, Jean-Marc Lasgoutteswrote: >>> Try >>> >>> TitleLatexName makecvtitle >>> >> I tried the following (see attached), but it doesn't seem to work even >> after reconfiguring. Am I doing something wrong? > > No, it should work... What happens exactly? > Stupid me, I've fallen prey to LyX' ability to automatically use the .layout files located in the same folder as the .lyx file: this meant that all the changes that I was performing in ~/.lyx-svn/layouts/ were ignored. The updated layout file (that I sent originally) works like sweet. Thanks! Rob, could you test the patch that I sent earlier and, if acceptable, include it into the xetexCV distribution? Cheers Liviu > JMarc > > -- 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
Importing LaTeX file fails
I grabbed a copy of a tutorial on the use of Constraint Grammars from here http://kevindonnelly.org.uk/2010/05/constraint-grammar-tutorial/ The author provides a LaTeX file that latex processes correctly (other than that my system doesn't have a specific font installed). When I import this file into LyX it screws up after a Verbatim usage; there's an earlier one that LyX processes correctly but the second (longer one) is really screwed. What is it that LyX is getting wrong? Regards, Trevor. <>< Re: deemed!
LyX 2.0 Preview Inset with PSTricks
I've successfully used the Preview Inset to display qtrees. Can I use it for PSTricks too? Ultimately, I want to use the package pst-sigsys and preview a diagram like the one appended. Thanks! Gustavo \begin{figure}[ht] \centering % \begin{pspicture}[showgrid=false](0,3)(10,5) \psset{style=RoundCorners} %--- Define blocks --- \pssignal(0,4){tm}{$\tau_m$} \pscircleop(1,4){sum1}\nput{70}{sum1}{$\scriptstyle -$} \psblock(2,4){Jm}{$\frac{1}{J_m}$} \psblock(3.5,4){dint1}{$\frac{1}{s^2}$} \pscircleop(4.5,4){sum2}\nput{-160}{sum2}{$\scriptstyle -$} \psblock(5.5,4){hooke}{$K_s$} \dotnode[dotstyle=square*,dotscale=0.001](6,4){tldot} \dotnode[dotstyle=square*,dotscale=0.001](5,5){tldot1} \psblock(7,4){Jl}{$\frac{1}{J_l}$} \psblock(8.5,4){dint2}{$\frac{1}{s^2}$} \dotnode[dotstyle=square*,dotscale=0.001](9,4){thetal_dot} \dotnode[dotstyle=square*,dotscale=0.001](8,3){thetal_dot1} \pssignal(10,4){tl}{$\theta_l$} %--- Connect blocks --- \psset{style=Arrow} \ncline[nodesepA=.0]{->}{tm}{sum1} \ncline{sum1}{Jm} \ncline{Jm}{dint1}\naput[npos=.5]{$\ddot\theta_m$} \ncline{dint1}{sum2}\naput[npos=.5]{$\theta_m$} \ncline{sum2}{hooke} \ncline{hooke}{Jl}\naput[npos=.5]{$\tau_l$} \ncline{Jl}{dint2}\naput[npos=.5]{$\ddot\theta_l$} \ncline{dint2}{tl} %feedback1 \ncangle[angleA=-90,angleB=0]{-}{tldot}{tldot1} \ncangle[angleA=180,angleB=90]{tldot1}{sum1} \ncangle[angleA=-90,angleB=0]{-}{thetal_dot}{thetal_dot1} \ncangle[angleA=180,angleB=-90]{thetal_dot1}{sum2} \end{pspicture} \end{figure}
How does LyX compile to PDF?
Hi all, The following shellscript compiles my PDF: = #!/bin/bash rm -f junk.* cp -p larry.lyx junk.lyx lyx --export latex junk.lyx latex junk.tex makeindex -c -q junk.idx latex junk.tex dvips junk.dvi ps2pdf13 junk.ps acroread junk.pdf = The preceding fails to produce a table of contents item for the book's index, yet when I compile to PDF within the LyX environment, the index appears in the table of contents. The latex files produced are slightly different, but even if I replace the script compiled latex file with the one internally compiled (from the tmp directory), the symptom still appears. And, before I put in a special line of text and \clearpage, the script compiled version had page numbers not matched to the PDF reader's opinion of the page number, whereas the environment compiled version had the page numbers on the pdf match those of the pdf reader. I need to find out what the internal compile is doing that my script is not or vice versa. The following are the definition of the converters in the LyX configuration: DVI->Postscript: dvips -o $$o $$i LaTeX (Plain)->DVI: latex DVI->Postscript: dvips -o $$o $$i Postscript->PDF (ps2pdf): ps2pdf13 $$i $$o What the heck is accounting for the discrepancy in these two techniques? Thanks SteveT Steve Litt Recession Relief Package http://www.recession-relief.US Twitter: http://www.twitter.com/stevelitt
Re: LyX 2.0 Preview Inset with PSTricks
On Fri, Jun 24, 2011 at 7:30 PM, Gustavo Goretkinwrote: > I've successfully used the Preview Inset to display qtrees. Can I use it for > PSTricks too? > PSTricks features the big drawback that it is incompatible with pdflatex. I'm not sure how the Preview machinery works, but you need either PostScript or XeTeX to compile PSTricks code. Liviu > Ultimately, I want to use the package pst-sigsys and preview a diagram like > the one appended. > > Thanks! > Gustavo > > \begin{figure}[ht] > \centering % > \begin{pspicture}[showgrid=false](0,3)(10,5) > \psset{style=RoundCorners} > > %--- Define blocks --- > \pssignal(0,4){tm}{$\tau_m$} > \pscircleop(1,4){sum1} \nput{70}{sum1}{$\scriptstyle -$} > \psblock(2,4){Jm}{$\frac{1}{J_m}$} > \psblock(3.5,4){dint1}{$\frac{1}{s^2}$} > > \pscircleop(4.5,4){sum2} \nput{-160}{sum2}{$\scriptstyle -$} > \psblock(5.5,4){hooke}{$K_s$} > \dotnode[dotstyle=square*,dotscale=0.001](6,4){tldot} > \dotnode[dotstyle=square*,dotscale=0.001](5,5){tldot1} > \psblock(7,4){Jl}{$\frac{1}{J_l}$} > \psblock(8.5,4){dint2}{$\frac{1}{s^2}$} > > \dotnode[dotstyle=square*,dotscale=0.001](9,4){thetal_dot} > \dotnode[dotstyle=square*,dotscale=0.001](8,3){thetal_dot1} > > \pssignal(10,4){tl}{$\theta_l$} > > > > > %--- Connect blocks --- > \psset{style=Arrow} > \ncline[nodesepA=.0]{->}{tm}{sum1} > \ncline{sum1}{Jm} > \ncline{Jm}{dint1} \naput[npos=.5]{$\ddot\theta_m$} > \ncline{dint1}{sum2} \naput[npos=.5]{$\theta_m$} > \ncline{sum2}{hooke} > \ncline{hooke}{Jl} \naput[npos=.5]{$\tau_l$} > \ncline{Jl}{dint2} \naput[npos=.5]{$\ddot\theta_l$} > \ncline{dint2}{tl} > > %feedback1 > \ncangle[angleA=-90,angleB=0]{-}{tldot}{tldot1} > \ncangle[angleA=180,angleB=90]{tldot1}{sum1} > \ncangle[angleA=-90,angleB=0]{-}{thetal_dot}{thetal_dot1} > \ncangle[angleA=180,angleB=-90]{thetal_dot1}{sum2} > > > \end{pspicture} > \end{figure} > > > -- Do you know how to read? http://www.alienetworks.com/srtest.cfm http://goodies.xfce.org/projects/applications/xfce4-dict#speed-reader Do you know how to write? http://garbl.home.comcast.net/~garbl/stylemanual/e.htm#e-mail
Re: Is there an easy way to convert "straight quotes" into "smart quotes" ?
On 2011-06-24, Julio Rojas wrote: > [-- Type: text/plain, Encoding: quoted-printable --] > Defining the same, how can it differentiate? I guess this package is not > context-sensitive. Try yourself: \documentclass{minimal} \usepackage{csquotes} \MakeOuterQuote{"} \MakeInnerQuote{|} \begin{document} It's "context |sensitive| or not"? \end{document} It works here with csquotes.sty,v 4.4c 2009/09/23. > Also, it has a list of not allowed characters, like, for > example, straight single and double quotes. single yes, double only in certain languages (like German) where they are active with a different meaning. Günter
Re: No PDFs.
On 06/24/2011 11:41 AM, Liviu Andronic wrote: Make sure that you have texlive installed. THANK YOU! Re-installing texlive has restored the PDF. Now to work on learning more. Gordon
Re: Lyx Crashing Unexpectedly
On Fri, Jun 24, 2011 at 9:12 PM, Tim Wescottwrote: > I'm using Lyx 1.6.5 on Ubuntu 10.04, it's been just fine. Until now. This > is what happens when I open a document, then try to create a figure frame. > This is an operation that I've done many times before -- but now it crashes > Lyx. > > This is just after I restarted the machine, to make sure things are nice and > clean. See below for what shows up on the command line. > > So -- is this a known problem? > Yes. Most probably the combination of 1.6.5 and the Qt coming with Lucid. Try 1.6.7 [1] or later (including 2.0.0). Liviu [1] https://launchpad.net/~lyx-outline-devel/+archive/lyx-stable > Is there a work-around? I assume that it's > some nasty interaction between an Ubuntu upgrade, some new package I've > added, or the phase of the moon. Guidance welcome -- it does create the > figure before it crashes, but this is tedious! > > tim@servo:~$ lyx Analysis.lyx > ../../../../src/frontends/qt4/TocModel.cpp(268): type not found: > ../../../../src/frontends/qt4/TocModel.cpp(358): type not found: > ../../../../src/frontends/qt4/TocModel.cpp(268): type not found: > ../../../../src/frontends/qt4/TocModel.cpp(358): type not found: > ../../../../src/frontends/qt4/TocModel.cpp(268): type not found: > ../../../../src/frontends/qt4/TocModel.cpp(358): type not found: > ../../../../src/frontends/qt4/TocModel.cpp(268): type not found: > ../../../../src/frontends/qt4/TocModel.cpp(358): type not found: > ../../../../src/frontends/qt4/TocModel.cpp(268): type not found: > ../../../../src/frontends/qt4/TocModel.cpp(358): type not found: > ../../../../src/frontends/qt4/TocModel.cpp(268): type not found: > ../../../../src/frontends/qt4/TocModel.cpp(358): type not found: > ../../../../src/frontends/qt4/TocModel.cpp(268): type not found: > ../../../../src/frontends/qt4/TocModel.cpp(358): type not found: > ../../../../src/frontends/qt4/TocModel.cpp(268): type not found: > ../../../../src/frontends/qt4/TocModel.cpp(358): type not found: > ../../src/Buffer.cpp(956): /home/tim/Analysis.lyx.emergency > > lyx: SIGSEGV signal caught > Sorry, you have found a bug in LyX. Please read the bug-reporting > instructions in Help->Introduction and send us a bug report, if necessary. > Thanks ! > Bye. > Aborted > tim@servo:~$ > > -- > Tim Wescott > Wescott Design Services > Voice: 503-631-7815 > Cell: 503-349-8432 > http://www.wescottdesign.com > > -- Do you know how to read? http://www.alienetworks.com/srtest.cfm http://goodies.xfce.org/projects/applications/xfce4-dict#speed-reader Do you know how to write? http://garbl.home.comcast.net/~garbl/stylemanual/e.htm#e-mail
Re: Importing LaTeX file fails
On 06/24/2011 01:02 PM, Trevor Jenkins wrote: > I grabbed a copy of a tutorial on the use of Constraint Grammars from > here http://kevindonnelly.org.uk/2010/05/constraint-grammar-tutorial/ > The author provides a LaTeX file that latex processes correctly (other > than that my system doesn't have a specific font installed). When I > import this file into LyX it screws up after a Verbatim usage; there's > an earlier one that LyX processes correctly but the second (longer > one) is really screwed. > > What is it that LyX is getting wrong? > Hard to know without seeing the file. Verbatim stuff is hard to import, I think. Richard
Re: no classes available after installation of 1.6.10 and 2.0.0-3
When you successfully run latex at a command prompt, you are doing so with the limited rights account, correct? Am I correct in assuming that if you log in with the local admin account, LyX works correctly for you? One thing you might try is to delete the local LyX directory for the limited rights user, then restart LyX (as the limited rights user) and let it try to rebuild that directory. I think the directory is usually stored at C:\Documents and Settings\\Application Data\lyx. (Unfortunately I don't have access to a Win XP machine anymore.) Just delete the entire directory. I you have modified any bind or layout files, you might want to back those up first, but if this is an out-of-the-box LyX installation there is nothing there you need to worry about. Paul
Re: Image PDF output rescalling issues
Can you post a minimal example (single page document, one image), including the image file, here? That would help to sort out what you're seeing. Paul
Re: Can't convert
Just as an FYI, the Desktop path _does_ contain spaces if it is translated into an absolute path (it maps to C:\Documents and Settings\\Desktop). Is it possible that your MiKTeX installation (I assume you are using MiKTeX) became borked during an upgrade? If you open a command prompt and run 'kpsewhich article.cls', do you get a path to the article class file? Paul
Re: Empty output file?
Unknown unknown.invalid> writes: > File does not exist: /tmp/lyx_tmpdir.J10717/lyx_tmpbuf2/eugenio-24june2011.pdf All this means is that LaTeX failed to generate the PDF output file; it does not tell you why. After trying (and presumably failing) to view the PDF, look in Document > LaTeX Log and see if there are error messages (click the Next Error button if it is active). Paul
Re: Can't convert
On 06/23/2011 03:06 PM, William Hanson wrote: > I reconfigured both 1.6.7 and 2.0.0 just a few moments ago. the only > "configure.log files I can find are attached. But the first (from > 1.6.7) is dated nearly two years ago, and the second (from 2.0.0) is > dated three days ago. > This is extremely suspicious. Reconfiguration should create a new log file each time. It suggests that there is some issue that is preventing LyX from creating these files, which could mean that LyX isn't able to create the files it actually needs to do the reconfiguration properly either. Perhaps Paul has some ideas? Richard
Re: Can't convert
I have a folder named "MIKTEX2.7 in Program Files, so I suppose I'm using MiKTeX. But I know very little about how LyX works. Also, I don't know what you mean when you say, "open a command prompt and run 'kpsewhich article.cls' ". Bill Hanson On Fri, Jun 24, 2011 at 4:47 PM, Paul Rubinwrote: > Just as an FYI, the Desktop path _does_ contain spaces if it is translated > into > an absolute path (it maps to C:\Documents and Settings\\Desktop). > > Is it possible that your MiKTeX installation (I assume you are using > MiKTeX) > became borked during an upgrade? If you open a command prompt and run > 'kpsewhich article.cls', do you get a path to the article class file? > > Paul > >