Re: [PATCH] Re: Eureka! This is why Arabic support for lyx 1.3.2 doesn't work in my Mandrake 9.1

2003-06-27 Thread Andre Poenitz
On Fri, Jun 27, 2003 at 02:41:26AM +0300, Munzir Taha Obeid wrote:
 On Tuesday 24 June 2003 12:56 pm, Jean-Marc Lasgouttes wrote:
  Munzir, I do not know if you are able to apply this patch and rebuild
  LyX, but I'd appreciate feedback on whether this fixes your problem.
  PS: there is a small unrelated change with the patch
 Ok, I will be happy to try the patch and confirm whether it works. Just I need 
 your help here since I am not an expert.
 
 I loged in the cvs and checked out lyx-devel. From this directory I ran 
 [EMAIL PROTECTED] lyx-devel]# ./autogen.sh
 
 Using autoconf (GNU Autoconf) 2.57
 Locating GNU m4... /usr/bin/m4

That's ok so far

Andre'


Re: Math Panel and symbols

2003-06-27 Thread Andre Poenitz
On Fri, Jun 27, 2003 at 01:49:16AM +0100, Rajil Saraswat wrote:
 Hi All, There is a problem with my lyx version which i wanted to
 confirm. In my math panel i only get the 'operator' symbols in the panel,
 the greek symbols donot appear in the panel itself and i have to click on
 detach panel to get a new window with the greek symbols. Infact barring
 the 'operator' symbols no other symbol appears in the math panel itself.
 I am using lyx 1.3.2 on linux x86, is this a bug or can it be rectified?

I do not see a difference between the 'greek' sub panel and one of the
'operators' sub panels...

Andre'

-- 
Those who desire to give up Freedom in order to gain Security, will not have,
nor do they deserve, either one. (T. Jefferson or B. Franklin or both...)


Re: apendix in article (koma-script) style

2003-06-27 Thread Juergen Spitzmueller
Marcin Bukat wrote:

 How can I suppres inserting empty page before and between appendixes?

You are obviously doing something wrong. koma-article does not insert a
pagebreak before and between appendices.

Please send a minimal example.

Juergen.



Re: apendix in article (koma-script) style

2003-06-27 Thread Juergen Spitzmueller
Juergen Spitzmueller wrote:

 You are obviously doing something wrong. koma-article does not insert a
 pagebreak before and between appendices.

except you have a multipart document and \include the appendices (\include
inserts a \clearpage). 
Use \input instead then.

Juergen.



Re: apendix in article (koma-script) style

2003-06-27 Thread Marcin Bukat
Uz.ytkownik Juergen Spitzmueller napisa?:
Juergen Spitzmueller wrote:


You are obviously doing something wrong. koma-article does not insert a
pagebreak before and between appendices.


except you have a multipart document and \include the appendices (\include
inserts a \clearpage). 
Use \input instead then.

Juergen.
Ok. I descovered the problem. I was including in appendixes only 
graphics. There is difference in space in the bottom of Section title 
between article class and article-coma-script class. Because graphics 
are realy big it dosn't fit on page after changing class. Thats why 
empty page was inserted.

Anyway thans for sugestions

PS. Jurgen, can You point me to the documentation of coma-script class? 
I can't find this docs in my system.

Regards
wo



Re: Math Panel and symbols

2003-06-27 Thread Jean-Marc Lasgouttes
 Rajil == Rajil Saraswat [EMAIL PROTECTED] writes:

Rajil Hi All, There is a problem with my lyx version which i wanted
Rajil to confirm. In my math panel i only get the 'operator' symbols
Rajil in the panel, the greek symbols donot appear in the panel
Rajil itself and i have to click on detach panel to get a new window
Rajil with the greek symbols. Infact barring the 'operator' symbols
Rajil no other symbol appears in the math panel itself. I am using
Rajil lyx 1.3.2 on linux x86, is this a bug or can it be rectified?

Which frontend is that (xforms, qt?).

JMarc


Re: Math Panel and symbols

2003-06-27 Thread Rajil Saraswat
I was using qt but i tried this with xforms now, the xform math panel is a bit 
different than qt one as it doesnt have the panel for symbols.
Now i am again compiling the qt version.


 On Friday 27 June 2003 09:08, Jean-Marc Lasgouttes wrote:
  Rajil == Rajil Saraswat [EMAIL PROTECTED] writes:

 Rajil Hi All, There is a problem with my lyx version which i wanted
 Rajil to confirm. In my math panel i only get the 'operator' symbols
 Rajil in the panel, the greek symbols donot appear in the panel
 Rajil itself and i have to click on detach panel to get a new window
 Rajil with the greek symbols. Infact barring the 'operator' symbols
 Rajil no other symbol appears in the math panel itself. I am using
 Rajil lyx 1.3.2 on linux x86, is this a bug or can it be rectified?

 Which frontend is that (xforms, qt?).

 JMarc



Re: Math Panel and symbols

2003-06-27 Thread Rajil Saraswat
This is what i get at the end of my compilation, is this what affects the 
panels?
---
WARNING: the QT gui, together with xft2+fontconfig (which you
 * almost certainly have), suffer from one infamous bug that causes
 * the matheditor not to display any special characters (the ones from
 * the Computer Modern font family). Generated documents (.dvi, .ps...)
 * are ok, since tex has right fonts from the bluesky package.
 * A proper solution was being worked on. Meanwhile you can install the
 * BaKoMa fonts package; however they are not licensed for redistribution
 * (not even embedded inside generated documents) and cannot be used in
 * commercial environments (without a special agreement from the author).
 * If that suits you, you can get them on CTAN or at ftp.lyx.org as
 * latex-ttf-fonts-0.1.tar.gz. I was working on an alternative, free
 * fonts package derived from bluesky, but got stuck; wuold be glad
 * to see someone continuing the effort (see the relevant threads on the
 * lyx-devel mailing list or mail me if you want to know more).
--
 On Friday 27 June 2003 09:08, Jean-Marc Lasgouttes wrote:
  Rajil == Rajil Saraswat [EMAIL PROTECTED] writes:

 Rajil Hi All, There is a problem with my lyx version which i wanted
 Rajil to confirm. In my math panel i only get the 'operator' symbols
 Rajil in the panel, the greek symbols donot appear in the panel
 Rajil itself and i have to click on detach panel to get a new window
 Rajil with the greek symbols. Infact barring the 'operator' symbols
 Rajil no other symbol appears in the math panel itself. I am using
 Rajil lyx 1.3.2 on linux x86, is this a bug or can it be rectified?

 Which frontend is that (xforms, qt?).

 JMarc

