Re: What's with this compile error?----
On Mon, 20 Sep 1999, Ken Ingram wrote: > -g -O2 -I. -I. -I../images -I/usr/X11R6/include spellchecker.C > spellchecker.C: In function `void create_ispell_pipe(const LString &)': > spellchecker.C:348: passing `int *' as argument 2 of `select(int, > __fd_set *, __fd_set *, __fd_set *, timeval *)' > make[1]: *** [spellchecker.o] Error 1 > make[1]: Leaving directory `/usr/src/lyx-1.0.3/src' > make: *** [all] Error 1 This is very fast becoming a FAQ so I'm also sending it to lyx-users. It's due to gcc-2.95 not liking autoconf's generated test to find the parameter types of select(). The appropriate people have been informed more than once about this and a number of other problems. This particular problem isn't yet fixed though :-( A simple workaround for you is to do: sed -e "s/extern select/extern int select/" < configure > newconf mv newconf configure then rerun configure and make. Allan. (ARRae)
Re: ASCII/HTML/troff output option
> > "Bruce" == Bruce Momjian <[EMAIL PROTECTED]> writes: > > Bruce> I wanted to give the list a status on my efforts to convert to > Bruce> lyx from troff. > > Bruce> After downloading tr2latex, reworking some items that cause > Bruce> reLyX trouble, and mapping my custom troff macros to latex > Bruce> macros, I am now getting 98% conversion of my troff documents. > > That's great. If you have a package or a page explaining how to do > that, we'll link to it from the web page. > > JMarc > Here is the info you requested. You can add it as a page on your web site if you wish. -- Bruce Momjian| http://www.op.net/~candle [EMAIL PROTECTED]| (610) 853-3000 + If your life is a hard drive, | 830 Blythe Avenue + Christ can be your backup.| Drexel Hill, Pennsylvania 19026 ... The attached document is in both web page and text formats. View the one which looks best. Converting Troff to Lyx I have found it easy to convert existing troff documents to LyX. First, get tr2latex, the Troff-to-TeX translator by Christian Engel, from the nearest CTAN site. Second, I am attaching a shell script I used for this purpose. Because troff is limited, I had written my own troff macros for bullets and computer source text. LaTeX/LyX has these capabilities, so the script maps my custom macros to the LaTeX/LyX versions. The script also does some cleanups to workaround problems with tr2latex and reLyX. #!/bin/sh trap "rm -f /tmp/$$.tex /tmp/$$.lyx /tmp/$$.relyx*" 0 1 2 3 15 cat "$@" | sed 's;^\.so .*/groff_macros/macros;;g' | # custom macros sed 's;^\.so .*/groff_macros/bap;;g' | sed 's;^\.so .*/groff_macros/calendar;;g' | sed 's/^\.Th *\([^ ]*\)/\1@latexob@@latexbs@small th@latexcb@/g' | sed 's/^\.Am */@latexob@@latexbs@small AM@latexcb@/g' | sed 's/^\.Am *\([^ ]*\)/\1@latexob@@latexbs@small AM@latexcb@/g' | sed 's/^\.Pm */@latexob@@latexbs@small PM@latexcb@/g' | sed 's/^\.Pm *\([^ ]*\)/\1@latexob@@latexbs@small PM@latexcb@/g' | sed 's/^\.Bb */@latexbs@begin@latexob@itemize@latexcb@\ @latexbs@item /g' | sed 's/^\.Bc */@latexbs@item /g' | sed 's/^\.Be */@latexbs@end@latexob@itemize@latexcb@/g' | sed 's/^\.Tb */@latexbs@begin@latexob@lyxcode@latexcb@\ .nf/g' | sed 's/^\.Te */@latexbs@end@latexob@lyxcode@latexcb@\ .fi/g' | sed 's/^\.Tb1 */@latexbs@texttt@latexob@/g' | sed 's/^\.Te1 */@latexbs@@latexcb@/g' | sed 's/^\.St .*$/.\\"/g' | sed 's/^\.Co .*$/.\\"/g' | sed 's/^\.AI *$/.AU/g' | # no organization in lyx sed 's/^\.sp 0.5v\?$/.\\"/g' | # handle this .sp sed 's/^\.LP *//g' | # this is lyx equivalent sed 's/^\.sp *$//g' | # want blank line # handle nofill(.nf) by adding newlines awk ' BEGIN {nofill = "N"} { if ($1 == ".nf") nofill = "Y"; else if ($1 == ".fi") { printf "\n"; nofill = "N"; } else {print $0} if (nofill == "Y") printf "\n"; }' | tr2latex | sed 's/@latexbs@/\\/g' | # translate inserted latex stuff sed 's/@latexob@/{/g' | sed 's/@latexcb@/}/g' | sed 's/\\bs \?/\\textbackslash{}/g' | #convert this properly sed 's;\\input \([a-zA-Z_0-9/\.]*\);\\input {\1};g' | #reLyX needs {} sed 's/\\shead/\\section\*/g' | # map to LyX macros sed 's/{IPlist}/{enumerate}/g' | sed 's/\\IPitem{{[0-9\.]*}}/\\item/g' | sed 's/\\IPitem{?{?[0-9]?\.?}?}?/\\item/g' >/tmp/$$.tex #cat /tmp/$$.tex # uncomment for testing #exit reLyX /tmp/$$.tex cat /tmp/$$.lyx Converting Troff to Lyx I have found it easy to convert existing troff documents to LyX. First, get tr2latex, the Troff-to-TeX translator by Christian Engel, from the nearest CTAN site. Second, I am attaching a shell script I used for this purpose. Because troff is limited, I had written my own troff macros for bullets and computer source text. LaTeX/LyX has these capabilities, so the script maps my custom macros to the LaTeX/LyX versions. The script also does some cleanups to workaround problems with tr2latex and reLyX. #!/bin/sh trap "rm -f /tmp/$$.tex /tmp/$$.lyx /tmp/$$.relyx*" 0 1 2 3 15 cat "$@" | sed 's;^\.so .*/groff_macros/macros;;g' | # custom macros sed 's;^\.so .*/groff_macros/bap;;g' | sed 's;^\.so .*/groff_macros/calendar;;g' | sed 's/^\.Th *\([^ ]*\)/\1@latexob@@latexbs@small th@latexcb@/g' | sed 's/^\.Am */@latexob@@latexbs@small AM@latexcb@/g' | sed 's/^\.Am *\([^ ]*\)/\1@latexob@@latexbs@small AM@latexcb@/g' | sed 's/^\.Pm */@latexob@@latexbs@small PM@latexcb@/g' | sed 's/^\.Pm *\([^ ]*\)/\1@latexob@@latexbs@small PM@latexcb@/g' | sed 's/^\.Bb */@latexbs@begin@latexob@itemize@latexcb@\ @latexbs@item /g' | sed 's/^\.Bc */@latexbs@item /g' | sed 's/^\.Be */@latexbs@end@latexob@itemize@latexcb@/g' | sed 's/^\.Tb */@latexbs@begin@latexob@lyxcode@latexcb@\ .nf/g' | sed 's/^\.Te */@latexbs@end@latexob@lyxcode@latexcb@\ .fi/g' | sed 's/^\.Tb1 */@latexbs@texttt@latexob@/g' | sed 's/^\.Te1 */@
Re: LyX unable to find RelyxFigure.pm
> "Paolo" == Paolo M Pumilia <[EMAIL PROTECTED]> writes: Paolo> On Sep 17 1999 , Jean-Marc Lasgouttes wrote: >> > Paolo> I cannot import a tex file into lyx, apparently because >> lyx > Paolo> searches the conversion program RelyxFigure.pm in >> /usr/local >> >> JMarc > I think there is a misconfiguration... Where is reLyX >> located ? Are JMarc > you sure that you do not have one version in >> /usr/local/bin and JMarc > another in /usr/bin? Paolo> A previous lyx version had been compiled in /usr/local indeed. Paolo> Two RelyxFigure.pm files reside on my platform, as resulting Paolo> from the following output: Paolo> %% find /usr/ -name "RelyxFigure.pm*" >> /usr/X11R6/share/lyx/reLyX/RelyxFigure.pm >> /usr/local/soft/LyX/lyx-1.0.3pre2/lib/reLyX/RelyxFigure.pm The problem is that you have a reLyX executable in /usr/local/bin and not corresponding relyx files in /usr/local/share/lyx. Since the one which is ran is the one in /usr/local/bin, you should check whether it is well installed. Is it the one which comes from the debian package, or maybe a link to one of the others? Did you relocate your debien package? JLarc
Re: Need another \angle - symbol
Alexander Wollmann wrote: >I´m wondering if there is an overview of >all available math-symbols in different packages and so on. In my LaTeX book I >can´t find \measuredangle or \sphericalangle. In amsguide.dvi you can find a table with all symbols in the AMS-packages. I found this file at the following location: /usr/doc/packages/te_ams/texmf/amstex/amsguide.dvi Use xdvi or kdvi to view this file. I think the teTeX-documentation is a good starting point for your quest for a nice angle-symbol. Regards, Ingo
Re: Need another \angle - symbol
On 20-Sep-99 Ingo Kloecker wrote: > Alexander Wollmann wrote: >>Hello everybody, >> >>I often used the \angle - symbol in my exam-paper. The problem is that I have >>to write \angle abc < \angle xyz a hundred of times. But it looks very >>ugly if you use \angle directly after <. So I need another symbol to mark >>angels. Who has a good idea? > > Try \measuredangle or \sphericalangle. > > Regards, > Ingo Not bad, but I think not good enough. I´m wondering if there is an overview of all available math-symbols in different packages and so on. In my LaTeX book I can´t find \measuredangle or \sphericalangle. Thanks, Alex. --- Alexander Wollmann Universität Freiburg, Abteilung Elementar-Mathematik und Didaktik der Mathematik E-Mail: Alexander Wollmann <[EMAIL PROTECTED]> Date: 20-Sep-99 Time: 17:39:05 This message was sent by XFMail ---
Re: Dictionnary
it's standard on SuSE, as many others. Should be easy to find on the netn looking for "ispell" On dim, 19 sep 1999, Alain Bertrand à écrit >Hello, > >Where can I find a dictionnary for French? > >Thanks. > > >Alain > >Hep Brezhoneg, Breizh ebet. -- Linux hp-41 APTEP SF http://perso.club-internet.fr/jdanield [EMAIL PROTECTED] - [EMAIL PROTECTED]
Problems with margins
Hello, I'm writing the thesis and I'm using book class with fancy, redefining the position of header and pages numbers. Only one problem, even if I change the margins to obtain more space on the left in the odd(1,3,5...) pages and the same on the right part for odd pages (2,4,6...), nothing changes. How can I resolve the problems ? Bye,Claudio
Re: lyx Installation trouble
Re: Need another \angle - symbol
Alexander Wollmann wrote: >Hello everybody, > >I often used the \angle - symbol in my exam-paper. The problem is that I have >to write \angle abc < \angle xyz a hundred of times. But it looks very >ugly if you use \angle directly after <. So I need another symbol to mark >angels. Who has a good idea? Try \measuredangle or \sphericalangle. Regards, Ingo
Need another \angle - symbol
Hello everybody, I often used the \angle - symbol in my exam-paper. The problem is that I have to write \angle abc < \angle xyz a hundred of times. But it looks very ugly if you use \angle directly after <. So I need another symbol to mark angels. Who has a good idea? Greets, Alex. --- Alexander Wollmann Universität Freiburg, Abteilung Elementar-Mathematik und Didaktik der Mathematik E-Mail: Alexander Wollmann <[EMAIL PROTECTED]> Date: 20-Sep-99 Time: 15:36:36 This message was sent by XFMail ---
RE: lyx Installation trouble
On 17-Sep-99 Bhagwati Gupta wrote: > Hi- Hi! > > g++ -c -g -I. -I. -I../images -I/usr/X11R6/include math_symbols.C > g++ -c -g -I. -I. -I../images -I/usr/X11R6/include lyxfunc.C > lyxfunc.C: In method 'class LString LySFunc::Dispatch (int, const char * > = 0)': > lyxfunc.C:2427: virtual memory exhausted This is a compiler/assembler error and has nothing to do with lyx configuration or internals. Did you try to just redo make sometimes there are some memory problems and it goes over it the second time. Otherwise try to reboot your machine and do make (without make clean!) As first thing. Sorry for not being able to help you more! Greets Jürgen -._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._ Dr. Jürgen Vigna E-Mail: [EMAIL PROTECTED] Gerbergasse 60Tel:+39-0471-450260 I-39100 Bozen Fax:+39-0471-970042 ITALY Web:http://www.sad.it/~jug In Mexico we have a word for sushi: bait. -- Josi Simon -._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._