Re: Fwd: exercise support in LyX
I'm away from my lyx setup now, so my reply will be out of memory. Have had some problems with your preamble: \Newassociation{sol}{Svar}{ans} {\theorembodyfont{\upshape} \newtheorem{uppg}{Uppgift}} \newenvironment{ug}{\begin{uppg}\normalfont}{\end{uppg}} Which gave an Undefined control sequence. error: {\theorembodyfont {\upshape} \newtheorem{uppg}{Uppgift}} The control sequence at the end of the top line of your error message was never \def'ed. If you have misspelled it (e.g., `\hobx'), type `I' and the correct spelling (e.g., `I\hbox'). Otherwise just continue, and I'll forget about whatever was undefined. This example from the answers package documentation works: \Newassociation{sol}{Solution}{ans} \newtheorem{ex}{Exercise} I might have missed something in the copy process. But if that works for you, great! Also can't get the bind file to be recognized by lyx. I created a myShortcuts.bind file in ~/.lyx/bind with the text you gave. And I put the layouts text in ~/.lyx/layout/myLayout.layout. But LyX didn't seem to pick them up automatically. Tried Tools - Reconfigure and restarted LyX but that made no difference either. Ah, perhaps you should add an include line in the bind file that is used by default. cua.bind perhaps?
Re: Fwd: exercise support in LyX
I'm away from my lyx setup now, so my reply will be out of memory. Have had some problems with your preamble: \Newassociation{sol}{Svar}{ans} {\theorembodyfont{\upshape} \newtheorem{uppg}{Uppgift}} \newenvironment{ug}{\begin{uppg}\normalfont}{\end{uppg}} Which gave an Undefined control sequence. error: {\theorembodyfont {\upshape} \newtheorem{uppg}{Uppgift}} The control sequence at the end of the top line of your error message was never \def'ed. If you have misspelled it (e.g., `\hobx'), type `I' and the correct spelling (e.g., `I\hbox'). Otherwise just continue, and I'll forget about whatever was undefined. This example from the answers package documentation works: \Newassociation{sol}{Solution}{ans} \newtheorem{ex}{Exercise} I might have missed something in the copy process. But if that works for you, great! Also can't get the bind file to be recognized by lyx. I created a myShortcuts.bind file in ~/.lyx/bind with the text you gave. And I put the layouts text in ~/.lyx/layout/myLayout.layout. But LyX didn't seem to pick them up automatically. Tried Tools - Reconfigure and restarted LyX but that made no difference either. Ah, perhaps you should add an include line in the bind file that is used by default. cua.bind perhaps?
Re: Fwd: exercise support in LyX
I'm away from my lyx setup now, so my reply will be out of memory. > Have had some problems with your preamble: > > \Newassociation{sol}{Svar}{ans} > > {\theorembodyfont{\upshape} \newtheorem{uppg}{Uppgift}} > > \newenvironment{ug}{\begin{uppg}\normalfont}{\end{uppg}} > > Which gave an "Undefined control sequence." error: > > {\theorembodyfont > {\upshape} \newtheorem{uppg}{Uppgift}} > The control sequence at the end of the top line > of your error message was never \def'ed. If you have > misspelled it (e.g., `\hobx'), type `I' and the correct > spelling (e.g., `I\hbox'). Otherwise just continue, > and I'll forget about whatever was undefined. > > This example from the answers package documentation works: > > \Newassociation{sol}{Solution}{ans} > \newtheorem{ex}{Exercise} I might have missed something in the copy process. But if that works for you, great! > Also can't get the bind file to be recognized by lyx. I created a > myShortcuts.bind file in ~/.lyx/bind with the text you gave. And I put the > layouts text in ~/.lyx/layout/myLayout.layout. But LyX didn't seem to pick > them up automatically. Tried Tools -> Reconfigure and restarted LyX but > that made no difference either. Ah, perhaps you should add an include line in the bind file that is used by default. cua.bind perhaps?
Re: Fwd: exercise support in LyX
What do other people use for exercises? And will this ever be built into LyX? I have to use ERT to get exercise.sty working. I use \usepackage{answers} To get it working more easy, I put the stuff below into my lyx configuration files. With this I can just press M-g u to insert an exercise, and then M-g a to insert ERT (two greyblocks) so I can write the answer between the grey blocks. I'm sorry for the bad explaination of how it works, but I'm quite satisfied with it. Here is the stuff I use: --- in the LaTeX preamble \Newassociation{sol}{Svar}{ans} {\theorembodyfont{\upshape} \newtheorem{uppg}{Uppgift}} \newenvironment{ug}{\begin{uppg}\normalfont}{\end{uppg}} and in the bind files \bind M-g u layout GGGUG \bind M-g a command-sequence ert-insert; self-insert \begin{sol}; next-inset-toggle; ert-insert; self-insert \end{sol}; next-inset-toggle; char-backward; and in the layouts file # Uppgift style definition Style GGGUG LatexType Environment LatexName ug ParSkip 0.4 ParSep0.4 TopSep0.4 Align Left AlignPossible Left LabelTypeTop_Environment LabelStringUppgift OptionalArgs 1 # label font definition LabelFont Series Bold EndFont End
Re: Fwd: exercise support in LyX
What do other people use for exercises? And will this ever be built into LyX? I have to use ERT to get exercise.sty working. I use \usepackage{answers} To get it working more easy, I put the stuff below into my lyx configuration files. With this I can just press M-g u to insert an exercise, and then M-g a to insert ERT (two greyblocks) so I can write the answer between the grey blocks. I'm sorry for the bad explaination of how it works, but I'm quite satisfied with it. Here is the stuff I use: --- in the LaTeX preamble \Newassociation{sol}{Svar}{ans} {\theorembodyfont{\upshape} \newtheorem{uppg}{Uppgift}} \newenvironment{ug}{\begin{uppg}\normalfont}{\end{uppg}} and in the bind files \bind M-g u layout GGGUG \bind M-g a command-sequence ert-insert; self-insert \begin{sol}; next-inset-toggle; ert-insert; self-insert \end{sol}; next-inset-toggle; char-backward; and in the layouts file # Uppgift style definition Style GGGUG LatexType Environment LatexName ug ParSkip 0.4 ParSep0.4 TopSep0.4 Align Left AlignPossible Left LabelTypeTop_Environment LabelStringUppgift OptionalArgs 1 # label font definition LabelFont Series Bold EndFont End
Re: Fwd: exercise support in LyX
> What do other people use for exercises? And will this ever be built into > LyX? I have to use ERT to get exercise.sty working. I use \usepackage{answers} To get it working more easy, I put the stuff below into my lyx configuration files. With this I can just press M-g u to insert an exercise, and then M-g a to insert ERT (two greyblocks) so I can write the answer between the grey blocks. I'm sorry for the bad explaination of how it works, but I'm quite satisfied with it. Here is the stuff I use: --- in the LaTeX preamble \Newassociation{sol}{Svar}{ans} {\theorembodyfont{\upshape} \newtheorem{uppg}{Uppgift}} \newenvironment{ug}{\begin{uppg}\normalfont}{\end{uppg}} and in the bind files \bind "M-g u" "layout GGGUG" \bind "M-g a" "command-sequence ert-insert; self-insert \begin{sol}; next-inset-toggle; ert-insert; self-insert \end{sol}; next-inset-toggle; char-backward;" and in the layouts file # Uppgift style definition Style GGGUG LatexType Environment LatexName ug ParSkip 0.4 ParSep0.4 TopSep0.4 Align Left AlignPossible Left LabelTypeTop_Environment LabelString"Uppgift " OptionalArgs 1 # label font definition LabelFont Series Bold EndFont End
Re: problems with ./configure
Then I tried to install it again. Nevertheless, when I run the command ./configure I receive the following error messages Exactly what ./configure? What directory? Are you trying to compile LyX? ** moc 4 binary not found ! I can't believe that LyX is depending on that moc exists. ** uic 4 binary not found ! ** qt 4 library not found ! Do you have qt4 installed? Otherwise it will never work.
Re: problems with ./configure
Then I tried to install it again. Nevertheless, when I run the command ./configure I receive the following error messages Exactly what ./configure? What directory? Are you trying to compile LyX? ** moc 4 binary not found ! I can't believe that LyX is depending on that moc exists. ** uic 4 binary not found ! ** qt 4 library not found ! Do you have qt4 installed? Otherwise it will never work.
Re: problems with ./configure
> Then I tried to install it again. Nevertheless, when I run the command > ./configure I receive the following error messages Exactly what ./configure? What directory? Are you trying to compile LyX? > ** moc 4 binary not found ! I can't believe that LyX is depending on that moc exists. > ** uic 4 binary not found ! > ** qt 4 library not found ! Do you have qt4 installed? Otherwise it will never work.
Re: RFC: Better name for the wiki page 'LyX for X'
How about LyX for your field? That sounds fine to me, or perhaps Lyx for your kind of work? (my SEK 0,02) Gunnar.
Re: RFC: Better name for the wiki page 'LyX for X'
How about LyX for your field? That sounds fine to me, or perhaps Lyx for your kind of work? (my SEK 0,02) Gunnar.
Re: RFC: Better name for the wiki page 'LyX for X'
> How about "LyX for your field"? That sounds fine to me, or perhaps "Lyx for your kind of work"? (my SEK 0,02) Gunnar.
PgUp/PgDn problem
Hi. i've tried the 1.5.0. RC2 in Windows and I noticed that the PgUp/PgDn keys on the keyboard doesn't move all the way to the start/end when I place the cursor in the middle of a short file. The keys works fine in longer files, but even there, when I get close to the start/end of the file, it doesn't move any further. Has anyone noticed this?
Re: how to configure Lix for my Epson printer
How to print files on my epson 1280 printer from Lix? Have you managed to configure your printer to print from other programs? Then there should be no problem to print from LyX. If you have problems, try to export to pdf file and print from acrobat reader? (or export to postscript and print from gv)
PgUp/PgDn problem
Hi. i've tried the 1.5.0. RC2 in Windows and I noticed that the PgUp/PgDn keys on the keyboard doesn't move all the way to the start/end when I place the cursor in the middle of a short file. The keys works fine in longer files, but even there, when I get close to the start/end of the file, it doesn't move any further. Has anyone noticed this?
Re: how to configure Lix for my Epson printer
How to print files on my epson 1280 printer from Lix? Have you managed to configure your printer to print from other programs? Then there should be no problem to print from LyX. If you have problems, try to export to pdf file and print from acrobat reader? (or export to postscript and print from gv)
PgUp/PgDn problem
Hi. i've tried the 1.5.0. RC2 in Windows and I noticed that the PgUp/PgDn keys on the keyboard doesn't move all the way to the start/end when I place the cursor in the middle of a short file. The keys works fine in longer files, but even there, when I get close to the start/end of the file, it doesn't move any further. Has anyone noticed this?
Re: how to configure Lix for my Epson printer
> How to print files on my epson 1280 printer from Lix? Have you managed to configure your printer to print from other programs? Then there should be no problem to print from LyX. If you have problems, try to export to pdf file and print from acrobat reader? (or export to postscript and print from gv)
Re: Math book tips?
1. Your book will have to be different from any I have read. Correct, otherwise there is no point in writing the book. 3. On reflection, most maths books are impenetrable because they go from the general to the particular. My belief is that paedagogically the reverse works better: Use a concrete example as an introduction to an abstract concept. Very good suggestion. Let me add 4. Answer the question why. Why should I care what 2x+3x is? 5. Make it stick together. Many books seem to not be concerned with that and chapter N+1 is very little connected to chapter N. This is most likeley for books that covers many topics, but I think this point is important.
Re: Math book tips?
1. Your book will have to be different from any I have read. Correct, otherwise there is no point in writing the book. 3. On reflection, most maths books are impenetrable because they go from the general to the particular. My belief is that paedagogically the reverse works better: Use a concrete example as an introduction to an abstract concept. Very good suggestion. Let me add 4. Answer the question why. Why should I care what 2x+3x is? 5. Make it stick together. Many books seem to not be concerned with that and chapter N+1 is very little connected to chapter N. This is most likeley for books that covers many topics, but I think this point is important.
Re: Math book tips?
> 1. Your book will have to be different from any I have read. Correct, otherwise there is no point in writing the book. > 3. On reflection, most maths books are impenetrable because they go from > the general to the particular. My belief is that paedagogically the > reverse works better: Use a concrete example as an introduction to an > abstract concept. Very good suggestion. Let me add 4. Answer the question "why". "Why should I care what 2x+3x is?" 5. Make it stick together. Many books seem to not be concerned with that and chapter N+1 is very little connected to chapter N. This is most likeley for books that covers many topics, but I think this point is important.
Re: Meaning of Insert-Math choices?
The usual advice is not to use eqnarray. Why not? Regards, Gunnar
Re: Meaning of Insert-Math choices?
The usual advice is not to use eqnarray. Why not? Regards, Gunnar
Re: Meaning of Insert->Math choices?
> The usual advice is not to use eqnarray. Why not? Regards, Gunnar
Re: Lyx--Figure placement in center of page
On Monday 28 May 2007 16:47, Tariq Abdullah wrote: Hi, I want to place figure in center of page in a one-column document. I am including float and then inserting a figure in the float. Any solution for that?? IRC, There were some discussion about this some time ago. One way is to select the figure and make the paragraph centered (edit---paragraphsetting ---adjustment)
Re: Lyx--Figure placement in center of page
On Monday 28 May 2007 16:47, Tariq Abdullah wrote: Hi, I want to place figure in center of page in a one-column document. I am including float and then inserting a figure in the float. Any solution for that?? IRC, There were some discussion about this some time ago. One way is to select the figure and make the paragraph centered (edit---paragraphsetting ---adjustment)
Re: Lyx--Figure placement in center of page
On Monday 28 May 2007 16:47, Tariq Abdullah wrote: > Hi, > > I want to place figure in center of page in a one-column document. I am > including float and then inserting a figure in the float. > Any solution for that?? IRC, There were some discussion about this some time ago. One way is to select the figure and make the paragraph centered (edit--->paragraphsetting --->adjustment)
Re: No indentation with LyX-Code
document. Unfortunately, I cannot get the code of the procedure NOT indented, even after having set the paragraph not indented. Any ideas? (I am using LyX 1.4.4.) Thanks in advance, Paul Write it as standard text, select textstyle type writer in the menu. That will do the trick.
Re: No indentation with LyX-Code
Thanks, Gunnar, but with type writer text, one cannot insert spaces in the beginning of lines. Can be solved with hard spaces CTRL + space
Re: No indentation with LyX-Code
document. Unfortunately, I cannot get the code of the procedure NOT indented, even after having set the paragraph not indented. Any ideas? (I am using LyX 1.4.4.) Thanks in advance, Paul Write it as standard text, select textstyle type writer in the menu. That will do the trick.
Re: No indentation with LyX-Code
Thanks, Gunnar, but with type writer text, one cannot insert spaces in the beginning of lines. Can be solved with hard spaces CTRL + space
Re: No indentation with LyX-Code
> document. Unfortunately, I cannot get the code of the procedure NOT > indented, even after having set the paragraph not indented. Any ideas? > (I am using LyX 1.4.4.) > > Thanks in advance, > > Paul Write it as standard text, select textstyle "type writer" in the menu. That will do the trick.
Re: No indentation with LyX-Code
> Thanks, Gunnar, but with "type writer" text, one cannot insert spaces > in the beginning of lines. Can be solved with "hard spaces" CTRL + space
Re: LyX is wonderful -- thank you!
Hi Steve, I took your praise and placed a copy on the relevant page on the wiki: http://wiki.lyx.org/LyX/Praise /Christian PS. I'm forwarding this to the developers' list, it's good to remember now and then that LyX is really appreciated :-) While on the subject of praising LyX I can only say that I can't imagine me writing the book I'm doing right now (soon 500 pages and still not finished) with any other tool. I've used it since the beginning (1997-ish) and it has really evolved into the only real tool for writing. All problems (almost) I've had has been solved by LyX and the both wise and helpful people on this list! Thanks. One of the problems I've reported to bugzilla was fixed a few days ago also. I can't imagine that happen with any other tool! So big thanks to the developer also! The remaining problems are pure LaTeX problems and that pdflatex is beeing a little slow on generating postscript for preview when you have 500 pages. Then 2-3 seconds feels like an eternity ;-) Gunnar
Re: LyX is wonderful -- thank you!
Hi Steve, I took your praise and placed a copy on the relevant page on the wiki: http://wiki.lyx.org/LyX/Praise /Christian PS. I'm forwarding this to the developers' list, it's good to remember now and then that LyX is really appreciated :-) While on the subject of praising LyX I can only say that I can't imagine me writing the book I'm doing right now (soon 500 pages and still not finished) with any other tool. I've used it since the beginning (1997-ish) and it has really evolved into the only real tool for writing. All problems (almost) I've had has been solved by LyX and the both wise and helpful people on this list! Thanks. One of the problems I've reported to bugzilla was fixed a few days ago also. I can't imagine that happen with any other tool! So big thanks to the developer also! The remaining problems are pure LaTeX problems and that pdflatex is beeing a little slow on generating postscript for preview when you have 500 pages. Then 2-3 seconds feels like an eternity ;-) Gunnar
Re: LyX is wonderful -- thank you!
> Hi Steve, I took your praise and placed a copy on the relevant page on the > wiki: > > http://wiki.lyx.org/LyX/Praise > > /Christian > > PS. I'm forwarding this to the developers' list, it's good to remember now > and then that LyX is really appreciated :-) While on the subject of praising LyX I can only say that I can't imagine me writing the book I'm doing right now (soon 500 pages and still not finished) with any other tool. I've used it since the beginning (1997-ish) and it has really evolved into the only real tool for writing. All problems (almost) I've had has been solved by LyX and the both wise and helpful people on this list! Thanks. One of the problems I've reported to bugzilla was fixed a few days ago also. I can't imagine that happen with any other tool! So big thanks to the developer also! The remaining problems are pure LaTeX problems and that pdflatex is beeing a little slow on generating postscript for preview when you have 500 pages. Then 2-3 seconds feels like an eternity ;-) Gunnar
Re: batch conversion
I have many lyx files. I want to batch convert them to pdf. how can i do it on windows/ubuntu. please help. On the command line lyx -e pdf *.lyx
Re: batch conversion
I have many lyx files. I want to batch convert them to pdf. how can i do it on windows/ubuntu. please help. On the command line lyx -e pdf *.lyx
Re: batch conversion
> I have many lyx files. I want to batch convert them to pdf. how can i do it > on windows/ubuntu. please help. On the command line lyx -e pdf *.lyx
How to view custom theorem numbers in LyX
If I use something like this, (a customized environment) \newtheorem{uppg}{Uppgift}[section] \newenvironment{ug}{\begin{uppg}\normalfont}{\end{uppg}} Can I make LyX show the counter number of each ug environment? Gunnar.
How to view custom theorem numbers in LyX
If I use something like this, (a customized environment) \newtheorem{uppg}{Uppgift}[section] \newenvironment{ug}{\begin{uppg}\normalfont}{\end{uppg}} Can I make LyX show the counter number of each ug environment? Gunnar.
How to view custom theorem numbers in LyX
If I use something like this, (a customized environment) \newtheorem{uppg}{Uppgift}[section] \newenvironment{ug}{\begin{uppg}\normalfont}{\end{uppg}} Can I make LyX show the counter number of each ug environment? Gunnar.
Re: Math font size
On Thursday 12 April 2007 18:24, Lyx Physicist wrote: Hi, I have inserted a few equations using the math panel and I want to enlarge the font so its easier to read. I tried to just highlight the text and make it bigger, but that didnt work. Is there something else I need to add or some other menu to do this that I havent seen? Im running lyx 1.4. Thanks, Charles Is it the size of characters in fractions that are to small? In that case, inside the mathbox, write \displaystyle and then press space. Then some of the things will be a little bigger.
Re: Math font size
On Thursday 12 April 2007 18:24, Lyx Physicist wrote: Hi, I have inserted a few equations using the math panel and I want to enlarge the font so its easier to read. I tried to just highlight the text and make it bigger, but that didnt work. Is there something else I need to add or some other menu to do this that I havent seen? Im running lyx 1.4. Thanks, Charles Is it the size of characters in fractions that are to small? In that case, inside the mathbox, write \displaystyle and then press space. Then some of the things will be a little bigger.
Re: Math font size
On Thursday 12 April 2007 18:24, Lyx Physicist wrote: > Hi, I have inserted a few equations using the math panel and I want to > enlarge the font so its easier to read. I tried to just highlight the > text and make it bigger, but that didnt work. Is there something else I > need to add or some other menu to do this that I havent seen? Im > running lyx 1.4. Thanks, > Charles Is it the size of characters in fractions that are to small? In that case, inside the mathbox, write \displaystyle and then press space. Then some of the things will be a little bigger.
Re: Embedding highlighed external source code files in a LyX document
Do both of these approaches work OK with producing sane-looking HTML as well as PDFs? I have not experimented with HTML export with highlight, but I think it should be possible to add a converter to make highlight produce html output. Are then any examples of output from your 'highlight' approach, Gunnar? See attached file ex.pdf Description: Adobe PDF document
Re: Embedding highlighed external source code files in a LyX document
This is great, do you know how to do on Windows? I did everything as you described (with Perl insted of C++), but if i want to see a dvi preview i get folowing error: LaTex Error: File './0d__daten_prog_perl_myscript.tex' not found ...d__daten_prog_perl_myscript.tex} } ***(cannot \read drom terminal in nonstop modes) You should add the same converter line for the plain Latex also!
Re: Embedding highlighed external source code files in a LyX document
Robert, You should remove the -r switch in the converter! To all that uses this. If you get into problem with undefined sequences and you see the command \dq in the error report. Try remove the -r switch in the converter. HTH Gunnar.
Re: Embedding highlighed external source code files in a LyX document
Do both of these approaches work OK with producing sane-looking HTML as well as PDFs? I have not experimented with HTML export with highlight, but I think it should be possible to add a converter to make highlight produce html output. Are then any examples of output from your 'highlight' approach, Gunnar? See attached file ex.pdf Description: Adobe PDF document
Re: Embedding highlighed external source code files in a LyX document
This is great, do you know how to do on Windows? I did everything as you described (with Perl insted of C++), but if i want to see a dvi preview i get folowing error: LaTex Error: File './0d__daten_prog_perl_myscript.tex' not found ...d__daten_prog_perl_myscript.tex} } ***(cannot \read drom terminal in nonstop modes) You should add the same converter line for the plain Latex also!
Re: Embedding highlighed external source code files in a LyX document
Robert, You should remove the -r switch in the converter! To all that uses this. If you get into problem with undefined sequences and you see the command \dq in the error report. Try remove the -r switch in the converter. HTH Gunnar.
Re: Embedding highlighed external source code files in a LyX document
> Do both of these approaches work OK with producing sane-looking HTML as > well as PDFs? I have not experimented with HTML export with highlight, but I think it should be possible to add a converter to make highlight produce html output. > Are then any examples of output from your 'highlight' approach, Gunnar? See attached file ex.pdf Description: Adobe PDF document
Re: Embedding highlighed external source code files in a LyX document
> This is great, do you know how to do on Windows? > I did everything as you described (with Perl insted of C++), but if i > want to see a dvi preview i get folowing error: > LaTex Error: File './0d__daten_prog_perl_myscript.tex' not found > > ...d__daten_prog_perl_myscript.tex} > } > ***(cannot \read drom terminal in nonstop modes) You should add the same converter line for the plain Latex also!
Re: Embedding highlighed external source code files in a LyX document
Robert, You should remove the -r switch in the converter! To all that uses this. If you get into problem with undefined sequences and you see the command "\dq" in the error report. Try remove the -r switch in the converter. HTH Gunnar.
Re: Embedding highlighed external source code files in a LyX document
I know that this has 'been done' but I'm not sure how to go about it myself. I would like to link to an external source code file and 'pull it in' to my compiled document when I use pdflatex. I would like to apply source code highlighting, although that's not essential (the language I'm using is not one that is supported by any of the tools). What language? Highlight manages over 120 of them. I worked out how to import external code, but not how to maintain a link. Do I need to use ERT? Can LyX be set to use 'highlight' on-the-fly as for graphics formats, or must I prepare the latex by hand? Here are how I do it. When setup, it works automatically. http://www.taljaren.se/MinLyXTutorial.html (same as pdf) http://www.taljaren.se/MinLyXTutorial.pdf
Re: Embedding highlighed external source code files in a LyX document
Could you consider putting this in the Wiki? Of course! Christian, since you seem to be the wiki-wizard, where (and how, what format) should I put it? I will most likely add more stuff to my document in the future. Gunnar. On Thursday 29 March 2007 10:39, Abdelrazak Younes wrote: Gunnar Lindholm wrote: I know that this has 'been done' but I'm not sure how to go about it myself. I would like to link to an external source code file and 'pull it in' to my compiled document when I use pdflatex. I would like to apply source code highlighting, although that's not essential (the language I'm using is not one that is supported by any of the tools). What language? Highlight manages over 120 of them. I worked out how to import external code, but not how to maintain a link. Do I need to use ERT? Can LyX be set to use 'highlight' on-the-fly as for graphics formats, or must I prepare the latex by hand? Here are how I do it. When setup, it works automatically. http://www.taljaren.se/MinLyXTutorial.html (same as pdf) http://www.taljaren.se/MinLyXTutorial.pdf
Re: Embedding highlighed external source code files in a LyX document
Could you consider putting this in the Wiki? I answer again. Yes, I can consider it, and I've realized it's not easy enough to do it so I abandon that idea. Here is the working Wiki code if someone knows how to do it. How to include external program code (program listings). You can use change the code in external program and LyX will show the updated source code in the output. !!! Include programlistings This automatically uses the source code, and any change in the external source code will be visible in the LY X output. * Install the program highlight that is available on [[http://www.andre-simon.de/]] * Run the program highlight on one of your sourcecode #64257;les with the command: -@@highlight -A -L -t 4 -I -S cpp -r -q KOD.cpp@@ -Change the #64257;le name (KOD.cpp) to your #64257;le, and change language if you use something else than C++ (cpp). * Things are written in a window, copy and paste everything from the row -@@\usepackage{color}@@ to -@@\definecolor{bgcolor}{rgb}{1,1,1}@@ -(but do not include this last line!) to the LATEX Preamble window in document settings. Click the Save as Document Defaults button. * In the Preferences window you should add a new FileFormat -@@Format:cpp@@ -@@GUIname:C++@@ -@@Extension:cpp@@ -@@Editor:nedit@@ -nedit is the texteditor that I use to write program code. Change to what you want to use. Notice that the “Format” name must be something unique that is not used elsewhere. * In the Converters windows you should add -@@From: C++@@ -@@To: LaTeX(pdflatex)@@ -@@Converter: highlight -A -L -t 4 -I -S cpp -f -r -q $$i -o $$o@@ -Add the same thing for conversion from C++ to LATEX(plain). Don’t forget to change to re#64258;ect the language you are using. * Open the file external_templates that is in the LY X directory (either the global one, or copy the #64257;le to your own personal directory and edit that one). To the #64257;le you should add the following: Template CppCode GuiName [C++ $$Basename] HelpText Add C++ code HelpTextEnd InputFormat cpp FileFilter *.{cpp,h,hpp,c} AutomaticProduction true Format LaTeX Product {\\small \\input{$$FPath$$Basename.tex} } UpdateFormat latex UpdateResult $$FName.tex FormatEnd Format PDFLaTeX Product {\\small \\input{$$FPath$$Basename.tex} } UpdateFormat latex UpdateResult $$FPath$$Basename.tex FormatEnd TemplateEnd * Now you can use “Insert” , “File”, “External Material” and add your program code. Category: [[ProgramCode]] [[SourceCode]] [[Algorithm]] [[Listing]]
Re: Embedding highlighed external source code files in a LyX document
This is great, do you know how to do on Windows? Unfortunatly not. I have not tried this on windows, yet. But the hightlight program works fine? I did everything as you described (with Perl insted of C++), but if i want to see a dvi preview i get folowing error: LaTex Error: File './0d__daten_prog_perl_myscript.tex' not found ...d__daten_prog_perl_myscript.tex} } ***(cannot \read drom terminal in nonstop modes) Can you view postscript or pdf? Can you export from command line lyx -e pdf mein_buch.lyx? Do you have any problem with including other external material? I'm not sure, but I don't wan't to write-off the problem with the file /etc/texmf/dvips/config/config.ps (in linux system, but I think you have a similar?) where it says % z1 is secure, i.e., inhibits execution of `shell commands` in % \specials. Dvips allows this by default. z0 If it says z1 in your file, change to z0. I had similar problems until I changed it to z0. Does that help? Mit freundlichen Gruessen Gunnar.
Re: Embedding highlighed external source code files in a LyX document
We must have a serious confusion here... Let's just ignore the past confusion and be happy that it works. Well done (both of us)! Gunnar.
Re: [WIN] Embedding highlighed external source code files in a LyX document
LyX version 1.4.4 ? I've only tried it with 1.4.* versions. If it says z1 in your file, change to z0. I had similar problems until I changed it to z0. Does that help? Noop, nothing changes. Since it's windows, restart? ;-) Then I'm almost out of ideas. I really thought it could be the z1 problem. It sounds like conversion problem, or that LyX can't copy files to temporary directory. Anyone else with a good idea?
Re: [WIN] Embedding highlighed external source code files in a LyX document
Form me the path looks strange LaTex Error: File './0d__daten_prog_perl_myscript.tex' not found First the leading dot, than /0 ... But i just noticed, the file myscript.pl is not converted to myscript.tex if i want to view a preview. When i start reading your how-to, i converted i manualy. Now i deleted this, but no new file is created. Just to be sure, check all the highlight commands that you entered into the LyX preferences. It really sounds like a problem with the temporary copies. is there any way to reload miktex configuration? Perhaps the z0 change is not active yet?
Re: [WIN] Embedding highlighed external source code files in a LyX document
Yes, Windows reboot. But nothing changed. Then I give up (temporarily). Someone else that can try this?
Re: Embedding highlighed external source code files in a LyX document
I changed the converter so that it output to foobar.tex. Here is a copy of the .tex it generated. This I can not import into LyX and make it compile with pdfLaTeX. Could you also remove the -f switch from the converters (just temporarily) and send me the code that is produced? And a lyx file in which you try to include the source code. I will try to experiment. Gunnar.
Re: Embedding highlighed external source code files in a LyX document
I know that this has 'been done' but I'm not sure how to go about it myself. I would like to link to an external source code file and 'pull it in' to my compiled document when I use pdflatex. I would like to apply source code highlighting, although that's not essential (the language I'm using is not one that is supported by any of the tools). What language? Highlight manages over 120 of them. I worked out how to import external code, but not how to maintain a link. Do I need to use ERT? Can LyX be set to use 'highlight' on-the-fly as for graphics formats, or must I prepare the latex by hand? Here are how I do it. When setup, it works automatically. http://www.taljaren.se/MinLyXTutorial.html (same as pdf) http://www.taljaren.se/MinLyXTutorial.pdf
Re: Embedding highlighed external source code files in a LyX document
Could you consider putting this in the Wiki? Of course! Christian, since you seem to be the wiki-wizard, where (and how, what format) should I put it? I will most likely add more stuff to my document in the future. Gunnar. On Thursday 29 March 2007 10:39, Abdelrazak Younes wrote: Gunnar Lindholm wrote: I know that this has 'been done' but I'm not sure how to go about it myself. I would like to link to an external source code file and 'pull it in' to my compiled document when I use pdflatex. I would like to apply source code highlighting, although that's not essential (the language I'm using is not one that is supported by any of the tools). What language? Highlight manages over 120 of them. I worked out how to import external code, but not how to maintain a link. Do I need to use ERT? Can LyX be set to use 'highlight' on-the-fly as for graphics formats, or must I prepare the latex by hand? Here are how I do it. When setup, it works automatically. http://www.taljaren.se/MinLyXTutorial.html (same as pdf) http://www.taljaren.se/MinLyXTutorial.pdf
Re: Embedding highlighed external source code files in a LyX document
Could you consider putting this in the Wiki? I answer again. Yes, I can consider it, and I've realized it's not easy enough to do it so I abandon that idea. Here is the working Wiki code if someone knows how to do it. How to include external program code (program listings). You can use change the code in external program and LyX will show the updated source code in the output. !!! Include programlistings This automatically uses the source code, and any change in the external source code will be visible in the LY X output. * Install the program highlight that is available on [[http://www.andre-simon.de/]] * Run the program highlight on one of your sourcecode #64257;les with the command: -@@highlight -A -L -t 4 -I -S cpp -r -q KOD.cpp@@ -Change the #64257;le name (KOD.cpp) to your #64257;le, and change language if you use something else than C++ (cpp). * Things are written in a window, copy and paste everything from the row -@@\usepackage{color}@@ to -@@\definecolor{bgcolor}{rgb}{1,1,1}@@ -(but do not include this last line!) to the LATEX Preamble window in document settings. Click the Save as Document Defaults button. * In the Preferences window you should add a new FileFormat -@@Format:cpp@@ -@@GUIname:C++@@ -@@Extension:cpp@@ -@@Editor:nedit@@ -nedit is the texteditor that I use to write program code. Change to what you want to use. Notice that the “Format” name must be something unique that is not used elsewhere. * In the Converters windows you should add -@@From: C++@@ -@@To: LaTeX(pdflatex)@@ -@@Converter: highlight -A -L -t 4 -I -S cpp -f -r -q $$i -o $$o@@ -Add the same thing for conversion from C++ to LATEX(plain). Don’t forget to change to re#64258;ect the language you are using. * Open the file external_templates that is in the LY X directory (either the global one, or copy the #64257;le to your own personal directory and edit that one). To the #64257;le you should add the following: Template CppCode GuiName [C++ $$Basename] HelpText Add C++ code HelpTextEnd InputFormat cpp FileFilter *.{cpp,h,hpp,c} AutomaticProduction true Format LaTeX Product {\\small \\input{$$FPath$$Basename.tex} } UpdateFormat latex UpdateResult $$FName.tex FormatEnd Format PDFLaTeX Product {\\small \\input{$$FPath$$Basename.tex} } UpdateFormat latex UpdateResult $$FPath$$Basename.tex FormatEnd TemplateEnd * Now you can use “Insert” , “File”, “External Material” and add your program code. Category: [[ProgramCode]] [[SourceCode]] [[Algorithm]] [[Listing]]
Re: Embedding highlighed external source code files in a LyX document
This is great, do you know how to do on Windows? Unfortunatly not. I have not tried this on windows, yet. But the hightlight program works fine? I did everything as you described (with Perl insted of C++), but if i want to see a dvi preview i get folowing error: LaTex Error: File './0d__daten_prog_perl_myscript.tex' not found ...d__daten_prog_perl_myscript.tex} } ***(cannot \read drom terminal in nonstop modes) Can you view postscript or pdf? Can you export from command line lyx -e pdf mein_buch.lyx? Do you have any problem with including other external material? I'm not sure, but I don't wan't to write-off the problem with the file /etc/texmf/dvips/config/config.ps (in linux system, but I think you have a similar?) where it says % z1 is secure, i.e., inhibits execution of `shell commands` in % \specials. Dvips allows this by default. z0 If it says z1 in your file, change to z0. I had similar problems until I changed it to z0. Does that help? Mit freundlichen Gruessen Gunnar.
Re: Embedding highlighed external source code files in a LyX document
We must have a serious confusion here... Let's just ignore the past confusion and be happy that it works. Well done (both of us)! Gunnar.
Re: [WIN] Embedding highlighed external source code files in a LyX document
LyX version 1.4.4 ? I've only tried it with 1.4.* versions. If it says z1 in your file, change to z0. I had similar problems until I changed it to z0. Does that help? Noop, nothing changes. Since it's windows, restart? ;-) Then I'm almost out of ideas. I really thought it could be the z1 problem. It sounds like conversion problem, or that LyX can't copy files to temporary directory. Anyone else with a good idea?
Re: [WIN] Embedding highlighed external source code files in a LyX document
Form me the path looks strange LaTex Error: File './0d__daten_prog_perl_myscript.tex' not found First the leading dot, than /0 ... But i just noticed, the file myscript.pl is not converted to myscript.tex if i want to view a preview. When i start reading your how-to, i converted i manualy. Now i deleted this, but no new file is created. Just to be sure, check all the highlight commands that you entered into the LyX preferences. It really sounds like a problem with the temporary copies. is there any way to reload miktex configuration? Perhaps the z0 change is not active yet?
Re: [WIN] Embedding highlighed external source code files in a LyX document
Yes, Windows reboot. But nothing changed. Then I give up (temporarily). Someone else that can try this?
Re: Embedding highlighed external source code files in a LyX document
I changed the converter so that it output to foobar.tex. Here is a copy of the .tex it generated. This I can not import into LyX and make it compile with pdfLaTeX. Could you also remove the -f switch from the converters (just temporarily) and send me the code that is produced? And a lyx file in which you try to include the source code. I will try to experiment. Gunnar.
Re: Embedding highlighed external source code files in a LyX document
> I know that this has 'been done' but I'm not sure how to go about it > myself. I would like to link to an external source code file and 'pull > it in' to my compiled document when I use pdflatex. I would like to > apply source code highlighting, although that's not essential (the > language I'm using is not one that is supported by any of the tools). What language? Highlight manages over 120 of them. > I worked out how to import external code, but not how to maintain a > link. Do I need to use ERT? Can LyX be set to use 'highlight' on-the-fly > as for graphics formats, or must I prepare the latex by hand? Here are how I do it. When setup, it works automatically. http://www.taljaren.se/MinLyXTutorial.html (same as pdf) http://www.taljaren.se/MinLyXTutorial.pdf
Re: Embedding highlighed external source code files in a LyX document
> Could you consider putting this in the Wiki? Of course! Christian, since you seem to be the wiki-wizard, where (and how, what format) should I put it? I will most likely add more stuff to my document in the future. Gunnar. On Thursday 29 March 2007 10:39, Abdelrazak Younes wrote: > Gunnar Lindholm wrote: > >> I know that this has 'been done' but I'm not sure how to go about it > >> myself. I would like to link to an external source code file and 'pull > >> it in' to my compiled document when I use pdflatex. I would like to > >> apply source code highlighting, although that's not essential (the > >> language I'm using is not one that is supported by any of the tools). > > > > What language? Highlight manages over 120 of them. > > > >> I worked out how to import external code, but not how to maintain a > >> link. Do I need to use ERT? Can LyX be set to use 'highlight' on-the-fly > >> as for graphics formats, or must I prepare the latex by hand? > > > > Here are how I do it. When setup, it works automatically. > > > > http://www.taljaren.se/MinLyXTutorial.html > > (same as pdf) http://www.taljaren.se/MinLyXTutorial.pdf
Re: Embedding highlighed external source code files in a LyX document
> Could you consider putting this in the Wiki? I answer again. Yes, I can consider it, and I've realized it's not easy enough to do it so I abandon that idea. Here is the working Wiki code if someone knows how to do it. How to include external program code (program listings). You can use change the code in external program and LyX will show the updated source code in the output. !!! Include programlistings This automatically uses the source code, and any change in the external source code will be visible in the LY X output. * Install the program highlight that is available on [[http://www.andre-simon.de/]] * Run the program highlight on one of your sourcecode les with the command: ->@@highlight -A -L -t 4 -I -S cpp -r -q KOD.cpp@@ ->Change the le name (KOD.cpp) to your le, and change language if you use something else than C++ (cpp). * Things are written in a window, copy and paste everything from the row ->@@\usepackage{color}@@ to ->@@\definecolor{bgcolor}{rgb}{1,1,1}@@ ->(but do not include this last line!) to the LATEX Preamble window in document settings. Click the Save as Document Defaults button. * In the Preferences window you should add a new FileFormat ->@@Format:cpp@@ ->@@GUIname:C++@@ ->@@Extension:cpp@@ ->@@Editor:nedit@@ ->nedit is the texteditor that I use to write program code. Change to what you want to use. Notice that the “Format” name must be something unique that is not used elsewhere. * In the Converters windows you should add ->@@From: C++@@ ->@@To: LaTeX(pdflatex)@@ ->@@Converter: highlight -A -L -t 4 -I -S cpp -f -r -q $$i -o $$o@@ ->Add the same thing for conversion from C++ to LATEX(plain). Don’t forget to change to reect the language you are using. * Open the file external_templates that is in the LY X directory (either the global one, or copy the le to your own personal directory and edit that one). To the le you should add the following: Template CppCode GuiName "[C++ $$Basename]" HelpText Add C++ code HelpTextEnd InputFormat cpp FileFilter "*.{cpp,h,hpp,c}" AutomaticProduction true Format LaTeX Product "{\\small \\input{$$FPath$$Basename.tex} }" UpdateFormat latex UpdateResult "$$FName.tex" FormatEnd Format PDFLaTeX Product "{\\small \\input{$$FPath$$Basename.tex} }" UpdateFormat latex UpdateResult "$$FPath$$Basename.tex" FormatEnd TemplateEnd * Now you can use “Insert” , “File”, “External Material” and add your program code. Category: [[ProgramCode]] [[SourceCode]] [[Algorithm]] [[Listing]]
Re: Embedding highlighed external source code files in a LyX document
> This is great, do you know how to do on Windows? Unfortunatly not. I have not tried this on windows, yet. But the hightlight program works fine? > I did everything as you described (with Perl insted of C++), but if i > want to see a dvi preview i get folowing error: > LaTex Error: File './0d__daten_prog_perl_myscript.tex' not found > > ...d__daten_prog_perl_myscript.tex} > } > ***(cannot \read drom terminal in nonstop modes) Can you view postscript or pdf? Can you export from command line "lyx -e pdf mein_buch.lyx"? Do you have any problem with including other external material? I'm not sure, but I don't wan't to write-off the problem with the file /etc/texmf/dvips/config/config.ps (in linux system, but I think you have a similar?) where it says % z1 is "secure", i.e., inhibits execution of `shell commands` in % \specials. Dvips allows this by default. z0 If it says z1 in your file, change to z0. I had similar problems until I changed it to z0. Does that help? Mit freundlichen Gruessen Gunnar.
Re: Embedding highlighed external source code files in a LyX document
> We must have a serious confusion here... Let's just ignore the past confusion and be happy that it works. Well done (both of us)! Gunnar.
Re: [WIN] Embedding highlighed external source code files in a LyX document
LyX version 1.4.4 ? I've only tried it with 1.4.* versions. > > If it says z1 in your file, change to z0. I had similar problems until I > > changed it to z0. > > Does that help? > > Noop, nothing changes. Since it's windows, restart? ;-) Then I'm almost out of ideas. I really thought it could be the z1 problem. It sounds like conversion problem, or that LyX can't copy files to temporary directory. Anyone else with a good idea?
Re: [WIN] Embedding highlighed external source code files in a LyX document
> Form me the path looks strange "LaTex Error: File > './0d__daten_prog_perl_myscript.tex' not found" > First the leading dot, than "/0" ... > > But i just noticed, the file myscript.pl is not converted to > myscript.tex if i want to view a preview. When i start reading your > how-to, i converted i manualy. Now i deleted this, but no new file is > created. Just to be sure, check all the highlight commands that you entered into the LyX preferences. It really sounds like a problem with the temporary copies. is there any way to "reload miktex configuration"? Perhaps the z0 change is not active yet?
Re: [WIN] Embedding highlighed external source code files in a LyX document
> Yes, Windows reboot. But nothing changed. Then I give up (temporarily). Someone else that can try this?
Re: Embedding highlighed external source code files in a LyX document
> I changed the converter so that it output to > foobar.tex. > Here is a copy of the .tex it generated. This I can > not import into LyX and make it compile with pdfLaTeX. Could you also remove the -f switch from the converters (just temporarily) and send me the code that is produced? And a lyx file in which you try to include the source code. I will try to experiment. Gunnar.
What LFUN to create 2x1 matrix shortcut?
Hello I wish to create a keyboard shortcut for inserting 2x1 matrix (when I'm inside a math enivornment), what should I write in the bind file for this? I use LyX 1.4.4. The only documentation I seem to find is for 1.3.3 on the wikipages. Isn't there any more uptodate? Thanks, Gunnar.
What LFUN to create 2x1 matrix shortcut?
Hello I wish to create a keyboard shortcut for inserting 2x1 matrix (when I'm inside a math enivornment), what should I write in the bind file for this? I use LyX 1.4.4. The only documentation I seem to find is for 1.3.3 on the wikipages. Isn't there any more uptodate? Thanks, Gunnar.
What LFUN to create 2x1 matrix shortcut?
Hello I wish to create a keyboard shortcut for inserting 2x1 matrix (when I'm inside a math enivornment), what should I write in the bind file for this? I use LyX 1.4.4. The only documentation I seem to find is for 1.3.3 on the wikipages. Isn't there any more uptodate? Thanks, Gunnar.
What has happend to lyx.org?
Any ETA on when it will return? Best wishes Gunnar
What has happend to lyx.org?
Any ETA on when it will return? Best wishes Gunnar
What has happend to lyx.org?
Any ETA on when it will return? Best wishes Gunnar
Re: unsubscribe...
Everybody knows that word sucks but most people use it...:P Same goes for SuckOffice. And there is no win32 LYX yet.. Isn't there? My work is finished with lyx...great program! And the text looks very nice too... unfortunately univ.chair wants me writing my next documents in MS WORD... this sucks! but i'll probably do it.. CU i'm off.. I'm sorry to hear that. So sad that you have to give up productivity for "the standard tool of writing"... I have had these battles at work, and the LyX/LaTeX/vi/emacs people won over the "We must use *Office, since every body uses Windows" people. We simply argued that there were two kind of documents: 1) Static documents (documents that are written ONCE) 2) PHB[1] documents (documents that a windows users want's to edit) Then you can use the tool that's works best for the current task. And finaly, we won... Best wishes! G. [1] PHB=Pointy Haired Boss (see www.dilbert.com)
Re: unsubscribe...
A thought: prepare a typical document both ways and then show management the differences. Point out the difference between letter kerning and blank space kerning. Worth a shot. Probably won't work. Oh.. I like this topic. Another thing is the archiving. If you want to use a computer for archiving the document, then what happens when you wish to retrieve the document after a few years? If a few bytes are lost in your "non human readable file format" office file, whay should you do then? The lyx file is still usable. (As a side remark, if you don't trust electronical storage, then the final document is made out of paper. Why should anyone care what tool you use to create the papper?) Another remark... How do you search a hugh collection of office files? $ grep "important word" *.lyxis quite usefull XML, docbook could be another solution, and I guess that there is plenty of tools like lyx2xml, Best wishes, G.
Re: unsubscribe...
Everybody knows that word sucks but most people use it...:P Same goes for SuckOffice. And there is no win32 LYX yet.. Isn't there? My work is finished with lyx...great program! And the text looks very nice too... unfortunately univ.chair wants me writing my next documents in MS WORD... this sucks! but i'll probably do it.. CU i'm off.. I'm sorry to hear that. So sad that you have to give up productivity for "the standard tool of writing"... I have had these battles at work, and the LyX/LaTeX/vi/emacs people won over the "We must use *Office, since every body uses Windows" people. We simply argued that there were two kind of documents: 1) Static documents (documents that are written ONCE) 2) PHB[1] documents (documents that a windows users want's to edit) Then you can use the tool that's works best for the current task. And finaly, we won... Best wishes! G. [1] PHB=Pointy Haired Boss (see www.dilbert.com)
Re: unsubscribe...
A thought: prepare a typical document both ways and then show management the differences. Point out the difference between letter kerning and blank space kerning. Worth a shot. Probably won't work. Oh.. I like this topic. Another thing is the archiving. If you want to use a computer for archiving the document, then what happens when you wish to retrieve the document after a few years? If a few bytes are lost in your "non human readable file format" office file, whay should you do then? The lyx file is still usable. (As a side remark, if you don't trust electronical storage, then the final document is made out of paper. Why should anyone care what tool you use to create the papper?) Another remark... How do you search a hugh collection of office files? $ grep "important word" *.lyxis quite usefull XML, docbook could be another solution, and I guess that there is plenty of tools like lyx2xml, Best wishes, G.
Re: unsubscribe...
> Everybody knows that word sucks but most people use it...:P Same goes for SuckOffice. > And there is no win32 LYX yet.. Isn't there? > > My work is finished with lyx...great program! > And the text looks very nice too... > unfortunately univ.chair wants me writing my next documents > in MS WORD... this sucks! but i'll probably do it.. > CU i'm off.. I'm sorry to hear that. So sad that you have to give up productivity for "the standard tool of writing"... I have had these battles at work, and the LyX/LaTeX/vi/emacs people won over the "We must use *Office, since every body uses Windows" people. We simply argued that there were two kind of documents: 1) Static documents (documents that are written ONCE) 2) PHB[1] documents (documents that a windows users want's to edit) Then you can use the tool that's works best for the current task. And finaly, we won... Best wishes! G. [1] PHB=Pointy Haired Boss (see www.dilbert.com)
Re: unsubscribe...
> A thought: prepare a typical document both ways and then show management > the differences. Point out the difference between letter kerning and > blank space kerning. Worth a shot. Probably won't work. Oh.. I like this topic. Another thing is the archiving. If you want to use a computer for archiving the document, then what happens when you wish to retrieve the document after a few years? If a few bytes are lost in your "non human readable file format" office file, whay should you do then? The lyx file is still usable. (As a side remark, if you don't trust electronical storage, then the final document is made out of paper. Why should anyone care what tool you use to create the papper?) Another remark... How do you search a hugh collection of office files? $ grep "important word" *.lyxis quite usefull XML, docbook could be another solution, and I guess that there is plenty of tools like lyx2xml, Best wishes, G.
shortcuts
Hello. I would like to creata my own shortcuts, like the M-m-8 to create the infinity sign or M-p-s to get the standard text environment. How can I do that? It is so boring to use the mouse to get a Definition in a AMS document... Gunnar.
shortcuts
Hello. I would like to creata my own shortcuts, like the M-m-8 to create the infinity sign or M-p-s to get the standard text environment. How can I do that? It is so boring to use the mouse to get a Definition in a AMS document... Gunnar.
shortcuts
Hello. I would like to creata my own shortcuts, like the M-m-8 to create the infinity sign or M-p-s to get the standard text environment. How can I do that? It is so boring to use the mouse to get a Definition in a AMS document... Gunnar.
Re: .cls - LyX
Gunnar Hello. I have a latex .cls file that defines a nice letter Gunnar style (with .eps headers ,special commands for greatings, Gunnar etc...). Now I would like to write my letters with LyX. I have Gunnar read a little in Custumization chapter 6 about the lyx .layout Gunnar but it didn't help. I know this part of the manual is not very helpful :( Gunnar Can someone please tell me how to do this? Is someone working Gunnar on a .cls - .layout program or something similar? I doubt that something like that could be written, unfortunately. Is this letter class very different from the standard letter class? It's hard to tell, I don't know much about .cls files (yet)... If someone wish to see this .cls, it can be found at www.maths.lth.se/na/staff/gunnarl/luletter.cls the whole package is in mall.tar.gz (WARNING, contains unreadable things for non-swedish speaking people).
Re: figures
There's a program called Xv, with that you should be able to transform from jpg to postscript, if I'm not misstaken. Xv should be available for (almost) all UN*X platforms. Hi everybody Is there any way to import pictures in other formats than *ps? I mean, I've got some *jpg ones which would be necessary to a article of mine. Thank you very much []s rlopes
Re: .cls - LyX
Gunnar Hello. I have a latex .cls file that defines a nice letter Gunnar style (with .eps headers ,special commands for greatings, Gunnar etc...). Now I would like to write my letters with LyX. I have Gunnar read a little in Custumization chapter 6 about the lyx .layout Gunnar but it didn't help. I know this part of the manual is not very helpful :( Gunnar Can someone please tell me how to do this? Is someone working Gunnar on a .cls - .layout program or something similar? I doubt that something like that could be written, unfortunately. Is this letter class very different from the standard letter class? It's hard to tell, I don't know much about .cls files (yet)... If someone wish to see this .cls, it can be found at www.maths.lth.se/na/staff/gunnarl/luletter.cls the whole package is in mall.tar.gz (WARNING, contains unreadable things for non-swedish speaking people).
Re: figures
There's a program called Xv, with that you should be able to transform from jpg to postscript, if I'm not misstaken. Xv should be available for (almost) all UN*X platforms. Hi everybody Is there any way to import pictures in other formats than *ps? I mean, I've got some *jpg ones which would be necessary to a article of mine. Thank you very much []s rlopes