-- 
Rajil Saraswat
Materials Processing Group,
Department of Materials,   Tel(O): +44-20-759 46746
Imperial College,Tel(R): +44-20-785 20304
Prince Consort Road,
London, SW7 2BP, U.K
##
  Gentoo Linux
   Linux Version 2.4.20-ck6, Compiled #2 Tue Apr 29 18:12:09 BST 2003
 One 2.67GHz Intel Pentium 4 Processor, 1GB RAM, 5308.41 Bogomips Total
 Load Average 0.30, 1.46, 1.79
   Uptime 3 days 23 hours 45 minutes
sora.mt.ic.ac.uk



archive with all included files in document

2003-06-27 Thread Marcin Bukat
Hello!
There was a request of such functionality. I did a smal bash script 
which can do that 'cause I found it usefull.
If someone interested please test.

Regards
wo
#!/bin/sh
# This script creates archive with lyx file and all included files (graphics 
# and so on). It can make plain tar archive or compress it with bz2 or gz
#
# Author: Marcin Bukat
# email : [EMAIL PROTECTED]
# Ths script is a FREE software
# Use at Your own risk

function usage
#Prints usage instructions
{
echo Usage: lyx_pak.sh [OPTONS] [FULL PATH TO LYX FILE]
echo  OPTIONS:
echo -jcompress with bzip2
echo -zcompress with gzip
exit
}

function archive
#Creates archive
{
ARCHNAME=`basename $LYXFILENAME lyx`tar
   case $1 in
-j)
COMPRESS=bzip2 $ARCHNAME
;;
-z)
COMPRESS=gzip $ARCHNAME
;;
*)
COMPRESS=
esac

cd $WORKDIR

tar cvf $ARCHNAME $LYXFILENAME `cat $LYXFILENAME|grep filename|cut -d   -f 2` `cat 
$LYXFILENAME|grep BibTeX|cut -d { -f2|tr -d '}'`.bib
$COMPRESS

if [ $? -eq 0 ]; then
echo Lyx archive created successfully
else
exit 1
fi
}
#Main part starts here

#Check if there is any parameter
if [ $# -gt 0 ]; then
#Ok we got two parameters so first is a commpress switch
if [ $# -eq 2 ]; then
if [ $1 = -j ] || [ $1 = -z ]; then
PARAM=$1
LYXFILENAME=`basename $2`
WORKDIR=`dirname $2`
if [ -f $2 ]  [ -d `dirname $2` ]; then
#parameters are correct so make archive
archive $PARAM
else
usage
fi
else
usage
fi
else
#One parameter - only path to the file
PARAM=-
LYXFILENAME=`basename $1`
WORKDIR=`dirname $1`
if [ -f $1 ]  [ -d `dirname $1` ]; then
#parameters are correct so make archive
archive $PARAM
else
usage
fi
fi
else
usage
fi


Re: apendix in article (koma-script) style

2003-06-27 Thread Juergen Spitzmueller
Marcin Bukat wrote:

 PS. Jurgen, can You point me to the documentation of coma-script class?
 I can't find this docs in my system.

http://www.ctan.org/tex-archive/macros/latex/contrib/koma-script/scrguien.pdf
(1.2 MB!)

Juergen.




Re: archive with all included files in document

2003-06-27 Thread Christian Ridderström
On Fri, 27 Jun 2003, Marcin Bukat wrote:

 Hello!
 There was a request of such functionality. I did a smal bash script 
 which can do that 'cause I found it usefull.
 If someone interested please test.
 
 
 Regards
 wo
 
I hope you don't mind that I put the script on-line here:

http://ev-en.org/wiki/moin.cgi/LyxConvertFilesIntoArchive

and put a reference to it in the online FAQ here:

http://ev-en.org/wiki/moin.cgi/LyxFAQ#line355

/Christian

-- 
Christian Ridderström   http://www.md.kth.se/~chr




Re: archive with all included files in document

2003-06-27 Thread Jean-Marc Lasgouttes
 Marcin == Marcin Bukat [EMAIL PROTECTED] writes:

Marcin Hello! There was a request of such functionality. I did a smal
Marcin bash script which can do that 'cause I found it usefull. If
Marcin someone interested please test.

Nice script :)

Just a question: does it support include files (recursively, I guess)?
My cursory reading of the code makes me think that it does not...

JMarc


Re: archive with all included files in document

2003-06-27 Thread Marcin Bukat
Marcin Hello! There was a request of such functionality. I did a smal
Marcin bash script which can do that 'cause I found it usefull. If
Marcin someone interested please test.
Nice script :)

Just a question: does it support include files (recursively, I guess)?
My cursory reading of the code makes me think that it does not...
JMarc


What do You mean by 'recursively'?

Regards
wo


Re: archive with all included files in document

2003-06-27 Thread Jean-Marc Lasgouttes
 Marcin == Marcin Bukat [EMAIL PROTECTED] writes:

Marcin Hello! There was a request of such functionality. I did a smal
Marcin bash script which can do that 'cause I found it usefull. If
Marcin someone interested please test.
 Nice script :) Just a question: does it support include files
 (recursively, I guess)? My cursory reading of the code makes me
 think that it does not... JMarc
 
Marcin What do You mean by 'recursively'?

Do you look at what other .lyx files are used, in order to attach them
too, along with all the files they may themselves use?

JMarc



Re: archive with all included files in document

2003-06-27 Thread wodz
Cytowanie Jean-Marc Lasgouttes [EMAIL PROTECTED]:

  Marcin == Marcin Bukat [EMAIL PROTECTED] writes:
 
 Marcin Hello! There was a request of such functionality. I did a smal
 Marcin bash script which can do that 'cause I found it usefull. If
 Marcin someone interested please test.
  Nice script :) Just a question: does it support include files
  (recursively, I guess)? My cursory reading of the code makes me
  think that it does not... JMarc
  
 Marcin What do You mean by 'recursively'?
 
 Do you look at what other .lyx files are used, in order to attach them
 too, along with all the files they may themselves use?
 
 JMarc
Hmm no.
Could You send me tarbal with example of such situation?

Regards
wo





Re: archive with all included files in document

