Re: things that I miss in lyx
On 04/03/2010 11:27 AM, Wolfgang Engelmann wrote: Am Saturday 03 April 2010 15:13:22 schrieb rgheck: On 04/03/2010 02:27 AM, Wolfgang Engelmann wrote: Just wondering: Would the following be difficult to implement in Lyx or to use it via enter>file> 'external material' ? Wolfgang From http://ctan.tug.org/tex-archive/help/Catalogue/entries/texdirflatten.html Collect files related to a LaTeX job in a single directory. The Perl script parses a LaTeX file recursively, scanning all child files, and collects details of any included and other data files. These component files, are then all put into a single directory (thus “flattening” the document’s directory tree). The author is Cengiz Gunay. This looks like something that one would call as part of the converter chain. and how could I do it? Define a new format, ltxpak, and then declare texdirflatten as a latex-->ltxpak converter. With appropriate arguments, of course. This all gets done under Tools>Preferences>File Handling. There is a complication, namely, that everything is going to happen here in LyX's temporary directory. So what I think will happen is that texdirflatten will create its directory at e.g. /tmp/lyx_tmpdir.X0765/lyx_tmpbuf0/flat/ and now the question is: How do we export this? i.e., copy it to the original file location? Answer: We define a "copier", and tell it to copy this directory to the original document directory. Have a look at the ext_copy.py copier that is used with the LaTeX-->HTML converters. You may be able to use that, or at least to adapt it to your purposes. Copiers, etc, are all discussed in the Customization manual. rh
Re: References style
On 04/03/2010 11:23 AM, Paul A. Rubin wrote: On 4/3/2010 11:15 AM, rgheck wrote: On 04/03/2010 10:54 AM, Paul A. Rubin wrote: Insert \renewcommand{\refname}{\rmfamily\mdseries\begin{center} References\end{center}} in ERT early in the document. Or put it in the preamble, where it won't clutter the text. Doesn't seem to work in the preamble -- I think something (not sure what) loads or is processed after the preamble and asserts the standard heading format at that point. Hmm. Perhaps this is done at the beginning of the document. rh
Re: Footnote location
On 04/02/2010 05:23 AM, Sandro Portmann wrote: Hi, I'm writing a longer work for my history studies, but the footnotes come right after the text. How can I manage, that between the main text and the footnote comes a space from about 1cm? I'm writing my document in article style. Put something like this in your preamble: | \setlength{\skip\footins}{2cm} rh|
Re: Footnote location
On 04/02/2010 05:23 AM, Sandro Portmann wrote: Hi, I'm writing a longer work for my history studies, but the footnotes come right after the text. How can I manage, that between the main text and the footnote comes a space from about 1cm? I'm writing my document in article style. Put something like this in your preamble: | \setlength{\skip\footins}{2cm} rh|
Re: Footnote location
On 04/02/2010 05:23 AM, Sandro Portmann wrote: Hi, I'm writing a longer work for my history studies, but the footnotes come right after the text. How can I manage, that between the main text and the footnote comes a space from about 1cm? I'm writing my document in article style. Put something like this in your preamble: | \setlength{\skip\footins}{2cm} rh|
Re: 64bit Lyx 1.6.4 cannot view postscript
Sorry to top-post, but this is a long message. On 03/30/2010 11:50 PM, george legge wrote: Hello to you all -- This is my first message to the list. I have the 64bit version of Lyx 1.6.4 running on 64bit SUSE 11.1 together with Texlive. Lyx would not convert to pdf until I installed kdegraphics3-pdf and kdegraphics3-postscript. Are you sure that LyX would not convert to PDF? This sounds like... Without those packages, it seems the 64bit installation does not have a version of kpdf (information off the web). Fine, I can now view as pdf and print that. I can also view as dvi; but that's as far as it goes. ...what it wouldn't do is ViewPDF. Would FileExportPDF work? Whether kpdf (or any other pdf viewer) is installed should be irrelevant to LyX's export capabilities, though it is of course relevant to its viewing capabilities. I cannot view as postscript. I get a window with an error message: An error occurred whilst running dvips -t a4 -o 'newfile1.ps' 'newfile1.dvi'. In the terminal window, I get the same error message followed by: This is dvips(k) 5.98 Copyright 2009 Radical Eye Software ( www.radicaleye.com) dvips: ! Couldn't find header file tex.pro Note that an absolute path or a relative path with .. are denied in -R2 mode. Error: Cannot convert file. The first step towards debugging this is to see if dvips will run from outside LyX. So (i) export your LyX file to LaTeX; (ii) run the following, from within the directory where that file now is: latex newfile1.tex dvips -t a4 -o newfile1.ps newfile1.dvi Do you get the same error? rh
Re: 64bit Lyx 1.6.4 cannot view postscript
On 03/31/2010 04:18 PM, george legge wrote: On Thu, Apr 1, 2010 at 1:19 AM, rgheckrgh...@bobjweil.com wrote: The first step towards debugging this is to see if dvips will run from outside LyX. So (i) export your LyX file to LaTeX; (ii) run the following, from within the directory where that file now is: latex newfile1.tex dvips -t a4 -o newfile1.ps newfile1.dvi Do you get the same error? Thank you for that quick response to my problem. Yes, I started a new file (newfile5) in LyX and followed your instructions. I got essentially the same error, running outside LyX: This is dvips(k) 5.98 Copyright 2009 Radical Eye Software ( www.radicaleye.com) dvips: ! Couldn't find header file tex.pro. Note that an absolute path or a relative path with .. are denied in -R2 mode. What is the next step in debugging? I don't know myself. Let me try to bring Uwe in here. He knows more about this kind of thing. Or JMarc? rh
Re: double quotes
On 03/31/2010 06:10 PM, Rodrigo Fresneda wrote: Hi lyx-users, whenever I use double quotes in lyx, I get instead the expression \textquotedbl{} in the plain latex file. Strangely enough, lyx does not translate \textquotedbl{} to if I attempt to import the tex file. This behavior does not affect latex compilation, but it does strain my collaborations with scientific workplace users. Why doesn't lyx simply export to ? You are talking about the character, which is not a double quote at all. Rather, it is the inch character, or something of the sort. Still, you are right that \textquotedbl ought to be imported as , since the impossible ideal is to have roundtrip export and import. I'd suggest you file a bug about this at http://www.lyx.org/trac/wiki/BugTrackerHome Click on Report New Bug. rh
Re: fail running Lyx
On 03/31/2010 06:36 PM, Eugenio Raliuga wrote: I have installed Lyx from synaptic in Ubuntu 9.10 but when I want to run it the next window appears Could not launch application Failed to execute child process /tmp/lyx_tmpdir.TJ9571/lyxsocket (No such file or directory) Anyone could give me a hint or better a way to solve this problem? Hmm. Can you try starting LyX from a terminal, via lyx -dbg all? rh
Re: 64bit Lyx 1.6.4 cannot view postscript
Sorry to top-post, but this is a long message. On 03/30/2010 11:50 PM, george legge wrote: Hello to you all -- This is my first message to the list. I have the 64bit version of Lyx 1.6.4 running on 64bit SUSE 11.1 together with Texlive. Lyx would not convert to pdf until I installed kdegraphics3-pdf and kdegraphics3-postscript. Are you sure that LyX would not convert to PDF? This sounds like... Without those packages, it seems the 64bit installation does not have a version of kpdf (information off the web). Fine, I can now view as pdf and print that. I can also view as dvi; but that's as far as it goes. ...what it wouldn't do is ViewPDF. Would FileExportPDF work? Whether kpdf (or any other pdf viewer) is installed should be irrelevant to LyX's export capabilities, though it is of course relevant to its viewing capabilities. I cannot view as postscript. I get a window with an error message: An error occurred whilst running dvips -t a4 -o 'newfile1.ps' 'newfile1.dvi'. In the terminal window, I get the same error message followed by: This is dvips(k) 5.98 Copyright 2009 Radical Eye Software ( www.radicaleye.com) dvips: ! Couldn't find header file tex.pro Note that an absolute path or a relative path with .. are denied in -R2 mode. Error: Cannot convert file. The first step towards debugging this is to see if dvips will run from outside LyX. So (i) export your LyX file to LaTeX; (ii) run the following, from within the directory where that file now is: latex newfile1.tex dvips -t a4 -o newfile1.ps newfile1.dvi Do you get the same error? rh
Re: 64bit Lyx 1.6.4 cannot view postscript
On 03/31/2010 04:18 PM, george legge wrote: On Thu, Apr 1, 2010 at 1:19 AM, rgheckrgh...@bobjweil.com wrote: The first step towards debugging this is to see if dvips will run from outside LyX. So (i) export your LyX file to LaTeX; (ii) run the following, from within the directory where that file now is: latex newfile1.tex dvips -t a4 -o newfile1.ps newfile1.dvi Do you get the same error? Thank you for that quick response to my problem. Yes, I started a new file (newfile5) in LyX and followed your instructions. I got essentially the same error, running outside LyX: This is dvips(k) 5.98 Copyright 2009 Radical Eye Software ( www.radicaleye.com) dvips: ! Couldn't find header file tex.pro. Note that an absolute path or a relative path with .. are denied in -R2 mode. What is the next step in debugging? I don't know myself. Let me try to bring Uwe in here. He knows more about this kind of thing. Or JMarc? rh
Re: double quotes
On 03/31/2010 06:10 PM, Rodrigo Fresneda wrote: Hi lyx-users, whenever I use double quotes in lyx, I get instead the expression \textquotedbl{} in the plain latex file. Strangely enough, lyx does not translate \textquotedbl{} to if I attempt to import the tex file. This behavior does not affect latex compilation, but it does strain my collaborations with scientific workplace users. Why doesn't lyx simply export to ? You are talking about the character, which is not a double quote at all. Rather, it is the inch character, or something of the sort. Still, you are right that \textquotedbl ought to be imported as , since the impossible ideal is to have roundtrip export and import. I'd suggest you file a bug about this at http://www.lyx.org/trac/wiki/BugTrackerHome Click on Report New Bug. rh
Re: fail running Lyx
On 03/31/2010 06:36 PM, Eugenio Raliuga wrote: I have installed Lyx from synaptic in Ubuntu 9.10 but when I want to run it the next window appears Could not launch application Failed to execute child process /tmp/lyx_tmpdir.TJ9571/lyxsocket (No such file or directory) Anyone could give me a hint or better a way to solve this problem? Hmm. Can you try starting LyX from a terminal, via lyx -dbg all? rh
Re: 64bit Lyx 1.6.4 cannot view postscript
Sorry to top-post, but this is a long message. On 03/30/2010 11:50 PM, george legge wrote: Hello to you all -- This is my first message to the list. I have the 64bit version of Lyx 1.6.4 running on 64bit SUSE 11.1 together with Texlive. Lyx would not convert to pdf until I installed kdegraphics3-pdf and kdegraphics3-postscript. Are you sure that LyX would not convert to PDF? This sounds like... Without those packages, it seems the 64bit installation does not have a version of kpdf (information off the web). Fine, I can now view as pdf and print that. I can also view as dvi; but that's as far as it goes. ...what it wouldn't do is View>PDF. Would File>Export>PDF work? Whether kpdf (or any other pdf viewer) is installed should be irrelevant to LyX's export capabilities, though it is of course relevant to its viewing capabilities. I cannot view as postscript. I get a window with an error message: An error occurred whilst running dvips -t a4 -o 'newfile1.ps' 'newfile1.dvi'. In the terminal window, I get the same error message followed by: This is dvips(k) 5.98 Copyright 2009 Radical Eye Software ( www.radicaleye.com) dvips: ! Couldn't find header file tex.pro Note that an absolute path or a relative path with .. are denied in -R2 mode. Error: Cannot convert file. The first step towards debugging this is to see if dvips will run from outside LyX. So (i) export your LyX file to LaTeX; (ii) run the following, from within the directory where that file now is: latex newfile1.tex dvips -t a4 -o newfile1.ps newfile1.dvi Do you get the same error? rh
Re: 64bit Lyx 1.6.4 cannot view postscript
On 03/31/2010 04:18 PM, george legge wrote: On Thu, Apr 1, 2010 at 1:19 AM, rgheck<rgh...@bobjweil.com> wrote: The first step towards debugging this is to see if dvips will run from outside LyX. So (i) export your LyX file to LaTeX; (ii) run the following, from within the directory where that file now is: latex newfile1.tex dvips -t a4 -o newfile1.ps newfile1.dvi Do you get the same error? Thank you for that quick response to my problem. Yes, I started a new file (newfile5) in LyX and followed your instructions. I got essentially the same error, running outside LyX: This is dvips(k) 5.98 Copyright 2009 Radical Eye Software ( www.radicaleye.com) dvips: ! Couldn't find header file tex.pro. Note that an absolute path or a relative path with .. are denied in -R2 mode. What is the next step in debugging? I don't know myself. Let me try to bring Uwe in here. He knows more about this kind of thing. Or JMarc? rh
Re: double quotes
On 03/31/2010 06:10 PM, Rodrigo Fresneda wrote: Hi lyx-users, whenever I use double quotes " in lyx, I get instead the expression \textquotedbl{} in the plain latex file. Strangely enough, lyx does not translate \textquotedbl{} to " if I attempt to import the tex file. This behavior does not affect latex compilation, but it does strain my collaborations with scientific workplace users. Why doesn't lyx simply export " to "? You are talking about the " character, which is not a double quote at all. Rather, it is the "inch" character, or something of the sort. Still, you are right that \textquotedbl ought to be imported as ", since the impossible ideal is to have roundtrip export and import. I'd suggest you file a bug about this at http://www.lyx.org/trac/wiki/BugTrackerHome Click on "Report New Bug". rh
Re: fail running Lyx
On 03/31/2010 06:36 PM, Eugenio Raliuga wrote: I have installed Lyx from synaptic in Ubuntu 9.10 but when I want to run it the next window appears Could not launch application Failed to execute child process "/tmp/lyx_tmpdir.TJ9571/lyxsocket" (No such file or directory) Anyone could give me a hint or better a way to solve this problem? Hmm. Can you try starting LyX from a terminal, via "lyx -dbg all"? rh
Re: Compiling LyX on Ubuntu/Debian (was Badly needly for lyx 1.6.4 under ubuntu 8.04)
On 03/30/2010 03:50 AM, Wolfgang Engelmann wrote: I followed your instructions and got at point 4 an error, which I posted there. What went wrong? Wolfgang Wei-Dong Lianweidong.l...@gmail.com wrote: Hi everyone, I would like to know if there is a solution to install lyx 1.64 or even higher version under ubuntu 8.04. SNIP ECN Weidong Hello Weidong, Here is a short Howto that I wrote for compiling LyX and using GNU Stow to keep it out of the way of your existing LyX installation. - === Compiling LyX on Ubuntu or Debian === And using GNU Stow Getting the tools = 1. y...@yourmachine:~$ sudo apt-get build-dep lyx 2. y...@yourmachine:~$ sudo apt-get install stow 3. y...@yourmachine:~$ sudo apt-get install automake 4. y...@yourmachine:~$ sudo atp-get install autoconf This should get most or all of what you need. There may be a substantial download if you have no building tools already installed. Getting LyX === You want the source code. Download the source tarball from http://www.lyx.org/Download. The downloaded file will be named lyx-1.6.5.tar.gz. Local directory === 1. y...@yourmachine:~$ mkdir local 2. y...@yourmachine:~$ mv lyx-1.6.5.tar.gz ./local (Note: the tarball may be downloaded to some special directory, usually either Desktop or Downloads. You may need to adjust the above command line accordingly) 3. y...@yourmachine:~$ cd local 4. y...@yourmachine:~$ tar xovzf lyx-1.6.5.tar.gz This will create a new sub-directory under ~/local and will unpack the source files for lyx. 4. y...@yourmachine:~$ cd lyx-1.6.5 Compiling = 1. y...@yourmachine:~$ ./autogen.sh Check the output - if it says something is missing, then use apt-get to install it. 2. y...@yourmachine:~$ ./configure --with-version-suffix=165 We give it a different suffix so that it doesn't conflict with your existing LyX installation. You can use both the new version and the previously installed version. Check the output - if it says something is missing, then install using apt-get. Repeat items 1 and 2. 3. y...@yourmachine:~$ make Depending on your machine, this may take some time. If there is an error, then read the output. You probably need to use apt-get to install some new piece of software. 4. y...@yourmachine:~$ sudo make install prefix=/usr/local/stow/lyx165 wolfgang:/home/wolfgang# make install prefix=/usr/local/stow/lyx165 make: *** Keine Regel, um »install« zu erstellen. Schluss. (no rule to produce 'install'. end) ps: I used su instead of sudo. Unless you are compiling from your home directory, which isn't really a good idea, then you need to get into the directory where the sources live, which in these instructions would be ~/local/lyx165. rh
Re: Include file
On 03/30/2010 11:53 AM, Sajjad wrote: Hello forum, I have written the thesis in a single .lyx file. Now to comply with the university standard i have to include front page, the title page and then the main report that i have written. Any hint how to do that from LyX interface ? What format do you have those pages in? Or is the question how to create them? One option is to create them in OpenOffice or something, as these often are supposed to have a very particular format. Then print them and put them on the front. If you have to adjust page numbers in the LyX file, that is fairly easy to do. rh
Re: Include file
On 03/30/2010 12:58 PM, Sajjad wrote: Hello, It has to be merged as a single pdf file and front front pages are in the Miicrosoft Office Word format. So after merging all the front and title pages to the main report , it must be compiled as a single pdf file. Then this option One option is to create them in OpenOffice or something, as these often are supposed to have a very particular format. Then print them and put them on the front. If you have to adjust page numbers in the LyX file, that is fairly easy to do. will work. Just substitute Word for OpenOffice. rh
Re: Compiling LyX on Ubuntu/Debian (was Badly needly for lyx 1.6.4 under ubuntu 8.04)
On 03/30/2010 03:50 AM, Wolfgang Engelmann wrote: I followed your instructions and got at point 4 an error, which I posted there. What went wrong? Wolfgang Wei-Dong Lianweidong.l...@gmail.com wrote: Hi everyone, I would like to know if there is a solution to install lyx 1.64 or even higher version under ubuntu 8.04. SNIP ECN Weidong Hello Weidong, Here is a short Howto that I wrote for compiling LyX and using GNU Stow to keep it out of the way of your existing LyX installation. - === Compiling LyX on Ubuntu or Debian === And using GNU Stow Getting the tools = 1. y...@yourmachine:~$ sudo apt-get build-dep lyx 2. y...@yourmachine:~$ sudo apt-get install stow 3. y...@yourmachine:~$ sudo apt-get install automake 4. y...@yourmachine:~$ sudo atp-get install autoconf This should get most or all of what you need. There may be a substantial download if you have no building tools already installed. Getting LyX === You want the source code. Download the source tarball from http://www.lyx.org/Download. The downloaded file will be named lyx-1.6.5.tar.gz. Local directory === 1. y...@yourmachine:~$ mkdir local 2. y...@yourmachine:~$ mv lyx-1.6.5.tar.gz ./local (Note: the tarball may be downloaded to some special directory, usually either Desktop or Downloads. You may need to adjust the above command line accordingly) 3. y...@yourmachine:~$ cd local 4. y...@yourmachine:~$ tar xovzf lyx-1.6.5.tar.gz This will create a new sub-directory under ~/local and will unpack the source files for lyx. 4. y...@yourmachine:~$ cd lyx-1.6.5 Compiling = 1. y...@yourmachine:~$ ./autogen.sh Check the output - if it says something is missing, then use apt-get to install it. 2. y...@yourmachine:~$ ./configure --with-version-suffix=165 We give it a different suffix so that it doesn't conflict with your existing LyX installation. You can use both the new version and the previously installed version. Check the output - if it says something is missing, then install using apt-get. Repeat items 1 and 2. 3. y...@yourmachine:~$ make Depending on your machine, this may take some time. If there is an error, then read the output. You probably need to use apt-get to install some new piece of software. 4. y...@yourmachine:~$ sudo make install prefix=/usr/local/stow/lyx165 wolfgang:/home/wolfgang# make install prefix=/usr/local/stow/lyx165 make: *** Keine Regel, um »install« zu erstellen. Schluss. (no rule to produce 'install'. end) ps: I used su instead of sudo. Unless you are compiling from your home directory, which isn't really a good idea, then you need to get into the directory where the sources live, which in these instructions would be ~/local/lyx165. rh
Re: Include file
On 03/30/2010 11:53 AM, Sajjad wrote: Hello forum, I have written the thesis in a single .lyx file. Now to comply with the university standard i have to include front page, the title page and then the main report that i have written. Any hint how to do that from LyX interface ? What format do you have those pages in? Or is the question how to create them? One option is to create them in OpenOffice or something, as these often are supposed to have a very particular format. Then print them and put them on the front. If you have to adjust page numbers in the LyX file, that is fairly easy to do. rh
Re: Include file
On 03/30/2010 12:58 PM, Sajjad wrote: Hello, It has to be merged as a single pdf file and front front pages are in the Miicrosoft Office Word format. So after merging all the front and title pages to the main report , it must be compiled as a single pdf file. Then this option One option is to create them in OpenOffice or something, as these often are supposed to have a very particular format. Then print them and put them on the front. If you have to adjust page numbers in the LyX file, that is fairly easy to do. will work. Just substitute Word for OpenOffice. rh
Re: Compiling LyX on Ubuntu/Debian (was Badly needly for lyx 1.6.4 under ubuntu 8.04)
On 03/30/2010 03:50 AM, Wolfgang Engelmann wrote: I followed your instructions and got at point 4 an error, which I posted there. What went wrong? Wolfgang Wei-Dong Lianwrote: Hi everyone, I would like to know if there is a solution to install lyx 1.64 or even higher version under ubuntu 8.04. ECN Weidong Hello Weidong, Here is a short Howto that I wrote for compiling LyX and using GNU Stow to keep it out of the way of your existing LyX installation. - === Compiling LyX on Ubuntu or Debian === And using GNU Stow Getting the tools = 1. y...@yourmachine:~$ sudo apt-get build-dep lyx 2. y...@yourmachine:~$ sudo apt-get install stow 3. y...@yourmachine:~$ sudo apt-get install automake 4. y...@yourmachine:~$ sudo atp-get install autoconf This should get most or all of what you need. There may be a substantial download if you have no building tools already installed. Getting LyX === You want the "source code". Download the source tarball from http://www.lyx.org/Download. The downloaded file will be named lyx-1.6.5.tar.gz. Local directory === 1. y...@yourmachine:~$ mkdir local 2. y...@yourmachine:~$ mv lyx-1.6.5.tar.gz ./local (Note: the tarball may be downloaded to some special directory, usually either Desktop or Downloads. You may need to adjust the above command line accordingly) 3. y...@yourmachine:~$ cd local 4. y...@yourmachine:~$ tar xovzf lyx-1.6.5.tar.gz This will create a new sub-directory under ~/local and will unpack the source files for lyx. 4. y...@yourmachine:~$ cd lyx-1.6.5 Compiling = 1. y...@yourmachine:~$ ./autogen.sh Check the output - if it says something is missing, then use apt-get to install it. 2. y...@yourmachine:~$ ./configure --with-version-suffix=165 We give it a different suffix so that it doesn't conflict with your existing LyX installation. You can use both the new version and the previously installed version. Check the output - if it says something is missing, then install using apt-get. Repeat items 1 and 2. 3. y...@yourmachine:~$ make Depending on your machine, this may take some time. If there is an error, then read the output. You probably need to use apt-get to install some new piece of software. 4. y...@yourmachine:~$ sudo make install prefix=/usr/local/stow/lyx165 wolfgang:/home/wolfgang# make install prefix=/usr/local/stow/lyx165 make: *** Keine Regel, um »install« zu erstellen. Schluss. (no rule to produce 'install'. end) ps: I used su instead of sudo. Unless you are compiling from your home directory, which isn't really a good idea, then you need to get into the directory where the sources live, which in these instructions would be ~/local/lyx165. rh
Re: Include file
On 03/30/2010 11:53 AM, Sajjad wrote: Hello forum, I have written the thesis in a single .lyx file. Now to comply with the university standard i have to include front page, the title page and then the main report that i have written. Any hint how to do that from LyX interface ? What format do you have those pages in? Or is the question how to create them? One option is to create them in OpenOffice or something, as these often are supposed to have a very particular format. Then print them and put them on the front. If you have to adjust page numbers in the LyX file, that is fairly easy to do. rh
Re: Include file
On 03/30/2010 12:58 PM, Sajjad wrote: Hello, It has to be merged as a single pdf file and front front pages are in the Miicrosoft Office Word format. So after merging all the front and title pages to the main report , it must be compiled as a single pdf file. Then this option One option is to create them in OpenOffice or something, as these often are supposed to have a very particular format. Then print them and put them on the front. If you have to adjust page numbers in the LyX file, that is fairly easy to do. will work. Just substitute Word for OpenOffice. rh
Re: Letters floating- Low quality
On 03/29/2010 08:08 AM, YURENA MENDOZA wrote: Hello, when my work is transfered to pdf the quality of the letters in the pdf (version 8) is very low specially letters of the floating. What can I do? In addition I can only choose between three kind of letter: time roman, sans-serif and typewriter, which package can I install, which is its actual name? Because I have read that the lmodern contains several types of letters but I dont know which lmodern package I should download. You are right that this is a font issue. Look under DocumentSettingsFonts, and see if you do not have more options under Roman. rh
Re: Importing doc documents
On 03/28/2010 10:37 PM, Paul Rubin wrote: Tim Wescottt...@... writes: rgheck wrote: OpenOffice will also save in LaTeX format. I have used it often myself, but with old WordPerfect files, and you are right of course that the output file could use some cleaning up. Much of this can be done with a script, such as the exceedingly trivial sed script attached. My version of OpenOffice -- 3.1, on Ubuntu 9.10, did not seem to have this capability, either as a save as or export to. Haven't used it myself, but you might try http://writer2latex.sourceforge.net/. Exactly. On Fedora, this is in the openoffice.org-writer2latex package. Once it is installed, you can Export to LaTeX. But what I described has already been done: http://www.artofsolving.com/opensource/pyodconverter Unfortunately, I can't yet get it to work rh
Convert Almost Anything To LaTeX
So I couldn't get PyODConverter to work---I kept getting an error about not connecting to my running OpenOffice instance---but then I found UnoConv: http://dag.wieers.com/home-made/unoconv/ I can't get the LaTeX export option to work there, but one could use this to convert from DOC (or anything else OOo can import) to ODT and then use writer2latex to convert ODT to LaTeX. rh
Re: Convert Almost Anything To LaTeX
On 03/29/2010 12:27 PM, Liviu Andronic wrote: On 3/29/10, rgheckrgh...@bobjweil.com wrote: connecting to my running OpenOffice instance---but then I found UnoConv: http://dag.wieers.com/home-made/unoconv/ There is a second possibility to convert anything that OpenOffice can chew: jodconverter. From the description: JODConverter, the Java OpenDocument Converter, leverages OpenOffice.org to provide import/export filters for various office formats including OpenDocument and Microsoft Office. This package provides a command-line frontend. Would it make sense to provide menu entries in LyX for these two converters? If we can get them working reliably. rh
Re: Convert Almost Anything To LaTeX
On 03/29/2010 01:19 PM, Steve Litt wrote: On Monday 29 March 2010 12:27:54 Liviu Andronic wrote: On 3/29/10, rgheckrgh...@bobjweil.com wrote: connecting to my running OpenOffice instance---but then I found UnoConv: http://dag.wieers.com/home-made/unoconv/ There is a second possibility to convert anything that OpenOffice can chew: jodconverter. From the description: JODConverter, the Java OpenDocument Converter, leverages OpenOffice.org to provide import/export filters for various office formats including OpenDocument and Microsoft Office. This package provides a command-line frontend. Would it make sense to provide menu entries in LyX for these two converters? Liviu I'd tend to answer no. As years go by, tons of converters are going to come and go. Tons of formats are going to come and go. If interfaces to all these converters and formats are put in LyX, LyX will become big and bloated, and that will give bugs more places to hide. My suggestion would be to put converter interfaces in a separate executable that outputs either LyX or LaTeX, and maybe have that callable from LyX. There's actually not much cost with adding such interfaces, except that, in 1.6.x, the Import and Export menu can become kind of crowded, as more and more options become available. But making the options available involve adds almost nothing to LyX, except the memory to store a few strings. rh
Re: Convert Almost Anything To LaTeX
On 03/29/2010 01:23 PM, Steve Litt wrote: On Monday 29 March 2010 11:34:49 rgheck wrote: So I couldn't get PyODConverter to work---I kept getting an error about not connecting to my running OpenOffice instance---but then I found UnoConv: http://dag.wieers.com/home-made/unoconv/ I can't get the LaTeX export option to work there, but one could use this to convert from DOC (or anything else OOo can import) to ODT and then use writer2latex to convert ODT to LaTeX. rh Hi Richard, In the conversion to OO, does unoconv preserve styles, or does it just convert each application of each style to equivalent fingerpainting? In the conversion from OO to LaTeX, have you found a way to have the conversion preserve styles, or does it just convert each application of each style to equivalent fingerpainting? If a way is found to preserve style application all the way through the conversion, that's a huge win, or as VP Biden would say, a big bleepin deal! I know that writer2latex (which exists standalone and as as an OOo extension) will preserve at least some styling, such as section headings. What else it will do, I don't know. But it is under active development and so requests could be made. But I would guess there are some limits here. Getting something to convert OOo styles to LaTeX styles (commands or environments) would be non-trivial. rh
Re: writer2latex Packages under Ubuntu
On 03/29/2010 01:38 PM, Tim Wescott wrote: Ubuntu lists not one, but _two_ writer2latex packages: writer2latex, and openoffice.org-writer2latex. Anyone know whazzup? Is one free-standing, the other a plugin? Yes, exactly. Do I need just one, both, the first if I install the second, but not the other way around? If you want just to export from OOo, install the plugin. If you want to do it from the command line, install that one. rh
Re: Badly needly for lyx 1.6.4 under ubuntu 8.04
On 03/29/2010 02:17 PM, Wei-Dong Lian wrote: Hi everyone, I would like to know if there is a solution to install lyx 1.64 or even higher version under ubuntu 8.04. By default, lyx 1.5.3 is installed in ubuntu 8.04, to be honest, I began with lyx1.6.4, so now all of my old lyx documents could not be opened. In addition, in the new version of lyx after 1.64 they really added more useful features, easy to use. So if any suggestion will be appreciated. I assume you could compile 1.6.4 yourself? This is not that hard to do, as long as you can install the various dependencies. rh
Re: Badly needly for lyx 1.6.4 under ubuntu 8.04
On 03/29/2010 06:22 PM, Wei-Dong Lian wrote: On Mon, Mar 29, 2010 at 8:27 PM, rgheckrgh...@bobjweil.com wrote: On 03/29/2010 02:17 PM, Wei-Dong Lian wrote: Hi everyone, I would like to know if there is a solution to install lyx 1.64 or even higher version under ubuntu 8.04. By default, lyx 1.5.3 is installed in ubuntu 8.04, to be honest, I began with lyx1.6.4, so now all of my old lyx documents could not be opened. In addition, in the new version of lyx after 1.64 they really added more useful features, easy to use. So if any suggestion will be appreciated. I assume you could compile 1.6.4 yourself? This is not that hard to do, as long as you can install the various dependencies. rh Thanks for your suggestions, I am afraid it is not that easy to install these various dependencies. It is more complex, I need to install many packages and remove many packages to satisfy the decencies between packages. I added one source list of lyx 1.64 of ubuntu9.10 to my source list, and I tried the command 'sudo aptitude install lyx', it got several solutions to install lyx 1.64, but it seemed that I will remove nearly all of packages in my ubuntu 8.04 and install new packages. so I did not dare to try that, it may harm my current system. If someone had experienced a successful case like this, please give me some suggestions, thanks in advance. And also any other solution will be welcomed. I don't think this is what people were suggesting at all. Trying to install packages from the 9.10 directories to an 8.04 install is definitely not going to work, for exactly the reason you see. The dependencies you need to compile LyX should not be that bad, just a bunch of -devel or -dev packages, which are often not very large. Did you try that suggestion? If so, what happened? rh
Re: Badly needly for lyx 1.6.4 under ubuntu 8.04
On 03/29/2010 06:22 PM, Wei-Dong Lian wrote: On Mon, Mar 29, 2010 at 8:27 PM, rgheckrgh...@bobjweil.com wrote: On 03/29/2010 02:17 PM, Wei-Dong Lian wrote: Hi everyone, I would like to know if there is a solution to install lyx 1.64 or even higher version under ubuntu 8.04. By default, lyx 1.5.3 is installed in ubuntu 8.04, to be honest, I began with lyx1.6.4, so now all of my old lyx documents could not be opened. In addition, in the new version of lyx after 1.64 they really added more useful features, easy to use. So if any suggestion will be appreciated. I assume you could compile 1.6.4 yourself? This is not that hard to do, as long as you can install the various dependencies. rh Thanks for your suggestions, I am afraid it is not that easy to install these various dependencies. It is more complex, I need to install many packages and remove many packages to satisfy the decencies between packages. I added one source list of lyx 1.64 of ubuntu9.10 to my source list, and I tried the command 'sudo aptitude install lyx', it got several solutions to install lyx 1.64, but it seemed that I will remove nearly all of packages in my ubuntu 8.04 and install new packages. so I did not dare to try that, it may harm my current system. If someone had experienced a successful case like this, please give me some suggestions, thanks in advance. And also any other solution will be welcomed. I don't think this is what people were suggesting at all. Trying to install packages from the 9.10 directories to an 8.04 install is definitely not going to work, for exactly the reason you see. The dependencies you need to compile LyX should not be that bad, just a bunch of -devel or -dev packages, which are often not very large. Did you try that suggestion? If so, what happened? rh
Re: Letters floating- Low quality
On 03/29/2010 08:08 AM, YURENA MENDOZA wrote: Hello, when my work is transfered to pdf the quality of the letters in the pdf (version 8) is very low specially letters of the floating. What can I do? In addition I can only choose between three kind of letter: time roman, sans-serif and typewriter, which package can I install, which is its actual name? Because I have read that the lmodern contains several types of letters but I dont know which lmodern package I should download. You are right that this is a font issue. Look under DocumentSettingsFonts, and see if you do not have more options under Roman. rh
Re: Importing doc documents
On 03/28/2010 10:37 PM, Paul Rubin wrote: Tim Wescottt...@... writes: rgheck wrote: OpenOffice will also save in LaTeX format. I have used it often myself, but with old WordPerfect files, and you are right of course that the output file could use some cleaning up. Much of this can be done with a script, such as the exceedingly trivial sed script attached. My version of OpenOffice -- 3.1, on Ubuntu 9.10, did not seem to have this capability, either as a save as or export to. Haven't used it myself, but you might try http://writer2latex.sourceforge.net/. Exactly. On Fedora, this is in the openoffice.org-writer2latex package. Once it is installed, you can Export to LaTeX. But what I described has already been done: http://www.artofsolving.com/opensource/pyodconverter Unfortunately, I can't yet get it to work rh
Convert Almost Anything To LaTeX
So I couldn't get PyODConverter to work---I kept getting an error about not connecting to my running OpenOffice instance---but then I found UnoConv: http://dag.wieers.com/home-made/unoconv/ I can't get the LaTeX export option to work there, but one could use this to convert from DOC (or anything else OOo can import) to ODT and then use writer2latex to convert ODT to LaTeX. rh
Re: Convert Almost Anything To LaTeX
On 03/29/2010 12:27 PM, Liviu Andronic wrote: On 3/29/10, rgheckrgh...@bobjweil.com wrote: connecting to my running OpenOffice instance---but then I found UnoConv: http://dag.wieers.com/home-made/unoconv/ There is a second possibility to convert anything that OpenOffice can chew: jodconverter. From the description: JODConverter, the Java OpenDocument Converter, leverages OpenOffice.org to provide import/export filters for various office formats including OpenDocument and Microsoft Office. This package provides a command-line frontend. Would it make sense to provide menu entries in LyX for these two converters? If we can get them working reliably. rh
Re: Convert Almost Anything To LaTeX
On 03/29/2010 01:19 PM, Steve Litt wrote: On Monday 29 March 2010 12:27:54 Liviu Andronic wrote: On 3/29/10, rgheckrgh...@bobjweil.com wrote: connecting to my running OpenOffice instance---but then I found UnoConv: http://dag.wieers.com/home-made/unoconv/ There is a second possibility to convert anything that OpenOffice can chew: jodconverter. From the description: JODConverter, the Java OpenDocument Converter, leverages OpenOffice.org to provide import/export filters for various office formats including OpenDocument and Microsoft Office. This package provides a command-line frontend. Would it make sense to provide menu entries in LyX for these two converters? Liviu I'd tend to answer no. As years go by, tons of converters are going to come and go. Tons of formats are going to come and go. If interfaces to all these converters and formats are put in LyX, LyX will become big and bloated, and that will give bugs more places to hide. My suggestion would be to put converter interfaces in a separate executable that outputs either LyX or LaTeX, and maybe have that callable from LyX. There's actually not much cost with adding such interfaces, except that, in 1.6.x, the Import and Export menu can become kind of crowded, as more and more options become available. But making the options available involve adds almost nothing to LyX, except the memory to store a few strings. rh
Re: Convert Almost Anything To LaTeX
On 03/29/2010 01:23 PM, Steve Litt wrote: On Monday 29 March 2010 11:34:49 rgheck wrote: So I couldn't get PyODConverter to work---I kept getting an error about not connecting to my running OpenOffice instance---but then I found UnoConv: http://dag.wieers.com/home-made/unoconv/ I can't get the LaTeX export option to work there, but one could use this to convert from DOC (or anything else OOo can import) to ODT and then use writer2latex to convert ODT to LaTeX. rh Hi Richard, In the conversion to OO, does unoconv preserve styles, or does it just convert each application of each style to equivalent fingerpainting? In the conversion from OO to LaTeX, have you found a way to have the conversion preserve styles, or does it just convert each application of each style to equivalent fingerpainting? If a way is found to preserve style application all the way through the conversion, that's a huge win, or as VP Biden would say, a big bleepin deal! I know that writer2latex (which exists standalone and as as an OOo extension) will preserve at least some styling, such as section headings. What else it will do, I don't know. But it is under active development and so requests could be made. But I would guess there are some limits here. Getting something to convert OOo styles to LaTeX styles (commands or environments) would be non-trivial. rh
Re: writer2latex Packages under Ubuntu
On 03/29/2010 01:38 PM, Tim Wescott wrote: Ubuntu lists not one, but _two_ writer2latex packages: writer2latex, and openoffice.org-writer2latex. Anyone know whazzup? Is one free-standing, the other a plugin? Yes, exactly. Do I need just one, both, the first if I install the second, but not the other way around? If you want just to export from OOo, install the plugin. If you want to do it from the command line, install that one. rh
Re: Badly needly for lyx 1.6.4 under ubuntu 8.04
On 03/29/2010 02:17 PM, Wei-Dong Lian wrote: Hi everyone, I would like to know if there is a solution to install lyx 1.64 or even higher version under ubuntu 8.04. By default, lyx 1.5.3 is installed in ubuntu 8.04, to be honest, I began with lyx1.6.4, so now all of my old lyx documents could not be opened. In addition, in the new version of lyx after 1.64 they really added more useful features, easy to use. So if any suggestion will be appreciated. I assume you could compile 1.6.4 yourself? This is not that hard to do, as long as you can install the various dependencies. rh
Re: Badly needly for lyx 1.6.4 under ubuntu 8.04
On 03/29/2010 06:22 PM, Wei-Dong Lian wrote: On Mon, Mar 29, 2010 at 8:27 PM, rgheckrgh...@bobjweil.com wrote: On 03/29/2010 02:17 PM, Wei-Dong Lian wrote: Hi everyone, I would like to know if there is a solution to install lyx 1.64 or even higher version under ubuntu 8.04. By default, lyx 1.5.3 is installed in ubuntu 8.04, to be honest, I began with lyx1.6.4, so now all of my old lyx documents could not be opened. In addition, in the new version of lyx after 1.64 they really added more useful features, easy to use. So if any suggestion will be appreciated. I assume you could compile 1.6.4 yourself? This is not that hard to do, as long as you can install the various dependencies. rh Thanks for your suggestions, I am afraid it is not that easy to install these various dependencies. It is more complex, I need to install many packages and remove many packages to satisfy the decencies between packages. I added one source list of lyx 1.64 of ubuntu9.10 to my source list, and I tried the command 'sudo aptitude install lyx', it got several solutions to install lyx 1.64, but it seemed that I will remove nearly all of packages in my ubuntu 8.04 and install new packages. so I did not dare to try that, it may harm my current system. If someone had experienced a successful case like this, please give me some suggestions, thanks in advance. And also any other solution will be welcomed. I don't think this is what people were suggesting at all. Trying to install packages from the 9.10 directories to an 8.04 install is definitely not going to work, for exactly the reason you see. The dependencies you need to compile LyX should not be that bad, just a bunch of -devel or -dev packages, which are often not very large. Did you try that suggestion? If so, what happened? rh
Re: Badly needly for lyx 1.6.4 under ubuntu 8.04
On 03/29/2010 06:22 PM, Wei-Dong Lian wrote: On Mon, Mar 29, 2010 at 8:27 PM, rgheckrgh...@bobjweil.com wrote: On 03/29/2010 02:17 PM, Wei-Dong Lian wrote: Hi everyone, I would like to know if there is a solution to install lyx 1.64 or even higher version under ubuntu 8.04. By default, lyx 1.5.3 is installed in ubuntu 8.04, to be honest, I began with lyx1.6.4, so now all of my old lyx documents could not be opened. In addition, in the new version of lyx after 1.64 they really added more useful features, easy to use. So if any suggestion will be appreciated. I assume you could compile 1.6.4 yourself? This is not that hard to do, as long as you can install the various dependencies. rh Thanks for your suggestions, I am afraid it is not that easy to install these various dependencies. It is more complex, I need to install many packages and remove many packages to satisfy the decencies between packages. I added one source list of lyx 1.64 of ubuntu9.10 to my source list, and I tried the command 'sudo aptitude install lyx', it got several solutions to install lyx 1.64, but it seemed that I will remove nearly all of packages in my ubuntu 8.04 and install new packages. so I did not dare to try that, it may harm my current system. If someone had experienced a successful case like this, please give me some suggestions, thanks in advance. And also any other solution will be welcomed. I don't think this is what people were suggesting at all. Trying to install packages from the 9.10 directories to an 8.04 install is definitely not going to work, for exactly the reason you see. The dependencies you need to compile LyX should not be that bad, just a bunch of -devel or -dev packages, which are often not very large. Did you try that suggestion? If so, what happened? rh
Re: Letters floating- Low quality
On 03/29/2010 08:08 AM, YURENA MENDOZA wrote: Hello, when my work is transfered to pdf the quality of the letters in the pdf (version 8) is very low specially letters of the floating. What can I do? In addition I can only choose between three kind of letter: time roman, sans-serif and typewriter, which package can I install, which is its actual name? Because I have read that the "lmodern" contains several types of letters but I dont know which lmodern package I should download. You are right that this is a font issue. Look under Document>Settings>Fonts, and see if you do not have more options under Roman. rh
Re: Importing doc documents
On 03/28/2010 10:37 PM, Paul Rubin wrote: Tim Wescott<t...@...> writes: rgheck wrote: OpenOffice will also save in LaTeX format. I have used it often myself, but with old WordPerfect files, and you are right of course that the output file could use some cleaning up. Much of this can be done with a script, such as the exceedingly trivial sed script attached. My version of OpenOffice -- 3.1, on Ubuntu 9.10, did not seem to have this capability, either as a "save as" or "export to". Haven't used it myself, but you might try http://writer2latex.sourceforge.net/. Exactly. On Fedora, this is in the openoffice.org-writer2latex package. Once it is installed, you can Export to LaTeX. But what I described has already been done: http://www.artofsolving.com/opensource/pyodconverter Unfortunately, I can't yet get it to work rh
Convert Almost Anything To LaTeX
So I couldn't get PyODConverter to work---I kept getting an error about not connecting to my running OpenOffice instance---but then I found UnoConv: http://dag.wieers.com/home-made/unoconv/ I can't get the LaTeX export option to work there, but one could use this to convert from DOC (or anything else OOo can import) to ODT and then use writer2latex to convert ODT to LaTeX. rh
Re: Convert Almost Anything To LaTeX
On 03/29/2010 12:27 PM, Liviu Andronic wrote: On 3/29/10, rgheck<rgh...@bobjweil.com> wrote: connecting to my running OpenOffice instance---but then I found UnoConv: http://dag.wieers.com/home-made/unoconv/ There is a second possibility to convert anything that OpenOffice can chew: jodconverter. From the description: "JODConverter, the Java OpenDocument Converter, leverages OpenOffice.org to provide import/export filters for various office formats including OpenDocument and Microsoft Office. This package provides a command-line frontend." Would it make sense to provide menu entries in LyX for these two converters? If we can get them working reliably. rh
Re: Convert Almost Anything To LaTeX
On 03/29/2010 01:19 PM, Steve Litt wrote: On Monday 29 March 2010 12:27:54 Liviu Andronic wrote: On 3/29/10, rgheck<rgh...@bobjweil.com> wrote: connecting to my running OpenOffice instance---but then I found UnoConv: http://dag.wieers.com/home-made/unoconv/ There is a second possibility to convert anything that OpenOffice can chew: jodconverter. From the description: "JODConverter, the Java OpenDocument Converter, leverages OpenOffice.org to provide import/export filters for various office formats including OpenDocument and Microsoft Office. This package provides a command-line frontend." Would it make sense to provide menu entries in LyX for these two converters? Liviu I'd tend to answer "no". As years go by, tons of converters are going to come and go. Tons of formats are going to come and go. If interfaces to all these converters and formats are put in LyX, LyX will become big and bloated, and that will give bugs more places to hide. My suggestion would be to put converter interfaces in a separate executable that outputs either LyX or LaTeX, and maybe have that callable from LyX. There's actually not much cost with adding such interfaces, except that, in 1.6.x, the Import and Export menu can become kind of crowded, as more and more options become available. But making the options available involve adds almost nothing to LyX, except the memory to store a few strings. rh
Re: Convert Almost Anything To LaTeX
On 03/29/2010 01:23 PM, Steve Litt wrote: On Monday 29 March 2010 11:34:49 rgheck wrote: So I couldn't get PyODConverter to work---I kept getting an error about not connecting to my running OpenOffice instance---but then I found UnoConv: http://dag.wieers.com/home-made/unoconv/ I can't get the LaTeX export option to work there, but one could use this to convert from DOC (or anything else OOo can import) to ODT and then use writer2latex to convert ODT to LaTeX. rh Hi Richard, In the conversion to OO, does unoconv preserve styles, or does it just convert each application of each style to equivalent fingerpainting? In the conversion from OO to LaTeX, have you found a way to have the conversion preserve styles, or does it just convert each application of each style to equivalent fingerpainting? If a way is found to preserve style application all the way through the conversion, that's a huge win, or as VP Biden would say, "a big bleepin deal!" I know that writer2latex (which exists standalone and as as an OOo extension) will preserve at least some styling, such as section headings. What else it will do, I don't know. But it is under active development and so requests could be made. But I would guess there are some limits here. Getting something to convert OOo styles to LaTeX styles (commands or environments) would be non-trivial. rh
Re: writer2latex Packages under Ubuntu
On 03/29/2010 01:38 PM, Tim Wescott wrote: Ubuntu lists not one, but _two_ writer2latex packages: writer2latex, and openoffice.org-writer2latex. Anyone know whazzup? Is one free-standing, the other a plugin? Yes, exactly. Do I need just one, both, the first if I install the second, but not the other way around? If you want just to export from OOo, install the plugin. If you want to do it from the command line, install that one. rh
Re: Badly needly for lyx 1.6.4 under ubuntu 8.04
On 03/29/2010 02:17 PM, Wei-Dong Lian wrote: Hi everyone, I would like to know if there is a solution to install lyx 1.64 or even higher version under ubuntu 8.04. By default, lyx 1.5.3 is installed in ubuntu 8.04, to be honest, I began with lyx1.6.4, so now all of my old lyx documents could not be opened. In addition, in the new version of lyx after 1.64 they really added more useful features, easy to use. So if any suggestion will be appreciated. I assume you could compile 1.6.4 yourself? This is not that hard to do, as long as you can install the various dependencies. rh
Re: Badly needly for lyx 1.6.4 under ubuntu 8.04
On 03/29/2010 06:22 PM, Wei-Dong Lian wrote: On Mon, Mar 29, 2010 at 8:27 PM, rgheck<rgh...@bobjweil.com> wrote: On 03/29/2010 02:17 PM, Wei-Dong Lian wrote: Hi everyone, I would like to know if there is a solution to install lyx 1.64 or even higher version under ubuntu 8.04. By default, lyx 1.5.3 is installed in ubuntu 8.04, to be honest, I began with lyx1.6.4, so now all of my old lyx documents could not be opened. In addition, in the new version of lyx after 1.64 they really added more useful features, easy to use. So if any suggestion will be appreciated. I assume you could compile 1.6.4 yourself? This is not that hard to do, as long as you can install the various dependencies. rh Thanks for your suggestions, I am afraid it is not that easy to install these various dependencies. It is more complex, I need to install many packages and remove many packages to satisfy the decencies between packages. I added one source list of lyx 1.64 of ubuntu9.10 to my source list, and I tried the command 'sudo aptitude install lyx', it got several solutions to install lyx 1.64, but it seemed that I will remove nearly all of packages in my ubuntu 8.04 and install new packages. so I did not dare to try that, it may harm my current system. If someone had experienced a successful case like this, please give me some suggestions, thanks in advance. And also any other solution will be welcomed. I don't think this is what people were suggesting at all. Trying to install packages from the 9.10 directories to an 8.04 install is definitely not going to work, for exactly the reason you see. The dependencies you need to compile LyX should not be that bad, just a bunch of -devel or -dev packages, which are often not very large. Did you try that suggestion? If so, what happened? rh
Re: Badly needly for lyx 1.6.4 under ubuntu 8.04
On 03/29/2010 06:22 PM, Wei-Dong Lian wrote: On Mon, Mar 29, 2010 at 8:27 PM, rgheck<rgh...@bobjweil.com> wrote: On 03/29/2010 02:17 PM, Wei-Dong Lian wrote: Hi everyone, I would like to know if there is a solution to install lyx 1.64 or even higher version under ubuntu 8.04. By default, lyx 1.5.3 is installed in ubuntu 8.04, to be honest, I began with lyx1.6.4, so now all of my old lyx documents could not be opened. In addition, in the new version of lyx after 1.64 they really added more useful features, easy to use. So if any suggestion will be appreciated. I assume you could compile 1.6.4 yourself? This is not that hard to do, as long as you can install the various dependencies. rh Thanks for your suggestions, I am afraid it is not that easy to install these various dependencies. It is more complex, I need to install many packages and remove many packages to satisfy the decencies between packages. I added one source list of lyx 1.64 of ubuntu9.10 to my source list, and I tried the command 'sudo aptitude install lyx', it got several solutions to install lyx 1.64, but it seemed that I will remove nearly all of packages in my ubuntu 8.04 and install new packages. so I did not dare to try that, it may harm my current system. If someone had experienced a successful case like this, please give me some suggestions, thanks in advance. And also any other solution will be welcomed. I don't think this is what people were suggesting at all. Trying to install packages from the 9.10 directories to an 8.04 install is definitely not going to work, for exactly the reason you see. The dependencies you need to compile LyX should not be that bad, just a bunch of -devel or -dev packages, which are often not very large. Did you try that suggestion? If so, what happened? rh
Re: Importing doc documents
On 03/27/2010 02:41 PM, Claudio Beccari wrote: Dear all, those using LyX or direct LaTeX (pdflatex) often need to convert sources in MS Word .doc format into .lix format. On Linux platforms there are at least AbiWord and Kword that can open doc files and save them in various other formats, .tex included. Unfortunately the LaTeX file thus obtained is pittyful. OpenOffice will also save in LaTeX format. I have used it often myself, but with old WordPerfect files, and you are right of course that the output file could use some cleaning up. Much of this can be done with a script, such as the exceedingly trivial sed script attached. From the wiki page of LyX it is possible to download of a Word2LyXMacro that works well for on Windows platformas, but I did not succeed to make it work on a Mac with MSOffice2004. On Windows the macro performs very well and the LyX code produced allows LyX to view the file without problems and possibly to save it in .lyx format, of course but also in a pretty good LaTeX format, which in general requires just a few minor adjustments, for language, input encoding, output font encoding, font usage (Latin Modern would be a better default then EC if the pdflatex option is selected), and few other small things. Somewhere on the package description for the Debian/Ubuntu package the wv software is suggested; apparently this software has so many dependencies that even on a Ubuntu platform it's difficult to compile and install it, even if the wv libraries are already installed. I would kindly suggest to examine the possibility of integrating into LyX the necessary code to open, read, edit a .doc file on any LyX implementation (Linux, Mac, Windows), so as to be able to save it in .lyx format. Any user can reopen the .lyx file and do with it anything LyX is capable of. I have thought for a while about writing some sort of doc2tex script using OpenOffice. You could use PyUno to run OpenOffice headless, import the doc file and then export it as LaTeX. Then one could try to do some cleanup and, optionally, pass the resulting file to tex2lyx. But I haven't found the time or willpower to mess with PyUno. Still, I don't think it would be very hard for someone who knew a bit of Java. rh s/^\\backslash.*$//g s/^\\latex.*$//g s/^\\newline\s+$//g s/\\protected_separator\s+$//g s/\\align.*$//g s/\\series.*$//g #/^$/d
Re: Importing doc documents
On 03/27/2010 02:41 PM, Claudio Beccari wrote: Dear all, those using LyX or direct LaTeX (pdflatex) often need to convert sources in MS Word .doc format into .lix format. On Linux platforms there are at least AbiWord and Kword that can open doc files and save them in various other formats, .tex included. Unfortunately the LaTeX file thus obtained is pittyful. OpenOffice will also save in LaTeX format. I have used it often myself, but with old WordPerfect files, and you are right of course that the output file could use some cleaning up. Much of this can be done with a script, such as the exceedingly trivial sed script attached. From the wiki page of LyX it is possible to download of a Word2LyXMacro that works well for on Windows platformas, but I did not succeed to make it work on a Mac with MSOffice2004. On Windows the macro performs very well and the LyX code produced allows LyX to view the file without problems and possibly to save it in .lyx format, of course but also in a pretty good LaTeX format, which in general requires just a few minor adjustments, for language, input encoding, output font encoding, font usage (Latin Modern would be a better default then EC if the pdflatex option is selected), and few other small things. Somewhere on the package description for the Debian/Ubuntu package the wv software is suggested; apparently this software has so many dependencies that even on a Ubuntu platform it's difficult to compile and install it, even if the wv libraries are already installed. I would kindly suggest to examine the possibility of integrating into LyX the necessary code to open, read, edit a .doc file on any LyX implementation (Linux, Mac, Windows), so as to be able to save it in .lyx format. Any user can reopen the .lyx file and do with it anything LyX is capable of. I have thought for a while about writing some sort of doc2tex script using OpenOffice. You could use PyUno to run OpenOffice headless, import the doc file and then export it as LaTeX. Then one could try to do some cleanup and, optionally, pass the resulting file to tex2lyx. But I haven't found the time or willpower to mess with PyUno. Still, I don't think it would be very hard for someone who knew a bit of Java. rh s/^\\backslash.*$//g s/^\\latex.*$//g s/^\\newline\s+$//g s/\\protected_separator\s+$//g s/\\align.*$//g s/\\series.*$//g #/^$/d
Re: Importing doc documents
On 03/27/2010 02:41 PM, Claudio Beccari wrote: Dear all, those using LyX or direct LaTeX (pdflatex) often need to convert sources in MS Word .doc format into .lix format. On Linux platforms there are at least AbiWord and Kword that can open doc files and save them in various other formats, .tex included. Unfortunately the LaTeX file thus obtained is pittyful. OpenOffice will also save in LaTeX format. I have used it often myself, but with old WordPerfect files, and you are right of course that the output file could use some cleaning up. Much of this can be done with a script, such as the exceedingly trivial sed script attached. >From the wiki page of LyX it is possible to download of a Word2LyXMacro that works well for on Windows platformas, but I did not succeed to make it work on a Mac with MSOffice2004. On Windows the macro performs very well and the LyX code produced allows LyX to view the file without problems and possibly to save it in .lyx format, of course but also in a pretty good LaTeX format, which in general requires just a few minor adjustments, for language, input encoding, output font encoding, font usage (Latin Modern would be a better default then EC if the pdflatex option is selected), and few other small things. Somewhere on the package description for the Debian/Ubuntu package the wv software is suggested; apparently this software has so many dependencies that even on a Ubuntu platform it's difficult to compile and install it, even if the wv libraries are already installed. I would kindly suggest to examine the possibility of integrating into LyX the necessary code to open, read, edit a .doc file on any LyX implementation (Linux, Mac, Windows), so as to be able to save it in .lyx format. Any user can reopen the .lyx file and do with it anything LyX is capable of. I have thought for a while about writing some sort of doc2tex script using OpenOffice. You could use PyUno to run OpenOffice headless, import the doc file and then export it as LaTeX. Then one could try to do some cleanup and, optionally, pass the resulting file to tex2lyx. But I haven't found the time or willpower to mess with PyUno. Still, I don't think it would be very hard for someone who knew a bit of Java. rh s/^\\backslash.*$//g s/^\\latex.*$//g s/^\\newline\s+$//g s/\\protected_separator\s+$//g s/\\align.*$//g s/\\series.*$//g #/^$/d
Re: things that I miss in lyx
On 03/25/2010 06:14 AM, Guenter Milde wrote: On 2010-03-23, Wolfgang Engelmann wrote: Considering the amount of time I had to spend in documents which did not run through LyX smoothly it had to do with references containing some characters which bothered the program. I realize that this is not Lyx's fault, but it would be nice to have a feature (or an external prg) checking for those characters. A generic error reporting for all programs called by LyX would be a great help indeed. For the Unicode in bibtex database problem, the solution might be to use a unicode aware processor, e.g. * CrossTeX_, a backwards-compatible, improved bibtex re-implementation in Python (including HTML export). (development stalled since 2 years) * Pybtex_,a drop-in replacement for BibTeX written in Python. * BibTeX styles (experimental) pythonic style API. * Database in BibTeX, BibTeXML and YAML formats. * full Unicode support. * Write to TeX, HTML and plain text. .. _CrossTeX: http://www.cs.cornell.edu/people/egs/crosstex/ .. _Pybtex: http://pybtex.sourceforge.net/ You can also use biber with biblatex: http://biblatex-biber.sourceforge.net/. rh
Re: Fwd: Re: things that I miss in lyx
On 03/25/2010 06:20 AM, Guenter Milde wrote: On 2010-03-23, Trevor Jenkins wrote: On Tue, Mar 23, 2010 at 5:08 AM, Steve Littsl...@troubleshooters.com wrote: On Monday 22 March 2010 17:43:10 Julio Rojas wrote: I'm thinking the best way to address the difficulty of new environments and character styles might be to start a public collection of them. ... Don't we already have that with the CTAN archive? Why create a separate LyX one when the LaTeX part of CTAN already exists? Because CTAN contains the *LaTeX* packages/classes while for using them in LyX, we need *in addition to them* also LyX modules/layouts. This need for definitions on both, LyX and LaTeX levels is a main reason why creating/editing LyX layouts is such a complex task. (And also the base for much frustation for people with either a just a LyX layout or just a LaTeX class or package.) That said, beamer includes a LyX layout, and I would expect that many other classes would be happy to include layouts, too, if someone provided one. Alternatively, or additionally, we could ask the CTAN folks to create a place for LyX layouts, rather than hosting them on our own server. rh
Re: Interline Space
On 03/25/2010 07:28 AM, YURENA MENDOZA wrote: Hi, I have a problem with Lyx and the spaces between paragraphs. For some reason despite the fact that I have selected the optional of default in space between paragraphs there are paragraphs that appear with a greater space between them. What could be due to? Are there strange things about the pages where this happens? LaTeX will sometimes stretch the space between paragraphs, if that is necessary due to page breaking issues. rh
Re: Layout file not usable
On 03/25/2010 05:53 AM, Guenter Milde wrote: On 2010-03-24, rgheck wrote: On 03/24/2010 12:17 PM, Tim Wescott wrote: Guenter Milde wrote: You might file an enhancement/bug report to ask for disabling not-supported templates (or a warning) similar to what is done if you select a non-supported document class under DocumentSettings. I don't think this is very easy to do. Templates are just files, and what shows them is just a file browser. We can't ask the file browser not to show files that don't have associated LaTeX classes. Then, we could consider grouping templates in sub-directories like e.g. templates/ # standard document classes templates/letter.lyx templates/slides.lyx ... templates/texlive # document classes in texlive templates/texlive/dinbrief.lyx ... templates/other/ # exotic document classes or in every template clearly state in a LyX-Note the required LaTeX documentclass (and its home URL). Exotic is in the eye of the beholder, I'm afraid, and what's standard varies from TeX distribution to TeX distribution. There's really no telling what someone might have installed. The issue here, or so it seems to me, is just a simple confusion about what LyX provides, how it relates to LaTeX, and what LaTeX provides. The fact that the dialog that pops up when you don't have the document class is so confusing doesn't help. But this, I believe, is now resolved in trunk. Richard
Re: Dimension too large
On 03/25/2010 10:54 PM, Uwe Stöhr wrote: Am 25.03.2010 23:49, schrieb Marcelo Acuña: I have a koma-script book in US letter page. When I try to go to A5 size I get this error when run latex: Dimension too large. Very strange. Do you have a _small_ LyX example file? A5 is a small page. I'd suspect a float too large to fit. rh
Re: things that I miss in lyx
On 03/25/2010 06:14 AM, Guenter Milde wrote: On 2010-03-23, Wolfgang Engelmann wrote: Considering the amount of time I had to spend in documents which did not run through LyX smoothly it had to do with references containing some characters which bothered the program. I realize that this is not Lyx's fault, but it would be nice to have a feature (or an external prg) checking for those characters. A generic error reporting for all programs called by LyX would be a great help indeed. For the Unicode in bibtex database problem, the solution might be to use a unicode aware processor, e.g. * CrossTeX_, a backwards-compatible, improved bibtex re-implementation in Python (including HTML export). (development stalled since 2 years) * Pybtex_,a drop-in replacement for BibTeX written in Python. * BibTeX styles (experimental) pythonic style API. * Database in BibTeX, BibTeXML and YAML formats. * full Unicode support. * Write to TeX, HTML and plain text. .. _CrossTeX: http://www.cs.cornell.edu/people/egs/crosstex/ .. _Pybtex: http://pybtex.sourceforge.net/ You can also use biber with biblatex: http://biblatex-biber.sourceforge.net/. rh
Re: Fwd: Re: things that I miss in lyx
On 03/25/2010 06:20 AM, Guenter Milde wrote: On 2010-03-23, Trevor Jenkins wrote: On Tue, Mar 23, 2010 at 5:08 AM, Steve Littsl...@troubleshooters.com wrote: On Monday 22 March 2010 17:43:10 Julio Rojas wrote: I'm thinking the best way to address the difficulty of new environments and character styles might be to start a public collection of them. ... Don't we already have that with the CTAN archive? Why create a separate LyX one when the LaTeX part of CTAN already exists? Because CTAN contains the *LaTeX* packages/classes while for using them in LyX, we need *in addition to them* also LyX modules/layouts. This need for definitions on both, LyX and LaTeX levels is a main reason why creating/editing LyX layouts is such a complex task. (And also the base for much frustation for people with either a just a LyX layout or just a LaTeX class or package.) That said, beamer includes a LyX layout, and I would expect that many other classes would be happy to include layouts, too, if someone provided one. Alternatively, or additionally, we could ask the CTAN folks to create a place for LyX layouts, rather than hosting them on our own server. rh
Re: Interline Space
On 03/25/2010 07:28 AM, YURENA MENDOZA wrote: Hi, I have a problem with Lyx and the spaces between paragraphs. For some reason despite the fact that I have selected the optional of default in space between paragraphs there are paragraphs that appear with a greater space between them. What could be due to? Are there strange things about the pages where this happens? LaTeX will sometimes stretch the space between paragraphs, if that is necessary due to page breaking issues. rh
Re: Layout file not usable
On 03/25/2010 05:53 AM, Guenter Milde wrote: On 2010-03-24, rgheck wrote: On 03/24/2010 12:17 PM, Tim Wescott wrote: Guenter Milde wrote: You might file an enhancement/bug report to ask for disabling not-supported templates (or a warning) similar to what is done if you select a non-supported document class under DocumentSettings. I don't think this is very easy to do. Templates are just files, and what shows them is just a file browser. We can't ask the file browser not to show files that don't have associated LaTeX classes. Then, we could consider grouping templates in sub-directories like e.g. templates/ # standard document classes templates/letter.lyx templates/slides.lyx ... templates/texlive # document classes in texlive templates/texlive/dinbrief.lyx ... templates/other/ # exotic document classes or in every template clearly state in a LyX-Note the required LaTeX documentclass (and its home URL). Exotic is in the eye of the beholder, I'm afraid, and what's standard varies from TeX distribution to TeX distribution. There's really no telling what someone might have installed. The issue here, or so it seems to me, is just a simple confusion about what LyX provides, how it relates to LaTeX, and what LaTeX provides. The fact that the dialog that pops up when you don't have the document class is so confusing doesn't help. But this, I believe, is now resolved in trunk. Richard
Re: Dimension too large
On 03/25/2010 10:54 PM, Uwe Stöhr wrote: Am 25.03.2010 23:49, schrieb Marcelo Acuña: I have a koma-script book in US letter page. When I try to go to A5 size I get this error when run latex: Dimension too large. Very strange. Do you have a _small_ LyX example file? A5 is a small page. I'd suspect a float too large to fit. rh
Re: things that I miss in lyx
On 03/25/2010 06:14 AM, Guenter Milde wrote: On 2010-03-23, Wolfgang Engelmann wrote: Considering the amount of time I had to spend in documents which did not run through LyX smoothly it had to do with references containing some characters which bothered the program. I realize that this is not Lyx's fault, but it would be nice to have a feature (or an external prg) checking for those characters. A generic error reporting for all programs called by LyX would be a great help indeed. For the "Unicode in bibtex database problem", the solution might be to use a unicode aware processor, e.g. * CrossTeX_, a backwards-compatible, improved bibtex re-implementation in Python (including HTML export). (development stalled since 2 years) * Pybtex_,a drop-in replacement for BibTeX written in Python. * BibTeX styles& (experimental) pythonic style API. * Database in BibTeX, BibTeXML and YAML formats. * full Unicode support. * Write to TeX, HTML and plain text. .. _CrossTeX: http://www.cs.cornell.edu/people/egs/crosstex/ .. _Pybtex: http://pybtex.sourceforge.net/ You can also use biber with biblatex: http://biblatex-biber.sourceforge.net/. rh
Re: Fwd: Re: things that I miss in lyx
On 03/25/2010 06:20 AM, Guenter Milde wrote: On 2010-03-23, Trevor Jenkins wrote: On Tue, Mar 23, 2010 at 5:08 AM, Steve Littwrote: On Monday 22 March 2010 17:43:10 Julio Rojas wrote: I'm thinking the best way to address the difficulty of new environments and character styles might be to start a public collection of them. ... Don't we already have that with the CTAN archive? Why create a separate LyX one when the LaTeX part of CTAN already exists? Because CTAN contains the *LaTeX* packages/classes while for using them in LyX, we need *in addition to them* also LyX modules/layouts. This need for definitions on both, LyX and LaTeX levels is a main reason why creating/editing LyX layouts is such a complex task. (And also the base for much frustation for people with either a just a LyX layout or just a LaTeX class or package.) That said, beamer includes a LyX layout, and I would expect that many other classes would be happy to include layouts, too, if someone provided one. Alternatively, or additionally, we could ask the CTAN folks to create a place for LyX layouts, rather than hosting them on our own server. rh
Re: Interline Space
On 03/25/2010 07:28 AM, YURENA MENDOZA wrote: Hi, I have a problem with Lyx and the spaces between paragraphs. For some reason despite the fact that I have selected the optional of "default" in space between paragraphs there are paragraphs that appear with a greater space between them. What could be due to? Are there strange things about the pages where this happens? LaTeX will sometimes stretch the space between paragraphs, if that is necessary due to page breaking issues. rh
Re: Layout file not usable
On 03/25/2010 05:53 AM, Guenter Milde wrote: On 2010-03-24, rgheck wrote: On 03/24/2010 12:17 PM, Tim Wescott wrote: Guenter Milde wrote: You might file an enhancement/bug report to ask for disabling not-supported templates (or a warning) similar to what is done if you select a non-supported document class under Document>Settings. I don't think this is very easy to do. Templates are just files, and what shows them is just a file browser. We can't ask the file browser not to show files that don't have associated LaTeX classes. Then, we could consider grouping templates in sub-directories like e.g. templates/ # standard document classes templates/letter.lyx templates/slides.lyx ... templates/texlive # document classes in texlive templates/texlive/dinbrief.lyx ... templates/other/ # "exotic" document classes or in every template clearly state in a LyX-Note the required LaTeX documentclass (and its home URL). Exotic is in the eye of the beholder, I'm afraid, and what's standard varies from TeX distribution to TeX distribution. There's really no telling what someone might have installed. The issue here, or so it seems to me, is just a simple confusion about what LyX provides, how it relates to LaTeX, and what LaTeX provides. The fact that the dialog that pops up when you don't have the document class is so confusing doesn't help. But this, I believe, is now resolved in trunk. Richard
Re: Dimension too large
On 03/25/2010 10:54 PM, Uwe Stöhr wrote: Am 25.03.2010 23:49, schrieb Marcelo Acuña: I have a koma-script book in US letter page. When I try to go to A5 size I get this error when run latex: Dimension too large. Very strange. Do you have a _small_ LyX example file? A5 is a small page. I'd suspect a float too large to fit. rh
Re: Layout file not usable
On 03/24/2010 12:17 PM, Tim Wescott wrote: Guenter Milde wrote: On 22.03.10, Tim Wescott wrote: Guenter Milde wrote: You will need to install more of texlive than just the basics (which are auto-installed as a LyX dependency). I think I have a handle on this, but it sure changes the meaning of create from template away from oh look at all these handy, helpful templates! Something more like Oh look at this ready-made minefield! You might file an enhancement/bug report to ask for disabling not-supported templates (or a warning) similar to what is done if you select a non-supported document class under DocumentSettings. I don't think this is very easy to do. Templates are just files, and what shows them is just a file browser. We can't ask the file browser not to show files that don't have associated LaTeX classes. If you have enough disk-space and a fast internet connection, you can also consider installing the full texlive suite (I don't remember the name of the meta package just now). I generally don't start filing enhancement/bug reports on software until I've had at least a little bit of mileage with it. As an absolute newbie it's an even bet between whether my problems stem from a real issue with the software or from my own ignorance. I think this may be an exception, though -- it certainly would be helpful for everyone, and far less confusing for newbies, to do this. And you _do_ want newbies to have a positive experience, lest they run screaming back to their nice, comfortable WSIWYG editor, and fail to lend their support to your community. What do you mean here by do this? Do you mean, install the full texlive suite? If so, then, first, LyX has no control over this. It's a packaging question and, on Linux, that means that each distribution gets to decide for itself what LyX's dependencies are. Similarly, the Windows and Mac packagers decide about this on their platforms. Second, it's arguable that LaTeX shouldn't be a dependency of LyX at all. Helge Hafting, who often posts here, frequently points out that LyX can be used as an editor without LaTeX. You might want to install it that way, for example, on a netbook that had minimal disk space so you could work on LyX files on your netbook. You wouldn't be able to view them as pdf or whatever, but you don't always need to do that. Third, even if we do want LaTeX to be a dependency, you really don't want to install absolutely every package that texlive makes available. That is a huge number of packages. And, finally, I don't know what texlive includes these days, but until not very long ago, some of the templates LyX ships were for use with document classes that weren't available at all through texlive. You have to go get them yourself if you want to use them. That's in the nature of an extensible system like LaTeX. rh
Re: Opening LyX-2.0 Files in LyX-1.6.5
On 03/24/2010 06:55 PM, Jack Desert wrote: I found myself wanting to open the same document sometimes in LyX 2.0 and sometimes in LyX 1.6.5. Oh sure, a LyX 1.6.5 document opens fine in LyX 2.0, but I ran into an error when trying open a LyX 2.0 document in LyX 1.6.5. So I did a little experimentation. I copied the LyX 2.0 lyx/lib/lyx2lyx folder into the LyX 1.6.5 lyx/lib/ directory. Then recompiled LyX 1.6.5. Voilá. Now I can open the same file with either version of LyX. Am I violating any taboo here? Does this void the LyX warranty? This is normal. The lyx2lyx script shipped with 1.6.5 converts PRIOR formats to the 1.6 format and vice versa. The version of lyx2lyx presently in trunk will convert *any* (existing) format to any other (existing) format. Since it's a self-contained python script, you can indeed do precisely what you've done. rh
Re: Layout file not usable
On 03/24/2010 12:17 PM, Tim Wescott wrote: Guenter Milde wrote: On 22.03.10, Tim Wescott wrote: Guenter Milde wrote: You will need to install more of texlive than just the basics (which are auto-installed as a LyX dependency). I think I have a handle on this, but it sure changes the meaning of create from template away from oh look at all these handy, helpful templates! Something more like Oh look at this ready-made minefield! You might file an enhancement/bug report to ask for disabling not-supported templates (or a warning) similar to what is done if you select a non-supported document class under DocumentSettings. I don't think this is very easy to do. Templates are just files, and what shows them is just a file browser. We can't ask the file browser not to show files that don't have associated LaTeX classes. If you have enough disk-space and a fast internet connection, you can also consider installing the full texlive suite (I don't remember the name of the meta package just now). I generally don't start filing enhancement/bug reports on software until I've had at least a little bit of mileage with it. As an absolute newbie it's an even bet between whether my problems stem from a real issue with the software or from my own ignorance. I think this may be an exception, though -- it certainly would be helpful for everyone, and far less confusing for newbies, to do this. And you _do_ want newbies to have a positive experience, lest they run screaming back to their nice, comfortable WSIWYG editor, and fail to lend their support to your community. What do you mean here by do this? Do you mean, install the full texlive suite? If so, then, first, LyX has no control over this. It's a packaging question and, on Linux, that means that each distribution gets to decide for itself what LyX's dependencies are. Similarly, the Windows and Mac packagers decide about this on their platforms. Second, it's arguable that LaTeX shouldn't be a dependency of LyX at all. Helge Hafting, who often posts here, frequently points out that LyX can be used as an editor without LaTeX. You might want to install it that way, for example, on a netbook that had minimal disk space so you could work on LyX files on your netbook. You wouldn't be able to view them as pdf or whatever, but you don't always need to do that. Third, even if we do want LaTeX to be a dependency, you really don't want to install absolutely every package that texlive makes available. That is a huge number of packages. And, finally, I don't know what texlive includes these days, but until not very long ago, some of the templates LyX ships were for use with document classes that weren't available at all through texlive. You have to go get them yourself if you want to use them. That's in the nature of an extensible system like LaTeX. rh
Re: Opening LyX-2.0 Files in LyX-1.6.5
On 03/24/2010 06:55 PM, Jack Desert wrote: I found myself wanting to open the same document sometimes in LyX 2.0 and sometimes in LyX 1.6.5. Oh sure, a LyX 1.6.5 document opens fine in LyX 2.0, but I ran into an error when trying open a LyX 2.0 document in LyX 1.6.5. So I did a little experimentation. I copied the LyX 2.0 lyx/lib/lyx2lyx folder into the LyX 1.6.5 lyx/lib/ directory. Then recompiled LyX 1.6.5. Voilá. Now I can open the same file with either version of LyX. Am I violating any taboo here? Does this void the LyX warranty? This is normal. The lyx2lyx script shipped with 1.6.5 converts PRIOR formats to the 1.6 format and vice versa. The version of lyx2lyx presently in trunk will convert *any* (existing) format to any other (existing) format. Since it's a self-contained python script, you can indeed do precisely what you've done. rh
Re: Layout file not usable
On 03/24/2010 12:17 PM, Tim Wescott wrote: Guenter Milde wrote: On 22.03.10, Tim Wescott wrote: Guenter Milde wrote: You will need to install more of texlive than just the basics (which are auto-installed as a LyX dependency). I think I have a handle on this, but it sure changes the meaning of "create from template" away from "oh look at all these handy, helpful templates!" Something more like "Oh look at this ready-made minefield!" You might file an enhancement/bug report to ask for disabling not-supported templates (or a warning) similar to what is done if you select a non-supported document class under Document>Settings. I don't think this is very easy to do. Templates are just files, and what shows them is just a file browser. We can't ask the file browser not to show files that don't have associated LaTeX classes. If you have enough disk-space and a fast internet connection, you can also consider installing the full texlive suite (I don't remember the name of the meta package just now). I generally don't start filing enhancement/bug reports on software until I've had at least a little bit of mileage with it. As an absolute newbie it's an even bet between whether my problems stem from a real issue with the software or from my own ignorance. I think this may be an exception, though -- it certainly would be helpful for everyone, and far less confusing for newbies, to do this. And you _do_ want newbies to have a positive experience, lest they run screaming back to their nice, comfortable WSIWYG editor, and fail to lend their support to your community. What do you mean here by "do this"? Do you mean, "install the full texlive suite"? If so, then, first, LyX has no control over this. It's a packaging question and, on Linux, that means that each distribution gets to decide for itself what LyX's dependencies are. Similarly, the Windows and Mac packagers decide about this on their platforms. Second, it's arguable that LaTeX shouldn't be a dependency of LyX at all. Helge Hafting, who often posts here, frequently points out that LyX can be used as an editor without LaTeX. You might want to install it that way, for example, on a netbook that had minimal disk space so you could work on LyX files on your netbook. You wouldn't be able to view them as pdf or whatever, but you don't always need to do that. Third, even if we do want LaTeX to be a dependency, you really don't want to install absolutely every package that texlive makes available. That is a huge number of packages. And, finally, I don't know what texlive includes these days, but until not very long ago, some of the templates LyX ships were for use with document classes that weren't available at all through texlive. You have to go get them yourself if you want to use them. That's in the nature of an extensible system like LaTeX. rh
Re: Opening LyX-2.0 Files in LyX-1.6.5
On 03/24/2010 06:55 PM, Jack Desert wrote: I found myself wanting to open the same document sometimes in LyX 2.0 and sometimes in LyX 1.6.5. Oh sure, a LyX 1.6.5 document opens fine in LyX 2.0, but I ran into an error when trying open a LyX 2.0 document in LyX 1.6.5. So I did a little experimentation. I copied the LyX 2.0 lyx/lib/lyx2lyx folder into the LyX 1.6.5 lyx/lib/ directory. Then recompiled LyX 1.6.5. Voilá. Now I can open the same file with either version of LyX. Am I violating any taboo here? Does this void the LyX warranty? This is normal. The lyx2lyx script shipped with 1.6.5 converts PRIOR formats to the 1.6 format and vice versa. The version of lyx2lyx presently in trunk will convert *any* (existing) format to any other (existing) format. Since it's a self-contained python script, you can indeed do precisely what you've done. rh
Re: Fwd: Re: things that I miss in lyx
On 03/22/2010 10:52 PM, Joe(theWordy)Philbrook wrote: It would appear that on Mar 22, Julio Rojas did say: The only feature I miss is a layout editor. I don't know how easy would it be to program one, but that would be one good addition. Don't know much about that... I just use LyX, I don't really understand it very well, so I'm not grasping the advantages of this feature ? I would recommend learning about layouts, as that is where the real power of LyX lies. The second one I miss, mostly because I'm not a native English speaker, is online spell checking, but that is coming in 2.0. Oh Gawd no! That is if I understand you to mean that it will check my spelling as I type, and interrupt my creative flow to inform me that it thinks I misspelled something. It will do this if you turn on continuous spell-checking. It won't if you don't. {or even worse silently replacing misspelled or unknown words with what it thinks is the best matching replacement word} It will not do this. rh
Re: things that I miss in lyx
On 03/23/2010 05:22 AM, Guenter Milde wrote: On 2010-03-22, rgheck wrote: As he said, this is highly non-trivial. And the better the website, the harder it is, since a good website will use semantic markup that is styled by CSS. Then what do you do? Of course transform semantic markup to semantic markup. This implies that the website uses really good markup (text with HTML markup indicating its logical structure), not CSS-styleddiv andspan soups. The difficulty is that HTML is very limited in what it is capable of marking, for the simple reason that there aren't very many tags. LyX character styles, for example, would almost uniformly correspond to span, except for the handful of obvious exceptions. That, it seems to me, is why use div and span for everything has become almost the norm. See e.g. elyxer's HTML output. LyX's is more flexible, because it is specifiable in the layout. But the problem remains. Richard
Re: things that I miss in lyx
On 03/23/2010 09:43 AM, Wolfgang Engelmann wrote: Considering the amount of time I had to spend in documents which did not run through LyX smoothly it had to do with references containing some characters which bothered the program. I realize that this is not Lyx's fault, but it would be nice to have a feature (or an external prg) checking for those characters. I am often searching in a data bank such as medline for references which I enter into Jabref, my reference manager. Exporting it into the lyx document is easy, just a click on the lyx icon in Jabref, but finding the bothering reference(s) after trying to export the pdf file is in my hands often very time consuming and frustrating. I'd suggest reporting this to the JabRef folks. Perhaps they should have an option to save in something other than UTF-8, and even to convert illegal characters to LaTeX equivalents. rh
Re: Fwd: Re: things that I miss in lyx
On 03/22/2010 10:52 PM, Joe(theWordy)Philbrook wrote: It would appear that on Mar 22, Julio Rojas did say: The only feature I miss is a layout editor. I don't know how easy would it be to program one, but that would be one good addition. Don't know much about that... I just use LyX, I don't really understand it very well, so I'm not grasping the advantages of this feature ? I would recommend learning about layouts, as that is where the real power of LyX lies. The second one I miss, mostly because I'm not a native English speaker, is online spell checking, but that is coming in 2.0. Oh Gawd no! That is if I understand you to mean that it will check my spelling as I type, and interrupt my creative flow to inform me that it thinks I misspelled something. It will do this if you turn on continuous spell-checking. It won't if you don't. {or even worse silently replacing misspelled or unknown words with what it thinks is the best matching replacement word} It will not do this. rh
Re: things that I miss in lyx
On 03/23/2010 05:22 AM, Guenter Milde wrote: On 2010-03-22, rgheck wrote: As he said, this is highly non-trivial. And the better the website, the harder it is, since a good website will use semantic markup that is styled by CSS. Then what do you do? Of course transform semantic markup to semantic markup. This implies that the website uses really good markup (text with HTML markup indicating its logical structure), not CSS-styleddiv andspan soups. The difficulty is that HTML is very limited in what it is capable of marking, for the simple reason that there aren't very many tags. LyX character styles, for example, would almost uniformly correspond to span, except for the handful of obvious exceptions. That, it seems to me, is why use div and span for everything has become almost the norm. See e.g. elyxer's HTML output. LyX's is more flexible, because it is specifiable in the layout. But the problem remains. Richard
Re: things that I miss in lyx
On 03/23/2010 09:43 AM, Wolfgang Engelmann wrote: Considering the amount of time I had to spend in documents which did not run through LyX smoothly it had to do with references containing some characters which bothered the program. I realize that this is not Lyx's fault, but it would be nice to have a feature (or an external prg) checking for those characters. I am often searching in a data bank such as medline for references which I enter into Jabref, my reference manager. Exporting it into the lyx document is easy, just a click on the lyx icon in Jabref, but finding the bothering reference(s) after trying to export the pdf file is in my hands often very time consuming and frustrating. I'd suggest reporting this to the JabRef folks. Perhaps they should have an option to save in something other than UTF-8, and even to convert illegal characters to LaTeX equivalents. rh
Re: Fwd: Re: things that I miss in lyx
On 03/22/2010 10:52 PM, Joe(theWordy)Philbrook wrote: It would appear that on Mar 22, Julio Rojas did say: The only feature I miss is a layout editor. I don't know how easy would it be to program one, but that would be one good addition. Don't know much about that... I just use LyX, I don't really understand it very well, so I'm not grasping the advantages of this "feature" ? I would recommend learning about layouts, as that is where the real power of LyX lies. The second one I miss, mostly because I'm not a native English speaker, is online spell checking, but that is coming in 2.0. Oh Gawd no! That is if I understand you to mean that it will check my spelling as I type, and interrupt my creative flow to inform me that it thinks I misspelled something. It will do this if you turn on continuous spell-checking. It won't if you don't. {or even worse silently replacing misspelled or unknown words with what it thinks is the best matching replacement word} It will not do this. rh
Re: things that I miss in lyx
On 03/23/2010 05:22 AM, Guenter Milde wrote: On 2010-03-22, rgheck wrote: As he said, this is highly non-trivial. And the better the website, the harder it is, since a good website will use semantic markup that is styled by CSS. Then what do you do? Of course transform semantic markup to semantic markup. This implies that the website uses "really good" markup (text with HTML markup indicating its logical structure), not CSS-styled and soups. The difficulty is that HTML is very limited in what it is capable of marking, for the simple reason that there aren't very many tags. LyX character styles, for example, would almost uniformly correspond to "span", except for the handful of obvious exceptions. That, it seems to me, is why "use div and span for everything" has become almost the norm. See e.g. elyxer's HTML output. LyX's is more flexible, because it is specifiable in the layout. But the problem remains. Richard
Re: things that I miss in lyx
On 03/23/2010 09:43 AM, Wolfgang Engelmann wrote: Considering the amount of time I had to spend in documents which did not run through LyX smoothly it had to do with references containing some characters which bothered the program. I realize that this is not Lyx's fault, but it would be nice to have a feature (or an external prg) checking for those characters. I am often searching in a data bank such as medline for references which I enter into Jabref, my reference manager. Exporting it into the lyx document is easy, just a click on the lyx icon in Jabref, but finding the bothering reference(s) after trying to export the pdf file is in my hands often very time consuming and frustrating. I'd suggest reporting this to the JabRef folks. Perhaps they should have an option to save in something other than UTF-8, and even to convert illegal characters to LaTeX equivalents. rh
Re: things that I miss in lyx
On 03/22/2010 05:30 AM, Trevor Jenkins wrote: On Sun, Mar 21, 2010 at 9:12 PM, Jose Quesadaques...@gmail.com wrote: Let me try to motivate this feature. 1- It's trivial to implement it, and then make it optional. 2- The only way to check whether you have missed a capital is by loading all your lyx files on a text editor that supports regex and painfully check results of \.\s+[a-z] one by one. Not efficient. 3- I hate to do keyboard combos. they are bad for rsi and slower overall. Autocapitalization would save thousands of those a month. What's wrong with pressing the Shift key as you type? That way you have complete control of where capitalisation occurs. Those word processors where it is enable by default make a piss poor attempt at. And your regex hits things that are *not* sentence starts, e. g. this example, which includes abbreviations e. g. like e. g. Which is one of the major problems with autocaps. Yes, you can have some list of exceptions, but then you need a list of exceptions to the exceptions. say copy-paste from browsers. keeping basic formatting (headings, bold) would be good., but I bet this is non-trivial. Running some html parser on clipboard contents, then convert html to lyx... then paste. I don't do that in LyX but I've seen OpenOffice.org make a real hash of pasting HTMLised text on Linux, Mac OS X, and Windows. As he said, this is highly non-trivial. And the better the website, the harder it is, since a good website will use semantic markup that is styled by CSS. Then what do you do? rh
Re: things that I miss in lyx
On 03/21/2010 10:14 PM, Uwe Stöhr wrote: Am 21.03.2010 22:12, schrieb Jose Quesada: 2. sentence autocapitalization Hmm. Most of us hate that. Let me try to motivate this feature. 1- It's trivial to implement it, and then make it optional. Indeed, we should let the users decide. Please open an enhancement report in our bug tracking system. It is important to remember that this sort of feature is not cost-free, even if it can be turned off. It complicates the code and therefore makes maintenance more difficult. rh
Re: things that I miss in lyx
On 03/22/2010 06:50 AM, Olivier Ripoll wrote: Jose Quesada wrote: 7. the rest of the world operates on rich text/html. LyX doesn't (clipboard integration is poor, copy-pasting from/to web loses formatting) That is the most annoying feature I've seen appearing in 10 years. When using software offering this feature, I now must paste to a text editor, then copy it from here and finally paste to the target document (I'm not talking about LyX here). I know this problem! I see it all the time when I try to paste from Firefox into Thunderbird, e.g. rh
Re: Fwd: Re: things that I miss in lyx
On 03/22/2010 05:43 PM, Julio Rojas wrote: The only feature I miss is a layout editor. I don't know how easy would it be to program one, but that would be one good addition. This has been discussed often, and I don't know how hard it would be, either. I actually suspect that getting something basic working wouldn't take much work at all. By basic, I mean: Something that would look like a database editor, with lots of combo boxes, text boxes, and the like, where you could choose things for the various legal tags. It would load a layout file for you, and then you could choose stuff to modify. When you were done, it would write the file out. The reading code is of course there. The writing code is not. Most of the work would go into defining the options, which ones are allowed in which cases, etc. I'm not even sure what sort of data structure one would want to use for that. As a bonus, though this would be a *bit* harder, LyX could show you what your new style would look like. Even this wouldn't be too hard, though, because of embeddable work areas, such as will be used in the advanced search and replace feature. These are little windows that work exactly like document windows, except that they don't represent the contents of documents. The display one would presumably be marked read-only and show some standard example text. rh
Re: things that I miss in lyx
On 03/22/2010 05:30 AM, Trevor Jenkins wrote: On Sun, Mar 21, 2010 at 9:12 PM, Jose Quesadaques...@gmail.com wrote: Let me try to motivate this feature. 1- It's trivial to implement it, and then make it optional. 2- The only way to check whether you have missed a capital is by loading all your lyx files on a text editor that supports regex and painfully check results of \.\s+[a-z] one by one. Not efficient. 3- I hate to do keyboard combos. they are bad for rsi and slower overall. Autocapitalization would save thousands of those a month. What's wrong with pressing the Shift key as you type? That way you have complete control of where capitalisation occurs. Those word processors where it is enable by default make a piss poor attempt at. And your regex hits things that are *not* sentence starts, e. g. this example, which includes abbreviations e. g. like e. g. Which is one of the major problems with autocaps. Yes, you can have some list of exceptions, but then you need a list of exceptions to the exceptions. say copy-paste from browsers. keeping basic formatting (headings, bold) would be good., but I bet this is non-trivial. Running some html parser on clipboard contents, then convert html to lyx... then paste. I don't do that in LyX but I've seen OpenOffice.org make a real hash of pasting HTMLised text on Linux, Mac OS X, and Windows. As he said, this is highly non-trivial. And the better the website, the harder it is, since a good website will use semantic markup that is styled by CSS. Then what do you do? rh
Re: things that I miss in lyx
On 03/21/2010 10:14 PM, Uwe Stöhr wrote: Am 21.03.2010 22:12, schrieb Jose Quesada: 2. sentence autocapitalization Hmm. Most of us hate that. Let me try to motivate this feature. 1- It's trivial to implement it, and then make it optional. Indeed, we should let the users decide. Please open an enhancement report in our bug tracking system. It is important to remember that this sort of feature is not cost-free, even if it can be turned off. It complicates the code and therefore makes maintenance more difficult. rh
Re: things that I miss in lyx
On 03/22/2010 06:50 AM, Olivier Ripoll wrote: Jose Quesada wrote: 7. the rest of the world operates on rich text/html. LyX doesn't (clipboard integration is poor, copy-pasting from/to web loses formatting) That is the most annoying feature I've seen appearing in 10 years. When using software offering this feature, I now must paste to a text editor, then copy it from here and finally paste to the target document (I'm not talking about LyX here). I know this problem! I see it all the time when I try to paste from Firefox into Thunderbird, e.g. rh
Re: Fwd: Re: things that I miss in lyx
On 03/22/2010 05:43 PM, Julio Rojas wrote: The only feature I miss is a layout editor. I don't know how easy would it be to program one, but that would be one good addition. This has been discussed often, and I don't know how hard it would be, either. I actually suspect that getting something basic working wouldn't take much work at all. By basic, I mean: Something that would look like a database editor, with lots of combo boxes, text boxes, and the like, where you could choose things for the various legal tags. It would load a layout file for you, and then you could choose stuff to modify. When you were done, it would write the file out. The reading code is of course there. The writing code is not. Most of the work would go into defining the options, which ones are allowed in which cases, etc. I'm not even sure what sort of data structure one would want to use for that. As a bonus, though this would be a *bit* harder, LyX could show you what your new style would look like. Even this wouldn't be too hard, though, because of embeddable work areas, such as will be used in the advanced search and replace feature. These are little windows that work exactly like document windows, except that they don't represent the contents of documents. The display one would presumably be marked read-only and show some standard example text. rh
Re: things that I miss in lyx
On 03/22/2010 05:30 AM, Trevor Jenkins wrote: On Sun, Mar 21, 2010 at 9:12 PM, Jose Quesadawrote: Let me try to motivate this feature. 1- It's trivial to implement it, and then make it optional. 2- The only way to check whether you have missed a capital is by loading all your lyx files on a text editor that supports regex and painfully check results of \.\s+[a-z] one by one. Not efficient. 3- I hate to do keyboard combos. they are bad for rsi and slower overall. Autocapitalization would save thousands of those a month. What's wrong with pressing the Shift key as you type? That way you have complete control of where capitalisation occurs. Those word processors where it is enable by default make a piss poor attempt at. And your regex hits things that are *not* sentence starts, e. g. this example, which includes abbreviations e. g. like e. g. Which is one of the major problems with autocaps. Yes, you can have some list of exceptions, but then you need a list of exceptions to the exceptions. say copy-paste from browsers. keeping basic formatting (headings, bold) would be good., but I bet this is non-trivial. Running some html parser on clipboard contents, then convert html to lyx... then paste. I don't do that in LyX but I've seen OpenOffice.org make a real hash of pasting HTMLised text on Linux, Mac OS X, and Windows. As he said, this is highly non-trivial. And the better the website, the harder it is, since a good website will use semantic markup that is styled by CSS. Then what do you do? rh
Re: things that I miss in lyx
On 03/21/2010 10:14 PM, Uwe Stöhr wrote: Am 21.03.2010 22:12, schrieb Jose Quesada: 2. sentence autocapitalization Hmm. Most of us hate that. Let me try to motivate this feature. 1- It's trivial to implement it, and then make it optional. Indeed, we should let the users decide. Please open an enhancement report in our bug tracking system. It is important to remember that this sort of feature is not cost-free, even if it can be turned off. It complicates the code and therefore makes maintenance more difficult. rh
Re: things that I miss in lyx
On 03/22/2010 06:50 AM, Olivier Ripoll wrote: Jose Quesada wrote: 7. the rest of the world operates on rich text/html. LyX doesn't (clipboard integration is poor, copy-pasting from/to web loses formatting) That is the most annoying "feature" I've seen appearing in 10 years. When using software offering this "feature", I now must paste to a text editor, then copy it from here and finally paste to the target document (I'm not talking about LyX here). I know this problem! I see it all the time when I try to paste from Firefox into Thunderbird, e.g. rh