Re: changing font doesn't work for documents

2007-10-10 Thread Juergen Spitzmueller
Zhang Weiwu wrote: If I follow the User's Guide, go to Document - Setting, and change font to helvet, and Save, and view the output in postscript (Ctrl+t), the document is the same (still use a san-serif font). Then I go to Document - Setting to check again, and discovered font setting is

Re: Recipe collection

2007-10-10 Thread Gour
On Tue, 09 Oct 2007 14:01:59 +0200 Hellmut Weber [EMAIL PROTECTED] wrote: Hi all, I would like to put my collection of recipes in a nice layout. I got similar task here - to produce cookbook :-) Does anybody have ideas in this direction? Found template layout based on recipe.cls and added

Re: changing font doesn't work for documents

2007-10-10 Thread Zhang Weiwu
Juergen Spitzmueller wrote: Zhang Weiwu wrote: If I follow the User's Guide, go to Document - Setting, and change font to helvet, and Save, and view the output in postscript (Ctrl+t), the document is the same (still use a san-serif font). Then I go to Document - Setting to check again,

Re: root can run lyx, but non-root user cannot (Fedora 7)

2007-10-10 Thread Rainer M. Krug
Jean-Marc Lasgouttes wrote: Wolfgang Siebeck [EMAIL PROTECTED] writes: mangkhon:~ $ lyx terminate called after throwing an instance of 'boost::filesystem::basic_filesystem_errorboost::filesystem::basic_pathstd::string, boost::filesystem::path_traits ' what(): boost::filesystem::exists

Re: root can run lyx, but non-root user cannot (Fedora 7)

2007-10-10 Thread Rainer M. Krug
Jean-Marc Lasgouttes wrote: Wolfgang Siebeck [EMAIL PROTECTED] writes: mangkhon:~ $ lyx terminate called after throwing an instance of 'boost::filesystem::basic_filesystem_errorboost::filesystem::basic_pathstd::string, boost::filesystem::path_traits ' what(): boost::filesystem::exists

Re: root can run lyx, but non-root user cannot (Fedora 7)

2007-10-10 Thread Jean-Marc Lasgouttes
Wolfgang Siebeck [EMAIL PROTECTED] writes: mangkhon:~ $ lyx terminate called after throwing an instance of 'boost::filesystem::basic_filesystem_errorboost::filesystem::basic_pathstd::string, boost::filesystem::path_traits ' what(): boost::filesystem::exists Abgebrochen -- (Aborted) This

Re: root can run lyx, but non-root user cannot (Fedora 7)

2007-10-10 Thread Jean-Marc Lasgouttes
Rainer M. Krug [EMAIL PROTECTED] writes: I had a similar problem: My document contained references (external bibtex file) and when I wanted to use it on a different machine and the folder was not there, LyX crashed. This was Lyx 1.4 something. Maybe something similar? Probably. JMarc

Re: root can run lyx, but non-root user cannot (Fedora 7)

2007-10-10 Thread Wolfgang Siebeck
Jean-Marc Lasgouttes schrieb: It seems that when some files are not readable, lyx crashes. This is wrong of course. Could you try to run LyX under strace strace lyx and post the last few lines of output? This should give s the name of the file/directory that caused a problem, and therefore

Re: [announce] LyXWinInstaller (with Update installer) for LyX 1.5.2

2007-10-10 Thread Nick and Anne Hopton
Uwe Stöhr wrote: I uploaded the new version 3.20 of the LyXWinInstaller. This version also offers an update installer. With this you can easily your LyX 1.5.1 to LyX 1.5.2 without uninstalling LyX 1.5.1 before installing LyX 1.5.2. Only log in as adminstrator on your PC and execute the update

Re: [Announce] LyX 1.5.2 is released

2007-10-10 Thread Jean-Marc Lasgouttes
Bennett Helm [EMAIL PROTECTED] writes: By the way, could this have anything to do with localisation? My LyX GUI is in German all of a sudden ... I liked it better in English :-). This is the result of a bug fix: LyX now uses the Mac standard interface language for its menus and dialogs. I

Re: [Announce] LyX 1.5.2 is released

2007-10-10 Thread Jean-Marc Lasgouttes
Francesco Menoncin [EMAIL PROTECTED] writes: I work on Windows XP and LyX 1.5.2 gave me problems with fonts. It was not able to load fonts and the DVI had almost all characters missing. To load font in latex output or on screen? JMarc

Re: Compile problem with LyX 1.4.5.1 on SPARC/Solaris9

