Re: verbatim in ERT results wrong output
On Tue, Nov 02, 2004 at 05:19:16PM +0200, Pearu Peterson wrote: Hi! ... Is there a way to avoid the extra newlines that LyX generates from ERT? Or can I define my own environments for LyX so that I can avoid ERT? Use Control+Return to start a new paragraph, you will se a red arrow at the end of line but the result should as you want. Thanks, Pearu -- José Abílio Matos LyX and docbook a perfect match. :-)
Re: verbatim in ERT results wrong output
On Tue, Nov 02, 2004 at 05:19:16PM +0200, Pearu Peterson wrote: Hi! ... Is there a way to avoid the extra newlines that LyX generates from ERT? Or can I define my own environments for LyX so that I can avoid ERT? Use Control+Return to start a new paragraph, you will se a red arrow at the end of line but the result should as you want. Thanks, Pearu -- José Abílio Matos LyX and docbook a perfect match. :-)
Re: verbatim in ERT results wrong output
On Tue, Nov 02, 2004 at 05:19:16PM +0200, Pearu Peterson wrote: > > Hi! ... > Is there a way to avoid the extra newlines that LyX generates from ERT? > Or can I define my own environments for LyX so that I can avoid ERT? Use Control+Return to start a new paragraph, you will se a red arrow at the end of line but the result should as you want. > Thanks, > Pearu > -- José Abílio Matos LyX and docbook a perfect match. :-)
Re: Problem with enumerate
On Sat, Oct 30, 2004 at 10:58:01AM +, Pablo Rodríguez González wrote: Hi guys, I've a question I didn't find in FAQ neither Tutorial, I'd like to write: 1. Numerate sample. * Car. * House. * Book. 2. Second numerate sample. But when I add the itemizes, and go to add second numerate sample, LyX puts: 1. Numerate sample. * Car. * House. * Book. 1. Second numerate sample. with the number 1 on the second sample, how can I change this to LyX puts it right? (Number 2). Select the itemized paragraph and increment their depth. Usually that is Alt+p right_arrow. See User Guide, section 3.4 Thanks in advance, PD: Apologizes for my English. -- Pablo Rodríguez González -- José Abílio Matos LyX and docbook a perfect match. :-)
Re: Problem with enumerate
On Sat, Oct 30, 2004 at 10:58:01AM +, Pablo Rodríguez González wrote: Hi guys, I've a question I didn't find in FAQ neither Tutorial, I'd like to write: 1. Numerate sample. * Car. * House. * Book. 2. Second numerate sample. But when I add the itemizes, and go to add second numerate sample, LyX puts: 1. Numerate sample. * Car. * House. * Book. 1. Second numerate sample. with the number 1 on the second sample, how can I change this to LyX puts it right? (Number 2). Select the itemized paragraph and increment their depth. Usually that is Alt+p right_arrow. See User Guide, section 3.4 Thanks in advance, PD: Apologizes for my English. -- Pablo Rodríguez González -- José Abílio Matos LyX and docbook a perfect match. :-)
Re: Problem with enumerate
On Sat, Oct 30, 2004 at 10:58:01AM +, Pablo Rodríguez González wrote: > Hi guys, > > I've a question I didn't find in FAQ neither Tutorial, I'd like to > write: > > 1. Numerate sample. > > * Car. > * House. > * Book. > > 2. Second numerate sample. > > But when I add the "itemizes", and go to add second numerate sample, LyX > puts: > > 1. Numerate sample. > > * Car. > * House. > * Book. > > 1. Second numerate sample. > > with the number "1" on the second sample, how can I change this to LyX > puts it right? (Number 2). Select the itemized paragraph and increment their depth. Usually that is Alt+p right_arrow. See User Guide, section 3.4 > Thanks in advance, > > PD: Apologizes for my English. > -- > Pablo Rodríguez González -- José Abílio Matos LyX and docbook a perfect match. :-)
Re: LaTeX/LyX math
On Fri, Oct 22, 2004 at 11:07:56AM +0200, Nicolas Ferré wrote: Hi, A little wish about math. There are two ways for entering math: open a math environment and type in it or write a latex formula, select it and convert it in math using C-m for instance. But the last needs to explicitely write the $ around the latex formula. If the $ are forgotten, lyx converts the formula to text even if there is a math symbol (beginning with \) in the formula. Could it be possible to automatically add the $ around the latex formula when transforming it in math and a \ is detected in it ? I know the backslash is rather common in latex ;-) but we can assume that each time a latex formula must be converted in math, all latex symbols in the formula are math symbols. But maybe I miss a good reason for always needing the $ ? Because that is the proper way to do it. ;-) What you can do is define a new bind that places the $'s for you there. Not as difficult as it can be done for 1.3.5. :-) -- Dr. Nicolas Ferre' Laboratoire de Chimie Theorique et de Modelisation Moleculaire UMR 6517 - CNRS Universite' de Provence Case 521 - Faculte' de Saint-Jerome Av. Esc. Normandie Niemen 13397 MARSEILLE Cedex 20 (FRANCE) Tel : (+33)4.91.28.27.33 Fax : (+33)4.91.28.87.58 Please avoid sending me Word or PowerPoint attachments. See http://www.gnu.org/philosophy/no-word-attachments.html -- José Abílio Matos LyX and docbook a perfect match. :-)
Re: [ANNOUNCE] LyX 1.3.5 is released
On Fri, Oct 22, 2004 at 04:27:37PM +0200, Didier Lemoine wrote: Bonjour, j'aimerais savoir si le rpm suivant lyx-1.3.5-1rhel3_qt.i386.rpm disponible depuis 2 jours sur le site ftp://ftp.lyx.org/pub/lyx/bin/1.3.5/ s'applique a la redhat 9. Is the Red Hat Enterprise Linux based on Red Hat Linex 9? If yes, then it should work. Sinon, y-a t'il un rpm que je peux utiliser pour la redhat 9 ? Read the instructions in http://kde-redhat.sourceforge.net/ The rpm for lyx is: http://apt.kde-redhat.org/apt/kde-redhat/9/RPMS.stable/lyx-1.3.5-0.fdr.2.rh90.i386.rpm But probably it depends on the new version of qt from the same site. Merci de votre reponse. I hope it helps, Didier Lemoine -- Didier LEMOINE Laboratoire Collisions, Agrégats, Réactivité, UMR CNRS 5589 Université Paul Sabatier, Bâtiment 3R1B4 118 route de Narbonne 31062 Toulouse Cedex 4, France Phone: +33 561 55 75 55 Fax: +33 561 55 83 17 Mailto:[EMAIL PROTECTED] Web: http://www.car8.ups-tlse.fr/lemoine -- José Abílio Matos LyX and docbook a perfect match. :-)
Re: LaTeX/LyX math
On Fri, Oct 22, 2004 at 11:07:56AM +0200, Nicolas Ferré wrote: Hi, A little wish about math. There are two ways for entering math: open a math environment and type in it or write a latex formula, select it and convert it in math using C-m for instance. But the last needs to explicitely write the $ around the latex formula. If the $ are forgotten, lyx converts the formula to text even if there is a math symbol (beginning with \) in the formula. Could it be possible to automatically add the $ around the latex formula when transforming it in math and a \ is detected in it ? I know the backslash is rather common in latex ;-) but we can assume that each time a latex formula must be converted in math, all latex symbols in the formula are math symbols. But maybe I miss a good reason for always needing the $ ? Because that is the proper way to do it. ;-) What you can do is define a new bind that places the $'s for you there. Not as difficult as it can be done for 1.3.5. :-) -- Dr. Nicolas Ferre' Laboratoire de Chimie Theorique et de Modelisation Moleculaire UMR 6517 - CNRS Universite' de Provence Case 521 - Faculte' de Saint-Jerome Av. Esc. Normandie Niemen 13397 MARSEILLE Cedex 20 (FRANCE) Tel : (+33)4.91.28.27.33 Fax : (+33)4.91.28.87.58 Please avoid sending me Word or PowerPoint attachments. See http://www.gnu.org/philosophy/no-word-attachments.html -- José Abílio Matos LyX and docbook a perfect match. :-)
Re: [ANNOUNCE] LyX 1.3.5 is released
On Fri, Oct 22, 2004 at 04:27:37PM +0200, Didier Lemoine wrote: Bonjour, j'aimerais savoir si le rpm suivant lyx-1.3.5-1rhel3_qt.i386.rpm disponible depuis 2 jours sur le site ftp://ftp.lyx.org/pub/lyx/bin/1.3.5/ s'applique a la redhat 9. Is the Red Hat Enterprise Linux based on Red Hat Linex 9? If yes, then it should work. Sinon, y-a t'il un rpm que je peux utiliser pour la redhat 9 ? Read the instructions in http://kde-redhat.sourceforge.net/ The rpm for lyx is: http://apt.kde-redhat.org/apt/kde-redhat/9/RPMS.stable/lyx-1.3.5-0.fdr.2.rh90.i386.rpm But probably it depends on the new version of qt from the same site. Merci de votre reponse. I hope it helps, Didier Lemoine -- Didier LEMOINE Laboratoire Collisions, Agrégats, Réactivité, UMR CNRS 5589 Université Paul Sabatier, Bâtiment 3R1B4 118 route de Narbonne 31062 Toulouse Cedex 4, France Phone: +33 561 55 75 55 Fax: +33 561 55 83 17 Mailto:[EMAIL PROTECTED] Web: http://www.car8.ups-tlse.fr/lemoine -- José Abílio Matos LyX and docbook a perfect match. :-)
Re: LaTeX/LyX math
On Fri, Oct 22, 2004 at 11:07:56AM +0200, Nicolas Ferré wrote: > Hi, > > A little wish about math. There are two ways for entering math: open a > math environment and type in it or write a latex formula, select it and > convert it in math using C-m for instance. > But the last needs to explicitely write the $ around the latex formula. > If the $ are forgotten, lyx converts the formula to text even if there > is a math symbol (beginning with \) in the formula. > Could it be possible to automatically add the $ around the latex formula > when transforming it in math and a \ is detected in it ? > I know the backslash is rather common in latex ;-) but we can assume > that each time a latex formula must be converted in math, all latex > symbols in the formula are math symbols. > > But maybe I miss a good reason for always needing the $ ? Because that is the proper way to do it. ;-) What you can do is define a new bind that places the $'s for you there. Not as difficult as it can be done for 1.3.5. :-) > -- > Dr. Nicolas Ferre' > Laboratoire de Chimie Theorique et de Modelisation Moleculaire > UMR 6517 - CNRS Universite' de Provence > Case 521 - Faculte' de Saint-Jerome > Av. Esc. Normandie Niemen > 13397 MARSEILLE Cedex 20 (FRANCE) > Tel : (+33)4.91.28.27.33 Fax : (+33)4.91.28.87.58 > > Please avoid sending me Word or PowerPoint attachments. > See http://www.gnu.org/philosophy/no-word-attachments.html -- José Abílio Matos LyX and docbook a perfect match. :-)
Re: [ANNOUNCE] LyX 1.3.5 is released
On Fri, Oct 22, 2004 at 04:27:37PM +0200, Didier Lemoine wrote: > Bonjour, > > j'aimerais savoir si le rpm suivant > > lyx-1.3.5-1rhel3_qt.i386.rpm > > disponible depuis 2 jours sur le site > > ftp://ftp.lyx.org/pub/lyx/bin/1.3.5/ > > s'applique a la redhat 9. Is the Red Hat Enterprise Linux based on Red Hat Linex 9? If yes, then it should work. > Sinon, y-a t'il un rpm que je peux utiliser pour la redhat 9 ? Read the instructions in http://kde-redhat.sourceforge.net/ The rpm for lyx is: http://apt.kde-redhat.org/apt/kde-redhat/9/RPMS.stable/lyx-1.3.5-0.fdr.2.rh90.i386.rpm But probably it depends on the new version of qt from the same site. > Merci de votre reponse. I hope it helps, > Didier Lemoine > > -- > Didier LEMOINE > Laboratoire Collisions, Agrégats, Réactivité, UMR CNRS 5589 > Université Paul Sabatier, Bâtiment 3R1B4 > 118 route de Narbonne > 31062 Toulouse Cedex 4, France > > Phone: +33 561 55 75 55 > Fax: +33 561 55 83 17 > Mailto:[EMAIL PROTECTED] > Web: http://www.car8.ups-tlse.fr/lemoine -- José Abílio Matos LyX and docbook a perfect match. :-)
Re: lyx 1.3.5 binary rpm for RedHat Enterprise Linux 3
On Tue, Oct 19, 2004 at 10:18:11PM +0200, Jan Sykora wrote: I have compiled the binary rpm for RH-Enterprise Linux 3/i386 lyx-1.3.5-1rhel3_qt.i386.rpm. It is in ftp.devel.lyx.org/pub/incoming Thanks. There is one more choice: The kde-redhat project: http://apt.kde-redhat.org They have available their packages also for RHEL 3.0 http://apt.kde-redhat.org/apt/kde-redhat/3.0/RPMS.stable/ The advantage of this approach is the automatic handling of dependencies. -- Jan Sykora Czech Technical University in Prague Faculty of Electrical Engineering K13137 Department of Radioelectronics Technicka 2 166 27 Praha 6 Czech Republic E-mail: [EMAIL PROTECTED] http://radio.feld.cvut.cz/~sykora/ tel: +420 224 35 3921 fax: +420 224 35 5829 -- José Abílio Matos LyX and docbook a perfect match. :-)
Re: lyx 1.3.5 binary rpm for RedHat Enterprise Linux 3
On Tue, Oct 19, 2004 at 10:18:11PM +0200, Jan Sykora wrote: I have compiled the binary rpm for RH-Enterprise Linux 3/i386 lyx-1.3.5-1rhel3_qt.i386.rpm. It is in ftp.devel.lyx.org/pub/incoming Thanks. There is one more choice: The kde-redhat project: http://apt.kde-redhat.org They have available their packages also for RHEL 3.0 http://apt.kde-redhat.org/apt/kde-redhat/3.0/RPMS.stable/ The advantage of this approach is the automatic handling of dependencies. -- Jan Sykora Czech Technical University in Prague Faculty of Electrical Engineering K13137 Department of Radioelectronics Technicka 2 166 27 Praha 6 Czech Republic E-mail: [EMAIL PROTECTED] http://radio.feld.cvut.cz/~sykora/ tel: +420 224 35 3921 fax: +420 224 35 5829 -- José Abílio Matos LyX and docbook a perfect match. :-)
Re: lyx 1.3.5 binary rpm for RedHat Enterprise Linux 3
On Tue, Oct 19, 2004 at 10:18:11PM +0200, Jan Sykora wrote: > I have compiled the binary rpm for RH-Enterprise Linux 3/i386 > lyx-1.3.5-1rhel3_qt.i386.rpm. It is in ftp.devel.lyx.org/pub/incoming Thanks. There is one more choice: The kde-redhat project: http://apt.kde-redhat.org They have available their packages also for RHEL 3.0 http://apt.kde-redhat.org/apt/kde-redhat/3.0/RPMS.stable/ The advantage of this approach is the automatic handling of dependencies. > -- > Jan Sykora > > Czech Technical University in Prague > Faculty of Electrical Engineering > K13137 Department of Radioelectronics > Technicka 2 > 166 27 Praha 6 > Czech Republic > > E-mail: [EMAIL PROTECTED] > http://radio.feld.cvut.cz/~sykora/ > tel: +420 224 35 3921 > fax: +420 224 35 5829 -- José Abílio Matos LyX and docbook a perfect match. :-)
Re: lyx and tables
On Mon, Oct 18, 2004 at 12:12:28AM +0200, Uwe Stöhr wrote: But anyway, I tried to contact the author of csv2lyx, but got no reply. So I don't know if we can put it on lyx.org. Any suggestions? We should wait for the author's answer. :-) thanks and regards Uwe -- José Abílio Matos LyX and docbook a perfect match. :-)
Re: lyx and tables
On Mon, Oct 18, 2004 at 12:12:28AM +0200, Uwe Stöhr wrote: But anyway, I tried to contact the author of csv2lyx, but got no reply. So I don't know if we can put it on lyx.org. Any suggestions? We should wait for the author's answer. :-) thanks and regards Uwe -- José Abílio Matos LyX and docbook a perfect match. :-)
Re: lyx and tables
On Mon, Oct 18, 2004 at 12:12:28AM +0200, Uwe Stöhr wrote: > > But anyway, I tried to contact the author of csv2lyx, but got no reply. > So I don't know if we can put it on lyx.org. > Any suggestions? We should wait for the author's answer. :-) > thanks and regards > Uwe -- José Abílio Matos LyX and docbook a perfect match. :-)
Re: Equations don't displayed properly in XP
On Sat, Oct 16, 2004 at 08:02:14PM -0600, Liwen Chen wrote: Dear friends, I am using the windows port of LyX under windows XP. i find that it doesn't display the equations properly. For example, when I type \pi in math mode, it is displayed like 1/4. anyone knows what's the problem and the solution for this? thanks a lot! Try the lyx wiki first, I think that this problem (and solution) are placed there: http://wiki.lyx.org/pmwiki.php/LyX/WindowsSetup If not then try the users-list archive. I don't use windows so this is all I know. :-) I hope it helps. -- Best, Liwen --- LIWEN CHEN (PhD Student) Supply Chain Operations Management Department of Management McCombs School of Business University of Texas at Austin Austin, TX 78703 Tel: 512-471-8809 --- -- José Abílio Matos LyX and docbook a perfect match. :-)
Re: Equations don't displayed properly in XP
On Sat, Oct 16, 2004 at 08:02:14PM -0600, Liwen Chen wrote: Dear friends, I am using the windows port of LyX under windows XP. i find that it doesn't display the equations properly. For example, when I type \pi in math mode, it is displayed like 1/4. anyone knows what's the problem and the solution for this? thanks a lot! Try the lyx wiki first, I think that this problem (and solution) are placed there: http://wiki.lyx.org/pmwiki.php/LyX/WindowsSetup If not then try the users-list archive. I don't use windows so this is all I know. :-) I hope it helps. -- Best, Liwen --- LIWEN CHEN (PhD Student) Supply Chain Operations Management Department of Management McCombs School of Business University of Texas at Austin Austin, TX 78703 Tel: 512-471-8809 --- -- José Abílio Matos LyX and docbook a perfect match. :-)
Re: Equations don't displayed properly in XP
On Sat, Oct 16, 2004 at 08:02:14PM -0600, Liwen Chen wrote: > Dear friends, > > I am using the windows port of LyX under windows XP. i find that it > doesn't display the equations properly. For example, when I type \pi > in math mode, it is displayed like 1/4. anyone knows what's the > problem and the solution for this? thanks a lot! Try the lyx wiki first, I think that this problem (and solution) are placed there: http://wiki.lyx.org/pmwiki.php/LyX/WindowsSetup If not then try the users-list archive. I don't use windows so this is all I know. :-) I hope it helps. > -- > > > Best, > Liwen > > --- > LIWEN CHEN (PhD Student) > Supply Chain & Operations Management > Department of Management > McCombs School of Business > University of Texas at Austin > Austin, TX 78703 > Tel: 512-471-8809 > --- -- José Abílio Matos LyX and docbook a perfect match. :-)
Re: KDE upgrade + accents
On Thu, Oct 14, 2004 at 12:26:18PM +0200, Alfonso Gazo wrote: Hi again, Relating the KDE upgrade + accents issue, I've installed this RPM for FC2: lyx-1.3.5-1fc2_qt.i386.rpm And no success with accents issue. Then, I've installed the XForms RPM: lyx-1.3.5-1fc2_xforms.i386.rpm And all accents issues have been *solved*. So it seems an issue with QT libraries. That is true. This was a problem that appeared after a patch to qt to deal with different input methods. As soon as I have some indication that this was solved I will post a message here. Indeed I prefer the QT frontend, but at least now I can write again with LyX :-) This I can understand. :-) Regards, -- José Abílio Matos LyX and docbook a perfect match. :-)
Re: KDE upgrade + accents
On Thu, Oct 14, 2004 at 12:26:18PM +0200, Alfonso Gazo wrote: Hi again, Relating the KDE upgrade + accents issue, I've installed this RPM for FC2: lyx-1.3.5-1fc2_qt.i386.rpm And no success with accents issue. Then, I've installed the XForms RPM: lyx-1.3.5-1fc2_xforms.i386.rpm And all accents issues have been *solved*. So it seems an issue with QT libraries. That is true. This was a problem that appeared after a patch to qt to deal with different input methods. As soon as I have some indication that this was solved I will post a message here. Indeed I prefer the QT frontend, but at least now I can write again with LyX :-) This I can understand. :-) Regards, -- José Abílio Matos LyX and docbook a perfect match. :-)
Re: KDE upgrade + accents
On Thu, Oct 14, 2004 at 12:26:18PM +0200, Alfonso Gazo wrote: > Hi again, > > Relating the KDE upgrade + accents issue, I've installed this RPM for FC2: > lyx-1.3.5-1fc2_qt.i386.rpm > > And no success with accents issue. > > Then, I've installed the XForms RPM: > lyx-1.3.5-1fc2_xforms.i386.rpm > > And all accents issues have been *solved*. So it seems an issue with QT > libraries. That is true. This was a problem that appeared after a patch to qt to deal with different input methods. As soon as I have some indication that this was solved I will post a message here. > Indeed I prefer the QT frontend, but at least now I can write again with > LyX :-) This I can understand. :-) > Regards, -- José Abílio Matos LyX and docbook a perfect match. :-)
Re: Looking for tex2lyx
On Wed, Oct 13, 2004 at 07:33:01PM +0100, Paul Smith wrote: Dominik, Thanks, but File-Import-LaTeX does not exist in my version of LyX (LyX 1.3.5). Don't you have perl on your system? The program that presently converts LaTeX to LyX is relyx, a perl script. Regards, Paul -- José Abílio Matos LyX and docbook a perfect match. :-)
Re: Looking for tex2lyx
On Wed, Oct 13, 2004 at 11:17:26PM +0200, [EMAIL PROTECTED] wrote: Would it make sense to make a wiki page for tex2lyx, and attach a copy of the script to that page so that people can download it from there? AFAIK, tex2lyx depends on some code from lyx. Also to use tex2lyx with lyx 1.3.5 you would need the corresponding version of lyx2lyx. On the other hand this version of lyx2lyx will be available with the last version of 1.3.x when 1.4.o is released. If you followed this argument you will see a circular argument. ;-) Or are several files required for it to work? It should be too difficult to create a standalone version... But someone must do it. :-) /Christian -- Christian Ridderström, +46-8-768 39 44 http://www.md.kth.se/~chr -- José Abílio Matos LyX and docbook a perfect match. :-)
Re: Looking for tex2lyx
On Wed, Oct 13, 2004 at 10:31:24PM +0100, Paul Smith wrote: The program that presently converts LaTeX to LyX is relyx, a perl script. Jose', I do have perl on my system, but locate relyx does not find relyx. That will happen if the cron job responsible to call updatedb has no yet run. Usually it runs once a day. Until that time no new entries will be found. On the hand if you perl installed and lyx doesn't find relyx (for 1.3.5) that is a bug. How did you installed lyx? Paul -- José Abílio Matos LyX and docbook a perfect match. :-)
Re: Changing text height and width?
On Wed, Oct 13, 2004 at 04:49:48PM -0200, Rudi Gaelzer wrote: In that case, how can you save the desired page settings in a template or layout file, so that you can use them on any document you're writing? Taking advantage of the lyx templates. Lets us assume for simplicity a spheric cow... oops, wrong time. ;-) Suppose that the document you want to modify is an article. There are several ways to do it, on of them is to save a document with no paragraphs inside, and with the properties you wish to, for example with the geometry settings that you described. Save that document in the templates directory. By default this location is usally $HOME/.lyx/templates but this can be changed. Then any time you want to open a new document is a matter of File - New from template and there you are. I've always set the page layout parameters in a *.sty file and then issued the \usepackage command in the preamble. That is another way, place that in the documents preamble and make it a template. Rudi Gaelzer Departamento de Física Instituto de Física e Matemática Fundação Universidade Federal de Pelotas Caixa Postal 354 - Campus UFPel 96010-900 Pelotas - RS BRAZIL Phone: +55-53-275-7468 FAX: +55-53-275-7343 Registered Linux user # 153741 - This mail sent through IMP: http://horde.org/imp/ -- José Abílio Matos LyX and docbook a perfect match. :-)
Re: Looking for tex2lyx
On Wed, Oct 13, 2004 at 07:33:01PM +0100, Paul Smith wrote: Dominik, Thanks, but File-Import-LaTeX does not exist in my version of LyX (LyX 1.3.5). Don't you have perl on your system? The program that presently converts LaTeX to LyX is relyx, a perl script. Regards, Paul -- José Abílio Matos LyX and docbook a perfect match. :-)
Re: Looking for tex2lyx
On Wed, Oct 13, 2004 at 11:17:26PM +0200, [EMAIL PROTECTED] wrote: Would it make sense to make a wiki page for tex2lyx, and attach a copy of the script to that page so that people can download it from there? AFAIK, tex2lyx depends on some code from lyx. Also to use tex2lyx with lyx 1.3.5 you would need the corresponding version of lyx2lyx. On the other hand this version of lyx2lyx will be available with the last version of 1.3.x when 1.4.o is released. If you followed this argument you will see a circular argument. ;-) Or are several files required for it to work? It should be too difficult to create a standalone version... But someone must do it. :-) /Christian -- Christian Ridderström, +46-8-768 39 44 http://www.md.kth.se/~chr -- José Abílio Matos LyX and docbook a perfect match. :-)
Re: Looking for tex2lyx
On Wed, Oct 13, 2004 at 10:31:24PM +0100, Paul Smith wrote: The program that presently converts LaTeX to LyX is relyx, a perl script. Jose', I do have perl on my system, but locate relyx does not find relyx. That will happen if the cron job responsible to call updatedb has no yet run. Usually it runs once a day. Until that time no new entries will be found. On the hand if you perl installed and lyx doesn't find relyx (for 1.3.5) that is a bug. How did you installed lyx? Paul -- José Abílio Matos LyX and docbook a perfect match. :-)
Re: Changing text height and width?
On Wed, Oct 13, 2004 at 04:49:48PM -0200, Rudi Gaelzer wrote: In that case, how can you save the desired page settings in a template or layout file, so that you can use them on any document you're writing? Taking advantage of the lyx templates. Lets us assume for simplicity a spheric cow... oops, wrong time. ;-) Suppose that the document you want to modify is an article. There are several ways to do it, on of them is to save a document with no paragraphs inside, and with the properties you wish to, for example with the geometry settings that you described. Save that document in the templates directory. By default this location is usally $HOME/.lyx/templates but this can be changed. Then any time you want to open a new document is a matter of File - New from template and there you are. I've always set the page layout parameters in a *.sty file and then issued the \usepackage command in the preamble. That is another way, place that in the documents preamble and make it a template. Rudi Gaelzer Departamento de Física Instituto de Física e Matemática Fundação Universidade Federal de Pelotas Caixa Postal 354 - Campus UFPel 96010-900 Pelotas - RS BRAZIL Phone: +55-53-275-7468 FAX: +55-53-275-7343 Registered Linux user # 153741 - This mail sent through IMP: http://horde.org/imp/ -- José Abílio Matos LyX and docbook a perfect match. :-)
Re: Looking for tex2lyx
On Wed, Oct 13, 2004 at 07:33:01PM +0100, Paul Smith wrote: > > Dominik, > > Thanks, but File->Import->LaTeX does not exist in my version of LyX (LyX 1.3.5). Don't you have perl on your system? The program that presently converts LaTeX to LyX is relyx, a perl script. > Regards, > > Paul -- José Abílio Matos LyX and docbook a perfect match. :-)
Re: Looking for tex2lyx
On Wed, Oct 13, 2004 at 11:17:26PM +0200, [EMAIL PROTECTED] wrote: > > Would it make sense to make a wiki page for tex2lyx, and attach a copy > of the script to that page so that people can download it from there? AFAIK, tex2lyx depends on some code from lyx. Also to use tex2lyx with lyx 1.3.5 you would need the corresponding version of lyx2lyx. On the other hand this version of lyx2lyx will be available with the last version of 1.3.x when 1.4.o is released. If you followed this argument you will see a circular argument. ;-) > Or are several files required for it to work? It should be too difficult to create a standalone version... But someone must do it. :-) > /Christian > > -- > Christian Ridderström, +46-8-768 39 44 http://www.md.kth.se/~chr > -- José Abílio Matos LyX and docbook a perfect match. :-)
Re: Looking for tex2lyx
On Wed, Oct 13, 2004 at 10:31:24PM +0100, Paul Smith wrote: > > > > The program that presently converts LaTeX to LyX is relyx, a perl script. > > Jose', > > I do have perl on my system, but locate relyx does not find relyx. That will happen if the cron job responsible to call updatedb has no yet run. Usually it runs once a day. Until that time no new entries will be found. On the hand if you perl installed and lyx doesn't find relyx (for 1.3.5) that is a bug. How did you installed lyx? > Paul -- José Abílio Matos LyX and docbook a perfect match. :-)
Re: Changing text height and width?
On Wed, Oct 13, 2004 at 04:49:48PM -0200, Rudi Gaelzer wrote: > > In that case, how can you save the desired page settings in a template or layout > file, so that you can use them on any document you're writing? Taking advantage of the lyx templates. Lets us assume for simplicity a spheric cow... oops, wrong time. ;-) Suppose that the document you want to modify is an article. There are several ways to do it, on of them is to save a document with no paragraphs inside, and with the properties you wish to, for example with the geometry settings that you described. Save that document in the templates directory. By default this location is usally $HOME/.lyx/templates but this can be changed. Then any time you want to open a new document is a matter of File -> New from template and there you are. > I've always set the page layout parameters in a *.sty file and then issued the > \usepackage command in the preamble. That is another way, place that in the documents preamble and make it a template. > Rudi Gaelzer > Departamento de Física > Instituto de Física e Matemática > Fundação Universidade Federal de Pelotas > Caixa Postal 354 - Campus UFPel > 96010-900 Pelotas - RS > BRAZIL > Phone: +55-53-275-7468 > FAX: +55-53-275-7343 > > Registered Linux user # 153741 > > - > This mail sent through IMP: http://horde.org/imp/ -- José Abílio Matos LyX and docbook a perfect match. :-)
Re: lyx and tables
On Fri, Oct 08, 2004 at 12:42:32AM +0200, Uwe Stöhr wrote: José Abílio Oliveira Matos wrote: No, Joachim Heidemeier is the author of my csv2lyx version. I retrieved his posting on the mailing list: http://www.mail-archive.com/[EMAIL PROTECTED]/msg29215.html So it seems that he rewrote csv2lyx. His converter isn't able to convert longtables. Is the csv2lyx from lyx.org able to do this? I don't think so. But it should be enough to change to table properties to get that. You need the files csv2lyx.* and the file preamble-inc.tex. The file csv2lyx is a small german documentation. If someone wants to use it, I'll translate the doc into english. Please do, it would be also interesting to have the new package in contrib. OK, I've uploaded the english documentation as csv2lyx-en.txt to http://fkurth.de/uwest/LyX/ If the package author agrees I think that this version can be placed in the contrib section of ftp. What do you think? regards Uwe -- José Abílio Matos LyX and docbook a perfect match. :-)
Re: lyx and tables
On Fri, Oct 08, 2004 at 12:42:32AM +0200, Uwe Stöhr wrote: José Abílio Oliveira Matos wrote: No, Joachim Heidemeier is the author of my csv2lyx version. I retrieved his posting on the mailing list: http://www.mail-archive.com/[EMAIL PROTECTED]/msg29215.html So it seems that he rewrote csv2lyx. His converter isn't able to convert longtables. Is the csv2lyx from lyx.org able to do this? I don't think so. But it should be enough to change to table properties to get that. You need the files csv2lyx.* and the file preamble-inc.tex. The file csv2lyx is a small german documentation. If someone wants to use it, I'll translate the doc into english. Please do, it would be also interesting to have the new package in contrib. OK, I've uploaded the english documentation as csv2lyx-en.txt to http://fkurth.de/uwest/LyX/ If the package author agrees I think that this version can be placed in the contrib section of ftp. What do you think? regards Uwe -- José Abílio Matos LyX and docbook a perfect match. :-)
Re: lyx and tables
On Fri, Oct 08, 2004 at 12:42:32AM +0200, Uwe Stöhr wrote: > José Abílio Oliveira Matos wrote: > > No, Joachim Heidemeier is the author of my csv2lyx version. I retrieved > his posting on the mailing list: > > http://www.mail-archive.com/[EMAIL PROTECTED]/msg29215.html > > So it seems that he rewrote csv2lyx. > His converter isn't able to convert longtables. Is the csv2lyx from > lyx.org able to do this? I don't think so. But it should be enough to change to table properties to get that. > >>You need the files csv2lyx.* and the file preamble-inc.tex. > >>The file csv2lyx is a small german documentation. > >>If someone wants to use it, I'll translate the doc into english. > > > Please do, it would be also interesting to have the new package in > > contrib. > > OK, I've uploaded the english documentation as csv2lyx-en.txt to > > http://fkurth.de/uwest/LyX/ If the package author agrees I think that this version can be placed in the contrib section of ftp. What do you think? > regards Uwe -- José Abílio Matos LyX and docbook a perfect match. :-)
Re: lyx and tables
On Thu, Oct 07, 2004 at 09:54:51PM +0200, Uwe Stöhr wrote: Francois Renard wrote: I'd like to know if ti's possible to import a table into lyx (as a table), or to transform a text to a table. Yes it is. Somebody wrote a csv - Lyx converter named csv2lyx. Under http://www.lyx.org/download/contrib.php3 there is an old version, but possibly it won#t work with LyX 1.3.x due to changes in the LyX-file structure. Due to lyx2lyx (don't you think that there too may xxx2lyx around ;-) there is no problem, lyx will be able to read the resulting code, no matter what version. I have tested csv2lyx, even with 1.4.0cvs, so I can assure you that it works. :-) The author, I stupidly lost his name and email address, sends me a version, that works with LyX 1.3.x. He compiled it for me under Windows, but it is possible to biuld it at other platforms. António Gulino You need the files csv2lyx.* and the file preamble-inc.tex. The file csv2lyx is a small german documentation. If someone wants to use it, I'll tranlate the doc into english. Please do, it would be also interesting to have the new package in contrib. regards Uwe -- José Abílio Matos LyX and docbook a perfect match. :-)
Re: lyx and tables
On Thu, Oct 07, 2004 at 09:54:51PM +0200, Uwe Stöhr wrote: Francois Renard wrote: I'd like to know if ti's possible to import a table into lyx (as a table), or to transform a text to a table. Yes it is. Somebody wrote a csv - Lyx converter named csv2lyx. Under http://www.lyx.org/download/contrib.php3 there is an old version, but possibly it won#t work with LyX 1.3.x due to changes in the LyX-file structure. Due to lyx2lyx (don't you think that there too may xxx2lyx around ;-) there is no problem, lyx will be able to read the resulting code, no matter what version. I have tested csv2lyx, even with 1.4.0cvs, so I can assure you that it works. :-) The author, I stupidly lost his name and email address, sends me a version, that works with LyX 1.3.x. He compiled it for me under Windows, but it is possible to biuld it at other platforms. António Gulino You need the files csv2lyx.* and the file preamble-inc.tex. The file csv2lyx is a small german documentation. If someone wants to use it, I'll tranlate the doc into english. Please do, it would be also interesting to have the new package in contrib. regards Uwe -- José Abílio Matos LyX and docbook a perfect match. :-)
Re: lyx and tables
On Thu, Oct 07, 2004 at 09:54:51PM +0200, Uwe Stöhr wrote: > Francois Renard wrote: > > >I'd like to know if ti's possible to import a table into lyx (as a table), > >or to transform a text to a table. > > Yes it is. Somebody wrote a csv -> Lyx converter named csv2lyx. > Under > > http://www.lyx.org/download/contrib.php3 > > there is an old version, but possibly it won#t work with LyX 1.3.x due > to changes in the LyX-file structure. Due to lyx2lyx (don't you think that there too may xxx2lyx around ;-) there is no problem, lyx will be able to read the resulting code, no matter what version. I have tested csv2lyx, even with 1.4.0cvs, so I can assure you that it works. :-) > The author, I stupidly lost his name and email address, sends me a > version, that works with LyX 1.3.x. He compiled it for me under Windows, > but it is possible to biuld it at other platforms. António Gulino > You need the files csv2lyx.* and the file preamble-inc.tex. > The file csv2lyx is a small german documentation. > If someone wants to use it, I'll tranlate the doc into english. Please do, it would be also interesting to have the new package in contrib. > regards Uwe -- José Abílio Matos LyX and docbook a perfect match. :-)
Re: KDE upgrade + accents
On Wed, Oct 06, 2004 at 12:00:41AM +0200, Juan Luis Chulilla wrote: I had that problem with suse 9.1 and KDE 3.2. My solution was to use this language specification:in /etc/sysconfig/language , I use RC_LANG = es_ES.ISO-8859-15 instead of UTF-8 used as default. This is a different kind of problem. :-) I have changed too previously, to avoid UTF-8. Now I'm using kde 3.3.0 and with it qt-3.3.3 The funny part is that if I start lyx with LANG=pt_PT.ISO-8859-15 lyx it doesn't print the accents. That is instead of ´a I get a while previously I got á. Hope this helps No, but thanks for your help. -- José Abílio Matos LyX and docbook a perfect match. :-)
Re: KDE upgrade + accents
On Wed, Oct 06, 2004 at 12:00:41AM +0200, Juan Luis Chulilla wrote: I had that problem with suse 9.1 and KDE 3.2. My solution was to use this language specification:in /etc/sysconfig/language , I use RC_LANG = es_ES.ISO-8859-15 instead of UTF-8 used as default. This is a different kind of problem. :-) I have changed too previously, to avoid UTF-8. Now I'm using kde 3.3.0 and with it qt-3.3.3 The funny part is that if I start lyx with LANG=pt_PT.ISO-8859-15 lyx it doesn't print the accents. That is instead of ´a I get a while previously I got á. Hope this helps No, but thanks for your help. -- José Abílio Matos LyX and docbook a perfect match. :-)
Re: KDE upgrade + accents
On Wed, Oct 06, 2004 at 12:00:41AM +0200, Juan Luis Chulilla wrote: > I had that problem with suse 9.1 and KDE 3.2. My solution was to use > this language specification:in /etc/sysconfig/language , I use RC_LANG > = "es_ES.ISO-8859-15" instead of UTF-8 used as default. This is a different kind of problem. :-) I have changed too previously, to avoid UTF-8. Now I'm using kde 3.3.0 and with it qt-3.3.3 The funny part is that if I start lyx with LANG=pt_PT.ISO-8859-15 lyx it doesn't print the accents. That is instead of ´a I get a while previously I got á. > Hope this helps No, but thanks for your help. -- José Abílio Matos LyX and docbook a perfect match. :-)
Re: KDE upgrade + accents
On Mon, Oct 04, 2004 at 06:07:49PM +0200, Alfonso Gazo wrote: I'm also having this problem. I'm using Fedora Core 2 + KDE 3.3.0 (packages from http://kde-redhat.sourceforge.net/). I've tested lyx -dbg4 from a machine before upgrading. I've wrote an á (i.e., an accent and and a). The following output was produced. Everything was ok: ... I now have that problem, but I didn't had it before even running kde 3.3.0 from kde-redhat. I think that I will ask in the users list there, as the maintainer is a helpful guy. He does a wonderful job. :-) -- José Abílio Matos LyX and docbook a perfect match. :-)
Re: KDE upgrade + accents
On Mon, Oct 04, 2004 at 06:07:49PM +0200, Alfonso Gazo wrote: I'm also having this problem. I'm using Fedora Core 2 + KDE 3.3.0 (packages from http://kde-redhat.sourceforge.net/). I've tested lyx -dbg4 from a machine before upgrading. I've wrote an á (i.e., an accent and and a). The following output was produced. Everything was ok: ... I now have that problem, but I didn't had it before even running kde 3.3.0 from kde-redhat. I think that I will ask in the users list there, as the maintainer is a helpful guy. He does a wonderful job. :-) -- José Abílio Matos LyX and docbook a perfect match. :-)
Re: KDE upgrade + accents
On Mon, Oct 04, 2004 at 06:07:49PM +0200, Alfonso Gazo wrote: > I'm also having this problem. I'm using Fedora Core 2 + KDE 3.3.0 > (packages from http://kde-redhat.sourceforge.net/). > > I've tested lyx -dbg4 from a machine before upgrading. I've wrote an "á" > (i.e., an accent and and "a"). The following output was produced. > Everything was ok: ... I now have that problem, but I didn't had it before even running kde 3.3.0 from kde-redhat. I think that I will ask in the users list there, as the maintainer is a helpful guy. He does a wonderful job. :-) -- José Abílio Matos LyX and docbook a perfect match. :-)
Re: about xdvi
On Mon, Oct 04, 2004 at 11:36:18AM +0200, [EMAIL PROTECTED] wrote: I have a big problem! My Lyx Version is 1.3.4 installed with Suse Linux 9.1. My Pc has been turned off by accident while lyx was opened. When I turn it on again, I could not use xdvi, I could not export on pdf, nor print also. Files of configuration/ compilation have been certainly fused. What can I do? Thanks for your reply. Edit - Reconfigure Does this helps? -- José Abílio Matos LyX and docbook a perfect match. :-)
Re: about xdvi
On Mon, Oct 04, 2004 at 11:36:18AM +0200, [EMAIL PROTECTED] wrote: I have a big problem! My Lyx Version is 1.3.4 installed with Suse Linux 9.1. My Pc has been turned off by accident while lyx was opened. When I turn it on again, I could not use xdvi, I could not export on pdf, nor print also. Files of configuration/ compilation have been certainly fused. What can I do? Thanks for your reply. Edit - Reconfigure Does this helps? -- José Abílio Matos LyX and docbook a perfect match. :-)
Re: about xdvi
On Mon, Oct 04, 2004 at 11:36:18AM +0200, [EMAIL PROTECTED] wrote: > I have a big problem! > My Lyx Version is 1.3.4 installed with Suse Linux 9.1. > My Pc has been turned off by accident while lyx was opened. > When I turn it on again, I could not use xdvi, I could not export > on pdf, nor print also. > Files of configuration/ compilation have been certainly fused. > What can I do? > Thanks for your reply. Edit -> Reconfigure Does this helps? -- José Abílio Matos LyX and docbook a perfect match. :-)
Re: LyX Quickstart
On Fri, Oct 01, 2004 at 06:54:13AM -0500, Jack Gill wrote: As a newbie on LyX, I'm finding Steve Litt's article to be a very helpful guide. http://www.troubleshooters.com/lpm/200210/200210.htm Although I'm not a newbie, well at least I think so ;-), I also find Steve's articles incisive and to the point, in a pragmatical way. Something that I lake ocasionally. :-) Jack -- José Abílio Matos LyX and docbook a perfect match. :-)
Re: LyX Quickstart
On Fri, Oct 01, 2004 at 06:54:13AM -0500, Jack Gill wrote: As a newbie on LyX, I'm finding Steve Litt's article to be a very helpful guide. http://www.troubleshooters.com/lpm/200210/200210.htm Although I'm not a newbie, well at least I think so ;-), I also find Steve's articles incisive and to the point, in a pragmatical way. Something that I lake ocasionally. :-) Jack -- José Abílio Matos LyX and docbook a perfect match. :-)
Re: LyX Quickstart
On Fri, Oct 01, 2004 at 06:54:13AM -0500, Jack Gill wrote: > As a newbie on LyX, I'm finding Steve Litt's article to be a very > helpful guide. > > http://www.troubleshooters.com/lpm/200210/200210.htm Although I'm not a newbie, well at least I think so ;-), I also find Steve's articles incisive and to the point, in a pragmatical way. Something that I lake ocasionally. :-) > Jack -- José Abílio Matos LyX and docbook a perfect match. :-)
Re: Silly Question :-)
On Thu, Sep 30, 2004 at 08:04:24AM +0200, G. Milde wrote: I assume, FileReload was never made for external changes: Reload will not work until I change something in my document. Then it prompts Document changed. Save? [Yes] No I have to set this to no, as I do not want to overwrite the external changes. Then importing works. You are aware that this is not a usual need? :-) In this case this a symptom, not the root of the problem. The cause is the absence of an advanced search and replace feature inside lyx. Does anyone know of a smarter solution? Nope, at least I don't. I thought about using the lyx server and started a python script but work stalled due to other projects. That seems interesting, please report if you get anything working. Günter -- G.Milde web.de -- José Abílio Matos LyX and docbook a perfect match. :-)
Re: Silly Question :-)
On Thu, Sep 30, 2004 at 08:44:13PM +0100, José Abílio Oliveira Matos wrote: I thought about using the lyx server and started a python script but work stalled due to other projects. That seems interesting, please report if you get anything working. And if you have problems you can ask for assistence in the devel mailing list (as I think this is a more apropriate place for this discussion). :-) -- José Abílio Matos LyX and docbook a perfect match. :-)
Re: Silly Question :-)
On Thu, Sep 30, 2004 at 08:04:24AM +0200, G. Milde wrote: I assume, FileReload was never made for external changes: Reload will not work until I change something in my document. Then it prompts Document changed. Save? [Yes] No I have to set this to no, as I do not want to overwrite the external changes. Then importing works. You are aware that this is not a usual need? :-) In this case this a symptom, not the root of the problem. The cause is the absence of an advanced search and replace feature inside lyx. Does anyone know of a smarter solution? Nope, at least I don't. I thought about using the lyx server and started a python script but work stalled due to other projects. That seems interesting, please report if you get anything working. Günter -- G.Milde web.de -- José Abílio Matos LyX and docbook a perfect match. :-)
Re: Silly Question :-)
On Thu, Sep 30, 2004 at 08:44:13PM +0100, José Abílio Oliveira Matos wrote: I thought about using the lyx server and started a python script but work stalled due to other projects. That seems interesting, please report if you get anything working. And if you have problems you can ask for assistence in the devel mailing list (as I think this is a more apropriate place for this discussion). :-) -- José Abílio Matos LyX and docbook a perfect match. :-)
Re: Silly Question :-)
On Thu, Sep 30, 2004 at 08:04:24AM +0200, G. Milde wrote: > > I assume, File>Reload was never made for external changes: > Reload will not work until I change something in my document. Then it prompts >Document changed. Save? [Yes] No > I have to set this to no, as I do not want to overwrite the external > changes. Then importing works. You are aware that this is not a usual need? :-) In this case this a symptom, not the root of the problem. The cause is the absence of an advanced search and replace feature inside lyx. > Does anyone know of a smarter solution? Nope, at least I don't. > I thought about using the lyx server and started a python script but work > stalled due to other projects. That seems interesting, please report if you get anything working. > Günter > > > -- > G.Milde web.de -- José Abílio Matos LyX and docbook a perfect match. :-)
Re: Silly Question :-)
On Thu, Sep 30, 2004 at 08:44:13PM +0100, José Abílio Oliveira Matos wrote: > > > I thought about using the lyx server and started a python script but work > > stalled due to other projects. > > That seems interesting, please report if you get anything working. And if you have problems you can ask for assistence in the devel mailing list (as I think this is a more apropriate place for this discussion). :-) -- José Abílio Matos LyX and docbook a perfect match. :-)
Re: Problems in Using - SGML ( LinuxDoc manpage) Document Style
On Wed, Sep 29, 2004 at 06:33:00AM +, udayan singh wrote: Well I think if its playing some role in formatting ( or some other thing ) of this doc class, then it should have been mentioned ( my views) . I agree. But my priority is not linuxdoc, linuxdoc is a dead end. It works well for simple things. The problem was that it started as a hack and took much time to get right. Later was decided that instead of reinventing the wheel everytime the best thing would be to move to a more standard project, docbook. Also, now you have many formats that you find in document class 'SGML (LinuxDoc article)' rather than in document class 'SGML (LinuxDoc manpage)'. e.g. Title / Author /SubSection /SubSubsection / paragraph / Date and Abstract. This is by linuxdoc design, not LyX, those are the only available layouts for manpage. Okay , one more thing , if I am correct we are not allowed to use TOC in document classes 'SGML (LinuxDoc article)' and 'SGML (LinuxDoc manpage)'. Wanted to clarify this. No, you can not, agains this impose by linuxdoc not lyx. I know that then LyX should not allow the user to place, it is bug but not easy to fix, and again such a small one that I don't intend to fix it. IMO the toc, as well as the lof, placement belongs to the transformation part not to the content. How many times to you place TOC in another place different from the usual? ... If I got you correctly, you mean that the tool that is being presently used by lyx, for converting to pdf format, is faulty on my system. Since I am getting the .sgml files when I convert to pdf then I face a problem ( as of now I dont know if the sgml file is in correct format ). But I would like to mention that when I am using simply documentclass 'book' , then things work out perfectly i.e. I get the pdf format of the given file ( hope I didnt miss out something ). Because then you are using different tools. If using linxudoc manpage the path to pdf is: lyx - linuxdoc - latex - pdf while with LaTeX (book) is: lyx - latex - pdf Well in any case , which tool would you recommend that I should use to convert .sgml file? I got this .sgml from converting the .lyx doc of document class 'SGML (LinuxDoc manpage)' ( I exported it to LinuxDoc). I would like to try this out first. What is your goal? To produce a man page from your document? Thanks a lot for answering , bet need more clarification. You're welcome. :-) Regards, Udayan -- José Abílio Matos LyX and docbook a perfect match. :-)
Re: Problems in Using - SGML ( LinuxDoc manpage) Document Style
On Wed, Sep 29, 2004 at 06:42:29AM +, udayan singh wrote: Would you like me to put the file here, that I got in .sgml format? Its the example linuxdoc_manpage.sgml that we get from the linuxdoc_manpage.lyx, which comes with lyx. No need to, at least for now. Regards, Udayan -- José Abílio Matos LyX and docbook a perfect match. :-)
Re: Problems in Using - SGML ( LinuxDoc manpage) Document Style
On Wed, Sep 29, 2004 at 12:26:46PM +, udayan singh wrote: Because then you are using different tools. If using linxudoc manpage the path to pdf is: lyx - linuxdoc - latex - pdf while with LaTeX (book) is: lyx - latex - pdf Exactly, but why is it that I get the pdf while using LaTex (book) document class , since only one tool is extra i.e. linuxdoc ? Rest of the three two conversion tools are common i.e. when converting to latex and pdf ). The problem is the step linuxdoc - latex, the linuxdoc-tools fails there. Which tool ( and version ) should I install on my system ? Since I am getting a linuxdoc (.sgml) file format. I don't know. :-( I searched in the internet for the linuxdoc-tools, that pages does not exists, its maintainer is a debian developer and he doesn't update the debian package for more than 2 years. There are also other problems that I am aware with that package, but I don't have the time/will to take over the package and fix the bugs. The bugs are easy to fix, but there is no much use for linuxdoc-tools now. Well in any case , which tool would you recommend that I should use to convert .sgml file? I got this .sgml from converting the .lyx doc of document class 'SGML (LinuxDoc manpage)' ( I exported it to LinuxDoc). I would like to try this out first. What is your goal? To produce a man page from your document? Yes a man page or a pdf file. Other than this I don't know any converter to man pages. But probably some one here knows. Thanks for your patience :) Regards, Udayan -- José Abílio Matos LyX and docbook a perfect match. :-)
Re: AMSBOOK in french
On Wed, Sep 29, 2004 at 10:13:00AM +0200, NOEL Yvonnick wrote: Hello, I am playing around with the AMSBOOK class under Lyx, and have selected French as the document language. All the main entries (title, part,section, chapter..) are properly translated, but not some AMS-specific items such as exercise and example (which should appear as exercice and exemple in French). Does anybody know where this translation is managed (babel...) ? I think it should be possible to add some lines in a config file, but I am no lyx/latex guru :-) As an example for portuguese I have been adding this to the preamble for theorems and coroloaries: \newtheorem{theorem}{Teorema} \newtheorem{corolary}{Corolário} \let\thm\theorem \let\cor\corolary lyx defines them in english as: \theoremstyle{plain} \newtheorem{thm}{Theorem} \theoremstyle{plain} \newtheorem{cor}{Corollary} Probably Herbert will prove this is wrong, and a better way exists. :-) Any help appreciated. -- José Abílio Matos LyX and docbook a perfect match. :-)
Re: convert html table to Lyx
On Wed, Sep 29, 2004 at 01:22:16PM -0700, Jeremy C. Reed wrote: I made a table in Lyx (cvs version). Is there any way in lyx to have tables without defining how many rows or columns ahead of time? No. Maybe I should use latex table or tabular? I see two: - make a script (in python ;-) to convert the tables specifically - convert the table to latex and use tex2lyx to convert the resulting table. I have some XML documents that I am converting to Lyx and it is going well, but now I am trying to figure out the tables part. What are you using to convert them, xsl? I have table, row, item, table heading, but no references ahead of time of how many rows or items. Anyone have any example of doing this? I have done most of the work of converting previous file format of lyx to the latest for tables. And it was reasonably easy using python. I'm serious. :-) Jeremy C. Reed BSD News, BSD tutorials, BSD links http://www.bsdnewsletter.com/ -- José Abílio Matos LyX and docbook a perfect match. :-)
Re: Problems in Using - SGML ( LinuxDoc manpage) Document Style
On Wed, Sep 29, 2004 at 06:33:00AM +, udayan singh wrote: Well I think if its playing some role in formatting ( or some other thing ) of this doc class, then it should have been mentioned ( my views) . I agree. But my priority is not linuxdoc, linuxdoc is a dead end. It works well for simple things. The problem was that it started as a hack and took much time to get right. Later was decided that instead of reinventing the wheel everytime the best thing would be to move to a more standard project, docbook. Also, now you have many formats that you find in document class 'SGML (LinuxDoc article)' rather than in document class 'SGML (LinuxDoc manpage)'. e.g. Title / Author /SubSection /SubSubsection / paragraph / Date and Abstract. This is by linuxdoc design, not LyX, those are the only available layouts for manpage. Okay , one more thing , if I am correct we are not allowed to use TOC in document classes 'SGML (LinuxDoc article)' and 'SGML (LinuxDoc manpage)'. Wanted to clarify this. No, you can not, agains this impose by linuxdoc not lyx. I know that then LyX should not allow the user to place, it is bug but not easy to fix, and again such a small one that I don't intend to fix it. IMO the toc, as well as the lof, placement belongs to the transformation part not to the content. How many times to you place TOC in another place different from the usual? ... If I got you correctly, you mean that the tool that is being presently used by lyx, for converting to pdf format, is faulty on my system. Since I am getting the .sgml files when I convert to pdf then I face a problem ( as of now I dont know if the sgml file is in correct format ). But I would like to mention that when I am using simply documentclass 'book' , then things work out perfectly i.e. I get the pdf format of the given file ( hope I didnt miss out something ). Because then you are using different tools. If using linxudoc manpage the path to pdf is: lyx - linuxdoc - latex - pdf while with LaTeX (book) is: lyx - latex - pdf Well in any case , which tool would you recommend that I should use to convert .sgml file? I got this .sgml from converting the .lyx doc of document class 'SGML (LinuxDoc manpage)' ( I exported it to LinuxDoc). I would like to try this out first. What is your goal? To produce a man page from your document? Thanks a lot for answering , bet need more clarification. You're welcome. :-) Regards, Udayan -- José Abílio Matos LyX and docbook a perfect match. :-)
Re: Problems in Using - SGML ( LinuxDoc manpage) Document Style
On Wed, Sep 29, 2004 at 06:42:29AM +, udayan singh wrote: Would you like me to put the file here, that I got in .sgml format? Its the example linuxdoc_manpage.sgml that we get from the linuxdoc_manpage.lyx, which comes with lyx. No need to, at least for now. Regards, Udayan -- José Abílio Matos LyX and docbook a perfect match. :-)
Re: Problems in Using - SGML ( LinuxDoc manpage) Document Style
On Wed, Sep 29, 2004 at 12:26:46PM +, udayan singh wrote: Because then you are using different tools. If using linxudoc manpage the path to pdf is: lyx - linuxdoc - latex - pdf while with LaTeX (book) is: lyx - latex - pdf Exactly, but why is it that I get the pdf while using LaTex (book) document class , since only one tool is extra i.e. linuxdoc ? Rest of the three two conversion tools are common i.e. when converting to latex and pdf ). The problem is the step linuxdoc - latex, the linuxdoc-tools fails there. Which tool ( and version ) should I install on my system ? Since I am getting a linuxdoc (.sgml) file format. I don't know. :-( I searched in the internet for the linuxdoc-tools, that pages does not exists, its maintainer is a debian developer and he doesn't update the debian package for more than 2 years. There are also other problems that I am aware with that package, but I don't have the time/will to take over the package and fix the bugs. The bugs are easy to fix, but there is no much use for linuxdoc-tools now. Well in any case , which tool would you recommend that I should use to convert .sgml file? I got this .sgml from converting the .lyx doc of document class 'SGML (LinuxDoc manpage)' ( I exported it to LinuxDoc). I would like to try this out first. What is your goal? To produce a man page from your document? Yes a man page or a pdf file. Other than this I don't know any converter to man pages. But probably some one here knows. Thanks for your patience :) Regards, Udayan -- José Abílio Matos LyX and docbook a perfect match. :-)
Re: AMSBOOK in french
On Wed, Sep 29, 2004 at 10:13:00AM +0200, NOEL Yvonnick wrote: Hello, I am playing around with the AMSBOOK class under Lyx, and have selected French as the document language. All the main entries (title, part,section, chapter..) are properly translated, but not some AMS-specific items such as exercise and example (which should appear as exercice and exemple in French). Does anybody know where this translation is managed (babel...) ? I think it should be possible to add some lines in a config file, but I am no lyx/latex guru :-) As an example for portuguese I have been adding this to the preamble for theorems and coroloaries: \newtheorem{theorem}{Teorema} \newtheorem{corolary}{Corolário} \let\thm\theorem \let\cor\corolary lyx defines them in english as: \theoremstyle{plain} \newtheorem{thm}{Theorem} \theoremstyle{plain} \newtheorem{cor}{Corollary} Probably Herbert will prove this is wrong, and a better way exists. :-) Any help appreciated. -- José Abílio Matos LyX and docbook a perfect match. :-)
Re: convert html table to Lyx
On Wed, Sep 29, 2004 at 01:22:16PM -0700, Jeremy C. Reed wrote: I made a table in Lyx (cvs version). Is there any way in lyx to have tables without defining how many rows or columns ahead of time? No. Maybe I should use latex table or tabular? I see two: - make a script (in python ;-) to convert the tables specifically - convert the table to latex and use tex2lyx to convert the resulting table. I have some XML documents that I am converting to Lyx and it is going well, but now I am trying to figure out the tables part. What are you using to convert them, xsl? I have table, row, item, table heading, but no references ahead of time of how many rows or items. Anyone have any example of doing this? I have done most of the work of converting previous file format of lyx to the latest for tables. And it was reasonably easy using python. I'm serious. :-) Jeremy C. Reed BSD News, BSD tutorials, BSD links http://www.bsdnewsletter.com/ -- José Abílio Matos LyX and docbook a perfect match. :-)
Re: Problems in Using - SGML ( LinuxDoc manpage) Document Style
On Wed, Sep 29, 2004 at 06:33:00AM +, udayan singh wrote: > > Well I think if its playing some role in formatting ( or some other thing ) > of this doc class, then it should have been mentioned ( my views) . I agree. But my priority is not linuxdoc, linuxdoc is a dead end. It works well for simple things. The problem was that it started as a hack and took much time to get right. Later was decided that instead of reinventing the wheel everytime the best thing would be to move to a more standard project, docbook. > Also, now you have many formats that you find in document class 'SGML > (LinuxDoc article)' rather than in document class 'SGML (LinuxDoc > manpage)'. > e.g. Title / Author /SubSection /SubSubsection / paragraph / Date and > Abstract. This is by linuxdoc design, not LyX, those are the only available layouts for manpage. > Okay , one more thing , if I am correct we are not allowed to use TOC in > document classes 'SGML (LinuxDoc article)' and 'SGML (LinuxDoc manpage)'. > Wanted to clarify this. No, you can not, agains this impose by linuxdoc not lyx. I know that then LyX should not allow the user to place, it is bug but not easy to fix, and again such a small one that I don't intend to fix it. IMO the toc, as well as the lof, placement belongs to the transformation part not to the content. How many times to you place TOC in another place different from the usual? ... > If I got you correctly, you mean that the tool that is being presently used > by lyx, for converting to pdf format, is faulty on my system. Since I am > getting the .sgml files when I convert to pdf then I face a problem ( as > of now I dont know if the sgml file is in correct format ). But I would > like to mention that when I am using simply documentclass 'book' , then > things work out perfectly i.e. I get the pdf format of the given file ( > hope I didnt miss out something ). Because then you are using different tools. If using linxudoc manpage the path to pdf is: lyx -> linuxdoc -> latex -> pdf while with "LaTeX (book)" is: lyx -> latex -> pdf > Well in any case , which tool would you recommend that I should use to > convert .sgml file? I got this .sgml from converting the .lyx doc of > document class 'SGML (LinuxDoc manpage)' ( I exported it to LinuxDoc). I > would like to try this out first. What is your goal? To produce a man page from your document? > Thanks a lot for answering , bet need more clarification. You're welcome. :-) > Regards, > Udayan -- José Abílio Matos LyX and docbook a perfect match. :-)
Re: Problems in Using - SGML ( LinuxDoc manpage) Document Style
On Wed, Sep 29, 2004 at 06:42:29AM +, udayan singh wrote: > Would you like me to put the file here, that I got in .sgml format? Its the > example linuxdoc_manpage.sgml that we get from the linuxdoc_manpage.lyx, > which comes with lyx. No need to, at least for now. > Regards, > Udayan -- José Abílio Matos LyX and docbook a perfect match. :-)
Re: Problems in Using - SGML ( LinuxDoc manpage) Document Style
On Wed, Sep 29, 2004 at 12:26:46PM +, udayan singh wrote: > > > > > Because then you are using different tools. > > If using linxudoc manpage the path to pdf is: > >lyx -> linuxdoc -> latex -> pdf > > > > while with "LaTeX (book)" is: > >lyx -> latex -> pdf > > > > Exactly, but why is it that I get the pdf while using "LaTex (book)" > document class , since only one tool is extra i.e. linuxdoc ? Rest of the > three two conversion tools are common i.e. when converting to latex and pdf > ). The problem is the step linuxdoc -> latex, the linuxdoc-tools fails there. > Which tool ( and version ) should I install on my system ? Since I am > getting a linuxdoc (.sgml) file format. I don't know. :-( I searched in the internet for the linuxdoc-tools, that pages does not exists, its maintainer is a debian developer and he doesn't update the debian package for more than 2 years. There are also other problems that I am aware with that package, but I don't have the time/will to take over the package and fix the bugs. The bugs are easy to fix, but there is no much use for linuxdoc-tools now. > >> Well in any case , which tool would you recommend that I should use to > >> convert .sgml file? I got this .sgml from converting the .lyx doc of > >> document class 'SGML (LinuxDoc manpage)' ( I exported it to LinuxDoc). I > >> would like to try this out first. > > > > What is your goal? To produce a man page from your document? > > > Yes a man page or a pdf file. Other than this I don't know any converter to man pages. But probably some one here knows. > Thanks for your patience :) > > Regards, > Udayan -- José Abílio Matos LyX and docbook a perfect match. :-)
Re: AMSBOOK in french
On Wed, Sep 29, 2004 at 10:13:00AM +0200, NOEL Yvonnick wrote: > Hello, > > I am playing around with the AMSBOOK class under Lyx, and have selected > "French" as the document language. All the main entries (title, > part,section, chapter..) are properly translated, but not some > AMS-specific items such as "exercise" and "example" (which should appear > as "exercice" and "exemple" in French). > > Does anybody know where this translation is managed (babel...) ? I think > it should be possible to add some lines in a config file, but I am no > lyx/latex guru :-) As an example for portuguese I have been adding this to the preamble for theorems and coroloaries: \newtheorem{theorem}{Teorema} \newtheorem{corolary}{Corolário} \let\thm\theorem \let\cor\corolary lyx defines them in english as: \theoremstyle{plain} \newtheorem{thm}{Theorem} \theoremstyle{plain} \newtheorem{cor}{Corollary} Probably Herbert will prove this is wrong, and a better way exists. :-) > Any help appreciated. > -- José Abílio Matos LyX and docbook a perfect match. :-)
Re: convert html table to Lyx
On Wed, Sep 29, 2004 at 01:22:16PM -0700, Jeremy C. Reed wrote: > I made a table in Lyx (cvs version). > > > Is there any way in lyx to have tables without defining how many rows or > columns ahead of time? No. > Maybe I should use latex table or tabular? I see two: - make a script (in python ;-) to convert the tables specifically - convert the table to latex and use tex2lyx to convert the resulting table. > I have some XML documents that I am converting to Lyx and it is going > well, but now I am trying to figure out the tables part. What are you using to convert them, xsl? > I have table, row, item, table heading, but no references ahead of time of > how many rows or items. > > Anyone have any example of doing this? I have done most of the work of converting previous file format of lyx to the latest for tables. And it was reasonably easy using python. I'm serious. :-) > Jeremy C. Reed > >BSD News, BSD tutorials, BSD links >http://www.bsdnewsletter.com/ -- José Abílio Matos LyX and docbook a perfect match. :-)
Re: Problems in Using - SGML ( LinuxDoc manpage) Document Style
On Tue, Sep 28, 2004 at 07:08:58AM +, udayan singh wrote: Hi , I am using lyx with the document class ? ?SGML (LinuxDoc manpage)?. Now I really tried to find some docs related to this class specifically, but couldn?t find anything really specific to it. I am facing some probs in documenting using the above-mentioned class: There was some documentation related with linuxdoc generation in the Extended Guide, I think. It should be there. There is some documentation but it hardly explains about the use of document class 'SGML (LinuxDoc manpage)' . It more or less describes about document class 'SGML (LinuxDoc article)' . The only thing that is special to the manpage as compared to article is that you pass in the Document options: title=MyTitle sectnum=Mysecnum All the rest should be the same. I can add a subsection just saying that, for the several reason I always applied my time elsewhere. :-) 1. I am able to generate sgml (i.e. LinuxDoc)/ html / txt format from the myFile.lyx ( a document that I created in the mentioned documentclass) using the lyx tool. But am not able to create pdf page from the same directly. Do you have pdflatex installed? I am asking this as linuxdoc can export html and from there use pdflatex. What tools are using to convert from linuxdoc? sgmltools? linuxdoctools? Yes, I have pdflatex installed. I tried sgmltools, and linuxdoc also. Now at times they work or at times they dont. Okay , I had prepared one document which is roughly 50 pages long. Now If I try to get a pdf document for this one I get some output but only 4 pages is what I get. Also the output is completely distorted. Whereas when I tried only for a page, then I got no output!! Dont you think I should have got the correct output if I directly convert to pdf / dvi format, as I get in txt / html format ? Yes, I do. Just a small tutorial over the way as lyx works. The most used backend is latex. This means that lyx exports the document to latex and then relies in external tools to convert that code to the final format you want it to. The same applies to linuxdoc and to docbook. LyX exports the document in each of this format and then uses other tools to convert them to the format you want to. The only exception to this scheme is the text export that is done in an heuristic way. (This means lots of hardwired code) The problems you experiencing are due to faulty linuxdoc tools, unless you show me an example where lyx is producing ilegal linuxdoc code. What is something on the line of: unless I'm convinced otherwise it is the tools fault. ;-) I have seen so many example through the years. :-( They have some bugs, or missing features if you prefer... :-) I mean why should I use the other tools, when I have a feature in lyx to get the output in the required format. The question as I tried to point before is that lyx is using those tools. I have plans for implement direct filters from the lyx format to other formats, the manpages being one of them, xhtml another. Thecnically is not so difficult as lyx2lyx has been evolving to a library of python functions able to deal with the lyx format. But this will be the future and are not there yet. Something that could work as a hack, is to change the document class to latex article and you should get a good pdf. This is a hack but the objectif is to gave you a working pdf. 2. Now sometimes ( or many times though not every time) I can create these pdf files using some other tools: e.g. docbook2pdf or pdflatex, but they cannot be really used since the output is really not good looking. What is docbook2pdf doing here? :-) It shouldn't be possible to use it here. It is not, I tried. Gives some Error. OK. Which further points me to this one : http://www.karakas-online.de/mySGML/ This site refers to docbook with lyx, not to linuxdoc. My mistake, I missed out that point and you are right :). But I thought if I can get a 'sgml' format from 'SGML (LinuxDoc manpage)' (which I am able to get for any length of doc ), but when I tried to convert to other format e.g. pdf, then it doesnt work for the smaller doc as I mentioned above. Well formed html is sgml, and yet quite different from both linuxdoc and docbook. So in a sense sgml doesn't say much about a format. The SGML is there in the name to scare latex users, something like Don't try this at home folks. ;-) Now this one also does not talks in detail ( rather it doesnt talk ) about ?SGML (LinuxDoc manpage)?. I read the document: ?Extended Lyx features?, but it really doesn?t give much info. I will be thankful if I can have some help regarding the mentioned topics. Without further information I am lost. :-) You do have the example of a man page that is distributed with lyx. Found one :) . Thats better, but now the problem is the same. When I tried to
Re: Problems in Using - SGML ( LinuxDoc manpage) Document Style
On Tue, Sep 28, 2004 at 07:08:58AM +, udayan singh wrote: Hi , I am using lyx with the document class ? ?SGML (LinuxDoc manpage)?. Now I really tried to find some docs related to this class specifically, but couldn?t find anything really specific to it. I am facing some probs in documenting using the above-mentioned class: There was some documentation related with linuxdoc generation in the Extended Guide, I think. It should be there. There is some documentation but it hardly explains about the use of document class 'SGML (LinuxDoc manpage)' . It more or less describes about document class 'SGML (LinuxDoc article)' . The only thing that is special to the manpage as compared to article is that you pass in the Document options: title=MyTitle sectnum=Mysecnum All the rest should be the same. I can add a subsection just saying that, for the several reason I always applied my time elsewhere. :-) 1. I am able to generate sgml (i.e. LinuxDoc)/ html / txt format from the myFile.lyx ( a document that I created in the mentioned documentclass) using the lyx tool. But am not able to create pdf page from the same directly. Do you have pdflatex installed? I am asking this as linuxdoc can export html and from there use pdflatex. What tools are using to convert from linuxdoc? sgmltools? linuxdoctools? Yes, I have pdflatex installed. I tried sgmltools, and linuxdoc also. Now at times they work or at times they dont. Okay , I had prepared one document which is roughly 50 pages long. Now If I try to get a pdf document for this one I get some output but only 4 pages is what I get. Also the output is completely distorted. Whereas when I tried only for a page, then I got no output!! Dont you think I should have got the correct output if I directly convert to pdf / dvi format, as I get in txt / html format ? Yes, I do. Just a small tutorial over the way as lyx works. The most used backend is latex. This means that lyx exports the document to latex and then relies in external tools to convert that code to the final format you want it to. The same applies to linuxdoc and to docbook. LyX exports the document in each of this format and then uses other tools to convert them to the format you want to. The only exception to this scheme is the text export that is done in an heuristic way. (This means lots of hardwired code) The problems you experiencing are due to faulty linuxdoc tools, unless you show me an example where lyx is producing ilegal linuxdoc code. What is something on the line of: unless I'm convinced otherwise it is the tools fault. ;-) I have seen so many example through the years. :-( They have some bugs, or missing features if you prefer... :-) I mean why should I use the other tools, when I have a feature in lyx to get the output in the required format. The question as I tried to point before is that lyx is using those tools. I have plans for implement direct filters from the lyx format to other formats, the manpages being one of them, xhtml another. Thecnically is not so difficult as lyx2lyx has been evolving to a library of python functions able to deal with the lyx format. But this will be the future and are not there yet. Something that could work as a hack, is to change the document class to latex article and you should get a good pdf. This is a hack but the objectif is to gave you a working pdf. 2. Now sometimes ( or many times though not every time) I can create these pdf files using some other tools: e.g. docbook2pdf or pdflatex, but they cannot be really used since the output is really not good looking. What is docbook2pdf doing here? :-) It shouldn't be possible to use it here. It is not, I tried. Gives some Error. OK. Which further points me to this one : http://www.karakas-online.de/mySGML/ This site refers to docbook with lyx, not to linuxdoc. My mistake, I missed out that point and you are right :). But I thought if I can get a 'sgml' format from 'SGML (LinuxDoc manpage)' (which I am able to get for any length of doc ), but when I tried to convert to other format e.g. pdf, then it doesnt work for the smaller doc as I mentioned above. Well formed html is sgml, and yet quite different from both linuxdoc and docbook. So in a sense sgml doesn't say much about a format. The SGML is there in the name to scare latex users, something like Don't try this at home folks. ;-) Now this one also does not talks in detail ( rather it doesnt talk ) about ?SGML (LinuxDoc manpage)?. I read the document: ?Extended Lyx features?, but it really doesn?t give much info. I will be thankful if I can have some help regarding the mentioned topics. Without further information I am lost. :-) You do have the example of a man page that is distributed with lyx. Found one :) . Thats better, but now the problem is the same. When I tried to
Re: Problems in Using - SGML ( LinuxDoc manpage) Document Style
On Tue, Sep 28, 2004 at 07:08:58AM +, udayan singh wrote: > >> Hi , > >> > >> I am using lyx with the document class ? ?SGML (LinuxDoc manpage)?. Now > >I > >> really tried to find some docs related to this class specifically, but > >> couldn?t find anything really specific to it. I am facing some probs in > >> documenting using the above-mentioned class: > > > > There was some documentation related with linuxdoc generation in the > >Extended Guide, I think. It should be there. > > There is some documentation but it hardly explains about the use of > document class 'SGML (LinuxDoc manpage)' . It more or less describes about > document class 'SGML (LinuxDoc article)' . The only thing that is special to the manpage as compared to article is that you pass in the Document options: title="MyTitle" sectnum="Mysecnum" All the rest should be the same. I can add a subsection just saying that, for the several reason I always applied my time elsewhere. :-) > >> 1. I am able to generate sgml (i.e. LinuxDoc)/ html / txt format from > >> the myFile.lyx ( a document that I created in the mentioned > >documentclass) > >> using the lyx tool. But am not able to create pdf page from the same > >> directly. > > > > Do you have pdflatex installed? I am asking this as linuxdoc can export > >html and from there use pdflatex. > > > > What tools are using to convert from linuxdoc? > > sgmltools? linuxdoctools? > > > > Yes, I have pdflatex installed. I tried sgmltools, and linuxdoc also. Now > at times they work or at times they dont. > > Okay , I had prepared one document which is roughly 50 pages long. Now If I > try to get a pdf document for this one I get some output but only 4 pages > is what I get. Also the output is completely distorted. > Whereas when I tried only for a page, then I got no output!! > Dont you think I should have got the correct output if I directly convert > to pdf / dvi format, as I get in txt / html format ? Yes, I do. Just a small tutorial over the way as lyx works. The most used backend is latex. This means that lyx exports the document to latex and then relies in external tools to convert that code to the final format you want it to. The same applies to linuxdoc and to docbook. LyX exports the document in each of this format and then uses other tools to convert them to the format you want to. The only exception to this scheme is the text export that is done in an heuristic way. (This means lots of hardwired code) The problems you experiencing are due to faulty linuxdoc tools, unless you show me an example where lyx is producing ilegal linuxdoc code. What is something on the line of: unless I'm convinced otherwise it is the tools fault. ;-) I have seen so many example through the years. :-( > > They have some bugs, or missing features if you prefer... :-) > > > I mean why should I use the other tools, when I have a feature in lyx to > get the output in the required format. The question as I tried to point before is that lyx is using those tools. I have plans for implement direct filters from the lyx format to other formats, the manpages being one of them, xhtml another. Thecnically is not so difficult as lyx2lyx has been evolving to a library of python functions able to deal with the lyx format. But this will be the future and are not there yet. Something that could work as a hack, is to change the document class to latex article and you should get a good pdf. This is a hack but the objectif is to gave you a working pdf. > >> 2. Now sometimes ( or many times though not every time) I can create > >> these pdf files using some other tools: e.g. docbook2pdf or pdflatex, > >but > >> they cannot be really used since the output is really not good looking. > > > > What is docbook2pdf doing here? :-) > > > > It shouldn't be possible to use it here. > > > It is not, I tried. Gives some Error. OK. > >> Which further points me to this one : > >> http://www.karakas-online.de/mySGML/ > > > > This site refers to docbook with lyx, not to linuxdoc. > My mistake, I missed out that point and you are right :). But I thought if > I can get a 'sgml' format from 'SGML (LinuxDoc manpage)' (which I am able > to get for any length of doc ), but when I tried to convert to other format > e.g. pdf, then it doesnt work for the smaller doc as I mentioned above. Well formed html is sgml, and yet quite different from both linuxdoc and docbook. So in a sense sgml doesn't say much about a format. The SGML is there in the name to scare latex users, something like "Don't try this at home folks." ;-) > >> Now this one also does not talks in detail ( rather it doesnt talk ) > >about > >> ?SGML (LinuxDoc manpage)?. I read the document: ?Extended Lyx > >features?, > >> but it really doesn?t give much info. > >> > >> I will be thankful if I can have some help regarding the mentioned > >topics. > > > > Without further information I am lost. :-) > > You do have
Re: Environment menu stops working
On Mon, Sep 27, 2004 at 01:50:46PM +0200, [EMAIL PROTECTED] wrote: It is qt 3.3.3 . I guess I should have filed a bug report and let the developers have a look at this. If they can reproduce it they can fix it or pass it on to qt. If they can't reproduce it... oh well... :) R List FWIW I don't see that behaviour with 1.3 or 1.4.0cvs versions. I am also using qt 3.3.3 in a fedora core 2 system. -- José Abílio Matos LyX and docbook a perfect match. :-)
Re: Environment menu stops working
On Mon, Sep 27, 2004 at 01:50:46PM +0200, [EMAIL PROTECTED] wrote: It is qt 3.3.3 . I guess I should have filed a bug report and let the developers have a look at this. If they can reproduce it they can fix it or pass it on to qt. If they can't reproduce it... oh well... :) R List FWIW I don't see that behaviour with 1.3 or 1.4.0cvs versions. I am also using qt 3.3.3 in a fedora core 2 system. -- José Abílio Matos LyX and docbook a perfect match. :-)
Re: Environment menu stops working
On Mon, Sep 27, 2004 at 01:50:46PM +0200, [EMAIL PROTECTED] wrote: > > It is qt 3.3.3 . I guess I should have filed a bug report and let the > developers have a look at this. If they can reproduce it they can fix it > or pass it on to qt. If they can't reproduce it... oh well... :) > > R List FWIW I don't see that behaviour with 1.3 or 1.4.0cvs versions. I am also using qt 3.3.3 in a fedora core 2 system. -- José Abílio Matos LyX and docbook a perfect match. :-)
Re: Environment menu stops working
On Sun, Sep 26, 2004 at 12:12:45AM +0200, [EMAIL PROTECTED] wrote: If I click on various parts of the document after the error occurs, the current enviroment is shown there (e.g. Standard or Section) as it should and everything else works. The down arrow icon gets marked with a rectangle when I click on it but the menu just refuses to show up. The only solution I have found at this stage is to restart LyX. To avoid the problem from the beginning it seems I must select an item from the menu every time, i.e. I don't have the luxary of changing my mind. This is annoying. It almost looks like you have a window hidden behind your lyx main window. If you move the lyx window, are you able to see the resulting list of paragraphs? Notice that I never saw this bug with lyx, but your descriptions resembles a lot other bugs I saw elsewhere. BTW, you are using the qt or the xforms frontend? R List -- José Abílio Matos LyX and docbook a perfect match. :-)
Re: Environment menu stops working
On Sun, Sep 26, 2004 at 12:12:45AM +0200, [EMAIL PROTECTED] wrote: If I click on various parts of the document after the error occurs, the current enviroment is shown there (e.g. Standard or Section) as it should and everything else works. The down arrow icon gets marked with a rectangle when I click on it but the menu just refuses to show up. The only solution I have found at this stage is to restart LyX. To avoid the problem from the beginning it seems I must select an item from the menu every time, i.e. I don't have the luxary of changing my mind. This is annoying. It almost looks like you have a window hidden behind your lyx main window. If you move the lyx window, are you able to see the resulting list of paragraphs? Notice that I never saw this bug with lyx, but your descriptions resembles a lot other bugs I saw elsewhere. BTW, you are using the qt or the xforms frontend? R List -- José Abílio Matos LyX and docbook a perfect match. :-)
Re: Environment menu stops working
On Sun, Sep 26, 2004 at 12:12:45AM +0200, [EMAIL PROTECTED] wrote: > > If I click on various parts of the document after the error occurs, the > current enviroment is shown there (e.g. Standard or Section) as it > should and everything else works. The "down arrow" icon gets marked with > a rectangle when I click on it but the menu just refuses to show up. The > only solution I have found at this stage is to restart LyX. To avoid the > problem from the beginning it seems I must select an item from the menu > every time, i.e. I don't have the luxary of changing my mind. This is > annoying. It almost looks like you have a window hidden behind your lyx main window. If you move the lyx window, are you able to see the resulting list of paragraphs? Notice that I never saw this bug with lyx, but your descriptions resembles a lot other bugs I saw elsewhere. BTW, you are using the qt or the xforms frontend? > R List -- José Abílio Matos LyX and docbook a perfect match. :-)
Re: Silly Question :-)
On Fri, Sep 24, 2004 at 09:15:57PM +0200, Alfredo Braunstein wrote: Hah! that's what you wanted ;-) You can add a button to the toolbar and/or set up keybindings to easy calling the viewer. snif, I'm not very bright today... Then what will you call to that time when I tried to do the same for lyx instead of latex? ;-) Why doesn't lyx behaves lyx any other format? What does make it so special? ;-) Alfredo -- José Abílio Matos LyX and docbook a perfect match. :-)
Re: Silly Question :-)
On Fri, Sep 24, 2004 at 09:15:57PM +0200, Alfredo Braunstein wrote: Hah! that's what you wanted ;-) You can add a button to the toolbar and/or set up keybindings to easy calling the viewer. snif, I'm not very bright today... Then what will you call to that time when I tried to do the same for lyx instead of latex? ;-) Why doesn't lyx behaves lyx any other format? What does make it so special? ;-) Alfredo -- José Abílio Matos LyX and docbook a perfect match. :-)
Re: Silly Question :-)
On Fri, Sep 24, 2004 at 09:15:57PM +0200, Alfredo Braunstein wrote: > > Hah! that's what you wanted ;-) You can add a button to the toolbar and/or > set up keybindings to easy calling the viewer. > > snif, I'm not very bright today... Then what will you call to that time when I tried to do the same for lyx instead of latex? ;-) Why doesn't lyx behaves lyx any other format? What does make it so special? ;-) > Alfredo -- José Abílio Matos LyX and docbook a perfect match. :-)
Re: Lyx and Fedora 2 (my first post)
On Thu, Sep 23, 2004 at 07:33:33PM +0200, mario wrote: Thanks for the prompt replies. I'll try during the weekend. mario Notice that there are rpm's compiled for fedora core 2. I think that we have one on our ftp site. If you still want to compile from source that is ok. Well I do both so... ;-) -- José Abílio Matos LyX and docbook a perfect match. :-)
Re: Lyx and Fedora 2 (my first post)
On Thu, Sep 23, 2004 at 07:33:33PM +0200, mario wrote: Thanks for the prompt replies. I'll try during the weekend. mario Notice that there are rpm's compiled for fedora core 2. I think that we have one on our ftp site. If you still want to compile from source that is ok. Well I do both so... ;-) -- José Abílio Matos LyX and docbook a perfect match. :-)
Re: Lyx and Fedora 2 (my first post)
On Thu, Sep 23, 2004 at 07:33:33PM +0200, mario wrote: > Thanks for the prompt replies. I'll try during the weekend. > mario Notice that there are rpm's compiled for fedora core 2. I think that we have one on our ftp site. If you still want to compile from source that is ok. Well I do both so... ;-) -- José Abílio Matos LyX and docbook a perfect match. :-)
Re: LyX and SGML, which version of sgml-tools?
On Sun, Aug 03, 2003 at 01:01:11AM +0200, Janus Sandsgaard wrote: Anyone with experience in using LyX for doing Docbook/SGML for documentatins project? Acording to the manual you need to install sgml-tools - but which version? sgmltools-lite version 3. Also lyx uses by default, if found, the db2x package that can be found in several linux distributions. (redhat, debian, suse, mandrake and others). Sorry for the delay in the answer but I was on holidays before. :-) -j -- Janus Sandsgaard http://janus.dk -- José Abílio Matos LyX and docbook a perfect match. :-)
Re: LyX and SGML, which version of sgml-tools?
On Sun, Aug 03, 2003 at 01:01:11AM +0200, Janus Sandsgaard wrote: Anyone with experience in using LyX for doing Docbook/SGML for documentatins project? Acording to the manual you need to install sgml-tools - but which version? sgmltools-lite version 3. Also lyx uses by default, if found, the db2x package that can be found in several linux distributions. (redhat, debian, suse, mandrake and others). Sorry for the delay in the answer but I was on holidays before. :-) -j -- Janus Sandsgaard http://janus.dk -- José Abílio Matos LyX and docbook a perfect match. :-)
Re: LyX and SGML, which version of sgml-tools?
On Sun, Aug 03, 2003 at 01:01:11AM +0200, Janus Sandsgaard wrote: > Anyone with experience in using LyX for doing Docbook/SGML for documentatins > project? Acording to the manual you need to install sgml-tools - but which > version? sgmltools-lite version 3. Also lyx uses by default, if found, the db2x package that can be found in several linux distributions. (redhat, debian, suse, mandrake and others). Sorry for the delay in the answer but I was on holidays before. :-) > -j > > -- > Janus Sandsgaard > http://janus.dk -- José Abílio Matos LyX and docbook a perfect match. :-)
Re: failing docbook_article --- dvi
On Tue, Dec 31, 2002 at 05:42:39PM +0100, Surabaja Johnny wrote: I am new to both Lyx and DocBook... RedHat 8 comes with the DocBook utilities I then built lyx-1.2.2 and loaded the docbook_article template. View DVI fails. If I export to sgml and then run db2dvi I get the following error: jade:/tmp/test.sgml:6:42:E: end tag for SECT1 which is not finished If I try create a new DocBook document I get the following error :5:6:E: document type does not allow element SECT1 here Am I missing something? Thanks for your help... ...and Happy New Year! Could you send me (even privately) a small example where it hapens? Surabaja note: used catalog and stylesheet /etc/sgml/sgml-docbook-4.1-1.0-14.cat /usr/share/sgml/docbook/utils-0.6.11/docbook-utils.dsl#print -- José Abílio Matos LyX and docbook a perfect match. :-)
Re: failing docbook_article --- dvi
On Tue, Dec 31, 2002 at 05:42:39PM +0100, Surabaja Johnny wrote: I am new to both Lyx and DocBook... RedHat 8 comes with the DocBook utilities I then built lyx-1.2.2 and loaded the docbook_article template. View DVI fails. If I export to sgml and then run db2dvi I get the following error: jade:/tmp/test.sgml:6:42:E: end tag for SECT1 which is not finished If I try create a new DocBook document I get the following error :5:6:E: document type does not allow element SECT1 here Am I missing something? Thanks for your help... ...and Happy New Year! Could you send me (even privately) a small example where it hapens? Surabaja note: used catalog and stylesheet /etc/sgml/sgml-docbook-4.1-1.0-14.cat /usr/share/sgml/docbook/utils-0.6.11/docbook-utils.dsl#print -- José Abílio Matos LyX and docbook a perfect match. :-)
Re: failing docbook_article ---> dvi
On Tue, Dec 31, 2002 at 05:42:39PM +0100, Surabaja Johnny wrote: > I am new to both Lyx and DocBook... > RedHat 8 comes with the DocBook utilities > I then built lyx-1.2.2 and loaded the > docbook_article template. > > View DVI fails. If I export to sgml and then run db2dvi I get the following error: > > jade:/tmp/test.sgml:6:42:E: end tag for "SECT1" which is not finished > > > If I try create a new DocBook document I get the following error > :5:6:E: document type does not allow element "SECT1" here > > Am I missing something? > Thanks for your help... > ...and Happy New Year! Could you send me (even privately) a small example where it hapens? > Surabaja > > note: used catalog and stylesheet > /etc/sgml/sgml-docbook-4.1-1.0-14.cat > /usr/share/sgml/docbook/utils-0.6.11/docbook-utils.dsl#print > -- José Abílio Matos LyX and docbook a perfect match. :-)
Re: Incorrect docbook export
On Wednesday 27 November 2002 15:44, Chris Lale wrote: I am using Lyx (1.1.6fix4) to compose articles using document class Docbook Article (SGML). Some of these problems are fixed in 1.2.1 I am getting some incorrect SGML when I export to docbook: 1. characters # and $ These export to dollar; and num; but should remain as # and $.The result is that dollar; appears in the HTML document instead of $. However, ~ exports to tilde; and this is correct. That is a bug from the browser, really! :-) I should coomplaing in the browser mailling list not here. ;-) I have a temporary workaround (highlight and click the TEX button). Is there a file that I can alter? 2. label Inserting a label (eg abc) and exporting results in anchor id=abc/anchor. Sgmltools complains about the end tag. The correct export should be anchor id=abc. Is there a way to change this? This is fixed in 1.2.1. (I'm sure) Cheers, Chris. -- José Abílio
Re: Incorrect docbook export
On Wednesday 27 November 2002 15:44, Chris Lale wrote: I am using Lyx (1.1.6fix4) to compose articles using document class Docbook Article (SGML). Some of these problems are fixed in 1.2.1 I am getting some incorrect SGML when I export to docbook: 1. characters # and $ These export to dollar; and num; but should remain as # and $.The result is that dollar; appears in the HTML document instead of $. However, ~ exports to tilde; and this is correct. That is a bug from the browser, really! :-) I should coomplaing in the browser mailling list not here. ;-) I have a temporary workaround (highlight and click the TEX button). Is there a file that I can alter? 2. label Inserting a label (eg abc) and exporting results in anchor id=abc/anchor. Sgmltools complains about the end tag. The correct export should be anchor id=abc. Is there a way to change this? This is fixed in 1.2.1. (I'm sure) Cheers, Chris. -- José Abílio
Re: Incorrect docbook export
On Wednesday 27 November 2002 15:44, Chris Lale wrote: > I am using Lyx (1.1.6fix4) to compose articles using document class > Docbook Article (SGML). Some of these problems are fixed in 1.2.1 > I am getting some incorrect SGML when I export to docbook: > > > 1. characters # and $ > These export to and but should remain as # and $.The > result is that appears in the HTML document instead of $. > However, ~ exports to and this is correct. That is a bug from the browser, really! :-) I should coomplaing in the browser mailling list not here. ;-) > I have a temporary workaround (highlight and click the TEX button). Is > there a file that I can alter? > 2. label > Inserting a label (eg abc) and exporting results in id="abc">. Sgmltools complains about the end tag. The correct > export should be . Is there a way to change this? This is fixed in 1.2.1. (I'm sure) > Cheers, > > Chris. -- José Abílio
Re: DocBook SGML
On Tuesday 26 November 2002 09:53, Chris Lale wrote: Hello José. Thanks for your help. You are welcome. Don't hesitate to ask in case of any doubt. :-) [...] Can you tell me how to get started? Is there a HOWTO I sould read? Do I need to find out more about LaTeX to learn how to add an item to the environment menu? There is no special documentation an that is my fault. :( No latex required, although some of the commands have latex in its name that is an historical hasard. I can read a little about it in Customizing LyX document manual, in section 6.3 (in version 1.2.1) Declaring a new textclass. I had a look at docbook.layout. It includes this line: Input db_stdclass.inc Input db_stdclass.inc includes these lines: Input stdlists.inc Input stdsections.inc Input stdstarsections.inc Input stdtitle.inc Input stdstruct.inc Input lyxmacros.inc Input stdlayouts.inc Input obsolete.inc Do I need to add a definition section to one of these? Or do I need to create a new .inc file? Or am I completely on the wrong track? You can create a new file and include it directly in db_stdclass.in The several .inc files are just a modular construct, you can put all in one file. The goal is to reuse them to build different classes, like book, set, article, chapter, ... Cheers, Chris. -- José Abílio