Re: lyx and tables
On 7.10.04, RENARD Francois 144138 wrote: Hi, 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. I found no way to do that. There are several ways, (none of it is straightforward). * If your table only contains simple text and is tab delimited, you can create an empty table with the right number of rows and columns in LyX and drag and drop the table with the mouse. * If the table is in LaTeX format, you can either + include it (no visual feedback), + insert as ERT (ugly visual feedback), or + try to reLyX it (see man reLyX for the needed arguments for relyxing part of a LaTeX document). * Also, you can google for csv2lyx, a perl script that can produce a LyX document out of csv (comma separated values). See the documentation that comes with it for the many options, including direct insert via the lyxpipe, tab separated values, formatting and the like. Günter -- G.Milde web.de
Re: Keyboard switching between documents?
On 7.10.04, Peter Ljunglöf wrote: Hi, I have a question on keyboard bindings and .bind files When working on multiple documents at once, it's nice to be able to switch between documents (buffers) fast. I have tried a bit to add this feature to my personal .bind file, but without success so far. So did I... Q: Is it possible to make a .bind file for keyboard switching between open documents/buffers? * Either, binding C-M-Left to next buffer and C-M-Right to previous buffer. Not that I know of. You could file a feature request for next-buffer and previous-buffer commands at the lyx bugzilla. * Or, an alternative, binding C-M-1 to buffer nr 1 and C-M-2 to buffer nr 2 and C-M-3 to buffer nr 3 etc. There is the (not really fast) variant of M-k 1 ... M-k N for buffer number 1 ... N available out of the box. As this is not really fast, one could try to get the C-M-1 etc bound to push the needed key sequence back to LyX. I know this is possible with the lyxserver, but I hope there is an easier way too (maybe command-sequence; something next thing). Günter -- G.Milde web.de
Re: French usage in beamer
Date: Fri, 8 Oct 2004 07:48:39 +0200 (MEST) From: Jean-Pierre Chretien [EMAIL PROTECTED] Subject: Re: French usage in beamer To: [EMAIL PROTECTED] https://sourceforge.net/tracker/index.php?func=detailaid=1042439group_id=92412atid=600660 is a workaround: Add \theoremstyle{example} \newtheorem{exafran}[theorem]{Exemple} \renewenvironment{example}{\begin{exafran}}{\end{exafran}} to the preamble. AFAIU, it's more a babel problem than a beamer problem. Seems logical to insert this in frenchb.cfg, unless you need to hand over the document to someone else. Right ? Forget it, the workaround is beamer-specific. Sorry -- Jean-Pierre
Re: [ANNOUNCE] LyX 1.3.5 is released
Paul == Paul Smith [EMAIL PROTECTED] writes: Paul The upload of the file is now done. However, I do not see the Paul file at: Paul ftp://ftp.lyx.org/pub/lyx/bin/ It is there now. Thanks. JMarc
Re: Printing problem
Thanks for the replys. First off, I tried the 'hit the print button, not just enter' and had no luck. Would've been nice though... Going into a bit more detail then. When I hit print, the default printer is found ok, and its name is in the 'printer' box. However, when I hit the 'print' button, there's not a 'sending to print' progress bar; the menu just closes. To my mind this means it's not spooling (NB it's a network printer on another machine running CUPS, but works fine from other apps). The 'output, printer' section of the 'preferences' menu also displays the correct name for the default printer. Adapt output is checked, and the printer command is 'dvips'. The options look reasonable compared to those from the dvips man page (I'll list them below). The only difference is the the spool command is 'lp' rather than 'lpr', but either of these options work from the command line, and neither option works when I change them. One thing I have spotted is the a warning from dvips when I print from the command line: $ dvips -f test.dvi -P HP2300 dvips: warning: no config file for `HP2300' This is dvips(k) 5.86 Copyright 1999 Radical Eye Software (www.radicaleye.com) ' TeX output 2004.10.08:1016' - | lpr -PHP2300 I know nothing about dvips, other than that lyx wants to use it to control print output, so I maybe need to have a look at this if it's important...? Let me know if there are any more details I can provide. Is there a way to get a debug output from lyx? Cheers, Dave prefs-output-printer options: Printer name: HP2300 adapt output: checked even pages: -B odd pages: -A Page range: -pp collated: -C Copies: -c Landscape: -t landscape Reverse: -r to file: -o to printer: -P Extra options: file extension: .ps spool prefix: -d spool command: lp paper size: -T Paper type: -t This message has been scanned but we cannot guarantee that it and any attachments are free from viruses or other damaging content: you are advised to perform your own checks. Email communications with the University of Nottingham may be monitored as permitted by UK legislation.
Re: Keyboard switching between documents?
G. Milde schrieb: On 7.10.04, Peter Ljunglöf wrote: [switching between buffers] You could file a feature request for next-buffer and previous-buffer commands at the lyx bugzilla. Have a look at http://bugzilla.lyx.org/show_bug.cgi?id=608 and http://bugzilla.lyx.org/show_bug.cgi?id=515 Dominik.-
Re: Mac-LyX is slow
Angus == Angus Leeming [EMAIL PROTECTED] writes: Angus Jean-Marc Lasgouttes wrote: It is not possible to get antialiasing with lyx/xforms. Actually we had a patch to do that a long time ago, but it never got merged (was not of good enough quality). Angus Really? Could you dig it out? I guess the solution is to use Xft: http://freedesktop.org/Software/Xft There is a tutorial here (pay attention to section 5) http://www.keithp.com/~keithp/render/Xft.tutorial I do not have the original patch (which was rejected because too C-like and not C++) anymore... JMarc
how to use a new class
Hi I have a basic experience of LyX, but now I got a problem that I am not able to solve: I have a class file svmono.cls, and also another file svind.ist from a publisher. It is a style file for a book. I tried to explore the customization manual, but without success. Is there anybody, or any place where I can get a step-by-step procedure to use this class within lyx and to create its layout? Any suggestion is welcomed best regards Giorgio Zavarise __ Prof. Dr. Ing. Giorgio Zavarise Dipartimento di Ingegneria Strutturale e Geotecnica Politecnico di Torino C.so Duca degli Abruzzi, 24 I-10129 Torino - ITALY tel. +39 049 827 5596 fax +39 049 827 5604 e-mail [EMAIL PROTECTED] __
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: Printing problem
This may be a wild goose chase for you. Someone out there may have a *much* better answer. Debug LyX: from a line command, type in lyx -dbg. This will give you the lyx debug flag definitions. Debug dvips from within LyX: In the Outputs Printers configuration section, change the printer command to dvips -d 2 This will set the debug level of dvips to 2.You can find all the debug flag definitions at http://www.tug.org/texinfohtml/dvips.html#Debug-options You may want to start out just debugging dvips. You can capture the all the debug info by starting lyx from a command line with appropriate output redirection, for example lyx -dbg 2 debugoutput.txt 21 Leave off the -dbg 2 to not start off with lyx debug. lyx debugoutput.txt 21 These command forms will redirect standard output and standard error to the file debugoutput.txt. You may want to investigate the -u option for dvips (http://www.tug.org/texinfohtml/dvips.html#Option-details): -u /usr/share/texmf/dvips/config/psfonts.map perhaps. Lastly, and possibly most ignorantly of me, you could add the printer definition through texconfig david wolfson wrote: Thanks for the replys. First off, I tried the 'hit the print button, not just enter' and had no luck. Would've been nice though... Going into a bit more detail then. When I hit print, the default printer is found ok, and its name is in the 'printer' box. However, when I hit the 'print' button, there's not a 'sending to print' progress bar; the menu just closes. To my mind this means it's not spooling (NB it's a network printer on another machine running CUPS, but works fine from other apps). The 'output, printer' section of the 'preferences' menu also displays the correct name for the default printer. Adapt output is checked, and the printer command is 'dvips'. The options look reasonable compared to those from the dvips man page (I'll list them below). The only difference is the the spool command is 'lp' rather than 'lpr', but either of these options work from the command line, and neither option works when I change them. One thing I have spotted is the a warning from dvips when I print from the command line: $ dvips -f test.dvi -P HP2300 dvips: warning: no config file for `HP2300' This is dvips(k) 5.86 Copyright 1999 Radical Eye Software (www.radicaleye.com) ' TeX output 2004.10.08:1016' - | lpr -PHP2300 I know nothing about dvips, other than that lyx wants to use it to control print output, so I maybe need to have a look at this if it's important...? Let me know if there are any more details I can provide. Is there a way to get a debug output from lyx? Cheers, Dave prefs-output-printer options: Printer name: HP2300 adapt output: checked even pages: -B odd pages: -A Page range: -pp collated: -C Copies: -c Landscape: -t landscape Reverse: -r to file: -o to printer: -P Extra options: file extension: .ps spool prefix: -d spool command: lp paper size: -T Paper type: -t This message has been scanned but we cannot guarantee that it and any attachments are free from viruses or other damaging content: you are advised to perform your own checks. Email communications with the University of Nottingham may be monitored as permitted by UK legislation.
Summary for the query on use avant font in equations
The original question was how to use avant font in the equations. The problem is solved: I a Linux Debian Sarge I do: 1) Download sansmath.sty from: http://www.ctan.org/tex-archive/macros/latex/contrib/misc/ 2) With then command kpsepath tex you get the paths, where TeX search for files. I get: /home/totxo/texmf/tex/generic/ /usr/local/share/texmf/tex/generic/ /usr/local/lib/texmf/tex/generic/ /var/lib/texmf/tex/generic/ /usr/share/texmf/tex/generic/ /home/totxo/texmf/tex/ /usr/local/share/texmf/tex/ /usr/local/lib/texmf/tex/ /var/lib/texmf/tex/ /usr/share/texmf/tex/ 3) As root, make the directory -p /usr/local/share/texmf/tex/latex # mkdir -p /usr/local/share/texmf/tex/latex 4) As root, copy sansmath.sty to /usr/local/share/texmf/tex/latex/: # cp sansmath.sty /usr/local/share/texmf/tex/latex/ 3) Submit the command: # texhash 4) Start lyx 8) Put in the preamble (Format - Document - Preamble): \usepackage{sansmath} \sansmath and add commands like: \mathversion{sans} and \mathversion{normal} where necessary in your document. Tanks to William F. Adams, Herbert Voss and Roberto Marabini (http://www.mail-archive.com/lyx-users%40lists.lyx.org/msg11937.html)
Re: Printing problem
I think I have solved this. I was using a rather aged version of tetex (1.0. something), but after some google bashing, managed to beat some version 2 rpms into working, and can now print. Can't help thinking I have some more learning to do though... Next game is gbib, but that'll be a whole new thread! Thanks for the help, Dave This message has been scanned but we cannot guarantee that it and any attachments are free from viruses or other damaging content: you are advised to perform your own checks. Email communications with the University of Nottingham may be monitored as permitted by UK legislation.
ff, fi ligatures and tex4ht
I have been playing around with tex4ht. Adding \usepackage{tex4ht} then running the file through latex and bibtex followed by a final run of tex4ht produces pretty impressive results. The only real problem I'm suffering from is what it's doin to 'fi' and 'ff' ligatures. Is there any way I can get it to be boring and just leave fi as fi? -- Angus
Re: Newbie Questions
--- Uwe Stöhr [EMAIL PROTECTED] wrote: N Castro wrote: I think I would use some arrangement like Part, Chapter, Section, but I don't want the extra numbers (such as 1.1.1 subsection, or Chapter 1- Chapter title), I would like to just have the names of each section. How would I do this? Use the starred form of the environments, e.g. choose section* instead of section Also, LyX is hyphenating my text when it reaches the margins. How do I disable this feature? I would rather have text not hyphenated. choose Layout - Paragraph - left aligned regards Uwe = Custom game sprites, custom animations, Free Downloads http://www.nc-games.com
Re: Newbie Questions
Uwe Stöhr wrote: Also, LyX is hyphenating my text when it reaches the margins. How do I disable this feature? I would rather have text not hyphenated. choose Layout - Paragraph - left aligned this makes only sense for a few paragraphs. For the whole document a \raggedroght in ERT is better Herbert -- http://TeXnik.de/ http://PSTricks.de/ ftp://ftp.dante.de/tex-archive/info/math/voss/Voss-Mathmode.pdf http://www.dante.de/faq/de-tex-faq/ http://www.tex.ac.uk/cgi-bin/texfaq2html?introduction=yes
Re: Newbie Questions
Herbert Voss schrieb: Uwe Stöhr wrote: [...] choose Layout - Paragraph - left aligned this makes only sense for a few paragraphs. For the whole document a \raggedroght in ERT is better I think, \raggedright would be of more use ;-) Dominik.-
Re: lyx and tables
José Abílio Oliveira Matos wrote: 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? The author agrees, I was allowed to publish his program as public domain. So you can copy it to LyX's ftp repository. regards Uwe
a problem with lyx
dear mailing-list users, i have a big problem with lyx and i hope that there is an easy solution for it. as you know one can create an index in lyx. is there a possibility to create an symbolverzeichnis or an namesverzeichnis, so that they are listed in my table of contens? i would be satisfied if i could label pages, so that i could refer to a page number.. . or is there possibility to rename index and put it in your table of contents..? thank you for any answer.. tanja ... -- +++ GMX DSL Premiumtarife 3 Monate gratis* + WLAN-Router 0,- EUR* +++ Clevere DSL-Nutzer wechseln jetzt zu GMX: http://www.gmx.net/de/go/dsl -- +++ GMX DSL Premiumtarife 3 Monate gratis* + WLAN-Router 0,- EUR* +++ Clevere DSL-Nutzer wechseln jetzt zu GMX: http://www.gmx.net/de/go/dsl
Re: lyx and tables
On 7.10.04, RENARD Francois 144138 wrote: Hi, 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. I found no way to do that. There are several ways, (none of it is straightforward). * If your table only contains simple text and is tab delimited, you can create an empty table with the right number of rows and columns in LyX and drag and drop the table with the mouse. * If the table is in LaTeX format, you can either + include it (no visual feedback), + insert as ERT (ugly visual feedback), or + try to reLyX it (see man reLyX for the needed arguments for relyxing part of a LaTeX document). * Also, you can google for csv2lyx, a perl script that can produce a LyX document out of csv (comma separated values). See the documentation that comes with it for the many options, including direct insert via the lyxpipe, tab separated values, formatting and the like. Günter -- G.Milde web.de
Re: Keyboard switching between documents?
On 7.10.04, Peter Ljunglöf wrote: Hi, I have a question on keyboard bindings and .bind files When working on multiple documents at once, it's nice to be able to switch between documents (buffers) fast. I have tried a bit to add this feature to my personal .bind file, but without success so far. So did I... Q: Is it possible to make a .bind file for keyboard switching between open documents/buffers? * Either, binding C-M-Left to next buffer and C-M-Right to previous buffer. Not that I know of. You could file a feature request for next-buffer and previous-buffer commands at the lyx bugzilla. * Or, an alternative, binding C-M-1 to buffer nr 1 and C-M-2 to buffer nr 2 and C-M-3 to buffer nr 3 etc. There is the (not really fast) variant of M-k 1 ... M-k N for buffer number 1 ... N available out of the box. As this is not really fast, one could try to get the C-M-1 etc bound to push the needed key sequence back to LyX. I know this is possible with the lyxserver, but I hope there is an easier way too (maybe command-sequence; something next thing). Günter -- G.Milde web.de
Re: French usage in beamer
Date: Fri, 8 Oct 2004 07:48:39 +0200 (MEST) From: Jean-Pierre Chretien [EMAIL PROTECTED] Subject: Re: French usage in beamer To: [EMAIL PROTECTED] https://sourceforge.net/tracker/index.php?func=detailaid=1042439group_id=92412atid=600660 is a workaround: Add \theoremstyle{example} \newtheorem{exafran}[theorem]{Exemple} \renewenvironment{example}{\begin{exafran}}{\end{exafran}} to the preamble. AFAIU, it's more a babel problem than a beamer problem. Seems logical to insert this in frenchb.cfg, unless you need to hand over the document to someone else. Right ? Forget it, the workaround is beamer-specific. Sorry -- Jean-Pierre
Re: [ANNOUNCE] LyX 1.3.5 is released
Paul == Paul Smith [EMAIL PROTECTED] writes: Paul The upload of the file is now done. However, I do not see the Paul file at: Paul ftp://ftp.lyx.org/pub/lyx/bin/ It is there now. Thanks. JMarc
Re: Printing problem
Thanks for the replys. First off, I tried the 'hit the print button, not just enter' and had no luck. Would've been nice though... Going into a bit more detail then. When I hit print, the default printer is found ok, and its name is in the 'printer' box. However, when I hit the 'print' button, there's not a 'sending to print' progress bar; the menu just closes. To my mind this means it's not spooling (NB it's a network printer on another machine running CUPS, but works fine from other apps). The 'output, printer' section of the 'preferences' menu also displays the correct name for the default printer. Adapt output is checked, and the printer command is 'dvips'. The options look reasonable compared to those from the dvips man page (I'll list them below). The only difference is the the spool command is 'lp' rather than 'lpr', but either of these options work from the command line, and neither option works when I change them. One thing I have spotted is the a warning from dvips when I print from the command line: $ dvips -f test.dvi -P HP2300 dvips: warning: no config file for `HP2300' This is dvips(k) 5.86 Copyright 1999 Radical Eye Software (www.radicaleye.com) ' TeX output 2004.10.08:1016' - | lpr -PHP2300 I know nothing about dvips, other than that lyx wants to use it to control print output, so I maybe need to have a look at this if it's important...? Let me know if there are any more details I can provide. Is there a way to get a debug output from lyx? Cheers, Dave prefs-output-printer options: Printer name: HP2300 adapt output: checked even pages: -B odd pages: -A Page range: -pp collated: -C Copies: -c Landscape: -t landscape Reverse: -r to file: -o to printer: -P Extra options: file extension: .ps spool prefix: -d spool command: lp paper size: -T Paper type: -t This message has been scanned but we cannot guarantee that it and any attachments are free from viruses or other damaging content: you are advised to perform your own checks. Email communications with the University of Nottingham may be monitored as permitted by UK legislation.
Re: Keyboard switching between documents?
G. Milde schrieb: On 7.10.04, Peter Ljunglöf wrote: [switching between buffers] You could file a feature request for next-buffer and previous-buffer commands at the lyx bugzilla. Have a look at http://bugzilla.lyx.org/show_bug.cgi?id=608 and http://bugzilla.lyx.org/show_bug.cgi?id=515 Dominik.-
Re: Mac-LyX is slow
Angus == Angus Leeming [EMAIL PROTECTED] writes: Angus Jean-Marc Lasgouttes wrote: It is not possible to get antialiasing with lyx/xforms. Actually we had a patch to do that a long time ago, but it never got merged (was not of good enough quality). Angus Really? Could you dig it out? I guess the solution is to use Xft: http://freedesktop.org/Software/Xft There is a tutorial here (pay attention to section 5) http://www.keithp.com/~keithp/render/Xft.tutorial I do not have the original patch (which was rejected because too C-like and not C++) anymore... JMarc
how to use a new class
Hi I have a basic experience of LyX, but now I got a problem that I am not able to solve: I have a class file svmono.cls, and also another file svind.ist from a publisher. It is a style file for a book. I tried to explore the customization manual, but without success. Is there anybody, or any place where I can get a step-by-step procedure to use this class within lyx and to create its layout? Any suggestion is welcomed best regards Giorgio Zavarise __ Prof. Dr. Ing. Giorgio Zavarise Dipartimento di Ingegneria Strutturale e Geotecnica Politecnico di Torino C.so Duca degli Abruzzi, 24 I-10129 Torino - ITALY tel. +39 049 827 5596 fax +39 049 827 5604 e-mail [EMAIL PROTECTED] __
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: Printing problem
This may be a wild goose chase for you. Someone out there may have a *much* better answer. Debug LyX: from a line command, type in lyx -dbg. This will give you the lyx debug flag definitions. Debug dvips from within LyX: In the Outputs Printers configuration section, change the printer command to dvips -d 2 This will set the debug level of dvips to 2.You can find all the debug flag definitions at http://www.tug.org/texinfohtml/dvips.html#Debug-options You may want to start out just debugging dvips. You can capture the all the debug info by starting lyx from a command line with appropriate output redirection, for example lyx -dbg 2 debugoutput.txt 21 Leave off the -dbg 2 to not start off with lyx debug. lyx debugoutput.txt 21 These command forms will redirect standard output and standard error to the file debugoutput.txt. You may want to investigate the -u option for dvips (http://www.tug.org/texinfohtml/dvips.html#Option-details): -u /usr/share/texmf/dvips/config/psfonts.map perhaps. Lastly, and possibly most ignorantly of me, you could add the printer definition through texconfig david wolfson wrote: Thanks for the replys. First off, I tried the 'hit the print button, not just enter' and had no luck. Would've been nice though... Going into a bit more detail then. When I hit print, the default printer is found ok, and its name is in the 'printer' box. However, when I hit the 'print' button, there's not a 'sending to print' progress bar; the menu just closes. To my mind this means it's not spooling (NB it's a network printer on another machine running CUPS, but works fine from other apps). The 'output, printer' section of the 'preferences' menu also displays the correct name for the default printer. Adapt output is checked, and the printer command is 'dvips'. The options look reasonable compared to those from the dvips man page (I'll list them below). The only difference is the the spool command is 'lp' rather than 'lpr', but either of these options work from the command line, and neither option works when I change them. One thing I have spotted is the a warning from dvips when I print from the command line: $ dvips -f test.dvi -P HP2300 dvips: warning: no config file for `HP2300' This is dvips(k) 5.86 Copyright 1999 Radical Eye Software (www.radicaleye.com) ' TeX output 2004.10.08:1016' - | lpr -PHP2300 I know nothing about dvips, other than that lyx wants to use it to control print output, so I maybe need to have a look at this if it's important...? Let me know if there are any more details I can provide. Is there a way to get a debug output from lyx? Cheers, Dave prefs-output-printer options: Printer name: HP2300 adapt output: checked even pages: -B odd pages: -A Page range: -pp collated: -C Copies: -c Landscape: -t landscape Reverse: -r to file: -o to printer: -P Extra options: file extension: .ps spool prefix: -d spool command: lp paper size: -T Paper type: -t This message has been scanned but we cannot guarantee that it and any attachments are free from viruses or other damaging content: you are advised to perform your own checks. Email communications with the University of Nottingham may be monitored as permitted by UK legislation.
Summary for the query on use avant font in equations
The original question was how to use avant font in the equations. The problem is solved: I a Linux Debian Sarge I do: 1) Download sansmath.sty from: http://www.ctan.org/tex-archive/macros/latex/contrib/misc/ 2) With then command kpsepath tex you get the paths, where TeX search for files. I get: /home/totxo/texmf/tex/generic/ /usr/local/share/texmf/tex/generic/ /usr/local/lib/texmf/tex/generic/ /var/lib/texmf/tex/generic/ /usr/share/texmf/tex/generic/ /home/totxo/texmf/tex/ /usr/local/share/texmf/tex/ /usr/local/lib/texmf/tex/ /var/lib/texmf/tex/ /usr/share/texmf/tex/ 3) As root, make the directory -p /usr/local/share/texmf/tex/latex # mkdir -p /usr/local/share/texmf/tex/latex 4) As root, copy sansmath.sty to /usr/local/share/texmf/tex/latex/: # cp sansmath.sty /usr/local/share/texmf/tex/latex/ 3) Submit the command: # texhash 4) Start lyx 8) Put in the preamble (Format - Document - Preamble): \usepackage{sansmath} \sansmath and add commands like: \mathversion{sans} and \mathversion{normal} where necessary in your document. Tanks to William F. Adams, Herbert Voss and Roberto Marabini (http://www.mail-archive.com/lyx-users%40lists.lyx.org/msg11937.html)
Re: Printing problem
I think I have solved this. I was using a rather aged version of tetex (1.0. something), but after some google bashing, managed to beat some version 2 rpms into working, and can now print. Can't help thinking I have some more learning to do though... Next game is gbib, but that'll be a whole new thread! Thanks for the help, Dave This message has been scanned but we cannot guarantee that it and any attachments are free from viruses or other damaging content: you are advised to perform your own checks. Email communications with the University of Nottingham may be monitored as permitted by UK legislation.
ff, fi ligatures and tex4ht
I have been playing around with tex4ht. Adding \usepackage{tex4ht} then running the file through latex and bibtex followed by a final run of tex4ht produces pretty impressive results. The only real problem I'm suffering from is what it's doin to 'fi' and 'ff' ligatures. Is there any way I can get it to be boring and just leave fi as fi? -- Angus
Re: Newbie Questions
--- Uwe Stöhr [EMAIL PROTECTED] wrote: N Castro wrote: I think I would use some arrangement like Part, Chapter, Section, but I don't want the extra numbers (such as 1.1.1 subsection, or Chapter 1- Chapter title), I would like to just have the names of each section. How would I do this? Use the starred form of the environments, e.g. choose section* instead of section Also, LyX is hyphenating my text when it reaches the margins. How do I disable this feature? I would rather have text not hyphenated. choose Layout - Paragraph - left aligned regards Uwe = Custom game sprites, custom animations, Free Downloads http://www.nc-games.com
Re: Newbie Questions
Uwe Stöhr wrote: Also, LyX is hyphenating my text when it reaches the margins. How do I disable this feature? I would rather have text not hyphenated. choose Layout - Paragraph - left aligned this makes only sense for a few paragraphs. For the whole document a \raggedroght in ERT is better Herbert -- http://TeXnik.de/ http://PSTricks.de/ ftp://ftp.dante.de/tex-archive/info/math/voss/Voss-Mathmode.pdf http://www.dante.de/faq/de-tex-faq/ http://www.tex.ac.uk/cgi-bin/texfaq2html?introduction=yes
Re: Newbie Questions
Herbert Voss schrieb: Uwe Stöhr wrote: [...] choose Layout - Paragraph - left aligned this makes only sense for a few paragraphs. For the whole document a \raggedroght in ERT is better I think, \raggedright would be of more use ;-) Dominik.-
Re: lyx and tables
José Abílio Oliveira Matos wrote: 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? The author agrees, I was allowed to publish his program as public domain. So you can copy it to LyX's ftp repository. regards Uwe
a problem with lyx
dear mailing-list users, i have a big problem with lyx and i hope that there is an easy solution for it. as you know one can create an index in lyx. is there a possibility to create an symbolverzeichnis or an namesverzeichnis, so that they are listed in my table of contens? i would be satisfied if i could label pages, so that i could refer to a page number.. . or is there possibility to rename index and put it in your table of contents..? thank you for any answer.. tanja ... -- +++ GMX DSL Premiumtarife 3 Monate gratis* + WLAN-Router 0,- EUR* +++ Clevere DSL-Nutzer wechseln jetzt zu GMX: http://www.gmx.net/de/go/dsl -- +++ GMX DSL Premiumtarife 3 Monate gratis* + WLAN-Router 0,- EUR* +++ Clevere DSL-Nutzer wechseln jetzt zu GMX: http://www.gmx.net/de/go/dsl
Re: lyx and tables
On 7.10.04, RENARD Francois 144138 wrote: > Hi, > > 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. > I found no way to do that. There are several ways, (none of it is straightforward). * If your table only contains simple text and is tab delimited, you can create an empty table with the right number of rows and columns in LyX and drag and drop the table with the mouse. * If the table is in LaTeX format, you can either + include it (no visual feedback), + insert as ERT (ugly visual feedback), or + try to reLyX it (see man reLyX for the needed arguments for relyxing part of a LaTeX document). * Also, you can google for csv2lyx, a perl script that can produce a LyX document out of csv (comma separated values). See the documentation that comes with it for the many options, including direct insert via the lyxpipe, tab separated values, formatting and the like. Günter -- G.Milde web.de
Re: Keyboard switching between documents?
On 7.10.04, Peter Ljunglöf wrote: > > Hi, I have a question on keyboard bindings and .bind files > > When working on multiple documents at once, it's nice to be able to > switch between documents (buffers) fast. I have tried a bit to add this > feature to my personal .bind file, but without success so far. So did I... > Q: Is it possible to make a .bind file for keyboard switching between > open documents/buffers? > > * Either, binding > "C-M-Left" to "next buffer" and > "C-M-Right" to "previous buffer". Not that I know of. You could file a feature request for next-buffer and previous-buffer commands at the lyx bugzilla. > * Or, an alternative, binding > "C-M-1" to "buffer nr 1" and > "C-M-2" to "buffer nr 2" and > "C-M-3" to "buffer nr 3" etc. There is the (not really fast) variant of "M-k 1" ... "M-k N" for buffer number 1 ... N available out of the box. As this is not really fast, one could try to get the "C-M-1" etc bound to push the needed key sequence back to LyX. I know this is possible with the lyxserver, but I hope there is an easier way too (maybe command-sequence; ). Günter -- G.Milde web.de
Re: French usage in beamer
>>Date: Fri, 8 Oct 2004 07:48:39 +0200 (MEST) >>From: Jean-Pierre Chretien <[EMAIL PROTECTED]> >>Subject: Re: French usage in beamer >>To: [EMAIL PROTECTED] >> >> https://sourceforge.net/tracker/index.php?func=detail=1042439_id=92412=600660 is a workaround: Add \theoremstyle{example} \newtheorem{exafran}[theorem]{Exemple} \renewenvironment{example}{\begin{exafran}}{\end{exafran}} to the preamble. >> >>AFAIU, it's more a babel problem than a beamer problem. >>Seems logical to insert this in frenchb.cfg, >>unless you need to hand over the document to someone else. >> >>Right ? Forget it, the workaround is beamer-specific. Sorry -- Jean-Pierre
Re: [ANNOUNCE] LyX 1.3.5 is released
> "Paul" == Paul Smith <[EMAIL PROTECTED]> writes: Paul> The upload of the file is now done. However, I do not see the Paul> file at: Paul> ftp://ftp.lyx.org/pub/lyx/bin/ It is there now. Thanks. JMarc
Re: Printing problem
Thanks for the replys. First off, I tried the 'hit the print button, not just enter' and had no luck. Would've been nice though... Going into a bit more detail then. When I hit print, the default printer is found ok, and its name is in the 'printer' box. However, when I hit the 'print' button, there's not a 'sending to print' progress bar; the menu just closes. To my mind this means it's not spooling (NB it's a network printer on another machine running CUPS, but works fine from other apps). The 'output, printer' section of the 'preferences' menu also displays the correct name for the default printer. Adapt output is checked, and the printer command is 'dvips'. The options look reasonable compared to those from the dvips man page (I'll list them below). The only difference is the the spool command is 'lp' rather than 'lpr', but either of these options work from the command line, and neither option works when I change them. One thing I have spotted is the a warning from dvips when I print from the command line: $ dvips -f test.dvi -P HP2300 dvips: warning: no config file for `HP2300' This is dvips(k) 5.86 Copyright 1999 Radical Eye Software (www.radicaleye.com) ' TeX output 2004.10.08:1016' -> | lpr -PHP2300 I know nothing about dvips, other than that lyx wants to use it to control print output, so I maybe need to have a look at this if it's important...? Let me know if there are any more details I can provide. Is there a way to get a debug output from lyx? Cheers, Dave prefs-output-printer options: Printer name: HP2300 adapt output: checked even pages: -B odd pages: -A Page range: -pp collated: -C Copies: -c Landscape: -t landscape Reverse: -r to file: -o to printer: -P Extra options: file extension: .ps spool prefix: -d spool command: lp paper size: -T Paper type: -t This message has been scanned but we cannot guarantee that it and any attachments are free from viruses or other damaging content: you are advised to perform your own checks. Email communications with the University of Nottingham may be monitored as permitted by UK legislation.
Re: Keyboard switching between documents?
G. Milde schrieb: On 7.10.04, Peter Ljunglöf wrote: [switching between buffers] You could file a feature request for next-buffer and previous-buffer commands at the lyx bugzilla. Have a look at http://bugzilla.lyx.org/show_bug.cgi?id=608 and http://bugzilla.lyx.org/show_bug.cgi?id=515 Dominik.-
Re: Mac-LyX is slow
> "Angus" == Angus Leeming <[EMAIL PROTECTED]> writes: Angus> Jean-Marc Lasgouttes wrote: >> It is not possible to get antialiasing with lyx/xforms. Actually we >> had a patch to do that a long time ago, but it never got merged >> (was not of good enough quality). Angus> Really? Could you dig it out? I guess the solution is to use Xft: http://freedesktop.org/Software/Xft There is a tutorial here (pay attention to section 5) http://www.keithp.com/~keithp/render/Xft.tutorial I do not have the original patch (which was rejected because too C-like and not C++) anymore... JMarc
how to use a new class
Hi I have a basic experience of LyX, but now I got a problem that I am not able to solve: I have a class file "svmono.cls", and also another file "svind.ist" from a publisher. It is a style file for a book. I tried to explore the customization manual, but without success. Is there anybody, or any place where I can get a step-by-step procedure to use this class within lyx and to create its layout? Any suggestion is welcomed best regards Giorgio Zavarise __ Prof. Dr. Ing. Giorgio Zavarise Dipartimento di Ingegneria Strutturale e Geotecnica Politecnico di Torino C.so Duca degli Abruzzi, 24 I-10129 Torino - ITALY tel. +39 049 827 5596 fax +39 049 827 5604 e-mail [EMAIL PROTECTED] __
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: Printing problem
This may be a wild goose chase for you. Someone out there may have a *much* better answer. Debug LyX: from a line command, type in lyx -dbg. This will give you the lyx debug flag definitions. Debug dvips from within LyX: In the Outputs Printers configuration section, change the printer command to dvips -d 2 This will set the debug level of dvips to 2.You can find all the debug flag definitions at http://www.tug.org/texinfohtml/dvips.html#Debug-options You may want to start out just debugging dvips. You can capture the all the debug info by starting lyx from a command line with appropriate output redirection, for example lyx -dbg 2 >debugoutput.txt 2>&1 Leave off the -dbg 2 to not start off with lyx debug. lyx >debugoutput.txt 2>&1 These command forms will redirect standard output and standard error to the file debugoutput.txt. You may want to investigate the "-u" option for dvips (http://www.tug.org/texinfohtml/dvips.html#Option-details): -u /usr/share/texmf/dvips/config/psfonts.map perhaps. Lastly, and possibly most ignorantly of me, you could add the printer definition through texconfig david wolfson wrote: Thanks for the replys. First off, I tried the 'hit the print button, not just enter' and had no luck. Would've been nice though... Going into a bit more detail then. When I hit print, the default printer is found ok, and its name is in the 'printer' box. However, when I hit the 'print' button, there's not a 'sending to print' progress bar; the menu just closes. To my mind this means it's not spooling (NB it's a network printer on another machine running CUPS, but works fine from other apps). The 'output, printer' section of the 'preferences' menu also displays the correct name for the default printer. Adapt output is checked, and the printer command is 'dvips'. The options look reasonable compared to those from the dvips man page (I'll list them below). The only difference is the the spool command is 'lp' rather than 'lpr', but either of these options work from the command line, and neither option works when I change them. One thing I have spotted is the a warning from dvips when I print from the command line: $ dvips -f test.dvi -P HP2300 dvips: warning: no config file for `HP2300' This is dvips(k) 5.86 Copyright 1999 Radical Eye Software (www.radicaleye.com) ' TeX output 2004.10.08:1016' -> | lpr -PHP2300 I know nothing about dvips, other than that lyx wants to use it to control print output, so I maybe need to have a look at this if it's important...? Let me know if there are any more details I can provide. Is there a way to get a debug output from lyx? Cheers, Dave prefs-output-printer options: Printer name: HP2300 adapt output: checked even pages: -B odd pages: -A Page range: -pp collated: -C Copies: -c Landscape: -t landscape Reverse: -r to file: -o to printer: -P Extra options: file extension: .ps spool prefix: -d spool command: lp paper size: -T Paper type: -t This message has been scanned but we cannot guarantee that it and any attachments are free from viruses or other damaging content: you are advised to perform your own checks. Email communications with the University of Nottingham may be monitored as permitted by UK legislation.
Summary for the query on use avant font in equations
The original question was how to use avant font in the equations. The problem is solved: I a Linux Debian Sarge I do: 1) Download "sansmath.sty" from: http://www.ctan.org/tex-archive/macros/latex/contrib/misc/ 2) With then command "kpsepath tex" you get the paths, where TeX search for files. I get: /home/totxo/texmf/tex/generic/ /usr/local/share/texmf/tex/generic/ /usr/local/lib/texmf/tex/generic/ /var/lib/texmf/tex/generic/ /usr/share/texmf/tex/generic/ /home/totxo/texmf/tex/ /usr/local/share/texmf/tex/ /usr/local/lib/texmf/tex/ /var/lib/texmf/tex/ /usr/share/texmf/tex/ 3) As root, make the directory -p /usr/local/share/texmf/tex/latex # mkdir -p /usr/local/share/texmf/tex/latex 4) As root, copy "sansmath.sty" to /usr/local/share/texmf/tex/latex/: # cp sansmath.sty /usr/local/share/texmf/tex/latex/ 3) Submit the command: # texhash 4) Start lyx 8) Put in the preamble (Format -> Document -> Preamble): \usepackage{sansmath} \sansmath and add commands like: \mathversion{sans} and \mathversion{normal} where necessary in your document. Tanks to William F. Adams, Herbert Voss and Roberto Marabini (http://www.mail-archive.com/lyx-users%40lists.lyx.org/msg11937.html)
Re: Printing problem
I think I have solved this. I was using a rather aged version of tetex (1.0. something), but after some google bashing, managed to beat some version 2 rpms into working, and can now print. Can't help thinking I have some more learning to do though... Next game is gbib, but that'll be a whole new thread! Thanks for the help, Dave This message has been scanned but we cannot guarantee that it and any attachments are free from viruses or other damaging content: you are advised to perform your own checks. Email communications with the University of Nottingham may be monitored as permitted by UK legislation.
ff, fi ligatures and tex4ht
I have been playing around with tex4ht. Adding \usepackage{tex4ht} then running the file through latex and bibtex followed by a final run of tex4ht produces pretty impressive results. The only real problem I'm suffering from is what it's doin to 'fi' and 'ff' ligatures. Is there any way I can get it to be boring and just leave "fi" as "fi"? -- Angus
Re: Newbie Questions
--- Uwe Stöhr <[EMAIL PROTECTED]> wrote: > N Castro wrote: > > > I think I would use some arrangement like Part, > > Chapter, Section, but I don't want the extra > numbers > > (such as 1.1.1 subsection, or Chapter 1- Chapter > > title), I would like to just have the names of > each > > section. How would I do this? > > Use the starred form of the environments, e.g. > choose "section*" instead > of "section" > > > Also, LyX is hyphenating my text when it reaches > the > > margins. How do I disable this feature? I would > rather > > have text not hyphenated. > > choose Layout -> Paragraph -> left aligned > > regards Uwe > = Custom game sprites, custom animations, Free Downloads http://www.nc-games.com
Re: Newbie Questions
Uwe Stöhr wrote: Also, LyX is hyphenating my text when it reaches the margins. How do I disable this feature? I would rather have text not hyphenated. choose Layout -> Paragraph -> left aligned this makes only sense for a few paragraphs. For the whole document a \raggedroght in ERT is better Herbert -- http://TeXnik.de/ http://PSTricks.de/ ftp://ftp.dante.de/tex-archive/info/math/voss/Voss-Mathmode.pdf http://www.dante.de/faq/de-tex-faq/ http://www.tex.ac.uk/cgi-bin/texfaq2html?introduction=yes
Re: Newbie Questions
Herbert Voss schrieb: Uwe Stöhr wrote: [...] choose Layout -> Paragraph -> left aligned this makes only sense for a few paragraphs. For the whole document a \raggedroght in ERT is better I think, \raggedright would be of more use ;-) Dominik.-
Re: lyx and tables
José Abílio Oliveira Matos wrote: 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? The author agrees, I was allowed to publish his program as public domain. So you can copy it to LyX's ftp repository. regards Uwe
a problem with lyx
dear mailing-list users, i have a big problem with lyx and i hope that there is an easy solution for it. as you know one can create an "index" in lyx. is there a possibility to create an "symbolverzeichnis" or an "namesverzeichnis", so that they are listed in my "table of contens"? i would be satisfied if i could label pages, so that i could refer to a page number.. . or is there possibility to "rename" index and put it in your "table of contents.."? thank you for any answer.. tanja ... -- +++ GMX DSL Premiumtarife 3 Monate gratis* + WLAN-Router 0,- EUR* +++ Clevere DSL-Nutzer wechseln jetzt zu GMX: http://www.gmx.net/de/go/dsl -- +++ GMX DSL Premiumtarife 3 Monate gratis* + WLAN-Router 0,- EUR* +++ Clevere DSL-Nutzer wechseln jetzt zu GMX: http://www.gmx.net/de/go/dsl