Re: Re: Q: long table and chemical formula
On Wed, 11 Jul 2001 15:47:39 +0200 wrote Thomas de Grenier de Latour [EMAIL PROTECTED]: Guenter Milde wrote: PS: Question to the gurus: Could I have a function or macro that does this but also changes the font to roman? \bind C-S-underscoremath-insert _\mathrm{}does not work There is a lyx function called command-sequence which can help to define strange shortcuts. Try something like this: \bind C-S-underscorecommand-sequence math-insert _; math-insert mathrm; But this work only for the first char after the mathrm, because there is no {}. Thanks for the tip with command-sequence. (Dear documenters: could I have found it somewhere in the documentation?? -otherwise this is a documentation request) Actually, \bind C-S-underscore command-sequence math-insert _; math-insert mathrm; did not do what I wanted either (especially becouse then I have a red mathrm in my Text.) However, it brought me on the right track: in my bind.gm I have now # subscript and superscript with roman fonts \bind C-S-underscorecommand-sequence math-insert _; font-roman; \bind C-asciicircum command-sequence math-insert ^; font-roman; and this works like expected (and WYSIWYM). Guenter -- [EMAIL PROTECTED]
Re: Q: long table and chemical formula
Sorry for being late on this but it is possible to create a tabular with M-x tabular-insert 80 2 were 80 is the rows and 2 the columns! This should help to create tabulars in ANY size. Jürgen P.S.: This is with lyx-1.1.6xxx. -- -._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._ Dr. Jürgen VignaE-Mail: [EMAIL PROTECTED] Italienallee 13/N Tel/Fax: +39-0471-450260 / +39-0471-450253 I-39100 Bozen Web: http://www.sad.it/~jug -._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._ When in doubt, do it. It's much easier to apologize than to get permission. -- Grace Murray Hopper
Re: Re: Q: long table and chemical formula
(Dear documenters: could I have found it somewhere in the documentation?? -otherwise this is a documentation request) command-sequence is an awful hack and it not being documeented is a feature that should prevent users from using it excessivly in case the hack will change/be removed. Andre' -- André Pönitz . [EMAIL PROTECTED]
Re: Q: long table and chemical formula
Guenter Milde wrote: Thanks for the tip with command-sequence. Thanks for the tip with font-something, I was thinking it was only a text mode feature (I don't know why, this kind of fix idea you never verify). No more mathrm{blabla} in my formulas! -- Thomas.
Help with Lyx for windows
Hi, My Lyx for windows doesn't work and I'm terrible sad about using Ms word instead, I installed lyx 1.1.6 fix2 c,cygwin, miktex and I have two x-servers: Exceed Xwin32 When I start Lyx I receive the message: Unable to open X display - Exiting, with all the x-servers above. Anyone can help me ?? Thanks Fabrizio
Re: Insert hspace in subfigure
On Tue, Jul 10, 2001 at 09:58:02AM +0200, Rainer Dorsch wrote: But that does not work, if I want to use it only in one float environment in the document... ...I think I will write the latex code. Then put the following at the beginning of the float you want to change \let\origsubfigure\subfigure \renewcommand\subfigure[2][]{% \hspace{10bp}\origsubfigure[#1]{#2}\hspace{10bp}% } Another option is to put the following in the preamble, \let\origsubfigure\subfigure \newcommand\mysubfigure[2][]{% \hspace{10bp}\origsubfigure[#1]{#2}\hspace{10bp}% } and at the beginning of the float you want to change put \let\subfigure\mysubfigure
Re: Cannot see the invisible text
On Tue, Jul 10, 2001 at 06:24:11PM +, Paolo Pumilia wrote: How to change the colour for the 'invisible text' layout, in 'slide' document class? The default colour is too similar to the background; i prefer to change the former, but I cannot find a relevant option under preferences-colors Copy the file slides.layout to ~/.lyx/layouts, and change the color field in the InvisibleText entry.
Re: Q: long table and chemical formula
On Wed, Jul 11, 2001 at 03:47:39PM +0200, Thomas de Grenier de Latour wrote: Could I have a function or macro that does this but also changes the font to roman? define strange shortcuts. Try something like this: \bind C-S-underscorecommand-sequence math-insert _; math-insert mathrm; But this work only for the first char after the mathrm, because there is no {}. \bind C-S-underscore command-sequence math-insert _; font-roman
Re: Footnote on the next page
Detlev Humann wrote: Detlev Humann wrote: (I know that Lyx/Latex sometimes splits a footnote over two pages, which isn´t very nice but acceptable. However, this is not my problem as I have interfootnotelinepenalty=1 in Latex preamble. The strange thing in my case is that it doesn´t make a difference if I comment it out or if I don´t) Herbert Voss wrote: if you have the correct \interfootnotelinepenalty=1 in preamble send a minimal lay-file, which shows the behaviour. delte the whole latex preamble and all should work. Herbert -- http://www.educat.hu-berlin.de/~voss/lyx/
Re: Help with Lyx for windows
On Thu, 12 Jul 2001, Fabrizio Giammatteo wrote: When I start Lyx I receive the message: Unable to open X display - Exiting, with all the x-servers above. You could try setting environment variables like set DISPLAY=localhost:0 and replace localhost with your computer's name if the above doesn't work. Or try running lyx with argument -display localhost:0 Can you run remotely X programs from real unix computers?
Re: Help with Lyx for windows
Hi, My Lyx for windows doesn't work and I'm terrible sad about using Ms word instead, I installed lyx 1.1.6 fix2 c,cygwin, miktex and I have two x-servers: Exceed Xwin32 When I start Lyx I receive the message: Unable to open X display - Exiting, with all the x-servers above. Anyone can help me ?? Just for information what I have been answered to that topic some days ago: There may be two reasons for that: 1. Edit C:\Cygwin\lyxprofile and set the correct IP address, followed by an ':0' for DISPLAY. If you have an Ethernet card installed on your system please use it's IP address instead of 127.0.0.1! Most X-Servers automatically serve the default IP address of your system. 127.0.0.1 (or localhost, i.e. the corresponding net name) is only valifd if you do have a DUN on your system. 2. If you have installed a firewall on your system (like me) than you have to create a new rule so that LyX can connect to the X-server. (Take a look at your firewall distributor, to learn how this has to be made!) I use the x-server Exceed from Hummingbird which worked correctly in the previous release. Because it was running I expect that editing lyxprofile could fix the problem! Claus
Re: menu not in German
Matthias == Matthias Bunk [EMAIL PROTECTED] writes: Matthias A little curious is that the help uses the LANG variable, Matthias not LANGUAGE like for the menu. Indeed, gettext uses LANGUAGE and then LANG, and help only uses LANG. We may want to change that... JMarc
Re: Footnote on the next page
Detlev Humann wrote: (I know that Lyx/Latex sometimes splits a footnote over two pages, which isn´t very nice but acceptable. However, this is not my problem as I have interfootnotelinepenalty=1 in Latex preamble. The strange thing in my case is that it doesn´t make a difference if I comment it out or if I don´t) Herbert Voss wrote: if you have the correct \interfootnotelinepenalty=1 in preamble send a minimal lay-file, which shows the behaviour. delte the whole latex preamble and all should work. Herbert Well, that seems to be a radical solution. (I already tried that to find out the reason for the behaviour.) If I delete the whole preamble then my redefined footnote indentation gets lost and I get a split footnote... :-( Is there no way to save my settings? (In the worst case I could accept a split footnote but I would like to keep the indentation.) Hope that I don't expect too much from my appreciated Lyx/Latex ;-) Detlev
Re: Footnote on the next page
Detlev Humann wrote: delte the whole latex preamble and all should work. Well, that seems to be a radical solution. (I already tried that to find out the reason for the behaviour.) If I delete the whole preamble then my redefined footnote indentation gets lost and I get a split footnote... :-( Is there no way to save my settings? (In the worst case I could accept a split footnote but I would like to keep the indentation.) Hope that I don't expect too much from my appreciated Lyx/Latex ;-) \interfootnotelinepenalty=1 is possible it was your redefinition makefntext HErbert -- http://www.educat.hu-berlin.de/~voss/lyx/
Something interesting to pass along
Group: You may have seen my posts about trying to get what I called FloatNotes to be in a certain place in a document. In my research, I found in _The Latex Companion_ by Goossens, et.al., p. 149, you can go one step more than just h,t,p,b. There is also H. h only means try to put it here while H means put it here--PERIOD. \begin{table}[H] blah blah blah table \end{tabular} \caption{info about table} \end{table} It cannot be used in conjunction with other specifiers though, i.e., [Hht] is illegal. You must, of course, issue a command to use the package... \restylefloat{table} or \restylefloat{figure} The book goes on to explain what is called a wrapfigure. Close to what I was trying to do with Float Note. See pg 152 of the book for more details. Trying to absorb more info to get EXACTLY what the boss wants. Thanks to all for your help...hope this is helpful to others as well. Michelle __ Do You Yahoo!? Get personalized email addresses from Yahoo! Mail http://personal.mail.yahoo.com/
UPDATE: LyX to (html,ps,pdf) script
Update: A. Poenitz found a dumb quoting error I made in yesterday's posting of this script (note to self: don't post code at 3am when too tired to think). The attached version is fixed and should work (I *did* check it :-) Fernando. -- Forwarded message -- Date: Thu, 12 Jul 2001 03:03:50 -0600 (MDT) Subject: LyX to (html,ps,pdf) script Hi Lyxers, attached is a Perl script I wrote called lyxpub (short for lyx publish, for lack of a better name!). It borrows heavily from contributions by S. Evers, but tries to be a bit cleaner and more robust (also do more). From the mini-documentation: A simple Perl script which takes a LyX or TeX file as its only argument (with or without extension) and produces HTML, PostScript and PDF versions of the document. I have tested it with some documents and it seems to work, but I'm sure there are still many problems with it. Hopefully it will be useful to others, and I would appreciate any comments/suggestions/bug reports/bug fixes (especially the latter! :-) Feel free to play with it and let me know what you think. Hopefully it will ease the pain of making multiple versions from a LyX document in all the cases when a simple lyx --export doesn't do what you want. Regards, Fernando. PS: If anyone thinks it is appropriate, feel free to repost to the lyx-devel list. lyxpub.gz
Acknowledgements and Abstract in report class??
I am writing a thesis in Lyx... I am finished with the thesis (I hope) but I must add an acknowledgement page at the beginning right after the title page and an abstract page at the very end. I am using the report (textcomp) class to write it, and can not figure out how to do this. Both the ack and the abstract just need to be plain text types of pages (nothing fancy), less the title words Acknowledgement and Abstract in large type bold (like the size of a chapter heading for instace). Anyone have any ideas or prebuilt files for this?? I would normally just do it in a seperate document, but according to the graduate school those pages must be numbered also. Thanks. Bob
Re: Something interesting to pass along
Michelle Dukich wrote: You may have seen my posts about trying to get what I called FloatNotes to be in a certain place in a document. In my research, I found in _The Latex Companion_ by Goossens, et.al., p. 149, you can go one step more than just h,t,p,b. There is also H. h only means try to put it here while H means put it here--PERIOD. but remember: it's a bad solution, because a float is no more a float! it makes sense for single floats and it doesn't works with floatingfigures. Herbert -- http://www.educat.hu-berlin.de/~voss/lyx/
Re: Footnote on the next page
\interfootnotelinepenalty=1 is possible it was your redefinition makefntext HErbert Sorry for one more email: Did I get you right that there is only one alternative (((ok, latinists know that there is always one alternative))): Either my indentation and footnotes appear sometimes misplaced on the next page - or default indentation and footnotes are correctly placed (with) - and nothing else? Maybe there is a hidden package for changing the footnote indentation? Thanks for answering steadily! Detlev PS: If there is no hope for my indentation - why does Lyx/Latex take into consideration the footnote indentation when placing the footnotes? Is there no command to prevent misplacing? I can't imagine that the errorfree Latex isn´t able to cope with such a little problem...(I'm just hallucinating...)
bibtex and the natdin package using command like citet and citep
Hallo, i am using the natdin package in combination with lyx 1.1.6 fix 1 in order to get a bibliography close to the german din 1505. I use the following customizing: preamble usepackage{natbib} and the stayle natdin.bst Normal cites are working finem, but the command \citet and \citep for special labels are not working, has anybody an idea? Thanks Arnd
corloured rows in tables; colortbl package
Hello, i am using lyx 1.1.6 fix 1 and i want to colour rows in tables. For columns i use the command {\columncolor[gray]{.9}} and it works very well, but when i try to the rowcolor command i got some trouble. I add the package colortbl in the preamble. It doesn't work in lyx tables i tried {\rowcolor[gray]{.9}} and \rowcolor[gray]{.9}, but in naitive latex (red) tabluars the command \rowcolor[gray]{.9} works. Does anybody know, if there is a possibility to use the rowcolor command in lyx tables? Thanks Arnd
Ispell Problem
Hello all, I have just finished installing Lyx on a win2k machine running Cygwin. When I want to spell check the document, the GUI freezes and it tells me that the spell checker has died and that I should install a dictionary. I am using American/English. I thought the dictionaries for these languages are installed by default and in fact I am able to see the hash files. In the spell checker settings, I have use the document's default language dictionary which is English. What am I doing wrong? Thank you for your time and help. Amer
Re: corloured rows in tables; colortbl package
Arnd Geldermann wrote: i am using lyx 1.1.6 fix 1 and i want to colour rows in tables. For columns i use the command {\columncolor[gray]{.9}} and it works very well, but when i try to the rowcolor command i got some trouble. I add the package colortbl in the preamble. It doesn't work in lyx tables i tried {\rowcolor[gray]{.9}} and \rowcolor[gray]{.9}, but in naitive latex (red) tabluars the command \rowcolor[gray]{.9} works. Does anybody know, if there is a possibility to use the rowcolor command in lyx tables? have a look at http://www.educat.hu-berlin.de/~voss/lyx/table/cells.html Herbert -- http://www.educat.hu-berlin.de/~voss/lyx/
Re: Ispell Problem
Amer Abufadel wrote: I have just finished installing Lyx on a win2k machine running Cygwin. When I want to spell check the document, the GUI freezes and it tells me that the spell checker has died and that I should install a dictionary. I am using American/English. I thought the dictionaries for these languages are installed by default and in fact I am able to see the hash files. In the spell checker settings, I have use the document's default language dictionary which is English. try in spellcheckers options: use another language - english Herbert -- http://www.educat.hu-berlin.de/~voss/lyx/
Re: Ispell Problem
I tried that, still it did not work.. - Original Message - From: Herbert Voss [EMAIL PROTECTED] To: Amer Abufadel [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Thursday, July 12, 2001 3:46 PM Subject: Re: Ispell Problem Amer Abufadel wrote: I have just finished installing Lyx on a win2k machine running Cygwin. When I want to spell check the document, the GUI freezes and it tells me that the spell checker has died and that I should install a dictionary. I am using American/English. I thought the dictionaries for these languages are installed by default and in fact I am able to see the hash files. In the spell checker settings, I have use the document's default language dictionary which is English. try in spellcheckers options: use another language - english Herbert -- http://www.educat.hu-berlin.de/~voss/lyx/
latex2html and InputIfFileExists
Im trying to export html via latex2html but it don't work. Remarks: I'm using a system-wide big include file with my own /newcommand definitions like \newcommand{\firma}[1]{\textbf{#1}}for word formating purposes. So I need a way to include this for a html output. This has to be done automatic I don't want the users to do this. --- I did: latex2html -subdir -split 0 -show_section_numbers yast_autoinstall.tex --- warnings output *** WARNINGS *** No implementation found for style `scrbook' No implementation found for style `fontenc' No implementation found for style `geometry' No implementation found for style `fancyhdr' No implementation found for style `url' No implementation found for style `varioref' No implementation found for style `ae' redefining command \url previous meaning of \url will be lost Substitution of arg to newlabelxx delayed. ? brace missing for \setlength There is no author for this document. Unknown commands: var frowney rfoot suse fancyplain engl vref LPI leftmark nnwt smiley xwin rightmark option ibm sgi titlehead linux geometry lilo textmd lhead zZt firma DOS lfoot ALICE programm yast win IfFileExists nonfrenchspacing chead ms InputIfFileExists firma ^ ^ Why this? Why this? nouppercase root cfoot ironicon befehl rhead headwidth name stichw menue wiikpr wiikserv wiikaserv wiikdserv redhat Done. END OF WARNINGS Tschuess, Thomas -- Thomas Templin - Postfach 2519 - 26365 Wilhelmshaven
Re: latex2html and InputIfFileExists
On Thu, 12 Jul 2001, Thomas Templin wrote: Im trying to export html via latex2html but it don't work. See my earlier message from a few hours ago (with subject line UPDATE: LyX to (html,ps,pdf) script). It's Perl script designed to do exactly that (plus giving you pdf and ps along the way), hopefully with less headaches. It's a 0.1 release which I only tested with some files of mine. If it doesn't work with your files, you can send me a sample and I'll try to fix it. If you change it yourself, I'd appreciate it if you could mail me the modifications to maintain and improve this script. I suspect it could be a useful tool for many people, if it stabilizes enough. You can also download the script from http://windom.colorado.edu/~fperez/pub it's called lyxpub. Make it executable (or run it through perl) and use it. lyxpub --help will give you the usual summary of usage. Let me know if this works. Regards, Fernando.
Re: latex2html and InputIfFileExists
On Friday, 13. July 2001 00:25, Fernando Pérez wrote: On Thu, 12 Jul 2001, Thomas Templin wrote: Im trying to export html via latex2html but it don't work. See my earlier message from a few hours ago (with subject line UPDATE: LyX to (html,ps,pdf) script). It's Perl script designed to do exactly that (plus giving you pdf and ps along the way), hopefully with less headaches. It's a 0.1 release which I only tested with some files of mine. If it doesn't work with your files, you can send me a sample and I'll try to fix it. If you change it yourself, I'd appreciate it if you could mail me the modifications to maintain and improve this script. I suspect it could be a useful tool for many people, if it stabilizes enough. You can also download the script from http://windom.colorado.edu/~fperez/pub it's called lyxpub. Make it executable (or run it through perl) and use it. lyxpub --help will give you the usual summary of usage. Still tried it, doesnt work either, sorry:-( but PDF and PS Output are ok, as under LyX. Tschuess, Thomas -- Thomas Templin - Postfach 2519 - 26365 Wilhelmshaven
ps2pdf
Hi! I'm trying to convert some foiltex to pdf for a presentation. I put \usepackage[ps2pdf]{hyperref} in the latex preamble. ps2pdf works fine but the colors and the fonts come out terrible on acroread on the pc. Any ideas? Thanks, -- myriam IM: tokujawa As seen in a coffee shop in Monterey, CA, George W. Bush's counter: 1288 days left till he's gone
Re: ps2pdf
if you write n your preamble: \usepackage{times} it will deliver a much more readble pdf, but you might get a 'windows-like' font-effect. cheers []s lima-lopes R.E. de Lima-Lopes [EMAIL PROTECTED] GNU/Linux Registered User # 182240 On 12 Jul 2001, Myriam Abramson wrote: Date: 12 Jul 2001 21:51:16 -0400 From: Myriam Abramson [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: ps2pdf Hi! I'm trying to convert some foiltex to pdf for a presentation. I put \usepackage[ps2pdf]{hyperref} in the latex preamble. ps2pdf works fine but the colors and the fonts come out terrible on acroread on the pc. Any ideas? Thanks,
Re: ps2pdf
On 12 Jul 2001, Myriam Abramson wrote: Hi! I'm trying to convert some foiltex to pdf for a presentation. I put \usepackage[ps2pdf]{hyperref} in the latex preamble. ps2pdf works fine but the colors and the fonts come out terrible on acroread on the pc. Any ideas? Thanks, Here are some comments I have in my script that does precisely that. See if it helps (I get perfect pdf's using it): # Make the pdf directly from the latex file # Notes: for this to work ok, the following must have been done: # 1. ~/.dvipsrc file must contain the lines #p+ psfonts.cmz #p+ psfonts.amz # 2. The latex preamble of the lyx file must have #\usepackage{ae,aecompl} # This is so that T1 encoded fonts come out looking good in the final pdf. Cheers, f
landscape slides truncated
Hi! Thanks for everybody who fixed my font problem. Now what do I do with those landscape slides to come out correctly? Redo them? -- myriam As seen in a coffee shop in Monterey, CA, George W. Bush's counter: 1288 days left till he's gone
LyX + WinME + MikTeX
Hi! Getting LyX installed on my WinME was not really that easy :) compared to installing MikTeX + WinEdt; however, since I might recommend it for use on other PCs at work, Linux and Win2K, I tried to get a feeling of what it is and does. 1. Cygwin installed fine 2. X-Win32 installed fine 3. LyX + ISPELL installed as directed BUT even though I had ghostscript (4.03) in the LyxInstall dir, the setup program did not recognize it and didn't install it. 4. I managed easily to run LyX 5. Opened some LaTeX files in it AND here is the problem: I tried to read the doc + help + faq and play with lyxrc etc but still: a. I cannot produce DVI, PS, PDF, out of my LaTeX file b. It exports as ASCII and TeX but no other formats. c. It does not even give an error message, it says everything is all right! d. I give the same commands as introduced in lyxrc in DOS and they work! Here is what I have in my lyxrc: ### Testing some flags and commands\Format dvi dviDVID\Format eps epsEPS""\Format latex texLaTeXL\Format lyx lyxLyX""\Format pdf pdfPDFP\Format pdf2 pdf "PDF (pdflatex)"F\Format ps psPostscriptt\Format word docWordW \converter latex dvi "latex $$i" "latex"\converter latex pdf2 "pdflatex $$i" "latex"\converter dvi ps "dvips -o $$o $$i" ""\converter latex lyx "reLyX -f $$i" "" \viewer ps "//c/Ghostgum/gsview/gsview32" \viewer pspic "//c/Ghostgum/gsview/gsview32" \viewer pdf "//c/Program Files/Adobe/Acrobat 5.0/Acrobat/Acrobat.exe" \spell_command "ispell"\font_encoding "T1" Could anyone please help me to find solution to my problem? I've also to say that the new MikTeX does not install in the dir structure as it is assumed in the step by step installation for LyX. It is now installed in c:\texmf\miktex\... Regards, mm
LyX + WinME + MikTeX
- Original Message - From: Mostafa Modirrousta To: [EMAIL PROTECTED] Cc: Mostafa Modirrousta Sent: Friday, July 13, 2001 12:09 AM Subject: LyX + WinME + MikTeX Hi! Getting LyX installed on my WinME was not really that easy :) compared to installing MikTeX + WinEdt; however, since I might recommend it for use on other PCs at work, Linux and Win2K, I tried to get a feeling of what it is and does. 1. Cygwin installed fine 2. X-Win32 installed fine 3. LyX + ISPELL installed as directed BUT even though I had ghostscript (4.03) in the LyxInstall dir, the setup program did not recognize it and didn't install it. 4. I managed easily to run LyX 5. Opened some LaTeX files in it AND here is the problem: I tried to read the doc + help + faq and play with lyxrc etc but still: a. I cannot produce DVI, PS, PDF, out of my LaTeX file b. It exports as ASCII and TeX but no other formats. c. It does not even give an error message, it says everything is all right! d. I give the same commands as introduced in lyxrc in DOS and they work! Here is what I have in my lyxrc: ### Testing some flags and commands\Format dvi dviDVID\Format eps epsEPS""\Format latex texLaTeXL\Format lyx lyxLyX""\Format pdf pdfPDFP\Format pdf2 pdf "PDF (pdflatex)"F\Format ps psPostscriptt\Format word docWordW \converter latex dvi "latex $$i" "latex"\converter latex pdf2 "pdflatex $$i" "latex"\converter dvi ps "dvips -o $$o $$i" ""\converter latex lyx "reLyX -f $$i" "" \viewer ps "//c/Ghostgum/gsview/gsview32" \viewer pspic "//c/Ghostgum/gsview/gsview32" \viewer pdf "//c/Program Files/Adobe/Acrobat 5.0/Acrobat/Acrobat.exe" \spell_command "ispell"\font_encoding "T1" Could anyone please help me to find solution to my problem? I've also to say that the new MikTeX does not install in the dir structure as it is assumed in the step by step installation for LyX. It is now installed in c:\texmf\miktex\... Regards, mm
Re: landscape slides truncated
On 12 Jul 2001, Myriam Abramson wrote: Hi! Thanks for everybody who fixed my font problem. Now what do I do with those landscape slides to come out correctly? Redo them? I am guessing that you are mixing landscape and portrait slides? I've always found that using RotateFoilhead or ShortRotateFoilhead with dvips in the extra options field of Layout-Document works well. If you want all your foils as landscape then you are supposed to be able to set landscape in extra options field and then use Foilhead or ShortFoilhead. However I've never had much success with this and have as a result always used the method in the first paragraph above without failure. Allan. (ARRae)
Re: Re: Q: long table and chemical formula
On Wed, 11 Jul 2001 15:47:39 +0200 wrote Thomas de Grenier de Latour [EMAIL PROTECTED]: Guenter Milde wrote: PS: Question to the gurus: Could I have a function or macro that does this but also changes the font to roman? \bind C-S-underscoremath-insert _\mathrm{}does not work There is a lyx function called command-sequence which can help to define strange shortcuts. Try something like this: \bind C-S-underscorecommand-sequence math-insert _; math-insert mathrm; But this work only for the first char after the mathrm, because there is no {}. Thanks for the tip with command-sequence. (Dear documenters: could I have found it somewhere in the documentation?? -otherwise this is a documentation request) Actually, \bind C-S-underscore command-sequence math-insert _; math-insert mathrm; did not do what I wanted either (especially becouse then I have a red mathrm in my Text.) However, it brought me on the right track: in my bind.gm I have now # subscript and superscript with roman fonts \bind C-S-underscorecommand-sequence math-insert _; font-roman; \bind C-asciicircum command-sequence math-insert ^; font-roman; and this works like expected (and WYSIWYM). Guenter -- [EMAIL PROTECTED]
Re: Q: long table and chemical formula
Sorry for being late on this but it is possible to create a tabular with M-x tabular-insert 80 2 were 80 is the rows and 2 the columns! This should help to create tabulars in ANY size. Jürgen P.S.: This is with lyx-1.1.6xxx. -- -._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._ Dr. Jürgen VignaE-Mail: [EMAIL PROTECTED] Italienallee 13/N Tel/Fax: +39-0471-450260 / +39-0471-450253 I-39100 Bozen Web: http://www.sad.it/~jug -._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._ When in doubt, do it. It's much easier to apologize than to get permission. -- Grace Murray Hopper
Re: Re: Q: long table and chemical formula
(Dear documenters: could I have found it somewhere in the documentation?? -otherwise this is a documentation request) command-sequence is an awful hack and it not being documeented is a feature that should prevent users from using it excessivly in case the hack will change/be removed. Andre' -- André Pönitz . [EMAIL PROTECTED]
Re: Q: long table and chemical formula
Guenter Milde wrote: Thanks for the tip with command-sequence. Thanks for the tip with font-something, I was thinking it was only a text mode feature (I don't know why, this kind of fix idea you never verify). No more mathrm{blabla} in my formulas! -- Thomas.
Help with Lyx for windows
Hi, My Lyx for windows doesn't work and I'm terrible sad about using Ms word instead, I installed lyx 1.1.6 fix2 c,cygwin, miktex and I have two x-servers: Exceed Xwin32 When I start Lyx I receive the message: Unable to open X display - Exiting, with all the x-servers above. Anyone can help me ?? Thanks Fabrizio
Re: Insert hspace in subfigure
On Tue, Jul 10, 2001 at 09:58:02AM +0200, Rainer Dorsch wrote: But that does not work, if I want to use it only in one float environment in the document... ...I think I will write the latex code. Then put the following at the beginning of the float you want to change \let\origsubfigure\subfigure \renewcommand\subfigure[2][]{% \hspace{10bp}\origsubfigure[#1]{#2}\hspace{10bp}% } Another option is to put the following in the preamble, \let\origsubfigure\subfigure \newcommand\mysubfigure[2][]{% \hspace{10bp}\origsubfigure[#1]{#2}\hspace{10bp}% } and at the beginning of the float you want to change put \let\subfigure\mysubfigure
Re: Cannot see the invisible text
On Tue, Jul 10, 2001 at 06:24:11PM +, Paolo Pumilia wrote: How to change the colour for the 'invisible text' layout, in 'slide' document class? The default colour is too similar to the background; i prefer to change the former, but I cannot find a relevant option under preferences-colors Copy the file slides.layout to ~/.lyx/layouts, and change the color field in the InvisibleText entry.
Re: Q: long table and chemical formula
On Wed, Jul 11, 2001 at 03:47:39PM +0200, Thomas de Grenier de Latour wrote: Could I have a function or macro that does this but also changes the font to roman? define strange shortcuts. Try something like this: \bind C-S-underscorecommand-sequence math-insert _; math-insert mathrm; But this work only for the first char after the mathrm, because there is no {}. \bind C-S-underscore command-sequence math-insert _; font-roman
Re: Footnote on the next page
Detlev Humann wrote: Detlev Humann wrote: (I know that Lyx/Latex sometimes splits a footnote over two pages, which isn´t very nice but acceptable. However, this is not my problem as I have interfootnotelinepenalty=1 in Latex preamble. The strange thing in my case is that it doesn´t make a difference if I comment it out or if I don´t) Herbert Voss wrote: if you have the correct \interfootnotelinepenalty=1 in preamble send a minimal lay-file, which shows the behaviour. delte the whole latex preamble and all should work. Herbert -- http://www.educat.hu-berlin.de/~voss/lyx/
Re: Help with Lyx for windows
On Thu, 12 Jul 2001, Fabrizio Giammatteo wrote: When I start Lyx I receive the message: Unable to open X display - Exiting, with all the x-servers above. You could try setting environment variables like set DISPLAY=localhost:0 and replace localhost with your computer's name if the above doesn't work. Or try running lyx with argument -display localhost:0 Can you run remotely X programs from real unix computers?
Re: Help with Lyx for windows
Hi, My Lyx for windows doesn't work and I'm terrible sad about using Ms word instead, I installed lyx 1.1.6 fix2 c,cygwin, miktex and I have two x-servers: Exceed Xwin32 When I start Lyx I receive the message: Unable to open X display - Exiting, with all the x-servers above. Anyone can help me ?? Just for information what I have been answered to that topic some days ago: There may be two reasons for that: 1. Edit C:\Cygwin\lyxprofile and set the correct IP address, followed by an ':0' for DISPLAY. If you have an Ethernet card installed on your system please use it's IP address instead of 127.0.0.1! Most X-Servers automatically serve the default IP address of your system. 127.0.0.1 (or localhost, i.e. the corresponding net name) is only valifd if you do have a DUN on your system. 2. If you have installed a firewall on your system (like me) than you have to create a new rule so that LyX can connect to the X-server. (Take a look at your firewall distributor, to learn how this has to be made!) I use the x-server Exceed from Hummingbird which worked correctly in the previous release. Because it was running I expect that editing lyxprofile could fix the problem! Claus
Re: menu not in German
Matthias == Matthias Bunk [EMAIL PROTECTED] writes: Matthias A little curious is that the help uses the LANG variable, Matthias not LANGUAGE like for the menu. Indeed, gettext uses LANGUAGE and then LANG, and help only uses LANG. We may want to change that... JMarc
Re: Footnote on the next page
Detlev Humann wrote: (I know that Lyx/Latex sometimes splits a footnote over two pages, which isn´t very nice but acceptable. However, this is not my problem as I have interfootnotelinepenalty=1 in Latex preamble. The strange thing in my case is that it doesn´t make a difference if I comment it out or if I don´t) Herbert Voss wrote: if you have the correct \interfootnotelinepenalty=1 in preamble send a minimal lay-file, which shows the behaviour. delte the whole latex preamble and all should work. Herbert Well, that seems to be a radical solution. (I already tried that to find out the reason for the behaviour.) If I delete the whole preamble then my redefined footnote indentation gets lost and I get a split footnote... :-( Is there no way to save my settings? (In the worst case I could accept a split footnote but I would like to keep the indentation.) Hope that I don't expect too much from my appreciated Lyx/Latex ;-) Detlev
Re: Footnote on the next page
Detlev Humann wrote: delte the whole latex preamble and all should work. Well, that seems to be a radical solution. (I already tried that to find out the reason for the behaviour.) If I delete the whole preamble then my redefined footnote indentation gets lost and I get a split footnote... :-( Is there no way to save my settings? (In the worst case I could accept a split footnote but I would like to keep the indentation.) Hope that I don't expect too much from my appreciated Lyx/Latex ;-) \interfootnotelinepenalty=1 is possible it was your redefinition makefntext HErbert -- http://www.educat.hu-berlin.de/~voss/lyx/
Something interesting to pass along
Group: You may have seen my posts about trying to get what I called FloatNotes to be in a certain place in a document. In my research, I found in _The Latex Companion_ by Goossens, et.al., p. 149, you can go one step more than just h,t,p,b. There is also H. h only means try to put it here while H means put it here--PERIOD. \begin{table}[H] blah blah blah table \end{tabular} \caption{info about table} \end{table} It cannot be used in conjunction with other specifiers though, i.e., [Hht] is illegal. You must, of course, issue a command to use the package... \restylefloat{table} or \restylefloat{figure} The book goes on to explain what is called a wrapfigure. Close to what I was trying to do with Float Note. See pg 152 of the book for more details. Trying to absorb more info to get EXACTLY what the boss wants. Thanks to all for your help...hope this is helpful to others as well. Michelle __ Do You Yahoo!? Get personalized email addresses from Yahoo! Mail http://personal.mail.yahoo.com/
UPDATE: LyX to (html,ps,pdf) script
Update: A. Poenitz found a dumb quoting error I made in yesterday's posting of this script (note to self: don't post code at 3am when too tired to think). The attached version is fixed and should work (I *did* check it :-) Fernando. -- Forwarded message -- Date: Thu, 12 Jul 2001 03:03:50 -0600 (MDT) Subject: LyX to (html,ps,pdf) script Hi Lyxers, attached is a Perl script I wrote called lyxpub (short for lyx publish, for lack of a better name!). It borrows heavily from contributions by S. Evers, but tries to be a bit cleaner and more robust (also do more). From the mini-documentation: A simple Perl script which takes a LyX or TeX file as its only argument (with or without extension) and produces HTML, PostScript and PDF versions of the document. I have tested it with some documents and it seems to work, but I'm sure there are still many problems with it. Hopefully it will be useful to others, and I would appreciate any comments/suggestions/bug reports/bug fixes (especially the latter! :-) Feel free to play with it and let me know what you think. Hopefully it will ease the pain of making multiple versions from a LyX document in all the cases when a simple lyx --export doesn't do what you want. Regards, Fernando. PS: If anyone thinks it is appropriate, feel free to repost to the lyx-devel list. lyxpub.gz
Acknowledgements and Abstract in report class??
I am writing a thesis in Lyx... I am finished with the thesis (I hope) but I must add an acknowledgement page at the beginning right after the title page and an abstract page at the very end. I am using the report (textcomp) class to write it, and can not figure out how to do this. Both the ack and the abstract just need to be plain text types of pages (nothing fancy), less the title words Acknowledgement and Abstract in large type bold (like the size of a chapter heading for instace). Anyone have any ideas or prebuilt files for this?? I would normally just do it in a seperate document, but according to the graduate school those pages must be numbered also. Thanks. Bob
Re: Something interesting to pass along
Michelle Dukich wrote: You may have seen my posts about trying to get what I called FloatNotes to be in a certain place in a document. In my research, I found in _The Latex Companion_ by Goossens, et.al., p. 149, you can go one step more than just h,t,p,b. There is also H. h only means try to put it here while H means put it here--PERIOD. but remember: it's a bad solution, because a float is no more a float! it makes sense for single floats and it doesn't works with floatingfigures. Herbert -- http://www.educat.hu-berlin.de/~voss/lyx/
Re: Footnote on the next page
\interfootnotelinepenalty=1 is possible it was your redefinition makefntext HErbert Sorry for one more email: Did I get you right that there is only one alternative (((ok, latinists know that there is always one alternative))): Either my indentation and footnotes appear sometimes misplaced on the next page - or default indentation and footnotes are correctly placed (with) - and nothing else? Maybe there is a hidden package for changing the footnote indentation? Thanks for answering steadily! Detlev PS: If there is no hope for my indentation - why does Lyx/Latex take into consideration the footnote indentation when placing the footnotes? Is there no command to prevent misplacing? I can't imagine that the errorfree Latex isn´t able to cope with such a little problem...(I'm just hallucinating...)
bibtex and the natdin package using command like citet and citep
Hallo, i am using the natdin package in combination with lyx 1.1.6 fix 1 in order to get a bibliography close to the german din 1505. I use the following customizing: preamble usepackage{natbib} and the stayle natdin.bst Normal cites are working finem, but the command \citet and \citep for special labels are not working, has anybody an idea? Thanks Arnd
corloured rows in tables; colortbl package
Hello, i am using lyx 1.1.6 fix 1 and i want to colour rows in tables. For columns i use the command {\columncolor[gray]{.9}} and it works very well, but when i try to the rowcolor command i got some trouble. I add the package colortbl in the preamble. It doesn't work in lyx tables i tried {\rowcolor[gray]{.9}} and \rowcolor[gray]{.9}, but in naitive latex (red) tabluars the command \rowcolor[gray]{.9} works. Does anybody know, if there is a possibility to use the rowcolor command in lyx tables? Thanks Arnd
Ispell Problem
Hello all, I have just finished installing Lyx on a win2k machine running Cygwin. When I want to spell check the document, the GUI freezes and it tells me that the spell checker has died and that I should install a dictionary. I am using American/English. I thought the dictionaries for these languages are installed by default and in fact I am able to see the hash files. In the spell checker settings, I have use the document's default language dictionary which is English. What am I doing wrong? Thank you for your time and help. Amer
Re: corloured rows in tables; colortbl package
Arnd Geldermann wrote: i am using lyx 1.1.6 fix 1 and i want to colour rows in tables. For columns i use the command {\columncolor[gray]{.9}} and it works very well, but when i try to the rowcolor command i got some trouble. I add the package colortbl in the preamble. It doesn't work in lyx tables i tried {\rowcolor[gray]{.9}} and \rowcolor[gray]{.9}, but in naitive latex (red) tabluars the command \rowcolor[gray]{.9} works. Does anybody know, if there is a possibility to use the rowcolor command in lyx tables? have a look at http://www.educat.hu-berlin.de/~voss/lyx/table/cells.html Herbert -- http://www.educat.hu-berlin.de/~voss/lyx/
Re: Ispell Problem
Amer Abufadel wrote: I have just finished installing Lyx on a win2k machine running Cygwin. When I want to spell check the document, the GUI freezes and it tells me that the spell checker has died and that I should install a dictionary. I am using American/English. I thought the dictionaries for these languages are installed by default and in fact I am able to see the hash files. In the spell checker settings, I have use the document's default language dictionary which is English. try in spellcheckers options: use another language - english Herbert -- http://www.educat.hu-berlin.de/~voss/lyx/
Re: Ispell Problem
I tried that, still it did not work.. - Original Message - From: Herbert Voss [EMAIL PROTECTED] To: Amer Abufadel [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Thursday, July 12, 2001 3:46 PM Subject: Re: Ispell Problem Amer Abufadel wrote: I have just finished installing Lyx on a win2k machine running Cygwin. When I want to spell check the document, the GUI freezes and it tells me that the spell checker has died and that I should install a dictionary. I am using American/English. I thought the dictionaries for these languages are installed by default and in fact I am able to see the hash files. In the spell checker settings, I have use the document's default language dictionary which is English. try in spellcheckers options: use another language - english Herbert -- http://www.educat.hu-berlin.de/~voss/lyx/
latex2html and InputIfFileExists
Im trying to export html via latex2html but it don't work. Remarks: I'm using a system-wide big include file with my own /newcommand definitions like \newcommand{\firma}[1]{\textbf{#1}}for word formating purposes. So I need a way to include this for a html output. This has to be done automatic I don't want the users to do this. --- I did: latex2html -subdir -split 0 -show_section_numbers yast_autoinstall.tex --- warnings output *** WARNINGS *** No implementation found for style `scrbook' No implementation found for style `fontenc' No implementation found for style `geometry' No implementation found for style `fancyhdr' No implementation found for style `url' No implementation found for style `varioref' No implementation found for style `ae' redefining command \url previous meaning of \url will be lost Substitution of arg to newlabelxx delayed. ? brace missing for \setlength There is no author for this document. Unknown commands: var frowney rfoot suse fancyplain engl vref LPI leftmark nnwt smiley xwin rightmark option ibm sgi titlehead linux geometry lilo textmd lhead zZt firma DOS lfoot ALICE programm yast win IfFileExists nonfrenchspacing chead ms InputIfFileExists firma ^ ^ Why this? Why this? nouppercase root cfoot ironicon befehl rhead headwidth name stichw menue wiikpr wiikserv wiikaserv wiikdserv redhat Done. END OF WARNINGS Tschuess, Thomas -- Thomas Templin - Postfach 2519 - 26365 Wilhelmshaven
Re: latex2html and InputIfFileExists
On Thu, 12 Jul 2001, Thomas Templin wrote: Im trying to export html via latex2html but it don't work. See my earlier message from a few hours ago (with subject line UPDATE: LyX to (html,ps,pdf) script). It's Perl script designed to do exactly that (plus giving you pdf and ps along the way), hopefully with less headaches. It's a 0.1 release which I only tested with some files of mine. If it doesn't work with your files, you can send me a sample and I'll try to fix it. If you change it yourself, I'd appreciate it if you could mail me the modifications to maintain and improve this script. I suspect it could be a useful tool for many people, if it stabilizes enough. You can also download the script from http://windom.colorado.edu/~fperez/pub it's called lyxpub. Make it executable (or run it through perl) and use it. lyxpub --help will give you the usual summary of usage. Let me know if this works. Regards, Fernando.
Re: latex2html and InputIfFileExists
On Friday, 13. July 2001 00:25, Fernando Pérez wrote: On Thu, 12 Jul 2001, Thomas Templin wrote: Im trying to export html via latex2html but it don't work. See my earlier message from a few hours ago (with subject line UPDATE: LyX to (html,ps,pdf) script). It's Perl script designed to do exactly that (plus giving you pdf and ps along the way), hopefully with less headaches. It's a 0.1 release which I only tested with some files of mine. If it doesn't work with your files, you can send me a sample and I'll try to fix it. If you change it yourself, I'd appreciate it if you could mail me the modifications to maintain and improve this script. I suspect it could be a useful tool for many people, if it stabilizes enough. You can also download the script from http://windom.colorado.edu/~fperez/pub it's called lyxpub. Make it executable (or run it through perl) and use it. lyxpub --help will give you the usual summary of usage. Still tried it, doesnt work either, sorry:-( but PDF and PS Output are ok, as under LyX. Tschuess, Thomas -- Thomas Templin - Postfach 2519 - 26365 Wilhelmshaven
ps2pdf
Hi! I'm trying to convert some foiltex to pdf for a presentation. I put \usepackage[ps2pdf]{hyperref} in the latex preamble. ps2pdf works fine but the colors and the fonts come out terrible on acroread on the pc. Any ideas? Thanks, -- myriam IM: tokujawa As seen in a coffee shop in Monterey, CA, George W. Bush's counter: 1288 days left till he's gone
Re: ps2pdf
if you write n your preamble: \usepackage{times} it will deliver a much more readble pdf, but you might get a 'windows-like' font-effect. cheers []s lima-lopes R.E. de Lima-Lopes [EMAIL PROTECTED] GNU/Linux Registered User # 182240 On 12 Jul 2001, Myriam Abramson wrote: Date: 12 Jul 2001 21:51:16 -0400 From: Myriam Abramson [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: ps2pdf Hi! I'm trying to convert some foiltex to pdf for a presentation. I put \usepackage[ps2pdf]{hyperref} in the latex preamble. ps2pdf works fine but the colors and the fonts come out terrible on acroread on the pc. Any ideas? Thanks,
Re: ps2pdf
On 12 Jul 2001, Myriam Abramson wrote: Hi! I'm trying to convert some foiltex to pdf for a presentation. I put \usepackage[ps2pdf]{hyperref} in the latex preamble. ps2pdf works fine but the colors and the fonts come out terrible on acroread on the pc. Any ideas? Thanks, Here are some comments I have in my script that does precisely that. See if it helps (I get perfect pdf's using it): # Make the pdf directly from the latex file # Notes: for this to work ok, the following must have been done: # 1. ~/.dvipsrc file must contain the lines #p+ psfonts.cmz #p+ psfonts.amz # 2. The latex preamble of the lyx file must have #\usepackage{ae,aecompl} # This is so that T1 encoded fonts come out looking good in the final pdf. Cheers, f
landscape slides truncated
Hi! Thanks for everybody who fixed my font problem. Now what do I do with those landscape slides to come out correctly? Redo them? -- myriam As seen in a coffee shop in Monterey, CA, George W. Bush's counter: 1288 days left till he's gone
LyX + WinME + MikTeX
Hi! Getting LyX installed on my WinME was not really that easy :) compared to installing MikTeX + WinEdt; however, since I might recommend it for use on other PCs at work, Linux and Win2K, I tried to get a feeling of what it is and does. 1. Cygwin installed fine 2. X-Win32 installed fine 3. LyX + ISPELL installed as directed BUT even though I had ghostscript (4.03) in the LyxInstall dir, the setup program did not recognize it and didn't install it. 4. I managed easily to run LyX 5. Opened some LaTeX files in it AND here is the problem: I tried to read the doc + help + faq and play with lyxrc etc but still: a. I cannot produce DVI, PS, PDF, out of my LaTeX file b. It exports as ASCII and TeX but no other formats. c. It does not even give an error message, it says everything is all right! d. I give the same commands as introduced in lyxrc in DOS and they work! Here is what I have in my lyxrc: ### Testing some flags and commands\Format dvi dviDVID\Format eps epsEPS""\Format latex texLaTeXL\Format lyx lyxLyX""\Format pdf pdfPDFP\Format pdf2 pdf "PDF (pdflatex)"F\Format ps psPostscriptt\Format word docWordW \converter latex dvi "latex $$i" "latex"\converter latex pdf2 "pdflatex $$i" "latex"\converter dvi ps "dvips -o $$o $$i" ""\converter latex lyx "reLyX -f $$i" "" \viewer ps "//c/Ghostgum/gsview/gsview32" \viewer pspic "//c/Ghostgum/gsview/gsview32" \viewer pdf "//c/Program Files/Adobe/Acrobat 5.0/Acrobat/Acrobat.exe" \spell_command "ispell"\font_encoding "T1" Could anyone please help me to find solution to my problem? I've also to say that the new MikTeX does not install in the dir structure as it is assumed in the step by step installation for LyX. It is now installed in c:\texmf\miktex\... Regards, mm
LyX + WinME + MikTeX
- Original Message - From: Mostafa Modirrousta To: [EMAIL PROTECTED] Cc: Mostafa Modirrousta Sent: Friday, July 13, 2001 12:09 AM Subject: LyX + WinME + MikTeX Hi! Getting LyX installed on my WinME was not really that easy :) compared to installing MikTeX + WinEdt; however, since I might recommend it for use on other PCs at work, Linux and Win2K, I tried to get a feeling of what it is and does. 1. Cygwin installed fine 2. X-Win32 installed fine 3. LyX + ISPELL installed as directed BUT even though I had ghostscript (4.03) in the LyxInstall dir, the setup program did not recognize it and didn't install it. 4. I managed easily to run LyX 5. Opened some LaTeX files in it AND here is the problem: I tried to read the doc + help + faq and play with lyxrc etc but still: a. I cannot produce DVI, PS, PDF, out of my LaTeX file b. It exports as ASCII and TeX but no other formats. c. It does not even give an error message, it says everything is all right! d. I give the same commands as introduced in lyxrc in DOS and they work! Here is what I have in my lyxrc: ### Testing some flags and commands\Format dvi dviDVID\Format eps epsEPS""\Format latex texLaTeXL\Format lyx lyxLyX""\Format pdf pdfPDFP\Format pdf2 pdf "PDF (pdflatex)"F\Format ps psPostscriptt\Format word docWordW \converter latex dvi "latex $$i" "latex"\converter latex pdf2 "pdflatex $$i" "latex"\converter dvi ps "dvips -o $$o $$i" ""\converter latex lyx "reLyX -f $$i" "" \viewer ps "//c/Ghostgum/gsview/gsview32" \viewer pspic "//c/Ghostgum/gsview/gsview32" \viewer pdf "//c/Program Files/Adobe/Acrobat 5.0/Acrobat/Acrobat.exe" \spell_command "ispell"\font_encoding "T1" Could anyone please help me to find solution to my problem? I've also to say that the new MikTeX does not install in the dir structure as it is assumed in the step by step installation for LyX. It is now installed in c:\texmf\miktex\... Regards, mm
Re: landscape slides truncated
On 12 Jul 2001, Myriam Abramson wrote: Hi! Thanks for everybody who fixed my font problem. Now what do I do with those landscape slides to come out correctly? Redo them? I am guessing that you are mixing landscape and portrait slides? I've always found that using RotateFoilhead or ShortRotateFoilhead with dvips in the extra options field of Layout-Document works well. If you want all your foils as landscape then you are supposed to be able to set landscape in extra options field and then use Foilhead or ShortFoilhead. However I've never had much success with this and have as a result always used the method in the first paragraph above without failure. Allan. (ARRae)
Re: Re: Q: long table and chemical formula
On Wed, 11 Jul 2001 15:47:39 +0200 wrote Thomas de Grenier de Latour <[EMAIL PROTECTED]>: > Guenter Milde wrote: > > > > PS: Question to the gurus: > > > > Could I have a function or macro that does this but > > also changes the font to roman? > > > > \bind "C-S-underscore""math-insert _\mathrm{}"does not work > There is a lyx function called "command-sequence" which can help to > define strange shortcuts. Try something like this: > \bind "C-S-underscore""command-sequence math-insert _; > math-insert mathrm;" > But this work only for the first char after the mathrm, because there is > no {}. Thanks for the tip with "command-sequence". (Dear documenters: could I have found it somewhere in the documentation?? ->otherwise this is a documentation request) Actually, \bind "C-S-underscore" "command-sequence math-insert _; math-insert mathrm;" did not do what I wanted either (especially becouse then I have a red mathrm in my Text.) However, it brought me on the right track: in my bind.gm I have now # subscript and superscript with roman fonts \bind "C-S-underscore""command-sequence math-insert _; font-roman;" \bind "C-asciicircum" "command-sequence math-insert ^; font-roman;" and this works like expected (and WYSIWYM). Guenter -- [EMAIL PROTECTED]
Re: Q: long table and chemical formula
Sorry for being late on this but it is possible to create a tabular with M-x tabular-insert 80 2 were 80 is the rows and 2 the columns! This should help to create tabulars in ANY size. Jürgen P.S.: This is with lyx-1.1.6xxx. -- -._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._ Dr. Jürgen VignaE-Mail: [EMAIL PROTECTED] Italienallee 13/N Tel/Fax: +39-0471-450260 / +39-0471-450253 I-39100 Bozen Web: http://www.sad.it/~jug -._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._ When in doubt, do it. It's much easier to apologize than to get permission. -- Grace Murray Hopper
Re: Re: Q: long table and chemical formula
> (Dear documenters: could I have found it somewhere in the documentation?? > ->otherwise this is a documentation request) command-sequence is an awful hack and it not being documeented is a "feature" that should prevent users from using it excessivly in case the hack will change/be removed. Andre' -- André Pönitz . [EMAIL PROTECTED]
Re: Q: long table and chemical formula
Guenter Milde wrote: > > Thanks for the tip with "command-sequence". > Thanks for the tip with "font-something", I was thinking it was only a text mode feature (I don't know why, this kind of fix idea you never verify). No more mathrm{blabla} in my formulas! -- Thomas.
Help with Lyx for windows
Hi, My Lyx for windows doesn't work and I'm terrible sad about using Ms word instead, I installed lyx 1.1.6 fix2 c,cygwin, miktex and I have two x-servers: Exceed Xwin32 When I start Lyx I receive the message: Unable to open X display - Exiting, with all the x-servers above. Anyone can help me ?? Thanks Fabrizio
Re: Insert hspace in subfigure
On Tue, Jul 10, 2001 at 09:58:02AM +0200, Rainer Dorsch wrote: > > But that does not work, if I want to use it only in one float environment in > the document... > > ...I think I will write the latex code. Then put the following at the beginning of the float you want to change \let\origsubfigure\subfigure \renewcommand\subfigure[2][]{% \hspace{10bp}\origsubfigure[#1]{#2}\hspace{10bp}% } Another option is to put the following in the preamble, \let\origsubfigure\subfigure \newcommand\mysubfigure[2][]{% \hspace{10bp}\origsubfigure[#1]{#2}\hspace{10bp}% } and at the beginning of the float you want to change put \let\subfigure\mysubfigure
Re: Cannot see the invisible text
On Tue, Jul 10, 2001 at 06:24:11PM +, Paolo Pumilia wrote: > How to change the colour for the 'invisible text' layout, in 'slide' > document class? > The default colour is too similar to the background; i prefer to change the > former, > but I cannot find a relevant option under preferences->colors Copy the file slides.layout to ~/.lyx/layouts, and change the color field in the InvisibleText entry.
Re: Q: long table and chemical formula
On Wed, Jul 11, 2001 at 03:47:39PM +0200, Thomas de Grenier de Latour wrote: > > Could I have a function or macro that does this but > > also changes the font to roman? > > define strange shortcuts. Try something like this: > \bind "C-S-underscore""command-sequence math-insert _; > math-insert mathrm;" > But this work only for the first char after the mathrm, because there is > no {}. \bind "C-S-underscore" "command-sequence math-insert _; font-roman"
Re: Footnote on the next page
Detlev Humann wrote: > > > > Detlev Humann wrote: > > > > > > (I know that Lyx/Latex sometimes splits a footnote over two pages, > > > which isn´t very nice but acceptable. However, this is not my problem > > > as I have interfootnotelinepenalty=1 in Latex preamble. The > > > strange thing in my case is that it doesn´t make a difference if I > > > comment it out or if I don´t) > > > > > Herbert Voss wrote: > > > > if you have the correct > > \interfootnotelinepenalty=1 > > > > in preamble send a minimal lay-file, which shows the > > behaviour. delte the whole latex preamble and all should work. Herbert -- http://www.educat.hu-berlin.de/~voss/lyx/
Re: Help with Lyx for windows
On Thu, 12 Jul 2001, Fabrizio Giammatteo wrote: > When I start Lyx I receive the message: Unable to open X display - Exiting, > with all the x-servers above. You could try setting environment variables like set DISPLAY=localhost:0 and replace localhost with your computer's name if the above doesn't work. Or try running lyx with argument "-display localhost:0" Can you run remotely X programs from real unix computers?
Re: Help with Lyx for windows
> Hi, > My Lyx for windows doesn't work and I'm terrible sad about using Ms word > instead, I installed lyx 1.1.6 fix2 c,cygwin, miktex and I have two x-servers: > > Exceed > Xwin32 > > When I start Lyx I receive the message: Unable to open X display - Exiting, > with all the x-servers above. > > Anyone can help me ?? Just for information what I have been answered to that topic some days ago: There may be two reasons for that: 1. Edit C:\Cygwin\lyxprofile and set the correct IP address, followed by an ':0' for DISPLAY. If you have an Ethernet card installed on your system please use it's IP address instead of 127.0.0.1! Most X-Servers automatically serve the default IP address of your system. 127.0.0.1 (or localhost, i.e. the corresponding net name) is only valifd if you do have a DUN on your system. 2. If you have installed a firewall on your system (like me) than you have to create a new rule so that LyX can connect to the X-server. (Take a look at your firewall distributor, to learn how this has to be made!) > I use the x-server Exceed from Hummingbird which worked correctly in the > previous release. Because it was running I expect that editing lyxprofile could fix the problem! Claus
Re: menu not in German
> "Matthias" == Matthias Bunk <[EMAIL PROTECTED]> writes: Matthias> A little curious is that the help uses the LANG variable, Matthias> not LANGUAGE like for the menu. Indeed, gettext uses LANGUAGE and then LANG, and help only uses LANG. We may want to change that... JMarc
Re: Footnote on the next page
> > > > Detlev Humann wrote: > > > > > > > > (I know that Lyx/Latex sometimes splits a footnote over two pages, > > > > which isn´t very nice but acceptable. However, this is not my problem > > > > as I have interfootnotelinepenalty=1 in Latex preamble. The > > > > strange thing in my case is that it doesn´t make a difference if I > > > > comment it out or if I don´t) > > > > > > > Herbert Voss wrote: > > > > > > if you have the correct > > > \interfootnotelinepenalty=1 > > > > > > in preamble send a minimal lay-file, which shows the > > > behaviour. > > delte the whole latex preamble and all should work. > > Herbert > > Well, that seems to be a radical solution. (I already tried that to find out the reason for the behaviour.) If I delete the whole preamble then my redefined footnote indentation gets lost and I get a split footnote... :-( Is there no way to save my settings? (In the "worst case" I could accept a split footnote but I would like to keep the indentation.) Hope that I don't expect too much from "my" appreciated Lyx/Latex ;-) Detlev
Re: Footnote on the next page
Detlev Humann wrote: > > > > > delte the whole latex preamble and all should work. > > > Well, that seems to be a radical solution. (I already tried that to find out > the reason for the behaviour.) > If I delete the whole preamble then my redefined footnote indentation gets > lost and I get a split footnote... :-( > Is there no way to save my settings? > (In the "worst case" I could accept a split footnote but I would like to > keep > the indentation.) > Hope that I don't expect too much from "my" appreciated Lyx/Latex ;-) \interfootnotelinepenalty=1 is possible it was your redefinition makefntext HErbert -- http://www.educat.hu-berlin.de/~voss/lyx/
Something interesting to pass along
Group: You may have seen my posts about trying to get what I called "FloatNotes" to be in a certain place in a document. In my research, I found in _The Latex Companion_ by Goossens, et.al., p. 149, you can go one step more than just h,t,p,b. There is also H. h only means "try to put it here" while H means put it here--PERIOD. \begin{table}[H] blah blah blah table \end{tabular} \caption{info about table} \end{table} It cannot be used in conjunction with other specifiers though, i.e., [Hht] is illegal. You must, of course, issue a command to use the package... \restylefloat{table} or \restylefloat{figure} The book goes on to explain what is called a wrapfigure. Close to what I was trying to do with Float Note. See pg 152 of the book for more details. Trying to absorb more info to get EXACTLY what the boss wants. Thanks to all for your help...hope this is helpful to others as well. Michelle __ Do You Yahoo!? Get personalized email addresses from Yahoo! Mail http://personal.mail.yahoo.com/
UPDATE: LyX to (html,ps,pdf) script
Update: A. Poenitz found a dumb quoting error I made in yesterday's posting of this script (note to self: don't post code at 3am when too tired to think). The attached version is fixed and should work (I *did* check it :-) Fernando. -- Forwarded message -- Date: Thu, 12 Jul 2001 03:03:50 -0600 (MDT) Subject: LyX to (html,ps,pdf) script Hi Lyxers, attached is a Perl script I wrote called lyxpub (short for "lyx publish", for lack of a better name!). It borrows heavily from contributions by S. Evers, but tries to be a bit cleaner and more robust (also do more). >From the mini-documentation: A simple Perl script which takes a LyX or TeX file as its only argument (with or without extension) and produces HTML, PostScript and PDF versions of the document. I have tested it with some documents and it seems to work, but I'm sure there are still many problems with it. Hopefully it will be useful to others, and I would appreciate any comments/suggestions/bug reports/bug fixes (especially the latter! :-) Feel free to play with it and let me know what you think. Hopefully it will ease the pain of making multiple versions from a LyX document in all the cases when a simple lyx --export doesn't do what you want. Regards, Fernando. PS: If anyone thinks it is appropriate, feel free to repost to the lyx-devel list. lyxpub.gz
Acknowledgements and Abstract in report class??
I am writing a thesis in Lyx... I am finished with the thesis (I hope) but I must add an acknowledgement page at the beginning right after the title page and an abstract page at the very end. I am using the report (textcomp) class to write it, and can not figure out how to do this. Both the ack and the abstract just need to be plain text types of pages (nothing fancy), less the title words Acknowledgement and Abstract in large type bold (like the size of a chapter heading for instace). Anyone have any ideas or prebuilt files for this?? I would normally just do it in a seperate document, but according to the graduate school those pages must be numbered also. Thanks. Bob
Re: Something interesting to pass along
Michelle Dukich wrote: > > You may have seen my posts about trying to get what I called "FloatNotes" to be > in a certain place in a document. In my research, I found in _The Latex > Companion_ by Goossens, et.al., p. 149, you can go one step more than just > h,t,p,b. There is also H. h only means "try to put it here" while H means put > it here--PERIOD. but remember: it's a bad solution, because a float is no more a float! it makes sense for single floats and it doesn't works with floatingfigures. Herbert -- http://www.educat.hu-berlin.de/~voss/lyx/
Re: Footnote on the next page
> \interfootnotelinepenalty=1 > > is possible > > it was your redefinition makefntext > > HErbert > Sorry for one more email: Did I get you right that there is only one alternative (((ok, latinists know that there is always one alternative))): Either my indentation and footnotes appear sometimes misplaced on the next page - or default indentation and footnotes are correctly placed (with) - and nothing else? Maybe there is a hidden package for changing the footnote indentation? Thanks for answering steadily! Detlev PS: If there is no "hope for my indentation" - why does Lyx/Latex take into consideration the footnote indentation when placing the footnotes? Is there no command to prevent misplacing? I can't imagine that the errorfree Latex isn´t able to cope with such a little problem...(I'm just hallucinating...)
bibtex and the natdin package using command like citet and citep
Hallo, i am using the natdin package in combination with lyx 1.1.6 fix 1 in order to get a bibliography close to the german din 1505. I use the following customizing: preamble usepackage{natbib} and the stayle natdin.bst Normal cites are working finem, but the command \citet and \citep for special labels are not working, has anybody an idea? Thanks Arnd
corloured rows in tables; colortbl package
Hello, i am using lyx 1.1.6 fix 1 and i want to colour rows in tables. For columns i use the command >{\columncolor[gray]{.9}} and it works very well, but when i try to the rowcolor command i got some trouble. I add the package colortbl in the preamble. It doesn't work in lyx tables i tried >{\rowcolor[gray]{.9}} and \rowcolor[gray]{.9}, but in naitive latex (red) tabluars the command \rowcolor[gray]{.9} works. Does anybody know, if there is a possibility to use the rowcolor command in lyx tables? Thanks Arnd
Ispell Problem
Hello all, I have just finished installing Lyx on a win2k machine running Cygwin. When I want to spell check the document, the GUI freezes and it tells me that the spell checker has died and that I should install a dictionary. I am using American/English. I thought the dictionaries for these languages are installed by default and in fact I am able to see the hash files. In the spell checker settings, I have use the document's default language dictionary which is English. What am I doing wrong? Thank you for your time and help. Amer
Re: corloured rows in tables; colortbl package
Arnd Geldermann wrote: > > i am using lyx 1.1.6 fix 1 and i want to colour rows in tables. > For columns i use the command >{\columncolor[gray]{.9}} and it works > very well, > but when i try to the rowcolor command i got some trouble. > I add the package colortbl in the preamble. > It doesn't work in lyx tables i tried >{\rowcolor[gray]{.9}} and > \rowcolor[gray]{.9}, but in > naitive latex (red) tabluars the command \rowcolor[gray]{.9} works. > Does anybody know, if there is a possibility to use the rowcolor command > in lyx tables? have a look at http://www.educat.hu-berlin.de/~voss/lyx/table/cells.html Herbert -- http://www.educat.hu-berlin.de/~voss/lyx/
Re: Ispell Problem
Amer Abufadel wrote: > > I have just finished installing Lyx on a win2k machine running Cygwin. > When I want to spell check the document, the GUI freezes and it tells me > that the spell checker has died and that I should install a dictionary. I > am using American/English. I thought the dictionaries for these languages > are installed by default and in fact I am able to see the hash files. In > the spell checker settings, I have use the document's default language > dictionary which is English. try in spellcheckers options: use another language -> english Herbert -- http://www.educat.hu-berlin.de/~voss/lyx/
Re: Ispell Problem
I tried that, still it did not work.. - Original Message - From: "Herbert Voss" <[EMAIL PROTECTED]> To: "Amer Abufadel" <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Thursday, July 12, 2001 3:46 PM Subject: Re: Ispell Problem > Amer Abufadel wrote: > > > > I have just finished installing Lyx on a win2k machine running Cygwin. > > When I want to spell check the document, the GUI freezes and it tells me > > that the spell checker has died and that I should install a dictionary. I > > am using American/English. I thought the dictionaries for these languages > > are installed by default and in fact I am able to see the hash files. In > > the spell checker settings, I have use the document's default language > > dictionary which is English. > > try in spellcheckers options: > > use another language -> english > > > Herbert > > > -- > http://www.educat.hu-berlin.de/~voss/lyx/ >
latex2html and InputIfFileExists
Im trying to export html via latex2html but it don't work. Remarks: I'm using a system-wide big include file with my own /newcommand definitions like \newcommand{\firma}[1]{\textbf{#1}}for word formating purposes. So I need a way to include this for a html output. This has to be done automatic I don't want the users to do this. --- I did: latex2html -subdir -split 0 -show_section_numbers yast_autoinstall.tex --- warnings output *** WARNINGS *** No implementation found for style `scrbook' No implementation found for style `fontenc' No implementation found for style `geometry' No implementation found for style `fancyhdr' No implementation found for style `url' No implementation found for style `varioref' No implementation found for style `ae' redefining command \url previous meaning of \url will be lost Substitution of arg to newlabelxx delayed. ? brace missing for \setlength There is no author for this document. Unknown commands: var frowney rfoot suse fancyplain engl vref LPI leftmark nnwt smiley xwin rightmark option ibm sgi titlehead linux geometry lilo textmd lhead zZt firma DOS lfoot ALICE programm yast win IfFileExists nonfrenchspacing chead ms InputIfFileExists firma ^ ^ Why this? Why this? nouppercase root cfoot ironicon befehl rhead headwidth name stichw menue wiikpr wiikserv wiikaserv wiikdserv redhat Done. END OF WARNINGS Tschuess, Thomas -- Thomas Templin - Postfach 2519 - 26365 Wilhelmshaven
Re: latex2html and InputIfFileExists
On Thu, 12 Jul 2001, Thomas Templin wrote: > Im trying to export html via latex2html but it don't work. > See my earlier message from a few hours ago (with subject line UPDATE: LyX to (html,ps,pdf) script). It's Perl script designed to do exactly that (plus giving you pdf and ps along the way), hopefully with less headaches. It's a 0.1 release which I only tested with some files of mine. If it doesn't work with your files, you can send me a sample and I'll try to fix it. If you change it yourself, I'd appreciate it if you could mail me the modifications to maintain and improve this script. I suspect it could be a useful tool for many people, if it stabilizes enough. You can also download the script from http://windom.colorado.edu/~fperez/pub it's called lyxpub. Make it executable (or run it through perl) and use it. lyxpub --help will give you the usual summary of usage. Let me know if this works. Regards, Fernando.
Re: latex2html and InputIfFileExists
On Friday, 13. July 2001 00:25, Fernando Pérez wrote: > On Thu, 12 Jul 2001, Thomas Templin wrote: > > Im trying to export html via latex2html but it don't work. > > See my earlier message from a few hours ago (with subject line > UPDATE: LyX to (html,ps,pdf) script). It's Perl script designed > to do exactly that (plus giving you pdf and ps along the way), > hopefully with less headaches. > > It's a 0.1 release which I only tested with some files of mine. > If it doesn't work with your files, you can send me a sample and > I'll try to fix it. If you change it yourself, I'd appreciate it > if you could mail me the modifications to maintain and improve > this script. I suspect it could be a useful tool for many people, > if it stabilizes enough. > > You can also download the script from > http://windom.colorado.edu/~fperez/pub > it's called lyxpub. > > Make it executable (or run it through perl) and use it. lyxpub > --help will give you the usual summary of usage. Still tried it, doesnt work either, sorry:-( but PDF and PS Output are ok, as under LyX. Tschuess, Thomas -- Thomas Templin - Postfach 2519 - 26365 Wilhelmshaven
ps2pdf
Hi! I'm trying to convert some foiltex to pdf for a presentation. I put \usepackage[ps2pdf]{hyperref} in the latex preamble. ps2pdf works fine but the colors and the fonts come out terrible on acroread on the pc. Any ideas? Thanks, -- myriam IM: tokujawa As seen in a coffee shop in Monterey, CA, George W. Bush's counter: 1288 days left till he's gone
Re: ps2pdf
if you write n your preamble: \usepackage{times} it will deliver a much more readble pdf, but you might get a 'windows-like' font-effect. cheers []s lima-lopes R.E. de Lima-Lopes [EMAIL PROTECTED] GNU/Linux Registered User # 182240 On 12 Jul 2001, Myriam Abramson wrote: > Date: 12 Jul 2001 21:51:16 -0400 > From: Myriam Abramson <[EMAIL PROTECTED]> > To: [EMAIL PROTECTED] > Subject: ps2pdf > > > Hi! > > I'm trying to convert some foiltex to pdf for a presentation. > I put \usepackage[ps2pdf]{hyperref} in the latex preamble. > ps2pdf works fine but the colors and the fonts come out terrible on > acroread on the pc. Any ideas? > > Thanks, > > >