2007-10-10 Thread Jean-Marc Lasgouttes
Volker Knierim [EMAIL PROTECTED] writes: Hi Jean-Marc, thanks for the quick answer. I also would prefer to install the 1.5.X version of LyX, but this would require to compile qt4 on my machine first. Maybe this would fail also and I would have to solve this problem, too :-( You can ask for

Re: root can run lyx, but non-root user cannot (Fedora 7)

2007-10-10 Thread Jean-Marc Lasgouttes
Wolfgang Siebeck [EMAIL PROTECTED] writes: Well said! I did the strace and part of the result was: So what I did was to create a directory ~/lyx and then I started lyx again. Wow! Lyx started, created a directory ~/.lyx, checked for all the helper programs, document classes, packages and

embedded math formule

2007-10-10 Thread Robert Poser
Hej, using the embedded math formule in LyX with koma-report class does not work for me. in the editor it looks fine, but in the pdf output it leads to wrong expressions. is it a question of the font (lmodern) or where could the error be? thanks a lot, Rob

declare destination directory for converted files

2007-10-10 Thread Andreas Lagemann
Hello all, I'm trying to customize the conversion to html via the tools-preferences dialog but I can't seem to find anything about how to control where the output is written to (especially which directory it is written to). I recognize the variables $$i and $$o but they only seem to refer to

making a table with columns starting at different places

2007-10-10 Thread Jeremy C. Reed
See the 3.2KB attached image. I want to try making that using tabular and multicolumn. My first row has 33 columns, the first doesn't have a border. The second row has 5 columns with the 2nd column for the 2nd-5th columns above, and so on. The third row has 4 columns, with the 2nd column

[OT] Programmatically Creating a LaTeX Document

2007-10-10 Thread Rich Shepard
This is not LyX specific, but I'm hoping that some of you can provide direction to help me find the solution I need. In brief: we're developing an approximate reasoning model (a type of expert system) in Python and C, with data maintained in an embedded SQLite database. I'd like to produce

Different page orientations in one document

2007-10-10 Thread Rudi van der Linde
Hi All. I know this has been answered before but I do not have a direct Internet connection from work, only email and that makes things interesting to say the least. I would like to have portrait as well as landscape oriented pages in a document I am writing. I would appreciate any

Re: Different page orientations in one document

2007-10-10 Thread Roger Light
Hi Rudi, I would like to have portrait as well as landscape oriented pages in a document I am writing. I would appreciate any pointers on how to do it. I do this by adding \usepackage{lscape} to my preamble then surrounding my landscape pages with ERT: \begin{landscape} (page goes here)

Re: embedded math formule

2007-10-10 Thread Paul A. Rubin
Robert Poser wrote: using the embedded math formule in LyX with koma-report class does not work for me. in the editor it looks fine, but in the pdf output it leads to wrong expressions. is it a question of the font (lmodern) or where could the error be? It's easy to check whether Latin

Re: [OT] Programmatically Creating a LaTeX Document

2007-10-10 Thread Todd Denniston
Rich Shepard wrote, On 10/10/2007 09:21 AM: This is not LyX specific, but I'm hoping that some of you can provide direction to help me find the solution I need. In brief: we're developing an approximate reasoning model (a type of expert system) in Python and C, with data maintained in an

Re: [OT] Programmatically Creating a LaTeX Document

2007-10-10 Thread Rich Shepard
On Wed, 10 Oct 2007, Todd Denniston wrote: I have done such a beast, therefore it can be done. :) Thank you, Todd! I had to be careful in my C program to properly escape LaTeX special chars before it wrote the data to MyVariableData.tex, i.e., at least _, * and \ become \_, {*} and

Re: [OT] Programmatically Creating a LaTeX Document

2007-10-10 Thread Paul A. Rubin
Rich Shepard wrote: This is not LyX specific, but I'm hoping that some of you can provide direction to help me find the solution I need. In brief: we're developing an approximate reasoning model (a type of expert system) in Python and C, with data maintained in an embedded SQLite database.

Re: making a table with columns starting at different places

2007-10-10 Thread Paul A. Rubin
Jeremy C. Reed wrote: See the 3.2KB attached image. I want to try making that using tabular and multicolumn. My first row has 33 columns, the first doesn't have a border. The second row has 5 columns with the 2nd column for the 2nd-5th columns above, and so on. The third row has 4 columns,

Re: [OT] Programmatically Creating a LaTeX Document

2007-10-10 Thread Ernesto Posse
Since you are using Python, I suggest using the string.Template class for this purpose. I think the only thing that you would have to be careful about is with the $: You would have to replace the normal $'s of your LaTeX template by $$, since this class uses $ for marking placeholders. Here's the

