Re: Pasting Tex code from Maxima into Lyx
On 8.01.08, Blair Sutton wrote: I would like to paste TeX code as generated by the Maxima function tex into my Lyx document and have it interpreted immediately. ... For example I would like to paste the expression $$x^2$$ into my document and have it displayed and properly formatted. Mark the expression and convert it to a math-box (e.g. with Ctrl-M) or just paste x^2 into a math-box. GM
Re: onehalfspace mystery
Donn [EMAIL PROTECTED] writes: Repeating this here as it's the start of the day for me and I'd like to get past this error: onehalfspace and doublespace missing environments. So probably LyX does not output the \usepackage{setspace} command that it needs in the preamble. Did you set spacing globally or in a given paragraph? Could you send an example file? JMarc
Re: onehalfspace mystery
So probably LyX does not output the \usepackage{setspace} command that it needs in the preamble. Tried that too, still no effect. Did you set spacing globally or in a given paragraph? Could you send an example file? I don't think I did anything special globally. I attach a cut-down sample of the file that gives me the errors. Thanks. \d error_sample.lyx Description: application/lyx
Re: onehalfspace mystery
Donn [EMAIL PROTECTED] writes: So probably LyX does not output the \usepackage{setspace} command that it needs in the preamble. Tried that too, still no effect. Did you set spacing globally or in a given paragraph? Could you send an example file? I don't think I did anything special globally. I attach a cut-down sample of the file that gives me the errors. OK, the problem is that you use the memoir class, which has its own implementation of the setspace functionality in newer editions. However, this functionality is offered as capitalized commands like DoubleSpace environment. Juergen, what shall we do? I remember messages from you about memoir incompatibility, but I cannot see a reference. One solution would be to have memoir.layout provide SetSpace and act of the require to change the spacing commands as needed. JMarc
Re: onehalfspace mystery
Jean-Marc Lasgouttes [EMAIL PROTECTED] writes: Juergen, what shall we do? I remember messages from you about memoir incompatibility, but I cannot see a reference. I found that: http://www.mail-archive.com/lyx-users@lists.lyx.org/msg52814.html Would adding \DisemulatePackage{setspace} fix some of our problems (at the price of not so good spacing?) I suspect there is a problem with parskip.sty also. JMarc
Re: onehalfspace mystery
OK, the problem is that you use the memoir class, which has its own implementation of the setspace functionality in newer editions. However, this functionality is offered as capitalized commands like DoubleSpace environment. Okay, I'll take a break and await advice. Thanks for looking into it. \d -- I have a low-traffic blog for basic news: http://otherwiseingle.blogspot.com/
Re: Pasting Tex code from Maxima into Lyx
Mark the expression and convert it to a math-box (e.g. with Ctrl-M) or just paste x^2 into a math-box. I was looking for the same thing -- but for normal LaTeX like text with sections, footnotes,... Is there a non math-specific way to paste LaTeX code from the clipboard - just like importing LaTeX documents? Regards Toby
Re: onehalfspace mystery
Jean-Marc Lasgouttes wrote: Juergen, what shall we do? I remember messages from you about memoir incompatibility, but I cannot see a reference. I think there's no bug report yet, but there is a wiki page: http://wiki.lyx.org/LyX/UsingMemoirInLyX One solution would be to have memoir.layout provide SetSpace and act of the require to change the spacing commands as needed. Yes, I guess we need this. I have recently tried to solve it by redefinitions of setspace commands in the preamble and Provides setspace 1, but this does not work, since the global commands are put before the Class preamble. Do you like to have a go? (we probably need to check since when these memoir SetSpace stuff exists, and require a certain version). Jürgen
Re: Pasting Tex code from Maxima into Lyx
Thanks for the tip. I have added it to the Lyx Wiki for future reference. On Jan 9, 2008 8:22 AM, G. Milde [EMAIL PROTECTED] wrote: On 8.01.08, Blair Sutton wrote: I would like to paste TeX code as generated by the Maxima function tex into my Lyx document and have it interpreted immediately. ... For example I would like to paste the expression $$x^2$$ into my document and have it displayed and properly formatted. Mark the expression and convert it to a math-box (e.g. with Ctrl-M) or just paste x^2 into a math-box. GM -- +44 7943 865 125
Re: onehalfspace mystery
Um, does this mean I should hang-on a while and compile a new version? I don't mind doing that, just don't grok what you are chatting about :) \d -- Fonty Python and other dev news at: http://otherwiseingle.blogspot.com/
pdfsync messes up my layout
Hello LyX-List, I'm trying to use pdfsync with PDFView or Skim.app in LyX 1.5.2 When using the package {pdfsync} the whole layout is messed up with pdflatex. Lots of extra vertical space, and especially all the \marginpar notes behave not the way they used to behave. Any ideas? Bjoern Mueller
RE: cv-Layout
Dear Antonio, The example in europeCV.lyx in ... \LyX 1.5.3\Resources\examples looks nice to me, doesn't it?! Of course, one will have to modify it a little. Best regards, Milen -Original Message- From: Antonio José Guirao Sánchez [mailto:[EMAIL PROTECTED] Sent: Tuesday, January 08, 2008 9:41 PM To: lyx-users@lists.lyx.org Subject: cv-Layout Hi all, I have to write a cv in English and with a good format. So I would like to find a good layout for that. Thanks in advance.
Re: onehalfspace mystery
Donn [EMAIL PROTECTED] writes: Um, does this mean I should hang-on a while and compile a new version? I don't mind doing that, just don't grok what you are chatting about :) Try to add \DisemulatePackage{setspace} in the preamble of your document. JMarc
Re: onehalfspace mystery
Jean-Marc Lasgouttes wrote: Try to add \DisemulatePackage{setspace} in the preamble of your document. I seem to remember that LyX adds this too late in the game, but my memory might be wrong Jürgen
Re: onehalfspace mystery
Juergen Spitzmueller [EMAIL PROTECTED] writes: Jean-Marc Lasgouttes wrote: Try to add \DisemulatePackage{setspace} in the preamble of your document. I seem to remember that LyX adds this too late in the game, but my memory might be wrong Indeed. It is a bit better with \DisemulatePackage{setspace} \usepackage{setspace} but there is still an error. JMarc
Re: onehalfspace mystery
Jean-Marc Lasgouttes wrote: \DisemulatePackage{setspace} \usepackage{setspace} but there is still an error. Too bad. And if Provides setspace 1 is set additionally? Jürgen
Re: onehalfspace mystery
Donn wrote: Um, does this mean I should hang-on a while and compile a new version? I don't mind doing that, just don't grok what you are chatting about :) It might be that this fix will have to wait for the next major release (1.6.0), because it might entail a file format change (we need to discuss this). For the time being, you can use the ERT workarounds outlines on the wiki page I referred to. Jürgen
Re: onehalfspace mystery
Juergen Spitzmueller [EMAIL PROTECTED] writes: Jean-Marc Lasgouttes wrote: \DisemulatePackage{setspace} \usepackage{setspace} but there is still an error. Too bad. And if Provides setspace 1 is set additionally? It would not help, we need to actually load setspace. JMarc
Re: onehalfspace mystery
Juergen Spitzmueller [EMAIL PROTECTED] writes: Do you like to have a go? It would look like this. I define the new feature SetSpace that is provided by memoir.layout, and act on it. JMarc svndiff src/ lib/layouts/ Index: src/Spacing.h === --- src/Spacing.h (revision 22451) +++ src/Spacing.h (working copy) @@ -58,10 +58,12 @@ public: void set(Spacing::Space sp, std::string const val); /// void writeFile(std::ostream , bool para = false) const; - /// - std::string const writeEnvirBegin() const; - /// - std::string const writeEnvirEnd() const; + /// useSetSpace is true when using the variant supported by + /// the memoir class. + std::string const writeEnvirBegin(bool useSetSpace) const; + /// useSetSpace is true when using the variant supported by + /// the memoir class. + std::string const writeEnvirEnd(bool useSetSpace) const; private: /// Index: src/LaTeXFeatures.cpp === --- src/LaTeXFeatures.cpp (revision 22451) +++ src/LaTeXFeatures.cpp (working copy) @@ -637,9 +637,10 @@ string const LaTeXFeatures::getPackages( // setspace.sty if ((params_.spacing().getSpace() != Spacing::Single !params_.spacing().isDefault()) - || isRequired(setspace)) { - packages \\usepackage{setspace}\n; + || (isRequired(setspace) !tclass.provides(SetSpace))) { + packages \\usepackage{setspace}\n; } + bool const upcase = tclass.provides(SetSpace); switch (params_.spacing().getSpace()) { case Spacing::Default: case Spacing::Single: @@ -647,13 +648,13 @@ string const LaTeXFeatures::getPackages( //packages += \\singlespacing\n; break; case Spacing::Onehalf: - packages \\onehalfspacing\n; + packages (upcase ? \\OnehalfSpacing\n : \\onehalfspacing\n); break; case Spacing::Double: - packages \\doublespacing\n; + packages (upcase ? \\DoubleSpacing\n : \\doublespacing\n); break; case Spacing::Other: - packages \\setstretch{ + packages (upcase ? \\setSingleSpace{ : \\setstretch{) params_.spacing().getValue() }\n; break; } Index: src/Spacing.cpp === --- src/Spacing.cpp (revision 22451) +++ src/Spacing.cpp (working copy) @@ -89,20 +89,24 @@ void Spacing::writeFile(ostream os, bo } -string const Spacing::writeEnvirBegin() const +string const Spacing::writeEnvirBegin(bool useSetSpace) const { switch (space) { case Default: break; // do nothing case Single: - return \\begin{singlespace}; + return (useSetSpace ? \\begin{SingleSpace} + : \\begin{singlespace}); case Onehalf: - return \\begin{onehalfspace}; + return (useSetSpace ? \\begin{OnehalfSpace} + : \\begin{onehalfspace}); case Double: - return \\begin{doublespace}; + return (useSetSpace ? \\begin{DoubleSpace} + : \\begin{doublespace}); case Other: { ostringstream ost; - ost \\begin{spacing}{ + ost (useSetSpace ? \\begin{Spacing}{ + : \\begin{spacing}{ ) getValueAsString() '}'; return ost.str(); } @@ -111,18 +115,21 @@ string const Spacing::writeEnvirBegin() } -string const Spacing::writeEnvirEnd() const +string const Spacing::writeEnvirEnd(bool useSetSpace) const { switch (space) { case Default: break; // do nothing case Single: - return \\end{singlespace}; + return (useSetSpace ? \\end{SingleSpace} + : \\end{singlespace}); case Onehalf: - return \\end{onehalfspace}; + return (useSetSpace ? \\end{OnehalfSpace} + : \\end{onehalfspace}); case Double: - return \\end{doublespace}; + return (useSetSpace ? \\end{DoubleSpace} + : \\end{doublespace}); case Other: - return \\end{spacing}; + return (useSetSpace ? \\end{Spacing} : \\end{spacing}) ; } return string(); } Index: src/output_latex.cpp === --- src/output_latex.cpp (revision 22451) +++ src/output_latex.cpp (working copy) @@ -491,6 +491,7 @@ TeXOnePar(Buffer const buf, // In an inset with unlimited length (all in one row), // don't allow any special options in the paragraph + bool const useSetSpace = bparams.getTextClass().provides(SetSpace); if (!pit-forceDefaultParagraphs()) { if (pit-params().startOfAppendix()) { os \\appendix\n; @@ -501,7 +502,7 @@ TeXOnePar(Buffer const buf, (pit == paragraphs.begin() || !boost::prior(pit)-hasSameLayout(*pit))) { - os from_ascii(pit-params().spacing().writeEnvirBegin()) + os from_ascii(pit-params().spacing().writeEnvirBegin(useSetSpace)) '\n'; texrow.newline(); } @@ -611,7 +612,7 @@ TeXOnePar(Buffer const buf, os '\n'; texrow.newline(); } - os from_ascii(pit-params().spacing().writeEnvirEnd()); + os from_ascii(pit-params().spacing().writeEnvirEnd(useSetSpace)); pending_newline = true; } } Index: lib/layouts/memoir.layout
Re: cv-Layout
Antonio José Guirao Sánchez wrote: I have to write a cv in English and with a good format. So I would like to find a good layout for that. Good will depend on the circumstances. What's best for one job/application might not be best for others. You might need a flat style (which is kind of boring to look at, but most appropriate in some cases) or perhaps a fancier style. Both styles are illustrated on the Wiki: http://wiki.lyx.org/Examples/CV Bruce Pourciau gives a nice example of what I'd refer to as a flat style, and the moderncv example is a little fancier. Curve is another popular CV class for LaTeX that's regularly maintained, but I haven't tried it: http://tug.ctan.org/cgi-bin/ctanPackageInformation.py?id=curve Example here: http://www.lrde.epita.fr/~didier - David Hewitt Virginia Institute of Marine Science http://www.vims.edu/fish/students/dhewitt/ -- View this message in context: http://www.nabble.com/cv-Layout-tp14697221p14715825.html Sent from the LyX - Users mailing list archive at Nabble.com.
Re: cv-Layout
David Hewitt [EMAIL PROTECTED] writes: Both styles are illustrated on the Wiki: http://wiki.lyx.org/Examples/CV Note that my cv class has been renamed to simplecv and is availble on CTAN these days. Christian, it would be nice to update your cv to use the new class :) JMarc
Re: onehalfspace mystery
Thanks for the work! Harmonizing LyX and memoir is tremendously useful. Eran
keyboard shortcuts
Hi ! Since 1.5 version (if i remember well) I've a lot of problem with the keyboard shortcuts. I mean, I use a lot of shortcut for math symbol, and when I type too quickly, I get a menu (as example, alt-m-f will give alt-f) So I'd like to disable all the alt-menu binding. I tried to disable the loading of the menus.bind file, but it didn't help. So what could I try? Philippe
Re: keyboard shortcuts
[EMAIL PROTECTED] wrote: Hi ! Since 1.5 version (if i remember well) I've a lot of problem with the keyboard shortcuts. I mean, I use a lot of shortcut for math symbol, and when I type too quickly, I get a menu (as example, alt-m-f will give alt-f) You should try 'Alt-m f', i.e. make sure to release the two keys before typing 'f'. So I'd like to disable all the alt-menu binding. I tried to disable the loading of the menus.bind file, but it didn't help. So what could I try? I am afraid this is not possible without touching the source code. This feature comes from Qt, not LyX. Abdel.
Re: Lyx keyboard shortcuts on mac
Declan O'Byrne wrote: Hi all, Similar to another thread currently underway, I'd like to find out some of the important keyboard shortcuts for lyx on OS X (Leopard). What for example is insert footnote? What is insert citation? I would have expected these to be Command i for insert and f for footnote or c for citation. But these don't work Look at the mac.bind file. They're all detailed there, and you can reconfigure them as you wish by editing this file. Just copy it to your local LyX directory and have at it. Thanks to Bo Peng, LyX 1.6 will have an integrated shortcut editor. Go Bo! rh
Alt-space on Windows?
Should Alt-space work on windows to access the drowp down list that lets you select paragraph style? /Christian -- Christian Ridderström, +46-8-768 39 44 http://www.md.kth.se/~chr
[Solution] environment split over several ERTs -- LaTeX warning Extra }, or forgotten \endgroup.
Hi, it took a while to figure out how to have environments split over several ERTs. [ERT] \begin{centering}[/ERT] what ever in normal LyX [ERT] \end{centering}[/ERT] ended with the LaTeX warning Extra }, or forgotten \endgroup. For other who have the same problem: a simple % at the end of the first ERT solves this problem: [ERT] \begin{centering}%[/ERT] what ever in normal LyX [ERT] \end{centering}[/ERT] Is this a bug or a feature? What exactly does the % at the end of the first ERT change? Regards Toby
Lyx keyboard shortcuts on mac
Hi all, Similar to another thread currently underway, I'd like to find out some of the important keyboard shortcuts for lyx on OS X (Leopard). What for example is insert footnote? What is insert citation? I would have expected these to be Command i for insert and f for footnote or c for citation. But these don't work Declan
Re: keyboard shortcuts
I mean, I use a lot of shortcut for math symbol, and when I type too quickly, I get a menu (as example, alt-m-f will give alt-f) I have a similar problem trying e.g. to insert a footnote via Alt-i f: * if I type Alt-i-f too fast it ends up like Alt-f * if a type Alt-i f (releasing the two keys as Abdel said) and type too fast it end up with a opened insert menu and the character f at the current cursor position Somehow it looks like LyX messes up something when you type to fast ;-( Regards Toby Original Message Subject: Re: keyboard shortcuts From: Abdelrazak Younes [EMAIL PROTECTED] To: lyx-users@lists.lyx.org Date: Wed Jan 09 2008 22:17:48 GMT+0100 [EMAIL PROTECTED] wrote: Hi ! Since 1.5 version (if i remember well) I've a lot of problem with the keyboard shortcuts. I mean, I use a lot of shortcut for math symbol, and when I type too quickly, I get a menu (as example, alt-m-f will give alt-f) You should try 'Alt-m f', i.e. make sure to release the two keys before typing 'f'. So I'd like to disable all the alt-menu binding. I tried to disable the loading of the menus.bind file, but it didn't help. So what could I try? I am afraid this is not possible without touching the source code. This feature comes from Qt, not LyX. Abdel.
Re: Alt-space on Windows?
[EMAIL PROTECTED] wrote: Should Alt-space work on windows to access the drowp down list that lets you select paragraph style? On Linux, it's Alt-P, space. rh
Re: Alt-space on Windows?
rgheck wrote: [EMAIL PROTECTED] wrote: Should Alt-space work on windows to access the drowp down list that lets you select paragraph style? On Linux, it's Alt-P, space. Also in Windows. In Windows, alt-space opens the little control menu in the upper left corner of every window. /Paul
Landscape document: what am I missing?
Hi, I am trying to print a landscape document. Hoewever, when I view a PDF or DVI document, it shows up in portrait. If it matters any, I am using a longtable in my document. L -- Prenez la parole en public en étant Speak to an audience while being moins nerveux et plus convaincant! less nervous and more convincing! Abonnez-vous au bulletin gratuit! Sign up for the free newsletter! http://www.duperval.com (514) 902-0186
Re: Lyx keyboard shortcuts on mac
On Jan 9, 2008, at 4:51 PM, rgheck wrote: Declan O'Byrne wrote: Hi all, Similar to another thread currently underway, I'd like to find out some of the important keyboard shortcuts for lyx on OS X (Leopard). What for example is insert footnote? What is insert citation? I would have expected these to be Command i for insert and f for footnote or c for citation. But these don't work Look at the mac.bind file. They're all detailed there, and you can reconfigure them as you wish by editing this file. Just copy it to your local LyX directory and have at it. Better yet, look at the mac-bind.pdf file that is included with the LyX/Mac distribution. Insert footnote is not defined there, but you can define it yourself by creating a file with the following: \bind_file mac.bind \bind S-C-F footnote-insert Put that in ~/Library/Application Support/LyX-1.5/bind, and select that file in LyX Preferences User Interface Bind file. Below I have copied the standard keybindings I add to mac.bind. If others like them, they can be added to mac.bind as the default for everyone. Thanks to Bo Peng, LyX 1.6 will have an integrated shortcut editor. Go Bo! Yes -- that will be nice. Bennett - \bind S-C-F footnote-insert \bind S-C-B dialog-show-new-inset citation \bind F11 language greek # Insert menu \bind C-S-I m marginalnote-insert \bind C-S-I l label-insert \bind C-S-I r dialog-show-new-inset ref \bind C-S-I i index-insert \bind C-S-I n note-insert \bind C-S-I u url-insert \bind C-S-I h hfill-insert \bind C-S-I s optional-insert \bind C-S-I p dialog-show-new-inset graphics \bind C-S-I S-S dialog-show-new-inset vspace \bind C-S-I t tabular-insert \bind C-S-I c note-insert Comment \bind C-S-I s note-insert Shaded \bind C-S-I g note-insert Greyedout \bind C-S-I S-L line-insert # Layout menu \bind C-M-c dialog-show character \bind C-M-p layout-paragraph \bind C-M-d dialog-show document \bind C-M-t layout-tabular # View menu \bind M-S-V o dialog-toggle toc \bind M-S-V s dialog-toggle view-source \bind M-S-V t buffer-view text \bind M-S-V h buffer-view html #tex4ht \bind M-C-t buffer-view pdf # view ps2pdf \bind C-t buffer-view pdf2 # bind to pdflatex rather than default ps2pdf # Miscellaneous \bind M-C-w words-count \bind M-C-n note-next
Re: DocBook Support?
I looked into dblatex a bit - but I don't think this would quite work for me since it doesn't provide the ability to author docbook files with Lyx. It is only geared towards taking docbook files and then converting them to latex for processing into pdfs, etc. Still looking forward to the docbook documentation. Thanks, Ryan On Jan 4, 2008 11:10 PM, Neal Becker [EMAIL PROTECTED] wrote: José Matos wrote: On Wednesday 02 January 2008 08:03:52 Ryan Cross wrote: Bump... Can anyone provide some guidance on working with DocBook for Lyx (with any current versions)? Thanks! -Ryan I am sorry for the delay. I have been recovering from a small surgery just before the holidays, and now I am recovering from the holidays. :-) Expect new documentation next week. I will add the documentation to the wiki and then post a link here. Has anyone tried dblatex to work with docbook in lyx? Seems like a perfect fit.
1.5.3 bug? - using child documents with same class causing error
HI, I decided to upgrade to 1.5.3 today (windows) and tried working with a file that has several child documents included. When trying to view the pdf (and thus opening all the child docs), I am getting an error that the child docs have a different text class than the parent file. However, the classes are the same - I even did a diff on the files and the text class lines are identical. I rolled back to 1.5.2 and didn't have any issues there. Can anyone shed some light? I've had a few little issues previously where lyx was robust to a problem in a file, and upon upgrading it was more strict and thus caught what should've been caught before - but this seems like a different issue unless Im not supposed to be declaring a text class in the child documents or something of that nature. Thanks, Ryan
Feature Request - new file command from insert file dialog box.
Not sure if this would be the best place to post this, but it dawned on me today that it would be really useful if I could have an option in the insert file dialog box to create a new file, instead of just browsing for an existing one. Ideally, this option would create a new lyx file will all the appropriate document settings from the parent file. Maybe there is already a way to do this, in which case hopefully someone can just point it out to me and the developers could just add a link there. -Ryan
Re: keyboard shortcuts
Tobias Krause wrote: I mean, I use a lot of shortcut for math symbol, and when I type too quickly, I get a menu (as example, alt-m-f will give alt-f) I have a similar problem trying e.g. to insert a footnote via Alt-i f: * if I type Alt-i-f too fast it ends up like Alt-f * if a type Alt-i f (releasing the two keys as Abdel said) and type too fast it end up with a opened insert menu and the character f at the current cursor position Somehow it looks like LyX messes up something when you type to fast ;-( This is weird and something I cannot reproduce under Windows. Maybe it is a bug of Qt under X11? Abdel.
Re: Feature Request - new file command from insert file dialog box.
Ryan Cross wrote: Not sure if this would be the best place to post this, but it dawned on me today that it would be really useful if I could have an option in the insert file dialog box to create a new file, You mean in the 'Child Document' dialog right? instead of just browsing for an existing one. Ideally, this option would create a new lyx file will all the appropriate document settings from the parent file. Yes, that would be helpful, please put an enhancement entry in 'bugzilla.lyx.org'. Abdel.
Re: 1.5.3 bug? - using child documents with same class causing error
Ryan Cross wrote: HI, I decided to upgrade to 1.5.3 today (windows) and tried working with a file that has several child documents included. When trying to view the pdf (and thus opening all the child docs), I am getting an error that the child docs have a different text class than the parent file. However, the classes are the same - I even did a diff on the files and the text class lines are identical. I rolled back to 1.5.2 and didn't have any issues there. This is weird as the 1.5.x series are not supposed to have any format change. Please try to reconfigure 1.5.3 to see if it helps. Abdel.
Re: Alt-space on Windows?
On Wed, 9 Jan 2008, Paul A. Rubin wrote: rgheck wrote: [EMAIL PROTECTED] wrote: Should Alt-space work on windows to access the drowp down list that lets you select paragraph style? On Linux, it's Alt-P, space. Also in Windows. In Windows, alt-space opens the little control menu in the upper left corner of every window. *blush* I'm so embarrassed... I was showing someone LyX, and I remembered A-p s, A-p 1, A-p 2, A-p a, A-p A, A-p t, A-p i, A-p e etc, but not how to open the drop list... Thanks, /Christian Btw, using keyboard shortcuts when demonstrating LyX turned out to be non-ideal because the person watching wasn't able to follow - it's too fast. A somewhat crazy idea for a demonstration mode LyX could be to have some kind of log window open that lists what you have been done. (Corresponding LFUN and keyboard shortcut?). -- Christian Ridderström, +46-8-768 39 44 http://www.md.kth.se/~chr
Re: keyboard shortcuts
This is weird and something I cannot reproduce under Windows. Maybe it is a bug of Qt under X11? It does not seem to be a X11 bug: I use windows (Vista) and LyX 1.5.3 Toby Original Message Subject: Re: keyboard shortcuts From: Abdelrazak Younes [EMAIL PROTECTED] To: lyx-users@lists.lyx.org Date: Thu Jan 10 2008 08:19:05 GMT+0100 Tobias Krause wrote: I mean, I use a lot of shortcut for math symbol, and when I type too quickly, I get a menu (as example, alt-m-f will give alt-f) I have a similar problem trying e.g. to insert a footnote via Alt-i f: * if I type Alt-i-f too fast it ends up like Alt-f * if a type Alt-i f (releasing the two keys as Abdel said) and type too fast it end up with a opened insert menu and the character f at the current cursor position Somehow it looks like LyX messes up something when you type to fast ;-( This is weird and something I cannot reproduce under Windows. Maybe it is a bug of Qt under X11? Abdel.
Re: Pasting Tex code from Maxima into Lyx
On 8.01.08, Blair Sutton wrote: I would like to paste TeX code as generated by the Maxima function tex into my Lyx document and have it interpreted immediately. ... For example I would like to paste the expression $$x^2$$ into my document and have it displayed and properly formatted. Mark the expression and convert it to a math-box (e.g. with Ctrl-M) or just paste x^2 into a math-box. GM
Re: onehalfspace mystery
Donn [EMAIL PROTECTED] writes: Repeating this here as it's the start of the day for me and I'd like to get past this error: onehalfspace and doublespace missing environments. So probably LyX does not output the \usepackage{setspace} command that it needs in the preamble. Did you set spacing globally or in a given paragraph? Could you send an example file? JMarc
Re: onehalfspace mystery
So probably LyX does not output the \usepackage{setspace} command that it needs in the preamble. Tried that too, still no effect. Did you set spacing globally or in a given paragraph? Could you send an example file? I don't think I did anything special globally. I attach a cut-down sample of the file that gives me the errors. Thanks. \d error_sample.lyx Description: application/lyx
Re: onehalfspace mystery
Donn [EMAIL PROTECTED] writes: So probably LyX does not output the \usepackage{setspace} command that it needs in the preamble. Tried that too, still no effect. Did you set spacing globally or in a given paragraph? Could you send an example file? I don't think I did anything special globally. I attach a cut-down sample of the file that gives me the errors. OK, the problem is that you use the memoir class, which has its own implementation of the setspace functionality in newer editions. However, this functionality is offered as capitalized commands like DoubleSpace environment. Juergen, what shall we do? I remember messages from you about memoir incompatibility, but I cannot see a reference. One solution would be to have memoir.layout provide SetSpace and act of the require to change the spacing commands as needed. JMarc
Re: onehalfspace mystery
Jean-Marc Lasgouttes [EMAIL PROTECTED] writes: Juergen, what shall we do? I remember messages from you about memoir incompatibility, but I cannot see a reference. I found that: http://www.mail-archive.com/lyx-users@lists.lyx.org/msg52814.html Would adding \DisemulatePackage{setspace} fix some of our problems (at the price of not so good spacing?) I suspect there is a problem with parskip.sty also. JMarc
Re: onehalfspace mystery
OK, the problem is that you use the memoir class, which has its own implementation of the setspace functionality in newer editions. However, this functionality is offered as capitalized commands like DoubleSpace environment. Okay, I'll take a break and await advice. Thanks for looking into it. \d -- I have a low-traffic blog for basic news: http://otherwiseingle.blogspot.com/
Re: Pasting Tex code from Maxima into Lyx
Mark the expression and convert it to a math-box (e.g. with Ctrl-M) or just paste x^2 into a math-box. I was looking for the same thing -- but for normal LaTeX like text with sections, footnotes,... Is there a non math-specific way to paste LaTeX code from the clipboard - just like importing LaTeX documents? Regards Toby
Re: onehalfspace mystery
Jean-Marc Lasgouttes wrote: Juergen, what shall we do? I remember messages from you about memoir incompatibility, but I cannot see a reference. I think there's no bug report yet, but there is a wiki page: http://wiki.lyx.org/LyX/UsingMemoirInLyX One solution would be to have memoir.layout provide SetSpace and act of the require to change the spacing commands as needed. Yes, I guess we need this. I have recently tried to solve it by redefinitions of setspace commands in the preamble and Provides setspace 1, but this does not work, since the global commands are put before the Class preamble. Do you like to have a go? (we probably need to check since when these memoir SetSpace stuff exists, and require a certain version). Jürgen
Re: Pasting Tex code from Maxima into Lyx
Thanks for the tip. I have added it to the Lyx Wiki for future reference. On Jan 9, 2008 8:22 AM, G. Milde [EMAIL PROTECTED] wrote: On 8.01.08, Blair Sutton wrote: I would like to paste TeX code as generated by the Maxima function tex into my Lyx document and have it interpreted immediately. ... For example I would like to paste the expression $$x^2$$ into my document and have it displayed and properly formatted. Mark the expression and convert it to a math-box (e.g. with Ctrl-M) or just paste x^2 into a math-box. GM -- +44 7943 865 125
Re: onehalfspace mystery
Um, does this mean I should hang-on a while and compile a new version? I don't mind doing that, just don't grok what you are chatting about :) \d -- Fonty Python and other dev news at: http://otherwiseingle.blogspot.com/
pdfsync messes up my layout
Hello LyX-List, I'm trying to use pdfsync with PDFView or Skim.app in LyX 1.5.2 When using the package {pdfsync} the whole layout is messed up with pdflatex. Lots of extra vertical space, and especially all the \marginpar notes behave not the way they used to behave. Any ideas? Bjoern Mueller
RE: cv-Layout
Dear Antonio, The example in europeCV.lyx in ... \LyX 1.5.3\Resources\examples looks nice to me, doesn't it?! Of course, one will have to modify it a little. Best regards, Milen -Original Message- From: Antonio José Guirao Sánchez [mailto:[EMAIL PROTECTED] Sent: Tuesday, January 08, 2008 9:41 PM To: lyx-users@lists.lyx.org Subject: cv-Layout Hi all, I have to write a cv in English and with a good format. So I would like to find a good layout for that. Thanks in advance.
Re: onehalfspace mystery
Donn [EMAIL PROTECTED] writes: Um, does this mean I should hang-on a while and compile a new version? I don't mind doing that, just don't grok what you are chatting about :) Try to add \DisemulatePackage{setspace} in the preamble of your document. JMarc
Re: onehalfspace mystery
Jean-Marc Lasgouttes wrote: Try to add \DisemulatePackage{setspace} in the preamble of your document. I seem to remember that LyX adds this too late in the game, but my memory might be wrong Jürgen
Re: onehalfspace mystery
Juergen Spitzmueller [EMAIL PROTECTED] writes: Jean-Marc Lasgouttes wrote: Try to add \DisemulatePackage{setspace} in the preamble of your document. I seem to remember that LyX adds this too late in the game, but my memory might be wrong Indeed. It is a bit better with \DisemulatePackage{setspace} \usepackage{setspace} but there is still an error. JMarc
Re: onehalfspace mystery
Jean-Marc Lasgouttes wrote: \DisemulatePackage{setspace} \usepackage{setspace} but there is still an error. Too bad. And if Provides setspace 1 is set additionally? Jürgen
Re: onehalfspace mystery
Donn wrote: Um, does this mean I should hang-on a while and compile a new version? I don't mind doing that, just don't grok what you are chatting about :) It might be that this fix will have to wait for the next major release (1.6.0), because it might entail a file format change (we need to discuss this). For the time being, you can use the ERT workarounds outlines on the wiki page I referred to. Jürgen
Re: onehalfspace mystery
Juergen Spitzmueller [EMAIL PROTECTED] writes: Jean-Marc Lasgouttes wrote: \DisemulatePackage{setspace} \usepackage{setspace} but there is still an error. Too bad. And if Provides setspace 1 is set additionally? It would not help, we need to actually load setspace. JMarc
Re: onehalfspace mystery
Juergen Spitzmueller [EMAIL PROTECTED] writes: Do you like to have a go? It would look like this. I define the new feature SetSpace that is provided by memoir.layout, and act on it. JMarc svndiff src/ lib/layouts/ Index: src/Spacing.h === --- src/Spacing.h (revision 22451) +++ src/Spacing.h (working copy) @@ -58,10 +58,12 @@ public: void set(Spacing::Space sp, std::string const val); /// void writeFile(std::ostream , bool para = false) const; - /// - std::string const writeEnvirBegin() const; - /// - std::string const writeEnvirEnd() const; + /// useSetSpace is true when using the variant supported by + /// the memoir class. + std::string const writeEnvirBegin(bool useSetSpace) const; + /// useSetSpace is true when using the variant supported by + /// the memoir class. + std::string const writeEnvirEnd(bool useSetSpace) const; private: /// Index: src/LaTeXFeatures.cpp === --- src/LaTeXFeatures.cpp (revision 22451) +++ src/LaTeXFeatures.cpp (working copy) @@ -637,9 +637,10 @@ string const LaTeXFeatures::getPackages( // setspace.sty if ((params_.spacing().getSpace() != Spacing::Single !params_.spacing().isDefault()) - || isRequired(setspace)) { - packages \\usepackage{setspace}\n; + || (isRequired(setspace) !tclass.provides(SetSpace))) { + packages \\usepackage{setspace}\n; } + bool const upcase = tclass.provides(SetSpace); switch (params_.spacing().getSpace()) { case Spacing::Default: case Spacing::Single: @@ -647,13 +648,13 @@ string const LaTeXFeatures::getPackages( //packages += \\singlespacing\n; break; case Spacing::Onehalf: - packages \\onehalfspacing\n; + packages (upcase ? \\OnehalfSpacing\n : \\onehalfspacing\n); break; case Spacing::Double: - packages \\doublespacing\n; + packages (upcase ? \\DoubleSpacing\n : \\doublespacing\n); break; case Spacing::Other: - packages \\setstretch{ + packages (upcase ? \\setSingleSpace{ : \\setstretch{) params_.spacing().getValue() }\n; break; } Index: src/Spacing.cpp === --- src/Spacing.cpp (revision 22451) +++ src/Spacing.cpp (working copy) @@ -89,20 +89,24 @@ void Spacing::writeFile(ostream os, bo } -string const Spacing::writeEnvirBegin() const +string const Spacing::writeEnvirBegin(bool useSetSpace) const { switch (space) { case Default: break; // do nothing case Single: - return \\begin{singlespace}; + return (useSetSpace ? \\begin{SingleSpace} + : \\begin{singlespace}); case Onehalf: - return \\begin{onehalfspace}; + return (useSetSpace ? \\begin{OnehalfSpace} + : \\begin{onehalfspace}); case Double: - return \\begin{doublespace}; + return (useSetSpace ? \\begin{DoubleSpace} + : \\begin{doublespace}); case Other: { ostringstream ost; - ost \\begin{spacing}{ + ost (useSetSpace ? \\begin{Spacing}{ + : \\begin{spacing}{ ) getValueAsString() '}'; return ost.str(); } @@ -111,18 +115,21 @@ string const Spacing::writeEnvirBegin() } -string const Spacing::writeEnvirEnd() const +string const Spacing::writeEnvirEnd(bool useSetSpace) const { switch (space) { case Default: break; // do nothing case Single: - return \\end{singlespace}; + return (useSetSpace ? \\end{SingleSpace} + : \\end{singlespace}); case Onehalf: - return \\end{onehalfspace}; + return (useSetSpace ? \\end{OnehalfSpace} + : \\end{onehalfspace}); case Double: - return \\end{doublespace}; + return (useSetSpace ? \\end{DoubleSpace} + : \\end{doublespace}); case Other: - return \\end{spacing}; + return (useSetSpace ? \\end{Spacing} : \\end{spacing}) ; } return string(); } Index: src/output_latex.cpp === --- src/output_latex.cpp (revision 22451) +++ src/output_latex.cpp (working copy) @@ -491,6 +491,7 @@ TeXOnePar(Buffer const buf, // In an inset with unlimited length (all in one row), // don't allow any special options in the paragraph + bool const useSetSpace = bparams.getTextClass().provides(SetSpace); if (!pit-forceDefaultParagraphs()) { if (pit-params().startOfAppendix()) { os \\appendix\n; @@ -501,7 +502,7 @@ TeXOnePar(Buffer const buf, (pit == paragraphs.begin() || !boost::prior(pit)-hasSameLayout(*pit))) { - os from_ascii(pit-params().spacing().writeEnvirBegin()) + os from_ascii(pit-params().spacing().writeEnvirBegin(useSetSpace)) '\n'; texrow.newline(); } @@ -611,7 +612,7 @@ TeXOnePar(Buffer const buf, os '\n'; texrow.newline(); } - os from_ascii(pit-params().spacing().writeEnvirEnd()); + os from_ascii(pit-params().spacing().writeEnvirEnd(useSetSpace)); pending_newline = true; } } Index: lib/layouts/memoir.layout
Re: cv-Layout
Antonio José Guirao Sánchez wrote: I have to write a cv in English and with a good format. So I would like to find a good layout for that. Good will depend on the circumstances. What's best for one job/application might not be best for others. You might need a flat style (which is kind of boring to look at, but most appropriate in some cases) or perhaps a fancier style. Both styles are illustrated on the Wiki: http://wiki.lyx.org/Examples/CV Bruce Pourciau gives a nice example of what I'd refer to as a flat style, and the moderncv example is a little fancier. Curve is another popular CV class for LaTeX that's regularly maintained, but I haven't tried it: http://tug.ctan.org/cgi-bin/ctanPackageInformation.py?id=curve Example here: http://www.lrde.epita.fr/~didier - David Hewitt Virginia Institute of Marine Science http://www.vims.edu/fish/students/dhewitt/ -- View this message in context: http://www.nabble.com/cv-Layout-tp14697221p14715825.html Sent from the LyX - Users mailing list archive at Nabble.com.
Re: cv-Layout
David Hewitt [EMAIL PROTECTED] writes: Both styles are illustrated on the Wiki: http://wiki.lyx.org/Examples/CV Note that my cv class has been renamed to simplecv and is availble on CTAN these days. Christian, it would be nice to update your cv to use the new class :) JMarc
Re: onehalfspace mystery
Thanks for the work! Harmonizing LyX and memoir is tremendously useful. Eran
keyboard shortcuts
Hi ! Since 1.5 version (if i remember well) I've a lot of problem with the keyboard shortcuts. I mean, I use a lot of shortcut for math symbol, and when I type too quickly, I get a menu (as example, alt-m-f will give alt-f) So I'd like to disable all the alt-menu binding. I tried to disable the loading of the menus.bind file, but it didn't help. So what could I try? Philippe
Re: keyboard shortcuts
[EMAIL PROTECTED] wrote: Hi ! Since 1.5 version (if i remember well) I've a lot of problem with the keyboard shortcuts. I mean, I use a lot of shortcut for math symbol, and when I type too quickly, I get a menu (as example, alt-m-f will give alt-f) You should try 'Alt-m f', i.e. make sure to release the two keys before typing 'f'. So I'd like to disable all the alt-menu binding. I tried to disable the loading of the menus.bind file, but it didn't help. So what could I try? I am afraid this is not possible without touching the source code. This feature comes from Qt, not LyX. Abdel.
Re: Lyx keyboard shortcuts on mac
Declan O'Byrne wrote: Hi all, Similar to another thread currently underway, I'd like to find out some of the important keyboard shortcuts for lyx on OS X (Leopard). What for example is insert footnote? What is insert citation? I would have expected these to be Command i for insert and f for footnote or c for citation. But these don't work Look at the mac.bind file. They're all detailed there, and you can reconfigure them as you wish by editing this file. Just copy it to your local LyX directory and have at it. Thanks to Bo Peng, LyX 1.6 will have an integrated shortcut editor. Go Bo! rh
Alt-space on Windows?
Should Alt-space work on windows to access the drowp down list that lets you select paragraph style? /Christian -- Christian Ridderström, +46-8-768 39 44 http://www.md.kth.se/~chr
[Solution] environment split over several ERTs -- LaTeX warning Extra }, or forgotten \endgroup.
Hi, it took a while to figure out how to have environments split over several ERTs. [ERT] \begin{centering}[/ERT] what ever in normal LyX [ERT] \end{centering}[/ERT] ended with the LaTeX warning Extra }, or forgotten \endgroup. For other who have the same problem: a simple % at the end of the first ERT solves this problem: [ERT] \begin{centering}%[/ERT] what ever in normal LyX [ERT] \end{centering}[/ERT] Is this a bug or a feature? What exactly does the % at the end of the first ERT change? Regards Toby
Lyx keyboard shortcuts on mac
Hi all, Similar to another thread currently underway, I'd like to find out some of the important keyboard shortcuts for lyx on OS X (Leopard). What for example is insert footnote? What is insert citation? I would have expected these to be Command i for insert and f for footnote or c for citation. But these don't work Declan
Re: keyboard shortcuts
I mean, I use a lot of shortcut for math symbol, and when I type too quickly, I get a menu (as example, alt-m-f will give alt-f) I have a similar problem trying e.g. to insert a footnote via Alt-i f: * if I type Alt-i-f too fast it ends up like Alt-f * if a type Alt-i f (releasing the two keys as Abdel said) and type too fast it end up with a opened insert menu and the character f at the current cursor position Somehow it looks like LyX messes up something when you type to fast ;-( Regards Toby Original Message Subject: Re: keyboard shortcuts From: Abdelrazak Younes [EMAIL PROTECTED] To: lyx-users@lists.lyx.org Date: Wed Jan 09 2008 22:17:48 GMT+0100 [EMAIL PROTECTED] wrote: Hi ! Since 1.5 version (if i remember well) I've a lot of problem with the keyboard shortcuts. I mean, I use a lot of shortcut for math symbol, and when I type too quickly, I get a menu (as example, alt-m-f will give alt-f) You should try 'Alt-m f', i.e. make sure to release the two keys before typing 'f'. So I'd like to disable all the alt-menu binding. I tried to disable the loading of the menus.bind file, but it didn't help. So what could I try? I am afraid this is not possible without touching the source code. This feature comes from Qt, not LyX. Abdel.
Re: Alt-space on Windows?
[EMAIL PROTECTED] wrote: Should Alt-space work on windows to access the drowp down list that lets you select paragraph style? On Linux, it's Alt-P, space. rh
Re: Alt-space on Windows?
rgheck wrote: [EMAIL PROTECTED] wrote: Should Alt-space work on windows to access the drowp down list that lets you select paragraph style? On Linux, it's Alt-P, space. Also in Windows. In Windows, alt-space opens the little control menu in the upper left corner of every window. /Paul
Landscape document: what am I missing?
Hi, I am trying to print a landscape document. Hoewever, when I view a PDF or DVI document, it shows up in portrait. If it matters any, I am using a longtable in my document. L -- Prenez la parole en public en étant Speak to an audience while being moins nerveux et plus convaincant! less nervous and more convincing! Abonnez-vous au bulletin gratuit! Sign up for the free newsletter! http://www.duperval.com (514) 902-0186
Re: Lyx keyboard shortcuts on mac
On Jan 9, 2008, at 4:51 PM, rgheck wrote: Declan O'Byrne wrote: Hi all, Similar to another thread currently underway, I'd like to find out some of the important keyboard shortcuts for lyx on OS X (Leopard). What for example is insert footnote? What is insert citation? I would have expected these to be Command i for insert and f for footnote or c for citation. But these don't work Look at the mac.bind file. They're all detailed there, and you can reconfigure them as you wish by editing this file. Just copy it to your local LyX directory and have at it. Better yet, look at the mac-bind.pdf file that is included with the LyX/Mac distribution. Insert footnote is not defined there, but you can define it yourself by creating a file with the following: \bind_file mac.bind \bind S-C-F footnote-insert Put that in ~/Library/Application Support/LyX-1.5/bind, and select that file in LyX Preferences User Interface Bind file. Below I have copied the standard keybindings I add to mac.bind. If others like them, they can be added to mac.bind as the default for everyone. Thanks to Bo Peng, LyX 1.6 will have an integrated shortcut editor. Go Bo! Yes -- that will be nice. Bennett - \bind S-C-F footnote-insert \bind S-C-B dialog-show-new-inset citation \bind F11 language greek # Insert menu \bind C-S-I m marginalnote-insert \bind C-S-I l label-insert \bind C-S-I r dialog-show-new-inset ref \bind C-S-I i index-insert \bind C-S-I n note-insert \bind C-S-I u url-insert \bind C-S-I h hfill-insert \bind C-S-I s optional-insert \bind C-S-I p dialog-show-new-inset graphics \bind C-S-I S-S dialog-show-new-inset vspace \bind C-S-I t tabular-insert \bind C-S-I c note-insert Comment \bind C-S-I s note-insert Shaded \bind C-S-I g note-insert Greyedout \bind C-S-I S-L line-insert # Layout menu \bind C-M-c dialog-show character \bind C-M-p layout-paragraph \bind C-M-d dialog-show document \bind C-M-t layout-tabular # View menu \bind M-S-V o dialog-toggle toc \bind M-S-V s dialog-toggle view-source \bind M-S-V t buffer-view text \bind M-S-V h buffer-view html #tex4ht \bind M-C-t buffer-view pdf # view ps2pdf \bind C-t buffer-view pdf2 # bind to pdflatex rather than default ps2pdf # Miscellaneous \bind M-C-w words-count \bind M-C-n note-next
Re: DocBook Support?
I looked into dblatex a bit - but I don't think this would quite work for me since it doesn't provide the ability to author docbook files with Lyx. It is only geared towards taking docbook files and then converting them to latex for processing into pdfs, etc. Still looking forward to the docbook documentation. Thanks, Ryan On Jan 4, 2008 11:10 PM, Neal Becker [EMAIL PROTECTED] wrote: José Matos wrote: On Wednesday 02 January 2008 08:03:52 Ryan Cross wrote: Bump... Can anyone provide some guidance on working with DocBook for Lyx (with any current versions)? Thanks! -Ryan I am sorry for the delay. I have been recovering from a small surgery just before the holidays, and now I am recovering from the holidays. :-) Expect new documentation next week. I will add the documentation to the wiki and then post a link here. Has anyone tried dblatex to work with docbook in lyx? Seems like a perfect fit.
1.5.3 bug? - using child documents with same class causing error
HI, I decided to upgrade to 1.5.3 today (windows) and tried working with a file that has several child documents included. When trying to view the pdf (and thus opening all the child docs), I am getting an error that the child docs have a different text class than the parent file. However, the classes are the same - I even did a diff on the files and the text class lines are identical. I rolled back to 1.5.2 and didn't have any issues there. Can anyone shed some light? I've had a few little issues previously where lyx was robust to a problem in a file, and upon upgrading it was more strict and thus caught what should've been caught before - but this seems like a different issue unless Im not supposed to be declaring a text class in the child documents or something of that nature. Thanks, Ryan
Feature Request - new file command from insert file dialog box.
Not sure if this would be the best place to post this, but it dawned on me today that it would be really useful if I could have an option in the insert file dialog box to create a new file, instead of just browsing for an existing one. Ideally, this option would create a new lyx file will all the appropriate document settings from the parent file. Maybe there is already a way to do this, in which case hopefully someone can just point it out to me and the developers could just add a link there. -Ryan
Re: keyboard shortcuts
Tobias Krause wrote: I mean, I use a lot of shortcut for math symbol, and when I type too quickly, I get a menu (as example, alt-m-f will give alt-f) I have a similar problem trying e.g. to insert a footnote via Alt-i f: * if I type Alt-i-f too fast it ends up like Alt-f * if a type Alt-i f (releasing the two keys as Abdel said) and type too fast it end up with a opened insert menu and the character f at the current cursor position Somehow it looks like LyX messes up something when you type to fast ;-( This is weird and something I cannot reproduce under Windows. Maybe it is a bug of Qt under X11? Abdel.
Re: Feature Request - new file command from insert file dialog box.
Ryan Cross wrote: Not sure if this would be the best place to post this, but it dawned on me today that it would be really useful if I could have an option in the insert file dialog box to create a new file, You mean in the 'Child Document' dialog right? instead of just browsing for an existing one. Ideally, this option would create a new lyx file will all the appropriate document settings from the parent file. Yes, that would be helpful, please put an enhancement entry in 'bugzilla.lyx.org'. Abdel.
Re: 1.5.3 bug? - using child documents with same class causing error
Ryan Cross wrote: HI, I decided to upgrade to 1.5.3 today (windows) and tried working with a file that has several child documents included. When trying to view the pdf (and thus opening all the child docs), I am getting an error that the child docs have a different text class than the parent file. However, the classes are the same - I even did a diff on the files and the text class lines are identical. I rolled back to 1.5.2 and didn't have any issues there. This is weird as the 1.5.x series are not supposed to have any format change. Please try to reconfigure 1.5.3 to see if it helps. Abdel.
Re: Alt-space on Windows?
On Wed, 9 Jan 2008, Paul A. Rubin wrote: rgheck wrote: [EMAIL PROTECTED] wrote: Should Alt-space work on windows to access the drowp down list that lets you select paragraph style? On Linux, it's Alt-P, space. Also in Windows. In Windows, alt-space opens the little control menu in the upper left corner of every window. *blush* I'm so embarrassed... I was showing someone LyX, and I remembered A-p s, A-p 1, A-p 2, A-p a, A-p A, A-p t, A-p i, A-p e etc, but not how to open the drop list... Thanks, /Christian Btw, using keyboard shortcuts when demonstrating LyX turned out to be non-ideal because the person watching wasn't able to follow - it's too fast. A somewhat crazy idea for a demonstration mode LyX could be to have some kind of log window open that lists what you have been done. (Corresponding LFUN and keyboard shortcut?). -- Christian Ridderström, +46-8-768 39 44 http://www.md.kth.se/~chr
Re: keyboard shortcuts
This is weird and something I cannot reproduce under Windows. Maybe it is a bug of Qt under X11? It does not seem to be a X11 bug: I use windows (Vista) and LyX 1.5.3 Toby Original Message Subject: Re: keyboard shortcuts From: Abdelrazak Younes [EMAIL PROTECTED] To: lyx-users@lists.lyx.org Date: Thu Jan 10 2008 08:19:05 GMT+0100 Tobias Krause wrote: I mean, I use a lot of shortcut for math symbol, and when I type too quickly, I get a menu (as example, alt-m-f will give alt-f) I have a similar problem trying e.g. to insert a footnote via Alt-i f: * if I type Alt-i-f too fast it ends up like Alt-f * if a type Alt-i f (releasing the two keys as Abdel said) and type too fast it end up with a opened insert menu and the character f at the current cursor position Somehow it looks like LyX messes up something when you type to fast ;-( This is weird and something I cannot reproduce under Windows. Maybe it is a bug of Qt under X11? Abdel.
Re: Pasting Tex code from Maxima into Lyx
On 8.01.08, Blair Sutton wrote: > I would like to paste TeX code as generated by the Maxima function "tex" > into my Lyx document and have it interpreted immediately. ... > For example I would like to paste the expression "$$x^2$$" into my > document and have it displayed and properly formatted. Mark the expression and convert it to a math-box (e.g. with Ctrl-M) or just paste "x^2" into a math-box. GM
Re: onehalfspace mystery
Donn <[EMAIL PROTECTED]> writes: > Repeating this here as it's the start of the day for me and I'd like to get > past this error: > onehalfspace and doublespace missing environments. So probably LyX does not output the \usepackage{setspace} command that it needs in the preamble. Did you set spacing globally or in a given paragraph? Could you send an example file? JMarc
Re: onehalfspace mystery
> So probably LyX does not output the \usepackage{setspace} command that > it needs in the preamble. Tried that too, still no effect. > Did you set spacing globally or in a given paragraph? Could you send > an example file? I don't think I did anything special globally. I attach a cut-down sample of the file that gives me the errors. Thanks. \d error_sample.lyx Description: application/lyx
Re: onehalfspace mystery
Donn <[EMAIL PROTECTED]> writes: >> So probably LyX does not output the \usepackage{setspace} command that >> it needs in the preamble. > Tried that too, still no effect. > >> Did you set spacing globally or in a given paragraph? Could you send >> an example file? > I don't think I did anything special globally. I attach a cut-down sample of > the file that gives me the errors. OK, the problem is that you use the memoir class, which has its own implementation of the setspace functionality in newer editions. However, this functionality is offered as capitalized commands like DoubleSpace environment. Juergen, what shall we do? I remember messages from you about memoir incompatibility, but I cannot see a reference. One solution would be to have memoir.layout provide "SetSpace" and act of the require to change the spacing commands as needed. JMarc
Re: onehalfspace mystery
Jean-Marc Lasgouttes <[EMAIL PROTECTED]> writes: > Juergen, what shall we do? I remember messages from you about memoir > incompatibility, but I cannot see a reference. I found that: http://www.mail-archive.com/lyx-users@lists.lyx.org/msg52814.html Would adding \DisemulatePackage{setspace} fix some of our problems (at the price of not so good spacing?) I suspect there is a problem with parskip.sty also. JMarc
Re: onehalfspace mystery
> OK, the problem is that you use the memoir class, which has its own > implementation of the setspace functionality in newer editions. > However, this functionality is offered as capitalized commands like > DoubleSpace environment. Okay, I'll take a break and await advice. Thanks for looking into it. \d -- I have a low-traffic blog for basic news: http://otherwiseingle.blogspot.com/
Re: Pasting Tex code from Maxima into Lyx
Mark the expression and convert it to a math-box (e.g. with Ctrl-M) or just paste "x^2" into a math-box. I was looking for the same thing -- but for "normal" LaTeX like text with sections, footnotes,... Is there a non math-specific way to paste LaTeX code from the clipboard - just like importing LaTeX documents? Regards Toby
Re: onehalfspace mystery
Jean-Marc Lasgouttes wrote: > Juergen, what shall we do? I remember messages from you about memoir > incompatibility, but I cannot see a reference. I think there's no bug report yet, but there is a wiki page: http://wiki.lyx.org/LyX/UsingMemoirInLyX > One solution would be to have memoir.layout provide "SetSpace" and act > of the require to change the spacing commands as needed. Yes, I guess we need this. I have recently tried to solve it by redefinitions of setspace commands in the preamble and "Provides setspace 1", but this does not work, since the global commands are put before the Class preamble. Do you like to have a go? (we probably need to check since when these memoir SetSpace stuff exists, and require a certain version). Jürgen
Re: Pasting Tex code from Maxima into Lyx
Thanks for the tip. I have added it to the Lyx Wiki for future reference. On Jan 9, 2008 8:22 AM, G. Milde <[EMAIL PROTECTED]> wrote: > On 8.01.08, Blair Sutton wrote: > > > I would like to paste TeX code as generated by the Maxima function "tex" > > into my Lyx document and have it interpreted immediately. > ... > > For example I would like to paste the expression "$$x^2$$" into my > > document and have it displayed and properly formatted. > > Mark the expression and convert it to a math-box (e.g. with Ctrl-M) or > just paste "x^2" into a math-box. > > GM > -- +44 7943 865 125
Re: onehalfspace mystery
Um, does this mean I should hang-on a while and compile a new version? I don't mind doing that, just don't grok what you are chatting about :) \d -- Fonty Python and other dev news at: http://otherwiseingle.blogspot.com/
pdfsync messes up my layout
Hello LyX-List, I'm trying to use pdfsync with PDFView or Skim.app in LyX 1.5.2 When using the package {pdfsync} the whole layout is messed up with pdflatex. Lots of extra vertical space, and especially all the \marginpar notes behave not the way they used to behave. Any ideas? Bjoern Mueller
RE: cv-Layout
Dear Antonio, The example in europeCV.lyx in ... \LyX 1.5.3\Resources\examples looks nice to me, doesn't it?! Of course, one will have to modify it a little. Best regards, Milen -Original Message- From: Antonio José Guirao Sánchez [mailto:[EMAIL PROTECTED] Sent: Tuesday, January 08, 2008 9:41 PM To: lyx-users@lists.lyx.org Subject: cv-Layout Hi all, I have to write a cv in English and with a good format. So I would like to find a good layout for that. Thanks in advance.
Re: onehalfspace mystery
Donn <[EMAIL PROTECTED]> writes: > Um, does this mean I should hang-on a while and compile a new version? I > don't > mind doing that, just don't grok what you are chatting about :) Try to add \DisemulatePackage{setspace} in the preamble of your document. JMarc
Re: onehalfspace mystery
Jean-Marc Lasgouttes wrote: > Try to add > \DisemulatePackage{setspace} > in the preamble of your document. I seem to remember that LyX adds this too late in the game, but my memory might be wrong Jürgen
Re: onehalfspace mystery
Juergen Spitzmueller <[EMAIL PROTECTED]> writes: > Jean-Marc Lasgouttes wrote: > >> Try to add >> \DisemulatePackage{setspace} >> in the preamble of your document. > > I seem to remember that LyX adds this too late in the game, but my memory > might be wrong Indeed. It is a bit better with \DisemulatePackage{setspace} \usepackage{setspace} but there is still an error. JMarc
Re: onehalfspace mystery
Jean-Marc Lasgouttes wrote: > \DisemulatePackage{setspace} > \usepackage{setspace} > but there is still an error. Too bad. And if "Provides setspace 1" is set additionally? Jürgen
Re: onehalfspace mystery
Donn wrote: > Um, does this mean I should hang-on a while and compile a new version? I > don't mind doing that, just don't grok what you are chatting about :) It might be that this fix will have to wait for the next major release (1.6.0), because it might entail a file format change (we need to discuss this). For the time being, you can use the ERT workarounds outlines on the wiki page I referred to. Jürgen
Re: onehalfspace mystery
Juergen Spitzmueller <[EMAIL PROTECTED]> writes: > Jean-Marc Lasgouttes wrote: > >> \DisemulatePackage{setspace} >> \usepackage{setspace} >> but there is still an error. > > Too bad. > And if "Provides setspace 1" is set additionally? It would not help, we need to actually load setspace. JMarc