2003-06-27 Thread Jean-Marc Lasgouttes
 wodz == wodz  [EMAIL PROTECTED] writes:

  Do you look at what other .lyx files are used, in order to attach
 them too, along with all the files they may themselves use?

wodz Hmm no. Could You send me tarbal with example of such situation?

Here is a short one. I have been especially annoying, because I use
the same image twice, but from different directories.

This is not just to be annoying: people who would appreciate such a
feature the most are those who have big multipart document with
several directories and things like that.

Have fun...

JMarc



test.tar.gz
Description: Binary data


Re: archive with all included files in document

2003-06-27 Thread R.A.G.G.
El Viernes, 27 de Junio de 2003 12:36, Jean-Marc Lasgouttes escribió:
 Hello! There was a request of such functionality. I did a smal
 bash script which can do that 'cause I found it usefull. If
 someone interested please test.


I've found your script very insteresting, but I've had to add some lines 
because I use my own bibtex style file (.bst) and I want it to be in the 
tarball too.

I've also changed the way the script obtains the .gz and .bz2 archives, 
because it didn't work fine if the file was in a FAT partiton.

I've been testing it for a while and I think it works properly.


Regards,
Rafa


lyx_pak.sh
Description: application/shellscript


Re: page_break

2003-06-27 Thread Helge Hafting
On Thu, Jun 26, 2003 at 11:45:43AM +0200, Johannes Breu wrote:
 Lyx 1.3. 2 on Debian. I am using the document class book an I don't find 
 the possibility to begin a new page arbitrarily. I thought I could find 
 it under Insert - Special Characters...
 
You can, it is under layout-paragraph tab lines and pagebreaks
Select page breaks above and/or below.  This applies to whatever
paragraph the cursor is in.

PAge breaks are tied to a paragraph in lyx.  I don't know why,
latex certainly supports several pagebreaks in a row. . .

 Next problem: I am writing a german text. Under preferences I choose 
 german (new spelling). The way the words are seperated is not satisfying 
 at all. In addition the output (*.ps or *.xdvi or *.pdf) shows problems 
 with the line break if there are words in UPPER CASE LETTERS.

Configure your latex properly, i.e. so it may german hyphenation. 
This is completely outside of lyx.

Then use document-layout and change your document to german.
Lyx may or may not decide that the existing text remains english
(shown underlined in blue) if this happens, select all 
and use layout-character and change to german.

 How to insert a table of contents named Inhaltsverzeichnis? And how can 
 I add only headlines in this talble of contents I wish to add. Is it 
 possible to edit the table of contents if you open the dialogue box 
 table of contents ? I don't know how to do this.
 
Table of contents etx. should appear in german after completing the above
steps.

Helge Hafting 


Re: [PATCH] Re: Eureka! This is why Arabic support for lyx 1.3.2doesn't work in my Mandrake 9.1

2003-06-27 Thread Jean-Marc Lasgouttes
 Munzir == Munzir Taha Obeid [EMAIL PROTECTED] writes:

Munzir I am sorry just now I knew the thread spreaded between the
Munzir devel and users mailing lists and this is why I receive part
Munzir of the messages only. I am going to forward it again to both
Munzir and try to keep an eye ;-)

OK, let's continue here :)

Munzir I loged in the cvs and checked out lyx-devel. From this
Munzir directory I ran [EMAIL PROTECTED] lyx-devel]# ./autogen.sh

OK, it would be easier to grab lyx-1.3.2.tar.gz from
ftp.lyx.org/pub/lyx/stable/ and apply the patch to that.

Munzir The KDE crash handler gave this during the configuration: (no
Munzir debugging symbols found)...(no debugging symbols found)...[New
Munzir Thread 16384 (LWP 25029)]

I do not see why the KDE crash handler does something here...

Munzir Anyway, I continued
Munzir [EMAIL PROTECTED] lyx-devel]#make . . . 
Munzir make[6]: *** [BiblioModuleBase.lo] Error 1

The interesting point of course is to know what is the error just
before this error message.

Concerning the patch, I think that it should solve the problem of
using arabic at the end of document, but it does not solve the general
problem of using formatting inside an arabic context. This problem is
due to the big constraints that arabtex puts on the latex code that we
may use.

JMarc


Re: [PATCH] Re: Eureka! This is why Arabic support for lyx 1.3.2 doesn't work in my Mandrake 9.1

2003-06-27 Thread Andre Poenitz
On Fri, Jun 27, 2003 at 02:41:26AM +0300, Munzir Taha Obeid wrote:
 On Tuesday 24 June 2003 12:56 pm, Jean-Marc Lasgouttes wrote:
  Munzir, I do not know if you are able to apply this patch and rebuild
  LyX, but I'd appreciate feedback on whether this fixes your problem.
  PS: there is a small unrelated change with the patch
 Ok, I will be happy to try the patch and confirm whether it works. Just I need 
 your help here since I am not an expert.
 
 I loged in the cvs and checked out lyx-devel. From this directory I ran 
 [EMAIL PROTECTED] lyx-devel]# ./autogen.sh
 
 Using autoconf (GNU Autoconf) 2.57
 Locating GNU m4... /usr/bin/m4

That's ok so far

Andre'


Re: Math Panel and symbols

2003-06-27 Thread Andre Poenitz
On Fri, Jun 27, 2003 at 01:49:16AM +0100, Rajil Saraswat wrote:
 Hi All, There is a problem with my lyx version which i wanted to
 confirm. In my math panel i only get the 'operator' symbols in the panel,
 the greek symbols donot appear in the panel itself and i have to click on
 detach panel to get a new window with the greek symbols. Infact barring
 the 'operator' symbols no other symbol appears in the math panel itself.
 I am using lyx 1.3.2 on linux x86, is this a bug or can it be rectified?

I do not see a difference between the 'greek' sub panel and one of the
'operators' sub panels...

Andre'

-- 
Those who desire to give up Freedom in order to gain Security, will not have,
nor do they deserve, either one. (T. Jefferson or B. Franklin or both...)


Re: apendix in article (koma-script) style

2003-06-27 Thread Juergen Spitzmueller
Marcin Bukat wrote:

 How can I suppres inserting empty page before and between appendixes?

You are obviously doing something wrong. koma-article does not insert a
pagebreak before and between appendices.

Please send a minimal example.

Juergen.



Re: apendix in article (koma-script) style

2003-06-27 Thread Juergen Spitzmueller
Juergen Spitzmueller wrote:

 You are obviously doing something wrong. koma-article does not insert a
 pagebreak before and between appendices.