Re: Compile problem with LyX 1.4.5.1 on SPARC/Solaris9

2007-10-10 Thread Abdelrazak Younes
Jean-Marc Lasgouttes wrote: Volker Knierim [EMAIL PROTECTED] writes: Hi Jean-Marc, thanks for the quick answer. I also would prefer to install the 1.5.X version of LyX, but this would require to compile qt4 on my machine first. Maybe this would fail also and I would have to solve this problem,

Re: [OT] Programmatically Creating a LaTeX Document

2007-10-10 Thread Rich Shepard
On Wed, 10 Oct 2007, Paul A. Rubin wrote: I would write the template as an ordinary document (and of course would write it in LyX, then export to .tex), using some distinctive placeholders where the good stuff would be inserted (e.g., %%variable 1%% or some such). Then have a script create a

Re: [OT] Programmatically Creating a LaTeX Document

2007-10-10 Thread Rich Shepard
On Wed, 10 Oct 2007, Ernesto Posse wrote: Since you are using Python, I suggest using the string.Template class for this purpose. I think the only thing that you would have to be careful about is with the $: You would have to replace the normal $'s of your LaTeX template by $$, since this class

Re: [OT] Programmatically Creating a LaTeX Document

2007-10-10 Thread Rich Shepard
On Wed, 10 Oct 2007, Ernesto Posse wrote: Since you are using Python, I suggest using the string.Template class for this purpose. The example on that 'man' page suggests the path to ultimate happiness, using the Python shell: from string import Template s = Template('$who likes $what')

Re: [OT] Programmatically Creating a LaTeX Document

2007-10-10 Thread Todd Denniston
Rich Shepard wrote, On 10/10/2007 12:09 PM: On Wed, 10 Oct 2007, Paul A. Rubin wrote: I would write the template as an ordinary document (and of course would write it in LyX, then export to .tex), using some distinctive placeholders where the good stuff would be inserted (e.g., %%variable

Shortcut keys for equations on Mac

2007-10-10 Thread James Sutherland
I have noticed that the windows version of Lyx has key bindings for various equation options (displayed, eqnarray, toggle numbering, etc.). The Mac version of Lyx does not have analogous bindings. Is there a reason why? James

Re: Shortcut keys for equations on Mac

2007-10-10 Thread Bennett Helm
On Oct 10, 2007, at 1:36 PM, James Sutherland wrote: I have noticed that the windows version of Lyx has key bindings for various equation options (displayed, eqnarray, toggle numbering, etc.). The Mac version of Lyx does not have analogous bindings. Is there a reason why? If you use

Re: Shortcut keys for equations on Mac

2007-10-10 Thread James Sutherland
Pardon the naïve question, but where would I find the *.bind files that you refer to? James On 10/10/07 11:51 AM, Bennett Helm [EMAIL PROTECTED] wrote: On Oct 10, 2007, at 1:36 PM, James Sutherland wrote: I have noticed that the windows version of Lyx has key bindings for various equation

Re: Shortcut keys for equations on Mac

2007-10-10 Thread Bennett Helm
On Oct 10, 2007, at 2:05 PM, James Sutherland wrote: Pardon the naïve question, but where would I find the *.bind files that you refer to? Simply enter mac.bind or cua.bind (without the quotes) into LyX Preferences Look and feel User interface Bind file. On Mac, the files themselves

configure default paragraph alignment

2007-10-10 Thread William Seager
How do you set the default paragraph alignment to left justified (ragged right)? You can change individual paragraphs so they display (and print) with left justified paragraphs, but I want my documents to default to this. You can add \raggedright to the beginning of a document, but that does

Re: Lyx 1.5.1 and LyX 1.5.2 Spellchecker Could not be started

2007-10-10 Thread Paul A. Rubin
Rosanna Chan wrote: Hi again, I cannot figure out why LyX continue to look for c:\Documents and Settings\me\Application Data\Aspell\Data/iso-8859-1.cset for spellchecking. This happens with every document you try to spellcheck, right? For instance, if you open one of the LyX help documents

Re: [OT] Programmatically Creating a LaTeX Document

2007-10-10 Thread Steve Litt
On Wednesday 10 October 2007 13:16, Rich Shepard wrote: I'll play with this. It looks promising. Rich -- please share whatever your final solution with the list. I think most of us need to do this exact thing from time to time. SteveT Steve Litt Books written in LyX:

Re: [OT] Programmatically Creating a LaTeX Document

2007-10-10 Thread William Adams
On Oct 10, 2007, at 12:15 PM, Todd Denniston wrote: I have done such a beast, therefore it can be done. :) Me too! My approach was a bit different though --- I templated a bunch of buttons using Runtime Revolution (a HyperCard clone) which were then output into a text file concatenated

Re: [OT] Programmatically Creating a LaTeX Document

2007-10-10 Thread Rich Shepard
On Wed, 10 Oct 2007, Steve Litt wrote: Rich -- please share whatever your final solution with the list. I think most of us need to do this exact thing from time to time. Steve, I will. I'll try both LaTeX and ReportLab and see which seems to be easier to implement using one report as a

RE: Lyx 1.5.1 and LyX 1.5.2 Spellchecker Could not be started

2007-10-10 Thread Rosanna Chan
Hi Paul, Thanks so much for your suggestions. In answer to your questions: Yes, it happens with every document I open in Lyx ie Lyx help documents. Yes, I cleaned out all registry keys including any Aspell ones. English is the only language I have installed (for all users). Although in past LyX

Re: [OT] Programmatically Creating a LaTeX Document

2007-10-10 Thread Daniel Lohmann
Rich Shepard schrieb: There will be plots (created, no doubt, with PSTricks), to be included in the audit log report of each run. So I expect the templates to be as inclusive as your example. If you haven't worked with PSTricks so far (meaning that you have to learn something new

Re: [OT] Programmatically Creating a LaTeX Document

2007-10-10 Thread Rich Shepard
On Wed, 10 Oct 2007, Daniel Lohmann wrote: If you haven't worked with PSTricks so far (meaning that you have to learn something new anyway) you should also consider PGF/TikZ as a more modern alternative. Thanks, Daniel. I've used PSTricks some, but use Xfig most of the time. I started to

lyx-1.5.1 apa style question

2007-10-10 Thread Mirko Briemle
Hi, I installed lyx-1.5.1 and it looks great. I however would like to use the apa style class function, which is not available for me. Can someone help me on how I can get this working? That would be great. Thank you very much. -Mirko

Re: lyx-1.5.1 apa style question

2007-10-10 Thread Paul A. Rubin
Mirko Briemle wrote: I installed lyx-1.5.1 and it looks great. I however would like to use the apa style class function, which is not available for me. Can someone help me on how I can get this working? That would be great. Thank you very much. If Document - Settings... - Document class

Re: root can run lyx, but non-root user cannot (Fedora 7)

2007-10-10 Thread Wolfgang Siebeck
Jean-Marc Lasgouttes wrote: I think the culprit was actually: stat64(/usr/lib/kde3/bin/lyx, 0xbfc34e10) = -1 EACCES (Permission denied) Mmmh, on fedora 7 /usr/lib/kde3/bin is 0700 and root.root, in this directory there is only the subdir kdevelop, also 0700 and root.root I think I will have

Lyx - Lyx

2007-10-10 Thread Humbert Francis
I am working on a program which corrects math exercises done by my students. This program insert error messages (in red) in a Lyx document. The input of this program is a Lyx document and the output is also a Lyx document. I did not manage to install such a converter. Which wiewer should I

Re: changing font doesn't work for documents

2007-10-10 Thread Juergen Spitzmueller
Zhang Weiwu wrote: If I follow the User's Guide, go to Document - Setting, and change font to helvet, and Save, and view the output in postscript (Ctrl+t), the document is the same (still use a san-serif font). Then I go to Document - Setting to check again, and discovered font setting is

Re: Recipe collection

2007-10-10 Thread Gour
On Tue, 09 Oct 2007 14:01:59 +0200 Hellmut Weber [EMAIL PROTECTED] wrote: Hi all, I would like to put my collection of recipes in a nice layout. I got similar task here - to produce cookbook :-) Does anybody have ideas in this direction? Found template layout based on recipe.cls and added

Re: changing font doesn't work for documents

2007-10-10 Thread Zhang Weiwu
Juergen Spitzmueller wrote: Zhang Weiwu wrote: If I follow the User's Guide, go to Document - Setting, and change font to helvet, and Save, and view the output in postscript (Ctrl+t), the document is the same (still use a san-serif font). Then I go to Document - Setting to check again,

Re: root can run lyx, but non-root user cannot (Fedora 7)

2007-10-10 Thread Rainer M. Krug
Jean-Marc Lasgouttes wrote: Wolfgang Siebeck [EMAIL PROTECTED] writes: mangkhon:~ $ lyx terminate called after throwing an instance of 'boost::filesystem::basic_filesystem_errorboost::filesystem::basic_pathstd::string, boost::filesystem::path_traits ' what(): boost::filesystem::exists

Re: root can run lyx, but non-root user cannot (Fedora 7)