except you have a multipart document and \include the appendices (\include
inserts a \clearpage). 
Use \input instead then.

Juergen.



Re: apendix in article (koma-script) style

2003-06-27 Thread Marcin Bukat
Uz.ytkownik Juergen Spitzmueller napisa?:
Juergen Spitzmueller wrote:


You are obviously doing something wrong. koma-article does not insert a
pagebreak before and between appendices.


except you have a multipart document and \include the appendices (\include
inserts a \clearpage). 
Use \input instead then.

Juergen.
Ok. I descovered the problem. I was including in appendixes only 
graphics. There is difference in space in the bottom of Section title 
between article class and article-coma-script class. Because graphics 
are realy big it dosn't fit on page after changing class. Thats why 
empty page was inserted.

Anyway thans for sugestions

PS. Jurgen, can You point me to the documentation of coma-script class? 
I can't find this docs in my system.

Regards
wo



Re: Math Panel and symbols

2003-06-27 Thread Jean-Marc Lasgouttes
 Rajil == Rajil Saraswat [EMAIL PROTECTED] writes:

Rajil Hi All, There is a problem with my lyx version which i wanted
Rajil to confirm. In my math panel i only get the 'operator' symbols
Rajil in the panel, the greek symbols donot appear in the panel
Rajil itself and i have to click on detach panel to get a new window
Rajil with the greek symbols. Infact barring the 'operator' symbols
Rajil no other symbol appears in the math panel itself. I am using
Rajil lyx 1.3.2 on linux x86, is this a bug or can it be rectified?

Which frontend is that (xforms, qt?).

JMarc


Re: Math Panel and symbols

2003-06-27 Thread Rajil Saraswat
I was using qt but i tried this with xforms now, the xform math panel is a bit 
different than qt one as it doesnt have the panel for symbols.
Now i am again compiling the qt version.


 On Friday 27 June 2003 09:08, Jean-Marc Lasgouttes wrote:
  Rajil == Rajil Saraswat [EMAIL PROTECTED] writes:

 Rajil Hi All, There is a problem with my lyx version which i wanted
 Rajil to confirm. In my math panel i only get the 'operator' symbols
 Rajil in the panel, the greek symbols donot appear in the panel
 Rajil itself and i have to click on detach panel to get a new window
 Rajil with the greek symbols. Infact barring the 'operator' symbols
 Rajil no other symbol appears in the math panel itself. I am using
 Rajil lyx 1.3.2 on linux x86, is this a bug or can it be rectified?

 Which frontend is that (xforms, qt?).

 JMarc



Re: Math Panel and symbols

2003-06-27 Thread Rajil Saraswat
This is what i get at the end of my compilation, is this what affects the 
panels?
---
WARNING: the QT gui, together with xft2+fontconfig (which you
 * almost certainly have), suffer from one infamous bug that causes
 * the matheditor not to display any special characters (the ones from
 * the Computer Modern font family). Generated documents (.dvi, .ps...)
 * are ok, since tex has right fonts from the bluesky package.
 * A proper solution was being worked on. Meanwhile you can install the
 * BaKoMa fonts package; however they are not licensed for redistribution
 * (not even embedded inside generated documents) and cannot be used in
 * commercial environments (without a special agreement from the author).
 * If that suits you, you can get them on CTAN or at ftp.lyx.org as
 * latex-ttf-fonts-0.1.tar.gz. I was working on an alternative, free
 * fonts package derived from bluesky, but got stuck; wuold be glad
 * to see someone continuing the effort (see the relevant threads on the
 * lyx-devel mailing list or mail me if you want to know more).
--
 On Friday 27 June 2003 09:08, Jean-Marc Lasgouttes wrote:
  Rajil == Rajil Saraswat [EMAIL PROTECTED] writes:

 Rajil Hi All, There is a problem with my lyx version which i wanted
 Rajil to confirm. In my math panel i only get the 'operator' symbols
 Rajil in the panel, the greek symbols donot appear in the panel
 Rajil itself and i have to click on detach panel to get a new window
 Rajil with the greek symbols. Infact barring the 'operator' symbols
 Rajil no other symbol appears in the math panel itself. I am using
 Rajil lyx 1.3.2 on linux x86, is this a bug or can it be rectified?

 Which frontend is that (xforms, qt?).

 JMarc

-- 
Rajil Saraswat
Materials Processing Group,
Department of Materials,   Tel(O): +44-20-759 46746
Imperial College,Tel(R): +44-20-785 20304
Prince Consort Road,
London, SW7 2BP, U.K
##
  Gentoo Linux
   Linux Version 2.4.20-ck6, Compiled #2 Tue Apr 29 18:12:09 BST 2003
 One 2.67GHz Intel Pentium 4 Processor, 1GB RAM, 5308.41 Bogomips Total
 Load Average 0.30, 1.46, 1.79
   Uptime 3 days 23 hours 45 minutes
sora.mt.ic.ac.uk



archive with all included files in document

2003-06-27 Thread Marcin Bukat
Hello!
There was a request of such functionality. I did a smal bash script 
which can do that 'cause I found it usefull.
If someone interested please test.

Regards
wo
#!/bin/sh
# This script creates archive with lyx file and all included files (graphics 
# and so on). It can make plain tar archive or compress it with bz2 or gz
#
# Author: Marcin Bukat
# email : [EMAIL PROTECTED]
# Ths script is a FREE software
# Use at Your own risk

function usage
#Prints usage instructions
{
echo Usage: lyx_pak.sh [OPTONS] [FULL PATH TO LYX FILE]
echo  OPTIONS:
echo -jcompress with bzip2
echo -zcompress with gzip
exit
}

function archive
#Creates archive
{
ARCHNAME=`basename $LYXFILENAME lyx`tar
   case $1 in
-j)
COMPRESS=bzip2 $ARCHNAME
;;
-z)
COMPRESS=gzip $ARCHNAME
;;
*)
COMPRESS=
esac

cd $WORKDIR

tar cvf $ARCHNAME $LYXFILENAME `cat $LYXFILENAME|grep filename|cut -d   -f 2` `cat 
$LYXFILENAME|grep BibTeX|cut -d { -f2|tr -d '}'`.bib
$COMPRESS

if [ $? -eq 0 ]; then
echo Lyx archive created successfully
else
exit 1
fi
}
#Main part starts here