2007-10-10 Thread Rainer M. Krug
Jean-Marc Lasgouttes wrote: Wolfgang Siebeck [EMAIL PROTECTED] writes: mangkhon:~ $ lyx terminate called after throwing an instance of 'boost::filesystem::basic_filesystem_errorboost::filesystem::basic_pathstd::string, boost::filesystem::path_traits ' what(): boost::filesystem::exists

Re: root can run lyx, but non-root user cannot (Fedora 7)

2007-10-10 Thread Jean-Marc Lasgouttes
Wolfgang Siebeck [EMAIL PROTECTED] writes: mangkhon:~ $ lyx terminate called after throwing an instance of 'boost::filesystem::basic_filesystem_errorboost::filesystem::basic_pathstd::string, boost::filesystem::path_traits ' what(): boost::filesystem::exists Abgebrochen -- (Aborted) This

Re: root can run lyx, but non-root user cannot (Fedora 7)

2007-10-10 Thread Jean-Marc Lasgouttes
Rainer M. Krug [EMAIL PROTECTED] writes: I had a similar problem: My document contained references (external bibtex file) and when I wanted to use it on a different machine and the folder was not there, LyX crashed. This was Lyx 1.4 something. Maybe something similar? Probably. JMarc

Re: root can run lyx, but non-root user cannot (Fedora 7)

2007-10-10 Thread Wolfgang Siebeck
Jean-Marc Lasgouttes schrieb: It seems that when some files are not readable, lyx crashes. This is wrong of course. Could you try to run LyX under strace strace lyx and post the last few lines of output? This should give s the name of the file/directory that caused a problem, and therefore

Re: [announce] LyXWinInstaller (with Update installer) for LyX 1.5.2

2007-10-10 Thread Nick and Anne Hopton
Uwe Stöhr wrote: I uploaded the new version 3.20 of the LyXWinInstaller. This version also offers an update installer. With this you can easily your LyX 1.5.1 to LyX 1.5.2 without uninstalling LyX 1.5.1 before installing LyX 1.5.2. Only log in as adminstrator on your PC and execute the update

Re: [Announce] LyX 1.5.2 is released

2007-10-10 Thread Jean-Marc Lasgouttes
Bennett Helm [EMAIL PROTECTED] writes: By the way, could this have anything to do with localisation? My LyX GUI is in German all of a sudden ... I liked it better in English :-). This is the result of a bug fix: LyX now uses the Mac standard interface language for its menus and dialogs. I

Re: [Announce] LyX 1.5.2 is released

2007-10-10 Thread Jean-Marc Lasgouttes
Francesco Menoncin [EMAIL PROTECTED] writes: I work on Windows XP and LyX 1.5.2 gave me problems with fonts. It was not able to load fonts and the DVI had almost all characters missing. To load font in latex output or on screen? JMarc

Re: Compile problem with LyX 1.4.5.1 on SPARC/Solaris9