#Check if there is any parameter
if [ $# -gt 0 ]; then
#Ok we got two parameters so first is a commpress switch
if [ $# -eq 2 ]; then
if [ $1 = -j ] || [ $1 = -z ]; then
PARAM=$1
LYXFILENAME=`basename $2`
WORKDIR=`dirname $2`
if [ -f $2 ]  [ -d `dirname $2` ]; then
#parameters are correct so make archive
archive $PARAM
else
usage
fi
else
usage
fi
else
#One parameter - only path to the file
PARAM=-
LYXFILENAME=`basename $1`
WORKDIR=`dirname $1`
if [ -f $1 ]  [ -d `dirname $1` ]; then
#parameters are correct so make archive
archive $PARAM
else
usage
fi
fi
else
usage
fi


Re: apendix in article (koma-script) style

2003-06-27 Thread Juergen Spitzmueller
Marcin Bukat wrote:

 PS. Jurgen, can You point me to the documentation of coma-script class?
 I can't find this docs in my system.

http://www.ctan.org/tex-archive/macros/latex/contrib/koma-script/scrguien.pdf
(1.2 MB!)

Juergen.




Re: archive with all included files in document

2003-06-27 Thread Christian Ridderström
On Fri, 27 Jun 2003, Marcin Bukat wrote:

 Hello!
 There was a request of such functionality. I did a smal bash script 
 which can do that 'cause I found it usefull.
 If someone interested please test.
 
 
 Regards
 wo
 
I hope you don't mind that I put the script on-line here:

http://ev-en.org/wiki/moin.cgi/LyxConvertFilesIntoArchive

and put a reference to it in the online FAQ here:

http://ev-en.org/wiki/moin.cgi/LyxFAQ#line355

/Christian

-- 
Christian Ridderström   http://www.md.kth.se/~chr




Re: archive with all included files in document

2003-06-27 Thread Jean-Marc Lasgouttes
 Marcin == Marcin Bukat [EMAIL PROTECTED] writes:

Marcin Hello! There was a request of such functionality. I did a smal
Marcin bash script which can do that 'cause I found it usefull. If
Marcin someone interested please test.

Nice script :)

Just a question: does it support include files (recursively, I guess)?
My cursory reading of the code makes me think that it does not...

JMarc


Re: archive with all included files in document

2003-06-27 Thread Marcin Bukat
Marcin Hello! There was a request of such functionality. I did a smal
Marcin bash script which can do that 'cause I found it usefull. If
Marcin someone interested please test.
Nice script :)

Just a question: does it support include files (recursively, I guess)?
My cursory reading of the code makes me think that it does not...
JMarc


What do You mean by 'recursively'?

Regards
wo


Re: archive with all included files in document

2003-06-27 Thread Jean-Marc Lasgouttes
 Marcin == Marcin Bukat [EMAIL PROTECTED] writes:

Marcin Hello! There was a request of such functionality. I did a smal
Marcin bash script which can do that 'cause I found it usefull. If
Marcin someone interested please test.
 Nice script :) Just a question: does it support include files
 (recursively, I guess)? My cursory reading of the code makes me
 think that it does not... JMarc
 
Marcin What do You mean by 'recursively'?

Do you look at what other .lyx files are used, in order to attach them
too, along with all the files they may themselves use?

JMarc



Re: archive with all included files in document

2003-06-27 Thread wodz
Cytowanie Jean-Marc Lasgouttes [EMAIL PROTECTED]:

  Marcin == Marcin Bukat [EMAIL PROTECTED] writes:
 
 Marcin Hello! There was a request of such functionality. I did a smal
 Marcin bash script which can do that 'cause I found it usefull. If
 Marcin someone interested please test.
  Nice script :) Just a question: does it support include files
  (recursively, I guess)? My cursory reading of the code makes me
  think that it does not... JMarc
  
 Marcin What do You mean by 'recursively'?
 
 Do you look at what other .lyx files are used, in order to attach them
 too, along with all the files they may themselves use?
 
 JMarc
Hmm no.
Could You send me tarbal with example of such situation?

Regards
wo





Re: archive with all included files in document

2003-06-27 Thread Jean-Marc Lasgouttes
 wodz == wodz  [EMAIL PROTECTED] writes:

  Do you look at what other .lyx files are used, in order to attach
 them too, along with all the files they may themselves use?

wodz Hmm no. Could You send me tarbal with example of such situation?

Here is a short one. I have been especially annoying, because I use
the same image twice, but from different directories.

This is not just to be annoying: people who would appreciate such a
feature the most are those who have big multipart document with
several directories and things like that.

Have fun...

JMarc



test.tar.gz
Description: Binary data


Re: archive with all included files in document

2003-06-27 Thread R.A.G.G.
El Viernes, 27 de Junio de 2003 12:36, Jean-Marc Lasgouttes escribió:
 Hello! There was a request of such functionality. I did a smal
 bash script which can do that 'cause I found it usefull. If
 someone interested please test.


I've found your script very insteresting, but I've had to add some lines 
because I use my own bibtex style file (.bst) and I want it to be in the 
tarball too.

I've also changed the way the script obtains the .gz and .bz2 archives, 
because it didn't work fine if the file was in a FAT partiton.

I've been testing it for a while and I think it works properly.


Regards,
Rafa


lyx_pak.sh
Description: application/shellscript


Re: page_break

2003-06-27 Thread Helge Hafting
On Thu, Jun 26, 2003 at 11:45:43AM +0200, Johannes Breu wrote:
 Lyx 1.3. 2 on Debian. I am using the document class book an I don't find 
 the possibility to begin a new page arbitrarily. I thought I could find 
 it under Insert - Special Characters...
 
You can, it is under layout-paragraph tab lines and pagebreaks
Select page breaks above and/or below.  This applies to whatever
paragraph the cursor is in.

PAge breaks are tied to a paragraph in lyx.  I don't know why,
latex certainly supports several pagebreaks in a row. . .

 Next problem: I am writing a german text. Under preferences I choose 
 german (new spelling). The way the words are seperated is not satisfying 
 at all. In addition the output (*.ps or *.xdvi or *.pdf) shows problems 
 with the line break if there are words in UPPER CASE LETTERS.

Configure your latex properly, i.e. so it may german hyphenation. 
This is completely outside of lyx.