2007-10-10 Thread Jean-Marc Lasgouttes
Volker Knierim [EMAIL PROTECTED] writes: Hi Jean-Marc, thanks for the quick answer. I also would prefer to install the 1.5.X version of LyX, but this would require to compile qt4 on my machine first. Maybe this would fail also and I would have to solve this problem, too :-( You can ask for

Re: root can run lyx, but non-root user cannot (Fedora 7)

2007-10-10 Thread Jean-Marc Lasgouttes
Wolfgang Siebeck [EMAIL PROTECTED] writes: Well said! I did the strace and part of the result was: So what I did was to create a directory ~/lyx and then I started lyx again. Wow! Lyx started, created a directory ~/.lyx, checked for all the helper programs, document classes, packages and

embedded math formule

2007-10-10 Thread Robert Poser
Hej, using the embedded math formule in LyX with koma-report class does not work for me. in the editor it looks fine, but in the pdf output it leads to wrong expressions. is it a question of the font (lmodern) or where could the error be? thanks a lot, Rob

declare destination directory for converted files

2007-10-10 Thread Andreas Lagemann
Hello all, I'm trying to customize the conversion to html via the tools-preferences dialog but I can't seem to find anything about how to control where the output is written to (especially which directory it is written to). I recognize the variables $$i and $$o but they only seem to refer to

making a table with columns starting at different places

2007-10-10 Thread Jeremy C. Reed
See the 3.2KB attached image. I want to try making that using tabular and multicolumn. My first row has 33 columns, the first doesn't have a border. The second row has 5 columns with the 2nd column for the 2nd-5th columns above, and so on. The third row has 4 columns, with the 2nd column

[OT] Programmatically Creating a LaTeX Document

2007-10-10 Thread Rich Shepard
This is not LyX specific, but I'm hoping that some of you can provide direction to help me find the solution I need. In brief: we're developing an approximate reasoning model (a type of expert system) in Python and C, with data maintained in an embedded SQLite database. I'd like to produce

Different page orientations in one document

2007-10-10 Thread Rudi van der Linde
Hi All. I know this has been answered before but I do not have a direct Internet connection from work, only email and that makes things interesting to say the least. I would like to have portrait as well as landscape oriented pages in a document I am writing. I would appreciate any

Re: Different page orientations in one document

2007-10-10 Thread Roger Light
Hi Rudi, I would like to have portrait as well as landscape oriented pages in a document I am writing. I would appreciate any pointers on how to do it. I do this by adding \usepackage{lscape} to my preamble then surrounding my landscape pages with ERT: \begin{landscape} (page goes here)

Re: embedded math formule

2007-10-10 Thread Paul A. Rubin
Robert Poser wrote: using the embedded math formule in LyX with koma-report class does not work for me. in the editor it looks fine, but in the pdf output it leads to wrong expressions. is it a question of the font (lmodern) or where could the error be? It's easy to check whether Latin

Re: [OT] Programmatically Creating a LaTeX Document

2007-10-10 Thread Todd Denniston
Rich Shepard wrote, On 10/10/2007 09:21 AM: This is not LyX specific, but I'm hoping that some of you can provide direction to help me find the solution I need. In brief: we're developing an approximate reasoning model (a type of expert system) in Python and C, with data maintained in an

Re: [OT] Programmatically Creating a LaTeX Document

2007-10-10 Thread Rich Shepard
On Wed, 10 Oct 2007, Todd Denniston wrote: I have done such a beast, therefore it can be done. :) Thank you, Todd! I had to be careful in my C program to properly escape LaTeX special chars before it wrote the data to MyVariableData.tex, i.e., at least _, * and \ become \_, {*} and

Re: [OT] Programmatically Creating a LaTeX Document

2007-10-10 Thread Paul A. Rubin
Rich Shepard wrote: This is not LyX specific, but I'm hoping that some of you can provide direction to help me find the solution I need. In brief: we're developing an approximate reasoning model (a type of expert system) in Python and C, with data maintained in an embedded SQLite database.

Re: making a table with columns starting at different places

2007-10-10 Thread Paul A. Rubin
Jeremy C. Reed wrote: See the 3.2KB attached image. I want to try making that using tabular and multicolumn. My first row has 33 columns, the first doesn't have a border. The second row has 5 columns with the 2nd column for the 2nd-5th columns above, and so on. The third row has 4 columns,

Re: [OT] Programmatically Creating a LaTeX Document

2007-10-10 Thread Ernesto Posse
Since you are using Python, I suggest using the string.Template class for this purpose. I think the only thing that you would have to be careful about is with the $: You would have to replace the normal $'s of your LaTeX template by $$, since this class uses $ for marking placeholders. Here's the

Re: Compile problem with LyX 1.4.5.1 on SPARC/Solaris9

2007-10-10 Thread Abdelrazak Younes
Jean-Marc Lasgouttes wrote: Volker Knierim [EMAIL PROTECTED] writes: Hi Jean-Marc, thanks for the quick answer. I also would prefer to install the 1.5.X version of LyX, but this would require to compile qt4 on my machine first. Maybe this would fail also and I would have to solve this problem,

Re: [OT] Programmatically Creating a LaTeX Document

2007-10-10 Thread Rich Shepard
On Wed, 10 Oct 2007, Paul A. Rubin wrote: I would write the template as an ordinary document (and of course would write it in LyX, then export to .tex), using some distinctive placeholders where the good stuff would be inserted (e.g., %%variable 1%% or some such). Then have a script create a

Re: [OT] Programmatically Creating a LaTeX Document

2007-10-10 Thread Rich Shepard
On Wed, 10 Oct 2007, Ernesto Posse wrote: Since you are using Python, I suggest using the string.Template class for this purpose. I think the only thing that you would have to be careful about is with the $: You would have to replace the normal $'s of your LaTeX template by $$, since this class

Re: [OT] Programmatically Creating a LaTeX Document

2007-10-10 Thread Rich Shepard
On Wed, 10 Oct 2007, Ernesto Posse wrote: Since you are using Python, I suggest using the string.Template class for this purpose. The example on that 'man' page suggests the path to ultimate happiness, using the Python shell: from string import Template s = Template('$who likes $what')

Re: [OT] Programmatically Creating a LaTeX Document

2007-10-10 Thread Todd Denniston
Rich Shepard wrote, On 10/10/2007 12:09 PM: On Wed, 10 Oct 2007, Paul A. Rubin wrote: I would write the template as an ordinary document (and of course would write it in LyX, then export to .tex), using some distinctive placeholders where the good stuff would be inserted (e.g., %%variable

Shortcut keys for equations on Mac

2007-10-10 Thread James Sutherland
I have noticed that the windows version of Lyx has key bindings for various equation options (displayed, eqnarray, toggle numbering, etc.). The Mac version of Lyx does not have analogous bindings. Is there a reason why? James

Re: Shortcut keys for equations on Mac

2007-10-10 Thread Bennett Helm
On Oct 10, 2007, at 1:36 PM, James Sutherland wrote: I have noticed that the windows version of Lyx has key bindings for various equation options (displayed, eqnarray, toggle numbering, etc.). The Mac version of Lyx does not have analogous bindings. Is there a reason why? If you use

Re: Shortcut keys for equations on Mac

2007-10-10 Thread James Sutherland
Pardon the naïve question, but where would I find the *.bind files that you refer to? James On 10/10/07 11:51 AM, Bennett Helm [EMAIL PROTECTED] wrote: On Oct 10, 2007, at 1:36 PM, James Sutherland wrote: I have noticed that the windows version of Lyx has key bindings for various equation

Re: Shortcut keys for equations on Mac

2007-10-10 Thread Bennett Helm
On Oct 10, 2007, at 2:05 PM, James Sutherland wrote: Pardon the naïve question, but where would I find the *.bind files that you refer to? Simply enter mac.bind or cua.bind (without the quotes) into LyX Preferences Look and feel User interface Bind file. On Mac, the files themselves

configure default paragraph alignment

2007-10-10 Thread William Seager
How do you set the default paragraph alignment to left justified (ragged right)? You can change individual paragraphs so they display (and print) with left justified paragraphs, but I want my documents to default to this. You can add \raggedright to the beginning of a document, but that does

Re: Lyx 1.5.1 and LyX 1.5.2 Spellchecker Could not be started

2007-10-10 Thread Paul A. Rubin
Rosanna Chan wrote: Hi again, I cannot figure out why LyX continue to look for c:\Documents and Settings\me\Application Data\Aspell\Data/iso-8859-1.cset for spellchecking. This happens with every document you try to spellcheck, right? For instance, if you open one of the LyX help documents

Re: [OT] Programmatically Creating a LaTeX Document

2007-10-10 Thread Steve Litt
On Wednesday 10 October 2007 13:16, Rich Shepard wrote: I'll play with this. It looks promising. Rich -- please share whatever your final solution with the list. I think most of us need to do this exact thing from time to time. SteveT Steve Litt Books written in LyX:

Re: [OT] Programmatically Creating a LaTeX Document

2007-10-10 Thread William Adams
On Oct 10, 2007, at 12:15 PM, Todd Denniston wrote: I have done such a beast, therefore it can be done. :) Me too! My approach was a bit different though --- I templated a bunch of buttons using Runtime Revolution (a HyperCard clone) which were then output into a text file concatenated

Re: [OT] Programmatically Creating a LaTeX Document

2007-10-10 Thread Rich Shepard
On Wed, 10 Oct 2007, Steve Litt wrote: Rich -- please share whatever your final solution with the list. I think most of us need to do this exact thing from time to time. Steve, I will. I'll try both LaTeX and ReportLab and see which seems to be easier to implement using one report as a

RE: Lyx 1.5.1 and LyX 1.5.2 Spellchecker Could not be started

2007-10-10 Thread Rosanna Chan
Hi Paul, Thanks so much for your suggestions. In answer to your questions: Yes, it happens with every document I open in Lyx ie Lyx help documents. Yes, I cleaned out all registry keys including any Aspell ones. English is the only language I have installed (for all users). Although in past LyX

Re: [OT] Programmatically Creating a LaTeX Document

2007-10-10 Thread Daniel Lohmann
Rich Shepard schrieb: There will be plots (created, no doubt, with PSTricks), to be included in the audit log report of each run. So I expect the templates to be as inclusive as your example. If you haven't worked with PSTricks so far (meaning that you have to learn something new

Re: [OT] Programmatically Creating a LaTeX Document

2007-10-10 Thread Rich Shepard
On Wed, 10 Oct 2007, Daniel Lohmann wrote: If you haven't worked with PSTricks so far (meaning that you have to learn something new anyway) you should also consider PGF/TikZ as a more modern alternative. Thanks, Daniel. I've used PSTricks some, but use Xfig most of the time. I started to