Then use document-layout and change your document to german.
Lyx may or may not decide that the existing text remains english
(shown underlined in blue) if this happens, select all 
and use layout-character and change to german.

 How to insert a table of contents named Inhaltsverzeichnis? And how can 
 I add only headlines in this talble of contents I wish to add. Is it 
 possible to edit the table of contents if you open the dialogue box 
 table of contents ? I don't know how to do this.
 
Table of contents etx. should appear in german after completing the above
steps.

Helge Hafting 


Re: [PATCH] Re: Eureka! This is why Arabic support for lyx 1.3.2doesn't work in my Mandrake 9.1

2003-06-27 Thread Jean-Marc Lasgouttes
 Munzir == Munzir Taha Obeid [EMAIL PROTECTED] writes:

Munzir I am sorry just now I knew the thread spreaded between the
Munzir devel and users mailing lists and this is why I receive part
Munzir of the messages only. I am going to forward it again to both
Munzir and try to keep an eye ;-)

OK, let's continue here :)

Munzir I loged in the cvs and checked out lyx-devel. From this
Munzir directory I ran [EMAIL PROTECTED] lyx-devel]# ./autogen.sh

OK, it would be easier to grab lyx-1.3.2.tar.gz from
ftp.lyx.org/pub/lyx/stable/ and apply the patch to that.

Munzir The KDE crash handler gave this during the configuration: (no
Munzir debugging symbols found)...(no debugging symbols found)...[New
Munzir Thread 16384 (LWP 25029)]

I do not see why the KDE crash handler does something here...

Munzir Anyway, I continued
Munzir [EMAIL PROTECTED] lyx-devel]#make . . . 
Munzir make[6]: *** [BiblioModuleBase.lo] Error 1

The interesting point of course is to know what is the error just
before this error message.

Concerning the patch, I think that it should solve the problem of
using arabic at the end of document, but it does not solve the general
problem of using formatting inside an arabic context. This problem is
due to the big constraints that arabtex puts on the latex code that we
may use.

JMarc


Re: [PATCH] Re: Eureka! This is why Arabic support for lyx 1.3.2 doesn't work in my Mandrake 9.1

2003-06-27 Thread Andre Poenitz
On Fri, Jun 27, 2003 at 02:41:26AM +0300, Munzir Taha Obeid wrote:
> On Tuesday 24 June 2003 12:56 pm, Jean-Marc Lasgouttes wrote:
> > Munzir, I do not know if you are able to apply this patch and rebuild
> > LyX, but I'd appreciate feedback on whether this fixes your problem.
> > PS: there is a small unrelated change with the patch
> Ok, I will be happy to try the patch and confirm whether it works. Just I need 
> your help here since I am not an expert.
> 
> I loged in the cvs and checked out lyx-devel. From this directory I ran 
> [EMAIL PROTECTED] lyx-devel]# ./autogen.sh
> 
> Using autoconf (GNU Autoconf) 2.57
> Locating GNU m4... /usr/bin/m4

That's ok so far

Andre'


Re: Math Panel and symbols

2003-06-27 Thread Andre Poenitz
On Fri, Jun 27, 2003 at 01:49:16AM +0100, Rajil Saraswat wrote:
> Hi All, There is a problem with my lyx version which i wanted to
> confirm. In my math panel i only get the 'operator' symbols in the panel,
> the greek symbols donot appear in the panel itself and i have to click on
> detach panel to get a new window with the greek symbols. Infact barring
> the 'operator' symbols no other symbol appears in the math panel itself.
> I am using lyx 1.3.2 on linux x86, is this a bug or can it be rectified?

I do not see a difference between the 'greek' sub panel and one of the
'operators' sub panels...

Andre'

-- 
Those who desire to give up Freedom in order to gain Security, will not have,
nor do they deserve, either one. (T. Jefferson or B. Franklin or both...)


Re: apendix in article (koma-script) style

2003-06-27 Thread Juergen Spitzmueller
Marcin Bukat wrote:

> How can I suppres inserting empty page before and between appendixes?

You are obviously doing something wrong. koma-article does not insert a
pagebreak before and between appendices.

Please send a minimal example.

Juergen.



Re: apendix in article (koma-script) style

2003-06-27 Thread Juergen Spitzmueller
Juergen Spitzmueller wrote:

> You are obviously doing something wrong. koma-article does not insert a
> pagebreak before and between appendices.

except you have a multipart document and \include the appendices (\include
inserts a \clearpage). 
Use \input instead then.

Juergen.



Re: apendix in article (koma-script) style

2003-06-27 Thread Marcin Bukat
Uz.ytkownik Juergen Spitzmueller napisa?:
Juergen Spitzmueller wrote:


You are obviously doing something wrong. koma-article does not insert a
pagebreak before and between appendices.


except you have a multipart document and \include the appendices (\include
inserts a \clearpage). 
Use \input instead then.

Juergen.
Ok. I descovered the problem. I was including in appendixes only 
graphics. There is difference in space in the bottom of Section title 
between article class and article-coma-script class. Because graphics 
are realy big it dosn't fit on page after changing class. Thats why 
empty page was inserted.

Anyway thans for sugestions

PS. Jurgen, can You point me to the documentation of coma-script class? 
I can't find this docs in my system.

Regards
wo



Re: Math Panel and symbols

2003-06-27 Thread Jean-Marc Lasgouttes
> "Rajil" == Rajil Saraswat <[EMAIL PROTECTED]> writes:

Rajil> Hi All, There is a problem with my lyx version which i wanted
Rajil> to confirm. In my math panel i only get the 'operator' symbols
Rajil> in the panel, the greek symbols donot appear in the panel
Rajil> itself and i have to click on detach panel to get a new window
Rajil> with the greek symbols. Infact barring the 'operator' symbols
Rajil> no other symbol appears in the math panel itself. I am using
Rajil> lyx 1.3.2 on linux x86, is this a bug or can it be rectified?

Which frontend is that (xforms, qt?).

JMarc


Re: Math Panel and symbols

2003-06-27 Thread Rajil Saraswat
I was using qt but i tried this with xforms now, the xform math panel is a bit 
different than qt one as it doesnt have the panel for symbols.
Now i am again compiling the qt version.


 On Friday 27 June 2003 09:08, Jean-Marc Lasgouttes wrote:
> > "Rajil" == Rajil Saraswat <[EMAIL PROTECTED]> writes:
>
> Rajil> Hi All, There is a problem with my lyx version which i wanted
> Rajil> to confirm. In my math panel i only get the 'operator' symbols
> Rajil> in the panel, the greek symbols donot appear in the panel
> Rajil> itself and i have to click on detach panel to get a new window
> Rajil> with the greek symbols. Infact barring the 'operator' symbols
> Rajil> no other symbol appears in the math panel itself. I am using
> Rajil> lyx 1.3.2 on linux x86, is this a bug or can it be rectified?
>
> Which frontend is that (xforms, qt?).
>
> JMarc



Re: Math Panel and symbols

2003-06-27 Thread Rajil Saraswat
This is what i get at the end of my compilation, is this what affects the 
panels?
---
WARNING: the QT gui, together with xft2+fontconfig (which you
 * almost certainly have), suffer from one infamous bug that causes
 * the matheditor not to display any special characters (the ones from
 * the Computer Modern font family). Generated documents (.dvi, .ps...)
 * are ok, since tex has right fonts from the bluesky package.
 * A proper solution was being worked on. Meanwhile you can install the
 * BaKoMa fonts package; however they are not licensed for redistribution
 * (not even embedded inside generated documents) and cannot be used in
 * commercial environments (without a special agreement from the author).
 * If that suits you, you can get them on CTAN or at ftp.lyx.org as
 * latex-ttf-fonts-0.1.tar.gz. I was working on an alternative, free
 * fonts package derived from bluesky, but got stuck; wuold be glad
 * to see someone continuing the effort (see the relevant threads on the
 * lyx-devel mailing list or mail me if you want to know more).
--
 On Friday 27 June 2003 09:08, Jean-Marc Lasgouttes wrote:
> > "Rajil" == Rajil Saraswat <[EMAIL PROTECTED]> writes:
>
> Rajil> Hi All, There is a problem with my lyx version which i wanted
> Rajil> to confirm. In my math panel i only get the 'operator' symbols
> Rajil> in the panel, the greek symbols donot appear in the panel
> Rajil> itself and i have to click on detach panel to get a new window
> Rajil> with the greek symbols. Infact barring the 'operator' symbols
> Rajil> no other symbol appears in the math panel itself. I am using
> Rajil> lyx 1.3.2 on linux x86, is this a bug or can it be rectified?
>
> Which frontend is that (xforms, qt?).
>
> JMarc

-- 
Rajil Saraswat
Materials Processing Group,
Department of Materials,   Tel(O): +44-20-759 46746
Imperial College,Tel(R): +44-20-785 20304
Prince Consort Road,
London, SW7 2BP, U.K
##
  Gentoo Linux
   Linux Version 2.4.20-ck6, Compiled #2 Tue Apr 29 18:12:09 BST 2003
 One 2.67GHz Intel Pentium 4 Processor, 1GB RAM, 5308.41 Bogomips Total
 Load Average 0.30, 1.46, 1.79
   Uptime 3 days 23 hours 45 minutes
sora.mt.ic.ac.uk



archive with all included files in document

2003-06-27 Thread Marcin Bukat
Hello!
There was a request of such functionality. I did a smal bash script 
which can do that 'cause I found it usefull.
If someone interested please test.

Regards
wo
#!/bin/sh
# This script creates archive with lyx file and all included files (graphics 
# and so on). It can make plain tar archive or compress it with bz2 or gz
#
# Author: Marcin Bukat
# email : [EMAIL PROTECTED]
# Ths script is a FREE software
# Use at Your own risk

function usage
#Prints usage instructions
{
echo "Usage: lyx_pak.sh [OPTONS] [FULL PATH TO LYX FILE]"
echo " OPTIONS:"
echo "-jcompress with bzip2"
echo "-zcompress with gzip"
exit
}

function archive
#Creates archive
{
ARCHNAME=`basename $LYXFILENAME lyx`tar
   case "$1" in
-j)
COMPRESS="bzip2 $ARCHNAME"
;;
-z)
COMPRESS="gzip $ARCHNAME"
;;
*)
COMPRESS=""
esac

cd $WORKDIR

tar cvf $ARCHNAME $LYXFILENAME `cat $LYXFILENAME|grep filename|cut -d " " -f 2` "`cat 
$LYXFILENAME|grep BibTeX|cut -d { -f2|tr -d '}'`.bib"
$COMPRESS

if [ $? -eq 0 ]; then
echo "Lyx archive created successfully"
else
exit 1
fi
}
#Main part starts here

#Check if there is any parameter
if [ $# -gt 0 ]; then
#Ok we got two parameters so first is a commpress switch
if [ $# -eq 2 ]; then
if [ "$1" = "-j" ] || [ "$1" = "-z" ]; then
PARAM=$1
LYXFILENAME=`basename $2`
WORKDIR=`dirname $2`
if [ -f $2 ] && [ -d `dirname $2` ]; then
#parameters are correct so make archive
archive $PARAM
else
usage
fi
else
usage
fi
else
#One parameter - only path to the file
PARAM="-"
LYXFILENAME=`basename $1`
WORKDIR=`dirname $1`
if [ -f "$1" ] && [ -d "`dirname $1`" ]; then
#parameters are correct so make archive
archive $PARAM
else
usage
fi
fi
else
usage
fi


Re: apendix in article (koma-script) style

2003-06-27 Thread Juergen Spitzmueller
Marcin Bukat wrote:

> PS. Jurgen, can You point me to the documentation of coma-script class?
> I can't find this docs in my system.

http://www.ctan.org/tex-archive/macros/latex/contrib/koma-script/scrguien.pdf
(1.2 MB!)

Juergen.




Re: archive with all included files in document

2003-06-27 Thread Christian Ridderström
On Fri, 27 Jun 2003, Marcin Bukat wrote:

> Hello!
> There was a request of such functionality. I did a smal bash script 
> which can do that 'cause I found it usefull.
> If someone interested please test.
> 
> 
> Regards
> wo
> 
I hope you don't mind that I put the script on-line here:

http://ev-en.org/wiki/moin.cgi/LyxConvertFilesIntoArchive

and put a reference to it in the online FAQ here:

http://ev-en.org/wiki/moin.cgi/LyxFAQ#line355

/Christian

-- 
Christian Ridderström   http://www.md.kth.se/~chr




Re: archive with all included files in document

2003-06-27 Thread Jean-Marc Lasgouttes
> "Marcin" == Marcin Bukat <[EMAIL PROTECTED]> writes:

Marcin> Hello! There was a request of such functionality. I did a smal
Marcin> bash script which can do that 'cause I found it usefull. If
Marcin> someone interested please test.

Nice script :)

Just a question: does it support include files (recursively, I guess)?
My cursory reading of the code makes me think that it does not...

JMarc


Re: archive with all included files in document

2003-06-27 Thread Marcin Bukat
Marcin> Hello! There was a request of such functionality. I did a smal
Marcin> bash script which can do that 'cause I found it usefull. If
Marcin> someone interested please test.
Nice script :)

Just a question: does it support include files (recursively, I guess)?
My cursory reading of the code makes me think that it does not...
JMarc


What do You mean by 'recursively'?

Regards
wo


Re: archive with all included files in document

2003-06-27 Thread Jean-Marc Lasgouttes
> "Marcin" == Marcin Bukat <[EMAIL PROTECTED]> writes:

Marcin> Hello! There was a request of such functionality. I did a smal
Marcin> bash script which can do that 'cause I found it usefull. If
Marcin> someone interested please test.
>> Nice script :) Just a question: does it support include files
>> (recursively, I guess)? My cursory reading of the code makes me
>> think that it does not... JMarc
>> 
Marcin> What do You mean by 'recursively'?

Do you look at what other .lyx files are used, in order to attach them
too, along with all the files they may themselves use?

JMarc



Re: archive with all included files in document

2003-06-27 Thread wodz
Cytowanie Jean-Marc Lasgouttes <[EMAIL PROTECTED]>:

> > "Marcin" == Marcin Bukat <[EMAIL PROTECTED]> writes:
> 
> Marcin> Hello! There was a request of such functionality. I did a smal
> Marcin> bash script which can do that 'cause I found it usefull. If
> Marcin> someone interested please test.
> >> Nice script :) Just a question: does it support include files
> >> (recursively, I guess)? My cursory reading of the code makes me
> >> think that it does not... JMarc
> >> 
> Marcin> What do You mean by 'recursively'?
> 
> Do you look at what other .lyx files are used, in order to attach them
> too, along with all the files they may themselves use?
> 
> JMarc
Hmm no.
Could You send me tarbal with example of such situation?

Regards
wo





Re: archive with all included files in document

2003-06-27 Thread Jean-Marc Lasgouttes
> "wodz" == wodz  <[EMAIL PROTECTED]> writes:

>>  Do you look at what other .lyx files are used, in order to attach
>> them too, along with all the files they may themselves use?

wodz> Hmm no. Could You send me tarbal with example of such situation?

Here is a short one. I have been especially annoying, because I use
the same image twice, but from different directories.

This is not just to be annoying: people who would appreciate such a
feature the most are those who have big multipart document with
several directories and things like that.

Have fun...

JMarc



test.tar.gz
Description: Binary data


Re: archive with all included files in document

2003-06-27 Thread R.A.G.G.
El Viernes, 27 de Junio de 2003 12:36, Jean-Marc Lasgouttes escribió:
> Hello! There was a request of such functionality. I did a smal
> bash script which can do that 'cause I found it usefull. If
> someone interested please test.


I've found your script very insteresting, but I've had to add some lines 
because I use my own bibtex style file (.bst) and I want it to be in the 
tarball too.

I've also changed the way the script obtains the .gz and .bz2 archives, 
because it didn't work fine if the file was in a FAT partiton.

I've been testing it for a while and I think it works properly.


Regards,
Rafa


lyx_pak.sh
Description: application/shellscript


Re: page_break

2003-06-27 Thread Helge Hafting
On Thu, Jun 26, 2003 at 11:45:43AM +0200, Johannes Breu wrote:
> Lyx 1.3. 2 on Debian. I am using the document class book an I don't find 
> the possibility to begin a new page arbitrarily. I thought I could find 
> it under Insert - Special Characters...
> 
You can, it is under layout->paragraph tab "lines and pagebreaks"
Select "page breaks above" and/or "below".  This applies to whatever
paragraph the cursor is in.

PAge breaks are tied to a paragraph in lyx.  I don't know why,
latex certainly supports several pagebreaks in a row. . .

> Next problem: I am writing a german text. Under preferences I choose 
> german (new spelling). The way the words are seperated is not satisfying 
> at all. In addition the output (*.ps or *.xdvi or *.pdf) shows problems 
> with the line break if there are words in UPPER CASE LETTERS.
>
Configure your latex properly, i.e. so it may german hyphenation. 
This is completely outside of lyx.

Then use document->layout and change your document to german.
Lyx may or may not decide that the existing text remains "english"
(shown underlined in blue) if this happens, select all 
and use layout->character and change to german.

> How to insert a table of contents named Inhaltsverzeichnis? And how can 
> I add only headlines in this talble of contents I wish to add. Is it 
> possible to edit the table of contents if you open the dialogue box 
> "table of contents" ? I don't know how to do this.
> 
Table of contents etx. should appear in german after completing the above
steps.

Helge Hafting 


Re: [PATCH] Re: Eureka! This is why Arabic support for lyx 1.3.2doesn't work in my Mandrake 9.1

2003-06-27 Thread Jean-Marc Lasgouttes
> "Munzir" == Munzir Taha Obeid <[EMAIL PROTECTED]> writes:

Munzir> I am sorry just now I knew the thread spreaded between the
Munzir> devel and users mailing lists and this is why I receive part
Munzir> of the messages only. I am going to forward it again to both
Munzir> and try to keep an eye ;-)

OK, let's continue here :)

Munzir> I loged in the cvs and checked out lyx-devel. From this
Munzir> directory I ran [EMAIL PROTECTED] lyx-devel]# ./autogen.sh

OK, it would be easier to grab lyx-1.3.2.tar.gz from
ftp.lyx.org/pub/lyx/stable/ and apply the patch to that.

Munzir> The KDE crash handler gave this during the configuration: (no
Munzir> debugging symbols found)...(no debugging symbols found)...[New
Munzir> Thread 16384 (LWP 25029)]

I do not see why the KDE crash handler does something here...

Munzir> Anyway, I continued
Munzir> [EMAIL PROTECTED] lyx-devel]#make . . . 
Munzir> make[6]: *** [BiblioModuleBase.lo] Error 1

The interesting point of course is to know what is the error just
before this error message.

Concerning the patch, I think that it should solve the problem of
using arabic at the end of document, but it does not solve the general
problem of using formatting inside an arabic context. This problem is
due to the big constraints that arabtex puts on the latex code that we
may use.

JMarc