lyx-1.5.1 apa style question

2007-10-10 Thread Mirko Briemle
Hi, I installed lyx-1.5.1 and it looks great. I however would like to use the apa style class function, which is not available for me. Can someone help me on how I can get this working? That would be great. Thank you very much. -Mirko

Re: lyx-1.5.1 apa style question

2007-10-10 Thread Paul A. Rubin
Mirko Briemle wrote: I installed lyx-1.5.1 and it looks great. I however would like to use the apa style class function, which is not available for me. Can someone help me on how I can get this working? That would be great. Thank you very much. If Document - Settings... - Document class

Re: root can run lyx, but non-root user cannot (Fedora 7)

2007-10-10 Thread Wolfgang Siebeck
Jean-Marc Lasgouttes wrote: I think the culprit was actually: stat64(/usr/lib/kde3/bin/lyx, 0xbfc34e10) = -1 EACCES (Permission denied) Mmmh, on fedora 7 /usr/lib/kde3/bin is 0700 and root.root, in this directory there is only the subdir kdevelop, also 0700 and root.root I think I will have

Lyx - Lyx

2007-10-10 Thread Humbert Francis
I am working on a program which corrects math exercises done by my students. This program insert error messages (in red) in a Lyx document. The input of this program is a Lyx document and the output is also a Lyx document. I did not manage to install such a converter. Which wiewer should I

Re: changing font doesn't work for documents

2007-10-10 Thread Juergen Spitzmueller
Zhang Weiwu wrote: > If I follow the "User's Guide", go to "Document" -> "Setting", and > change font to "helvet", and "Save", and view the output in postscript > (Ctrl+t), the document is the same (still use a san-serif font). Then I > go to "Document" -> "Setting" to check again, and discovered

Re: Recipe collection

2007-10-10 Thread Gour
On Tue, 09 Oct 2007 14:01:59 +0200 Hellmut Weber <[EMAIL PROTECTED]> wrote: > Hi all, > I would like to put my collection of recipes in a nice layout. I got similar task here - to produce cookbook :-) > Does anybody have ideas in this direction? Found template & layout based on recipe.cls and

Re: changing font doesn't work for documents

2007-10-10 Thread Zhang Weiwu
Juergen Spitzmueller wrote: > Zhang Weiwu wrote: > > >> If I follow the "User's Guide", go to "Document" -> "Setting", and >> change font to "helvet", and "Save", and view the output in postscript >> (Ctrl+t), the document is the same (still use a san-serif font). Then I >> go to "Document" ->

Re: root can run lyx, but non-root user cannot (Fedora 7)

2007-10-10 Thread Rainer M. Krug
Jean-Marc Lasgouttes wrote: Wolfgang Siebeck <[EMAIL PROTECTED]> writes: mangkhon:~ $ lyx terminate called after throwing an instance of 'boost::filesystem::basic_filesystem_error >' what(): boost::filesystem::exists

Re: root can run lyx, but non-root user cannot (Fedora 7)

2007-10-10 Thread Rainer M. Krug
Jean-Marc Lasgouttes wrote: Wolfgang Siebeck <[EMAIL PROTECTED]> writes: mangkhon:~ $ lyx terminate called after throwing an instance of 'boost::filesystem::basic_filesystem_error >' what(): boost::filesystem::exists

Re: root can run lyx, but non-root user cannot (Fedora 7)

2007-10-10 Thread Jean-Marc Lasgouttes
Wolfgang Siebeck <[EMAIL PROTECTED]> writes: > mangkhon:~ $ lyx > terminate called after throwing an instance of > 'boost::filesystem::basic_filesystem_error boost::filesystem::path_traits> >' > what(): boost::filesystem::exists > Abgebrochen <<--

Re: root can run lyx, but non-root user cannot (Fedora 7)

2007-10-10 Thread Jean-Marc Lasgouttes
"Rainer M. Krug" <[EMAIL PROTECTED]> writes: > I had a similar problem: My document contained references (external > bibtex file) and when I wanted to use it on a different machine and > the folder was not there, LyX crashed. This was Lyx 1.4 something. > Maybe something similar? Probably.

Re: root can run lyx, but non-root user cannot (Fedora 7)

2007-10-10 Thread Wolfgang Siebeck
Jean-Marc Lasgouttes schrieb: > It seems that when some files are not readable, lyx crashes. This is > wrong of course. Could you try to run LyX under strace > strace lyx > and post the last few lines of output? This should give s the name of > the file/directory that caused a problem, and

  1   2   >