Re: customizing Environments
On Thu, Aug 23, 2001 at 05:17:23PM -0300, Rodrigo Alexandre Ribeiro Canellas wrote: Very new user posting first question! How can I change a Environment? Usually, with ERT. For example: - I want to change the font type used in Standard Environment You probably meant here changing the font for the whole document. Changing the font size can be done in the document dialog. Changing the font to a sans serif font can be done by putting \renewcommand\familydefault{\sfdefault} in the preamble (open the preamble dialog using the layout-latex preamble menu). - After pressing RETURN at the end of a Standard, I do not want the Santard below to be idented Open the document dialog, and change separation from Indent to Skip. - I do not want the font of the Paragraph to be bold Put the following lines in the preamble: \usepackage{sectsty} \paragraphfont{\normalfont} - After pressing RETURN at the end of a Paragraph, I want the next to be a Paragraph, not a Standard I don't understand what you meant here.
Re: float captions in different languages
On Fri, Aug 24, 2001 at 12:54:08PM +0200, Jörg Haug wrote: Dekel Tsur wrote: On Wed, Aug 22, 2001 at 11:27:24PM +0200, Herbert Voss wrote: Jörg Haug wrote: i`m writting my thesis in german and normaly i use Abbildung 1.1 for a figure. I have to insert one chapter in english and so i need to redefine Abbildung 1.1 to Figure 1.1 in this chapter. How can ido this ? Thanks for your help. \renewcommand\figurename{Figure} in tex before the change. Although, this works, the correct thing to do is to change the language of text in the chapter to English using the character dialog. Then, all strings like Figure and Table will appear in English. If i do this i get an error about missing } in float figure. Can you send a small (minimal) example file ?
Re: LyX+DocBook confusion
On Thu, Aug 23, 2001 at 09:29:55PM +0300, Baruch Even wrote: I'm just trying to do some documentation in LyX using the DocBook layout style and I'm finding a few things which are making life difficult. Firstly, is there a way to make text appear in a different font, eg emphasised or typewriter styles in LyX just end up as normal text in ps/pdf or docbook-html output. Probably a missing translation of these attributes. The best thing to do if you want this fixed in the next version is to hunt the DocBook commands to do what is needed and to post them for whatever feature we are missing from DocBook. We also need to disable in dialogs features that are not available when using linuxdoc/docbook. For example, in docbook all the scaling options in the graphics dialog should be disabled.
Re: very long formulas...
On Tue, Aug 28, 2001 at 07:03:16PM +0200, Andre Poenitz wrote: On Tue, Aug 28, 2001 at 06:32:55PM +0200, francesco cattaneo wrote: if i write a very long formula, is lyx or latex able to write it on two or more lines? or i have to truncate manually it? thanks... LaTeX does not do that, so LyX can't either. Latex does break long inline formulae, but you probably meant that display formulae are not broken. You are on your own here. Lyx does support the eqnarray environment for typesetting long formulae. See the user guide.
Re: Convert Lyx To LaTeX from console.
However, I think this requires a running X server. If you don't have one you could use Xnest oops. I think Xnest requires a real X server too... well, vncserver? Looks like this is not needed anymore in 1.2.0cvs. Could anybody confirm this? Yes, but this is also true for 1.1.6
Re: Indented and italic?
On Mon, Aug 27, 2001 at 01:26:11PM -0400, Steve Litt wrote: Hi all, I've got a new style called Story which should print italic and indented both on the left and the right. I've got it working in Lyx, but not in the finished product. What do I do? Could somebody please fill in the What??? below? Preamble \newenvironment{story_l}{\begin {What???}}{\end{What???}\linebreak} EndPreamble \newenvironment{story_l}{\begin{quotation}\it}{\end{quotation}}
Re: very long formulas...
AMS package provide several commands to do so. As usual, http://www.educat.hu-berlin.de/~voss/lyx/mathstuff/equations/node10.html to understand how it works... But this requires using ERT. Lyx supports the eqnarray environment, so it should be used for breaking the equation (to use it press ctrl+enter in a display formula). PS: 1.2.0 also supports the AMS align environment.
Re: Changing font size in Tables
I'm using lyx 1.1.6fix3 and I'm trying to change the font size of a table. Is it possible to do it all at the same time ? I mean selecting the all table and changing character size doesn't work, is there another way of doing it ? It does work (assuming you do the selection from outside the table). You won't see anything on screen, but it will be OK in the DVI output.
Re: Changing font size in Tables
Not officially. However, there's a hack I made, not so nice but better than by doing it by hand: before the table type {\scriptsize and mark it as red TeX. After the table, type } There is no need to use ERT, as I explained in my previous mail.
Re: What are all the percent signs in LaTeX code?
\newcommand\myExample[1]{ \begin{example}\begin{list}{}{% \setlength{\rightmargin}{\leftmargin}% symmetric What are the percent signs for? For ignoring the newlines and indentation spaces. Also, what is the #1? It is used to denote the argument of the macro. For example, \newcommand{\foo}[1]{The argument is #1} defines a command \foo with one arguemnt. \foo{123} will generate 'The argument is 123' in the output.
Re: Any methods to show arithmatic style division?
On Mon, Aug 27, 2001 at 11:36:55AM -0400, German Poo Caaman~o wrote: Michael S. Wellman wrote: I'm wondering if LyX (or I supose LaTeX) has a way to show arithmetic style division: _2__ 5 |10 Or should I use xfig and draw out the problem? Look at polynom package on CTAN. But polynom is intended for polynom division, not integer division. For integer division use longdiv.sty (attached). Writing \longdiv{10}{5} in latex mode will generate the following output: __2 5|10 10 -- 0 __2_ If you just want to generate just 5 | 10, then use simplediv.sty (attached) and write \simplediv{10}{5}{2} % longdiv.tex v.1 (1994) Donald Arseneau % % Work out and print integer long division problems. Use: % \longdiv{numerator}{denominator} % The numerator and denominator (divisor and dividend) must be integers, and % the quotient is an integer too. \longdiv leaves a remainder. % Use this in any type of TeX. \newcount\gpten % (global) power-of-ten -- tells which digit we are doing \countdef\rtot2 % running total -- remainder so far \countdef\LDscratch4 % scratch \def\longdiv#1#2{% \vtop{\normalbaselines \offinterlineskip \setbox\strutbox\hbox{\vrule height 2.1ex depth .5ex width0ex}% \def\showdig{$\underline{\the\LDscratch\strut}$\cr\the\rtot\strut\cr \noalign{\kern-.2ex}}% \global\rtot=#1\relax \count0=\rtot\divide\count0by#2\edef\quotient{\the\count0}%\show\quotient % make list macro out of digits in quotient: \def\temp##1{}%\ifx##1\temp\else \noexpand\dodig ##1\expandafter\temp\fi}% \edef\routine{\expandafter\temp\quotient\temp}% % process list to give power-of-ten: \def\dodig##1{\global\multiply\gpten by10 }\global\gpten=1 \routine % to display effect of one digit in quotient (zero ignored): \def\dodig##1{\global\divide\gpten by10 \LDscratch =\gpten \multiply\LDscratch by##1% \multiply\LDscratch by#2% \global\advance\rtot-\LDscratch \relax \ifnum\LDscratch0 \showdig \fi % must hide \cr in a macro to skip it }% \tabskip=0pt \halign{\hfil##\cr % \halign for entire division problem $\quotient$\strut\cr #2$\,\overline{\vphantom{\big)}% \hbox{\smash{\raise3.5\fontdimen8\textfont3\hbox{$\big)$}}}% \mkern2mu \the\rtot}$\cr\noalign{\kern-.2ex} \routine \cr % do each digit in quotient }}} \endinput \noindent Here are some long division problems \indent \longdiv{12345}{13} \quad \longdiv{123}{1234} \quad \longdiv{31415926}{2} \quad \longdiv{81}{3} \quad \longdiv{1132}{99} \quad \longdiv{86491}{94} \bye \newcommand{\simplediv}[3]{\ensuremath{\begin{array}{@{}r@{}l@{}r@{}} #3\\ \cline{2-3} #2 \big) #1\\ \end{array}}}
Re: How to insert a file into a table?
On Mon, Aug 27, 2001 at 08:05:39AM +0200, Herbert Voss wrote: Rick Bilonick wrote: I used to be able to insert a text file into a table. But I can't do it user 1.1.6fix1. I used to just insert the cursor in the upper left most cell and do a file insert (as lines). When I try this, the text ends up outside the table. Worse, there are large blank spaces between the lines of text. I would like to put the data in a table or at least remove the blank lines from the text. Any ideas on how to do this? give the cell first a fix columnwidth. No, this will not work (the text will be added outside the table). To do what you want, you need to open the text file in a text editor, mark the text, and then goto lyx, insert an empty table, and select paste from external selection-as lines from the menu.
Re: Date format location
On Sun, Aug 26, 2001 at 11:13:33AM -0700, Bruce Wolk wrote: How does one change the location and format of the date in the letter document class. It mysteriously appears as 26th August 2001 two lines below the return address. I would like to move it and have it read August 26, 2001. I can find no reference to this in any of the documentation. I looked in the letter.lyx, letter.layout, and the various .inc files and could find no place that references the date. I assume it somehow arrives via the LaTeX document class, but I have no idea how to modify that. Change the language of the document to american. Another possibility, is to put \Date{the date} in latex mode at the top of the document (Why isn't there a date layout in the letter class ???)
Re: Importing images in latex (jpg, wmf, ...)
On Thu, Aug 30, 2001 at 05:44:03PM +, Marco Allione wrote: I have a problem! I am a new latex utilizer and I've found some problems in inserting figures in my latex document. How can I made to imsert a wmf image in my document? Can I have some help in such a problem please? Does anybody can tell me where I could find some complete guide on the use of graphic files of extension .wmf, .bmp or .jpg in the Net? Tank you for your help. Hello. Marco. For bitmap image (bmp, png, gif etc) use convert file.gif eps2:file.eps For wmf, use wmftoeps file.wmf file.eps The wmftoeps program is from libwmf (http://www.wvware.com)
On Thu, Aug 30, 2001 at 02:39:57PM +0200, Adolfo Pachn wrote:
Hi all!! I have used the url html packages in the LaTeX Preamble in Lyx. I write in the Lyx text something like this see the homepage in \url{http://www.homepage.com} ... and it works ok in DVI output, but in the PDFlatex output from Lyx-Export-PDF(pdflatex) it writes this see the home page in http://www.homepage.comhttp://www.homepage.com How can I resolv this error? I can't see this problem here. Please send an example file. (perhaps the problem is the html package.)
e: How to get bullets (and other things) into the newlfm letter layout
On Thu, Aug 30, 2001 at 04:22:52PM +0100, Pete Phillips wrote: As mentioned to this list before, I have created a layout and template file for the newlfm latex package. I find the newlfm package superb for creating your own bespoke letter layout with logo, address information etc already canned in the letrinfo.tex configfuration file. However, I would like to be able to insert bullet lists etc into the letter. What do I need to add to the layout file for this to work ? Add the following line to the layout file: Input stdlists.inc
Re: What about numbering in the figures/tables?
On Thu, Aug 30, 2001 at 06:26:53PM +0200, Jean-Pierre.Chretien wrote: I've an Lyx document whith images and tables, into a floats. The DVI output puts figure 1., but the latex2html output writes Figure. Why? It's a problem of my .latex2html-init configuration? If no .aux file exists, I think that no numbering is set even if you asked for it in the init file or on the command line. In the same line, section numbering does not work in lines with diacritics (but this one may be solved in recent versions). Lyx 1.1.6 should automatically run latex in order to create an aux file. PS: A general note for people who want to do html export, is to try several latex-html converters (latex2html, tth) and pick the one that works best for them.
Re: References to chapters???
On Thu, Aug 30, 2001 at 12:43:37PM -0400, Steve Litt wrote: I'd like to refer to chapters like this: This is discussed further in chapter 12, Creating the Web Page, on page 145. The only way I could find to do this involved inserting a label, and there was no way to get the chapter name. You'd think this would be possible due to the fact that this was a chapter. What am I missing? It is not possible with normal latex. However you can do this using either the nameref package or the titleref package.
Re: PDF forms with LaTeX
On Thu, Aug 30, 2001 at 11:34:05PM +0200, Adolfo Pachn wrote: Hi all!! I know this is for LyX, but if you could help me ... I'm trying to create an PDF form from LaTeX. The compiler process say to me this: ... Sorry, HyperTeX does not support FORMs Sorry, HyperTeX does not support FORM text fields ... ¿Any idea? Use pdflatex (and add the pdftex option to hyperref).
Re: Binding font-code as a toggle
On Thu, Aug 30, 2001 at 07:38:53PM -0400, Steve Litt wrote: Hi everyone, The font-code LyX function is a toggle. I added it to the menu and the toolbar in ~/ui/default.ui, which is a clone of /usr/share/lyx/ui/default.ui: In the toolbar: Icon font-code In the layout menu: Item Code Style|S font-code It works perfectly in both places except for one thing -- LyX doesn't recognize it as a toggle. The button (which is a question mark) doesn't stay pushed in, and the menu item doesn't have a pushbutton to its left. What makes this strange is that these items are an almost exact direct copy of the emphasis style. How does LyX decides one's a toggle and not the other. There's no clue in cua.bind or menus.bind. The difference is in the lyx source code (in lyxfunc.C), namely you need to edit the source in order to enable toggling of the button.
Re: .eps figures kill all further formfeeds
Has anyone else had this problem? My HP LaserJet 4050 seems to have a problem with my LyX created postscript files that have .eps images in them. Upon encountering its first .eps image, the printer forgets to formfeed for the rest of the file. As a result, than This is a problem with your printer. Does you printer supports level 2 postscript ? (for example, run 'convert foo.gif eps2:foo.eps' on some image file, and then try to print foo.eps) I haven't tried to print through gs instead of using the printer's postscript interpreter because I don't know how to do it through gs. This will probably solve your problem. Which spooler system you use?
Re: decorations...
how can i make an arrow with two top? i have to insert it ON a character... it is the tensor symbol... thanks... If you need an arrow over a _single_ character, use \stackrel space \Rightarrow down X where X is the character. You can define a math macro for faster typing. If you need the arrow over several chars, then use the attached fill.sty package (put \usepackage{fill} in the preamble), and use \overbrack{xy} in the formula (you only need to write \overbrack{xy as lyx automatically adds the closing } ) PS: Don't mix the two methods! \ifx\@fill@loaded\undefined % pb avec dia.sty % == % FLECHES = % == \newbox\@strutbox@ \setbox\@strutbox@\hbox{\vrule height8pt depth3pt width0pt} \def\strut@{\copy\@strutbox@} \def\overrightarrow{\mathpalette\overrightarrow@} \def\overrightarrow@#1#2{\vbox{\ialign{$##$\cr #1{-}\mkern-6mu\cleaders\hbox{$#1\mkern-2mu{-}\mkern-2mu$}\hfill \mkern-6mu{\to}\cr\noalign{\kern-.2326ex\nointerlineskip}\hfil#1#2\hfil\cr}}} \let\overarrow\overrightarrow \def\overleftarrow{\mathpalette\overleftarrow@} \def\overleftarrow@#1#2{\vbox{\ialign{$##$\cr #1{\leftarrow}\mkern-6mu\cleaders\hbox{$#1\mkern-2mu{-}\mkern-2mu$}\hfill \mkern-6mu{-}\cr\noalign{\kern-.2326ex\nointerlineskip}\hfil#1#2\hfil\cr}}} \def\overleftrightarrow{\mathpalette\overleftrightarrow@} \def\overleftrightarrow@#1#2{\vbox{\ialign{$##$\cr #1{\leftarrow}\mkern-6mu\cleaders\hbox{$#1\mkern-2mu{-}\mkern-2mu$}\hfill \mkern-6mu{\to}\cr\noalign{\kern-.2326ex\nointerlineskip}\hfil#1#2\hfil\cr}}} \def\underrightarrow{\mathpalette\underrightarrow@} \def\underrightarrow@#1#2{\vtop{\ialign{$##$\cr \hfil#1#2\hfil\cr\noalign{\nointerlineskip}% #1{-}\mkern-6mu\cleaders\hbox{$#1\mkern-2mu{-}\mkern-2mu$}\hfill \mkern-6mu{\to}\cr}}} \let\underarrow\underrightarrow \def\underleftarrow{\mathpalette\underleftarrow@} \def\underleftarrow@#1#2{\vtop{\ialign{$##$\cr \hfil#1#2\hfil\cr\noalign{\nointerlineskip}#1{\leftarrow}\mkern-6mu \cleaders\hbox{$#1\mkern-2mu{-}\mkern-2mu$}\hfill \mkern-6mu{-}\cr}}} \def\underleftrightarrow{\mathpalette\underleftrightarrow@} \def\underleftrightarrow@#1#2{\vtop{\ialign{$##$\cr \hfil#1#2\hfil\cr\noalign{\nointerlineskip}#1{\leftarrow}\mkern-6mu \cleaders\hbox{$#1\mkern-2mu{-}\mkern-2mu$}\hfill \mkern-6mu{\to}\cr}}} \def\Overrightarrow{\mathpalette\Overrightarrow@} \def\Overrightarrow@#1#2{\vbox{\ialign{$##$\cr #1{=}\mkern-6mu\cleaders\hbox{$#1\mkern-2mu{=}\mkern-2mu$}\hfill \mkern-6mu{\Rightarrow}\cr\noalign{\kern-.2326ex\nointerlineskip}\hfil\strut@#1#2\hfil\cr}}} \let\Overarrow\Overrightarrow \def\Overleftarrow{\mathpalette\Overleftarrow@} \def\Overleftarrow@#1#2{\vbox{\ialign{$##$\cr #1{\Leftarrow}\mkern-6mu\cleaders\hbox{$#1\mkern-2mu{=}\mkern-2mu$}\hfill \mkern-6mu{=}\cr\noalign{\kern-.2326ex\nointerlineskip}\hfil\strut@#1#2\hfil\cr}}} \def\Overleftrightarrow{\mathpalette\Overleftrightarrow@} \def\Overleftrightarrow@#1#2{\vbox{\ialign{$##$\cr #1{\Leftarrow}\mkern-6mu\cleaders\hbox{$#1\mkern-2mu{=}\mkern-2mu$}\hfill \mkern-6mu{\Rightarrow}\cr\noalign{\kern-.2326ex\nointerlineskip}\hfil\strut@#1#2\hfil\cr}}} \def\Underrightarrow{\mathpalette\Underrightarrow@} \def\Underrightarrow@#1#2{\vtop{\ialign{$##$\cr \hfil\strut@#1#2\hfil\cr\noalign{\nointerlineskip}% #1{=}\mkern-6mu\cleaders\hbox{$#1\mkern-2mu{=}\mkern-2mu$}\hfill \mkern-6mu{\Rightarrow}\cr}}} \let\Underarrow\Underrightarrow \def\Underleftarrow{\mathpalette\Underleftarrow@} \def\Underleftarrow@#1#2{\vtop{\ialign{$##$\cr \hfil\strut@#1#2\hfil\cr\noalign{\nointerlineskip}#1{\Leftarrow}\mkern-6mu \cleaders\hbox{$#1\mkern-2mu{=}\mkern-2mu$}\hfill \mkern-6mu{=}\cr}}} \def\Underleftrightarrow{\mathpalette\Underleftrightarrow@} \def\Underleftrightarrow@#1#2{\vtop{\ialign{$##$\cr \hfil\strut@#1#2\hfil\cr\noalign{\nointerlineskip}#1{\Leftarrow}\mkern-6mu \cleaders\hbox{$#1\mkern-2mu{=}\mkern-2mu$}\hfill \mkern-6mu{\Rightarrow}\cr}}} \let\@@overline\overline \def\Overline#1{\relax\ifmmode \@@overline{\@@overline{#1}}\else $\@@overline{\@@overline{\hbox{#1}}}$\relax\fi} \def\Underline#1{\relax\ifmmode \@@underline{\@@underline{#1}}\else $\@@underline{\@@underline{\hbox{#1}}}$\relax\fi} \def\Rightarrowfill{$\m@th\mathord=\mkern-6mu% \cleaders\hbox{$\mkern-2mu\mathord=\mkern-2mu$}\hfill \mkern-6mu\mathord\Rightarrow$} \def\Leftarrowfill{$\m@th\mathord\Leftarrow\mkern-6mu% \cleaders\hbox{$\mkern-2mu\mathord=\mkern-2mu$}\hfill \mkern-6mu\mathord=$} \def\leftrightarrowfill{$\m@th\mathord\leftarrow\mkern-6mu% \cleaders\hbox{$\mkern-2mu\mathord-\mkern-2mu$}\hfill \mkern-6mu\mathord\rightarrow$} \def\Leftrightarrowfill{$\m@th\mathord\Leftarrow\mkern-6mu% \cleaders\hbox{$\mkern-2mu\mathord=\mkern-2mu$}\hfill \mkern-6mu\mathord\Rightarrow$} \def\eqfill{$\m@th\mathord=\mkern-6mu%
Re: How to get bullets (and other things) into the newlfm letter layout.
On Thu, Aug 30, 2001 at 04:22:52PM +0100, Pete Phillips wrote: As mentioned to this list before, I have created a layout and template file for the newlfm latex package. I find the newlfm package superb for creating your own bespoke letter layout with logo, address information etc already canned in the letrinfo.tex configfuration file. However, I would like to be able to insert bullet lists etc into the letter. What do I need to add to the layout file for this to work ? Add the following line to the layout file: Input stdlists.inc
Re: What about numbering in the figures/tables?
On Thu, Aug 30, 2001 at 06:26:53PM +0200, Jean-Pierre.Chretien wrote: I've an Lyx document whith images and tables, into a floats. The DVI output puts figure 1., but the latex2html output writes Figure. Why? It's a problem of my .latex2html-init configuration? If no .aux file exists, I think that no numbering is set even if you asked for it in the init file or on the command line. In the same line, section numbering does not work in lines with diacritics (but this one may be solved in recent versions). Lyx 1.1.6 should automatically run latex in order to create an aux file. PS: A general note for people who want to do html export, is to try several latex-html converters (latex2html, tth) and pick the one that works best for them.
Re: References to chapters???
On Thu, Aug 30, 2001 at 12:43:37PM -0400, Steve Litt wrote: I'd like to refer to chapters like this: This is discussed further in chapter 12, Creating the Web Page, on page 145. The only way I could find to do this involved inserting a label, and there was no way to get the chapter name. You'd think this would be possible due to the fact that this was a chapter. What am I missing? It is not possible with normal latex. However you can do this using either the nameref package or the titleref package.
Re: Importing images in latex (jpg, wmf, ...)
On Thu, Aug 30, 2001 at 05:44:03PM +, Marco Allione wrote: I have a problem! I am a new latex utilizer and I've found some problems in inserting figures in my latex document. How can I made to imsert a wmf image in my document? Can I have some help in such a problem please? Does anybody can tell me where I could find some complete guide on the use of graphic files of extension .wmf, .bmp or .jpg in the Net? Tank you for your help. Hello. Marco. For bitmap image (bmp, png, gif etc) use convert file.gif eps2:file.eps For wmf, use wmftoeps file.wmf file.eps The wmftoeps program is from libwmf (http://www.wvware.com)
Re: Binding font-code as a toggle
On Thu, Aug 30, 2001 at 07:38:53PM -0400, Steve Litt wrote: Hi everyone, The font-code LyX function is a toggle. I added it to the menu and the toolbar in ~/ui/default.ui, which is a clone of /usr/share/lyx/ui/default.ui: In the toolbar: Icon font-code In the layout menu: Item Code Style|S font-code It works perfectly in both places except for one thing -- LyX doesn't recognize it as a toggle. The button (which is a question mark) doesn't stay pushed in, and the menu item doesn't have a pushbutton to its left. What makes this strange is that these items are an almost exact direct copy of the emphasis style. How does LyX decides one's a toggle and not the other. There's no clue in cua.bind or menus.bind. The difference is in the lyx source code (in lyxfunc.C), namely you need to edit the source in order to enable toggling of the button.
Re: Check out my Warning environment
On Wed, Aug 29, 2001 at 12:20:29PM -0400, Steve Litt wrote: The only bad part is it's ragged right in the finished product -- but that's not that terrible either. Use {\centering WARNING\\[0.5cm]} and remove the \flushleft. Also, before the \hrulefill you need to put \par and not \\
Re: PDF forms with LaTeX
On Thu, Aug 30, 2001 at 11:34:05PM +0200, Adolfo Pachón wrote: Hi all!! I know this is for LyX, but if you could help me ... I'm trying to create an PDF form from LaTeX. The compiler process say to me this: ... Sorry, HyperTeX does not support FORMs Sorry, HyperTeX does not support FORM text fields ... ¿Any idea? Use pdflatex (and add the pdftex option to hyperref).
Re: About the \url{} in exported PDFs
On Thu, Aug 30, 2001 at 02:39:57PM +0200, Adolfo Pachón wrote: Hi all!! I have used the url html packages in the LaTeX Preamble in Lyx. I write in the Lyx text something like this see the homepage in \url{http://www.homepage.com} ... and it works ok in DVI output, but in the PDFlatex output from Lyx-Export-PDF(pdflatex) it writes this see the home page in http://www.homepage.comhttp://www.homepage.com How can I resolv this error? I can't see this problem here. Please send an example file. (perhaps the problem is the html package.)
Re: help_postscriptview
On Sun, Sep 02, 2001 at 07:44:27PM -0400, Karshi Hasanov wrote: When I use lyx --export latex some_file.lyx, and then latex some_file.tex, then dvips -f some_file.dvi , then ps2pdf some_file.ps works. But I do export to PDF from inside LyX it does not work. It will hang for long time. (also postscriptview doesn't work). As a matter of fact, if I take all pictures from my file , and do export to PDF then it works. Is this problem with LyX? Since I don't have this problem with KLyX. The config files of klyx might be interfering with the config files of lyx. Remove the ~/.lyx directory, and then run lyx. If this doesn't work, then send the lyxrc.defaults file here.
Re: two pages on one
On Mon, Sep 03, 2001 at 08:12:27PM +0200, Herbert Voss wrote: How do I do this? export all 40 pages without header/footer to ps. I suppose that ps2ps allows to save this as 40 single ps-files. than make a new doc with a 2x1 table. insert in every cell a ps-page as a figure so that you can resize it and activate table-option rotate 90°. Why not use lscape+multicol packages ? \usepackage{lscape,multicol} in the preamble, and then \begin{landscape} \begin{multicols}{2} ... \end{multicols} \end{landscape} BTW: Perhaps having two column without rotating the pages is a better option. For this, you only need to put \twocolumn before the text.
Re: lyx doesn't update view-ps when included figure changed on disk.
On Mon, Sep 03, 2001 at 08:32:45PM -0400, Zailong Bian wrote: Hi. This seems to be a small problem. Lyx doesn't update the postscript correctly when the figures have been changed but the lyx file is not. In this case, I have to change the file before update postscript. Is it possible to make lyx behave like make so it automatically update the postscript with the file dependencies? It already does that. Upgrading to 1.1.6fix3 should solve your problem. (If you already using 1.1.6fix3, then you need to upgrade your compiler, assuming you compiled lyx yourself).
Re: Bizarre symptom -- no updated Postscript view
On Tue, Sep 04, 2001 at 05:57:35PM -0400, Steve Litt wrote: Hi all, This is really bizarre. My View-Postscript, View-Update-Postscript, View-PDF, View-Update-PDF, View-DVI, and View-Update-DVI all show the file as it was when I started LyX. To get an accurate view I must quit LyX and then restart. I'm almost positive LyX used to update on the fly. I'm using 1.1.6fix1 and have not changed it. Upgrade to 1.1.6fix3.
Re: bug after compilation
On Sat, Sep 08, 2001 at 04:57:13PM +0200, Zarathustra wrote: Hallo, I've compiled LyX_1.1.6_fix-3.src.rpm (with the '--rebuild' command). When I run LyX, it crashes with a segmentation error (Sigsegv) With lyx dbg, I get following relevant messages: kbmap.c: No such keysym: dead-tie parse error in position 17 in keysequence '~c-~s-~m-dead-tie' After: Create tmpdir: mask='lyx-tmp-dir it crashes. I run a RedHat 7.1 with xforms-0.88-3 First, I built lyx with xforms-0.88-9, but because of the segfault I tried the same with 0.88-3. It is possible that you have a wrong version of XForms which is compiled for glibc 2.0, while your system is glibc = 2.1.
Re: Can I name a font?
On Sat, Sep 08, 2001 at 05:54:31PM -0400, Steve Litt wrote: I'd like to create my own custom font (in LyX, not just in Latex). According to Customization.lyx, Is there a name property to give it a name so I can bind it to a menu? Is there a latex property so I can associate it with a latex font? What I'm trying to do is create a custom character style (NOT an Environment) called step that I use for steps in the Universal Troubleshooting Process. There are hundreds of occurrences of these, so I don't want to use font-underline or something like that. Nor do I want to stop every time and go into tex mode. What I'd like to do is highlight the phrase, and Layout-StepStyle, and have the right thing happen in LyX and in the Postscript output. There are several other character styles I need to do, but once I have one I can do the rest myself. No. This is one of the main missing features of LyX, but there are plans to add it soon. In the meantime, you can use the following hack: Use colors for character styles, and put \usepackage{mystyles} in the preamble (you can put it in the layout file), where mystyles.sty is something like \usepackage{ifthen} \renewcommand{\textcolor}[2]{% \ifthenelse{\equal{#1}{red}}{\textit{#2}}{}% \ifthenelse{\equal{#1}{green}}{\textbf{#2}}{}% } (the % at the end of the lines is important)
Re: no wrap using LyxCode?
On Mon, Sep 10, 2001 at 03:10:14PM +0200, Giovanni Tummarello wrote: same thing happens to 1 long url i have pasted somewhere (not lyxcode) URLs should be inserted using Insert-URL.
Re: HFill with leading periods?
On Tue, Sep 11, 2001 at 12:20:43AM +0200, Niklaus Giger wrote: I have found in my A guide to LaTeX the TeX-function \dotfill which does the job for me. Is there a LyX-way to use this feature (except the trivial solution to insert it using the TeX-style)? (I fear that the LaTeX-solution is not very appealing to newbie's). No.
Re: Only one LyX source document for all exports
On Mon, Sep 10, 2001 at 11:47:00PM +0200, Adolfo Pachón wrote: Hi all!! I've one LyX document with figure floats PS figures. I want to produce the HTML PDF versions, but the PDF version do not produce the images. My question is: How can I export the same source LyX document to HTML (with LaTeX2HTML) and to PDF (with pdflatex) with quality? Why do you need to use pdflatex ? You can generate the PDF using ps2pdf. If you really want to use pdflatex, then convert all EPS files to PDF using epstopdf, and when you insert an EPS file to the lyx document, enter its name without its suffix, namely for foo.eps, write foo in the dialog.
Re: Can I name a font?
On Mon, Sep 10, 2001 at 04:52:47PM -0400, Steve Litt wrote: By the way, if \textsf is sans, and \textbf is bold, anyone know how to make underline? \underline{text}. However, underlined text won't break at line end. For a breakable underline text, use the \ul command from soul.sty.
Re: Hello, and my first problem.
On Mon, Sep 10, 2001 at 06:07:16PM -0400, Ben Logan wrote: The other problems occur in section 4.1 Arithmatic Operators. The snippet of PHP code in the code paragraph environment wraps in the output even thought the lines aren't too long, and don't wrap within LyX. Some of the shorter lines wrap while longer ones don't! The last problem occurs in the next-to-last paragraph. There is a mysterious line break between 10%3 and is 1 in the output even though LyX doesn't show one. Both of these problems are due to a bug in lyx. I've attached a patch (for 1.1.6fix3) that fixes it (you will need to compile lyx yourself). Index: ChangeLog === RCS file: /usr/local/lyx/cvsroot/lyx-devel/ChangeLog,v retrieving revision 1.757.2.110 diff -u -p -r1.757.2.110 ChangeLog --- ChangeLog 2001/09/06 14:16:02 1.757.2.110 +++ ChangeLog 2001/09/11 09:29:52 @@ -1,3 +1,8 @@ +2001-09-11 Dekel Tsur [EMAIL PROTECTED] + + * src/buffer.C (SimpleLinuxDocOnePar): Remove extra character + after an inset. + 2001-09-06 Jean-Marc Lasgouttes [EMAIL PROTECTED] * lib/examples/da_splash.lyx: new translation from Claus Hindsgaul Index: src/buffer.C === RCS file: /usr/local/lyx/cvsroot/lyx-devel/src/buffer.C,v retrieving revision 1.162.2.9 diff -u -p -r1.162.2.9 buffer.C --- src/buffer.C2001/07/18 13:31:20 1.162.2.9 +++ src/buffer.C2001/09/11 09:29:54 @@ -2802,9 +2802,7 @@ void Buffer::SimpleLinuxDocOnePar(ostrea if (c == LyXParagraph::META_INSET) { inset = par-GetInset(i); inset-Linuxdoc(this, os); - } - - if (font2.latex() == LyXFont::ON) { + } else if (font2.latex() == LyXFont::ON) { // TeX-Mode on == SGML-Mode on. if (c != '\0') os c; // see LaTeX-Generation...
Re: Hello, and my first problem.
On Tue, Sep 11, 2001 at 12:36:46PM +0300, Dekel Tsur wrote: On Mon, Sep 10, 2001 at 06:07:16PM -0400, Ben Logan wrote: The other problems occur in section 4.1 Arithmatic Operators. The snippet of PHP code in the code paragraph environment wraps in the output even thought the lines aren't too long, and don't wrap within LyX. Some of the shorter lines wrap while longer ones don't! The last problem occurs in the next-to-last paragraph. There is a mysterious line break between 10%3 and is 1 in the output even though LyX doesn't show one. Both of these problems are due to a bug in lyx. I've attached a patch (for 1.1.6fix3) that fixes it (you will need to compile lyx yourself). I've noticed that you use a table in your document. However, Linuxdoc doesn't support tables. If you need tables, use Docbook. (also the bug I mentioned above does not occur with Docbook, so you won't need to compile lyx yourself).
Re: caption in longtables
On Tue, Sep 11, 2001 at 04:32:22PM +0200, Herbert Voss wrote: [EMAIL PROTECTED] wrote: In my document I have a table which is longer than one page, so I can´t use a float-environment. If I use a longtable-environment instead of a float, how can I place a caption in lyx? In Latex you simlpy add \caption{blabla}. http://www.educat.hu-berlin.de/~voss/lyx/floats/nonFloat.html#table Peter wanted to use the caption command which is defined by longtable. This can be done by puting \newcommand{\rem}[1]{} in the preamble, and in the table you put in the first cell of the first row \caption{The caption}\rem{ (in latex mode) and in the last cell put } (in latex mode). See example file. #LyX 1.2 created this file. For more info see http://www.lyx.org/ \lyxformat 218 \textclass article \begin_preamble \newcommand{\rem}[1]{} \end_preamble \language english \inputencoding default \fontscheme default \graphics default \paperfontsize default \spacing single \papersize Default \paperpackage a4 \use_geometry 0 \use_amsmath 0 \paperorientation portrait \secnumdepth 3 \tocdepth 3 \paragraph_separation indent \defskip medskip \quotes_language english \quotes_times 2 \papercolumns 1 \papersides 1 \paperpagestyle default \layout Standard \begin_inset Tabular lyxtabular version=2 rows=3 columns=5 features rotate=false islongtable=true endhead=0 endfirsthead=1 endfoot=0 endlastfoot=0 column alignment=center valignment=top leftline=true rightline=false width= special= column alignment=center valignment=top leftline=true rightline=false width= special= column alignment=center valignment=top leftline=true rightline=false width= special= column alignment=center valignment=top leftline=true rightline=false width= special= column alignment=center valignment=top leftline=true rightline=true width= special= row topline=false bottomline=false newpage=false cell multicolumn=0 alignment=center valignment=top topline=true bottomline=false leftline=true rightline=false rotate=false usebox=none width= special= \begin_inset Text \layout Standard \latex latex \backslash caption{The caption} \backslash rem{ \end_inset /cell cell multicolumn=0 alignment=center valignment=top topline=true bottomline=false leftline=true rightline=false rotate=false usebox=none width= special= \begin_inset Text \layout Standard \end_inset /cell cell multicolumn=0 alignment=center valignment=top topline=true bottomline=false leftline=true rightline=false rotate=false usebox=none width= special= \begin_inset Text \layout Standard \end_inset /cell cell multicolumn=0 alignment=center valignment=top topline=true bottomline=false leftline=true rightline=false rotate=false usebox=none width= special= \begin_inset Text \layout Standard \end_inset /cell cell multicolumn=0 alignment=center valignment=top topline=true bottomline=false leftline=true rightline=true rotate=false usebox=none width= special= \begin_inset Text \layout Standard \latex latex } \end_inset /cell /row row topline=true bottomline=false newpage=false cell multicolumn=0 alignment=center valignment=top topline=true bottomline=false leftline=true rightline=false rotate=false usebox=none width= special= \begin_inset Text \layout Standard 1 \end_inset /cell cell multicolumn=0 alignment=center valignment=top topline=true bottomline=false leftline=true rightline=false rotate=false usebox=none width= special= \begin_inset Text \layout Standard 2 \end_inset /cell cell multicolumn=0 alignment=center valignment=top topline=true bottomline=false leftline=true rightline=false rotate=false usebox=none width= special= \begin_inset Text \layout Standard 3 \end_inset /cell cell multicolumn=0 alignment=center valignment=top topline=true bottomline=false leftline=true rightline=false rotate=false usebox=none width= special= \begin_inset Text \layout Standard 4 \end_inset /cell cell multicolumn=0 alignment=center valignment=top topline=true bottomline=false leftline=true rightline=true rotate=false usebox=none width= special= \begin_inset Text \layout Standard 5 \end_inset /cell /row row topline=true bottomline=true newpage=false cell multicolumn=0 alignment=center valignment=top topline=true bottomline=false leftline=true rightline=false rotate=false usebox=none width= special= \begin_inset Text \layout Standard \end_inset /cell cell multicolumn=0 alignment=center valignment=top topline=true bottomline=false leftline=true rightline=false rotate=false usebox=none width= special= \begin_inset Text \layout Standard \end_inset /cell cell multicolumn=0 alignment=center valignment=top topline=true bottomline=false leftline=true rightline=false rotate=false usebox=none width= special= \begin_inset Text \layout Standard \end_inset /cell cell multicolumn=0 alignment=center valignment=top topline=true bottomline=false leftline=true rightline=false rotate=false usebox=none width= special= \begin_inset Text \layout Standard
Re: overheads
On Tue, Sep 11, 2001 at 08:19:47PM +0200, morten wrote: thanks herbert I had the feeling you would sent me that link. That was how I found prosper in the first place. I have followed the links and found dekel's homepage. He had done what I would like to do. that why I tried prosper. I have placed prosper.cls with all the other .cls files and having rehashed and reconfigured lyx still don't find it. Am I to conlude that the problem lies in the prosper.cls file? mo Can latex find prosper ? (try doing kpsewhich prosper.cls). Did you put prosper.layout in ~/.lyx/layouts ? If you already put it there, then edit prosper.layout and change the line # \DeclareLaTeXClass[prosper2]{slides (prosper)} to # \DeclareLaTeXClass[prosper]{slides (prosper)} and then do edit-reconfigure again.
Re: displaystyle applied to fractions in a matrix
On Thu, Sep 13, 2001 at 11:12:16AM +0100, Michael Koundouros wrote: I want the fractions within my matrix to have displaystyle. I am using the following command in my preamble: \newcommand{\bigmath}[1]{\displaystyle{#1}} once in math-mode I create my matrix and use the command \bigmath{fraction} in each cell. viewing the ps file shows that fractions above one another are touching. How do you increase the vertical distance between cells?? \def\arraystretch{1.2} Or better yet is there an easier way of accomplishing the task of attributing the matrix components with displaystyle ??? Put {\everymath{\displaystyle\everymath{}}\def\arraystretch{1.2} before the matrix, and } after it. You can also redefine the array environment, if all your matrices need to use displaystyle.
Re: [tapia@cae.wisc.edu] Feedback from www.lyx.org
On Thu, Sep 13, 2001 at 12:23:05PM +0300, Tuukka Toivonen wrote: I have eps files but their margin are too big You could use ps2eps program. As far as I understand, that computes the bounding box of a postscript file by actually rasterizing it and checking where the image ends. You could convert your EPS file to postscript, for example by inserting it into a LyX document and exporting it as postscript, or maybe ps2eps can handle directly also EPS files. This isn't specifically easy solution though (needs some work at the command line level), so read first if others give you easier tricks. http://www.ee.oulu.fi/~tuukkat/tmp/ps2eps.tar.gz You can also try ps2epsi that comes with ghostscript.
Re: flexible color change
On Wed, Sep 12, 2001 at 11:24:49AM -0300, Ralph Boland wrote: I want to create two versions of my slides. I want to create a fake color, say pink, that is not a foiltex color. In one version of my slides the pink text is white. (the slide version) In the other version the pink text is another color (say green). (the paper version). This would allow me to print out a paper version of my slides containing information that I can see but is not on the slides without having to maintain two documents. I want to define a macro or something like that so that by modifying the macro I can set whether or not the pink text is green or white. \let\oldtextcolor=\textcolor \usepackage{ifthen} \renewcommand{\textcolor}[2]{% \ifthenelse{\equal{#1}{pink}}{\oldtextcolor{green}{#2}}% {\oldrextcolor{#1}{#2}}} Note: I have tried using prosper but have had numberous problems. Is there documenation on proper installation of prosper; what software and versions of software are needed etc? 1. Install prosper. Untar it in /usr/share/texmf/tex/latex/prosper or something like that. 2. run texhash 3. Get http://www.math.tau.ac.il/~dekelts/slides/cluster.tar.gz 4. Copy *.inc *.layout from cluster.tar.gz to ~/.lyx/layouts 5. Run lyx and Edit -- Reconfigure 6. run lyx cluster.lyx and do File-View-PDF
Re: [tapia@cae.wisc.edu] Feedback from www.lyx.org
On Thu, Sep 13, 2001 at 05:54:49PM +0200, I Wayan Warmada wrote: On Thu, 13 Sep 2001, Tuukka Toivonen wrote: Use word2x, you should be able to find it from freshmeat.net. word2x is probably only for word 6. It was difficult for converting the documents after this version. Try to export document as ASCII/text the import with lyx... The problem is when you have a lot of figures (mostly graphics produced with OLE2). The best way is to make new one after importing text into lyx. wvware (http://www.wvware.com) should work with newer word files. If you use lyx 1.1.6, then after installing wvware, do edit-reconfigure in lyx, and then you can import Word files by doing file-import-word.
Re: Equation numbering
On Thu, Sep 13, 2001 at 11:45:26AM -0500, Juan Tapia wrote: Hi..is me again... When I numerate eqs I follow the procedure given in the 'user's guide'. However the result that I got is (1),(2),...and so on. How can I generate numeration like (2.1), (2.2) Put \numberwithin{equation}{section} in the preamble and enable AMS-math using the layout-document dialog (extra tab).
Re: dropped capitals
On Thu, Sep 13, 2001 at 09:22:56PM +0200, M. B. Schiekel wrote: according to Extended LyX Features documentation I installed the package dropping from CTAN and used it this way: \usepackage{ae,aecompl} %in preamble \usepackage{dropping} %in preamble \dropping{3}{D} %in text This works with latex, but gives the following errormsg with pdflatex: ! Undefined control sequence. \bigdrop ...vance \wantedheight by \ht 1\findsize {#3}{#4}\hangindent=\wd 0... l.109 \dropping{3}{D} Is there a way, to overcome this problem? Why do you want to use pdflatex instead of using latex ?
Re: Figure float resizing
On Fri, Sep 14, 2001 at 10:04:00AM +, Ivan Storgaard Vogelius wrote: Hi! I can see that in the figure box, but cant find something similar for figure float, that is: I get the figure in the right size, but the frame fills the whole page, and therefore the caption comes at the bottom of the page... Your figure doesn't have a bounding box. Use ps2epsi to fix it (or something similar).
Re: Full width tables
On Fri, Sep 14, 2001 at 07:01:13AM +0200, Herbert Voss wrote: Nicholas Piper wrote: I don't quite understand what you are suggesting I try. Should I add \usepackage{tabularx} \renewenvironment{tabular} in the preample, and that will allow me to use the X column type ? there are still some problems with redefining the tabular environment. therefore write it in real latex (ert) What problems ? Nicholas, please send me a (small) example file with table, and I will see if I can help you.
Re: Equation numbering
On Fri, Sep 14, 2001 at 01:02:58PM -0500, Juan Tapia wrote: what do you mean by preamble... Use the layout-latex preamble menu, enter the text \numberwithin{equation}{section} in the dialog, and press OK.
Re: Full width tables
On Fri, Sep 14, 2001 at 09:02:07PM +0200, Herbert Voss wrote: Dekel Tsur wrote: Nicholas Piper wrote: I don't quite understand what you are suggesting I try. Should I add \usepackage{tabularx} \renewenvironment{tabular} in the preample, and that will allow me to use the X column type ? there are still some problems with redefining the tabular environment. therefore write it in real latex (ert) What problems ? maybe that I'm blinded by the light, but nothing works ... look at attched file (cvs) I've checked the tabularx source, and it uses tabular internally. One can overcome this problem by editing the tabularx.sty file, adding the lines \let\oldtabular=\tabular \let\oldendtabular=\endtabular and replacing the instances of \tabular \endtabular by \oldtabular and \oldendtabular.
Re: Table float, Table and caption : is it a bug or a feature?
On Mon, Sep 17, 2001 at 10:20:03AM +0200, Yann MORERE wrote: The only solution I found, is to convert the caption style in a standard style for the table (and use a center the paragraph to get it center), pressing enter and put the caption style for this new line to get the caption. A simpler solution is pressing enter just after inserting the float, then change the paragraph to center, insert the table, and go back to the empty caption to write the caption.
Re: Flush left equations with NO left indent, et al.
On Mon, Sep 17, 2001 at 01:52:08PM +0200, Renaud MICHEL wrote: My book LaTeX par la pratique from O'Reilly tell me that there is a variable called \mathindent that tell how long is that indent. Just put at the begining of the document (in evil red text) or in the preamble \renewcommand{\mathindent}{0cm} This probably should be \setlength{\mathindent}{0cm}
Re: Flush left equations with NO left indent, et al.
On Mon, Sep 17, 2001 at 10:35:58AM +0200, [EMAIL PROTECTED] wrote: Another question. The paper should end up as a camera-ready paper written in Times-new-roman (I am using Times--is it appropriate? I think nobody will ever notice...) and a number of text elements sizes (such as those of the title and of the section and subsection texts) are different from one another and specified in points. Is there any way to say to a paragraph: you end up written in 12pt and you, instead, end up in 10pt? To change the font in sections to 12pt, put the following lines in the preamble: \usepackage{sectsty} \sectionfont{\normalfont\bfseries\fontsize{12}{12}\selectfont}
Re: Is there a searchable archive of lyx-users@lists.lyx.org?
On Tue, Sep 18, 2001 at 05:15:09PM +0200, Jean-Marc Lasgouttes wrote: Steve == Steve Litt [EMAIL PROTECTED] writes: Steve Is there a searchable archive of [EMAIL PROTECTED]? Can Steve you imagine what a valuable resource that would be? Since Steve subscribing a month ago I've seen almost every conceivable Steve problem solved, but searching the 800+ messages per month would Steve be difficult. A searchable archive would be a killer resource. Some thing like http://www.mail-archive.com/lyx-users@lists.lyx.org/ ? Or Jose's tips at http://www.lyx.org/news/20010425.php3 ? Another good resources are - Herbert's webpage: http://www.educat.hu-berlin.de/~voss/lyx/ - comp.text.tex: http://groups.google.com/groups?hl=engroup=comp.text.tex
Re: lyx 1.1.6fix3
On Wed, Sep 19, 2001 at 05:06:09PM +0200, Abdelkader Lahmadi wrote: hi , why there'nt an export function on lyx 1.1.6fix3 ? If you were using lyx 1.1.6 before, you need to do edit-reconfigure.
Re: Are there NO options?
On Tue, Sep 18, 2001 at 05:59:03AM -0600, Praedor Tempus wrote: I had hoped that someone would be able to suggest an app that, perhaps, I am unaware of that does the graphics and text work properly and consistently...or that someone would know a trick other than Well, in this Try TGIF - http://bourbon.cs.umd.edu:8001/tgif/ However, it is probably much better to do what you want in LyX. For example, you can use the Lyx-Code environment. See the attached example.lyx. Note that I don't understand why you need to have a fixed-width font. You can get the wanted alignment using a tabular. See example2.lyx #LyX 1.2 created this file. For more info see http://www.lyx.org/ \lyxformat 218 \textclass article \begin_preamble \newlength{\foo}\settowidth{\foo}{\texttt{A}} \newcommand{\myrule}[1]{% \vspace{-1ex} \rule{#1\foo}{0.3pt} \vspace{-1ex}} \newcommand{\arrow}{~\makebox[0pt]{$\rightarrow$}~} \newcommand{\dum}{} \end_preamble \language english \inputencoding auto \fontscheme default \graphics default \paperfontsize default \spacing single \papersize Default \paperpackage a4 \use_geometry 0 \use_amsmath 0 \paperorientation portrait \secnumdepth 3 \tocdepth 3 \paragraph_separation indent \defskip medskip \quotes_language english \quotes_times 2 \papercolumns 1 \papersides 1 \paperpagestyle empty \layout LyX-Code The headings \layout LyX-Code \latex latex \backslash myrule{43} \layout LyX-Code H17* R, C \latex latex \backslash arrow{} \latex default T + \layout LyX-Code H17 R U5 du \latex latex \backslash dum{} \latex default plication+ \layout LyX-Code H168partial U5 du \latex latex \backslash dum{} \latex default plication+ \layout LyX-Code H40 tRNA cellular \latex latex \backslash dum{} \latex default sequence insertion + \layout LyX-Code H72 U3, GAG \latex latex \backslash arrow{} \latex default ACC + \layout LyX-Code H115 R, C \latex latex \backslash arrow{} \latex default T + \layout LyX-Code \the_end example2.lyx.gz
Re: Figure_floats export error
On Fri, Sep 21, 2001 at 04:47:01PM +0200, Bronek Baraniecki wrote: The problem is when to open in Lyx the main-master document (preamble is the same as one you checked) and calling dvi-view. In this case only the first image can be viewed, the one which is icluded in Part-env. of the main-master document. All the rest stuff in chapters-subdocs could not be viewed because Latex complaints: File '.../skan/image1.eps' not found ...\includegraphics{../skan/image1.eps} \par} I could not locate the file with any of these extentions: .eps, .ps, .eps.gz, .ps.gz, .eps.Z Try typing... My question: Why Latex do not complains when displaying the same images when I am in chapter-subdocument Lyx window? The path to them does not changed. How it is possible, what does that means? It is out off my understanding. Maybe the master document is not in the same directory of the included documents. In that caae, move the master document to the same directory of the included document. PS: There is no need to work with .ps.gz files. You can convert image files to level 2 Postscript files (using convert file.png eps2:file.eps) which uses LZW(?) compression. The only problem is with old Postscript printers that don't support level 2.
Re: image ends on top of other text!
On Sat, Sep 22, 2001 at 04:48:34PM +0200, Giovanni Tummarello wrote: Hello people, i have already spent quite some time on this but with no acceptable solution I have a graph on EXCEL that i want to include in my lyx document. Excel doennt directly export as eps (as some other do) so i procede by printing the file via the adobe reference PS printer (free from adobe) by selecting EPS as a output type . Unfortunately this doesnt really work when imported in lyx as the resulting graph is actally laid on top of other text (shifted 2 inches up say..) . GSview shows the same problem (the image appairs with a large offset to the EPS clipping rectangle). Try running ps2epsi on the file, or fixing the bounding box manually. (or use a free plotting program that supports EPS)
Re: Footnotes don't appear in HTML output
On Sun, Sep 23, 2001 at 07:27:46PM -0400, Ben Logan wrote: I'm not having the problem anymore, though I'm not sure why. I apparently changed my layout enough that I accidentally fixed the problem. In case it pops up again, though what does the redefinition look like? Is it near the beginning of the document? (I don't know anything about latex.) The problem occurs if you have a footnote in a section heading. So avoid having those, and you won't have a problem.
Re: Figure_floats export error
On Mon, Sep 24, 2001 at 04:42:15AM +0200, Bronek Baraniecki wrote: Nevertheless, I am not happy with this find-out concerning master dokument. I do my best to keep document's directory tree logicaly clear and transparent. Say, I am writing a book with three Parts, every part has many chapters, in this case the master dokument, as I would prefer, should be placed in directory parent for three other containing chapter files of each Part. But now I have to put the whole chapter files stuff and master to one directory. This makes a devil's mess. Well, if there is no other way... I will probably improve the support for multiple parts document after lyx 1.2.0 is released.
Re: pasting equations from mathematica into lyx
On Mon, Sep 24, 2001 at 09:41:03AM +0200, Andre Poenitz wrote: On Fri, Sep 21, 2001 at 06:41:54PM +0200, Renaud MICHEL wrote: Wow, thats is great, is it possible to copy from the LyX window and have in the clipboard the LaTeX code to paste somewhere else? Not yet since I do not know how the clipboard works ;-} Actually, it is already possible to do this in LyX 1.1.6. Just select the text in lyx, press ctrl+c, and then you can paste it in the external program. Formulae in the text will be converted to latex, but other elements (labels, references etc.) will not.
Re: BibTeX and URL's
On Mon, Sep 24, 2001 at 10:57:51AM +0200, Saalfeld, Christoph wrote: Hi, actually this isn't a real LyX question but is anybody out there, who knows how to break long URL's within a BibTeX bibliography. I use the misc. entry for documents from the internet and put the URL in the howpublished field, eg. howpublished = {Internet \URL{http://www.very.long.url.de/with/many/subdirectories/and/a/long/named_h tml_file.html}} Use \url{http://www.very...}, and in the preamble of the LyX document, put \usepackage{url}
Re: Confusing error message
On Mon, Sep 24, 2001 at 11:09:21PM +0300, robin wrote: The offending file is at http://www.bilkent.edu.tr/~robin/Chinese_texts.lyx (I would have attached it, but it's rather long). This may be a 1.2 issue. 1.2 is generally yummy, but, as you would expect from a beta, does strange things occasionally -- the version on my office computer changed itself into a TeX file today! Yes, this is a problem with 1.2.0. I'll send you a fixed file. PS: Instead of writing II. THE CONFUCIAN TEXTS in a Subsection* paragraph, write THE CONFUCIAN TEXTS in a Subsection paragraph, and put \reenewcommand{\thesection}{\Roman{section}} in the preamble.
Re: Floats???
On Mon, Sep 24, 2001 at 03:38:32PM -0400, Steve Litt wrote: Haven't many of you talked of placing figures inside of floats? My figures are simply inserted into the text. What is the advantage of placing my figures inside floats? Does it enable me to place a heading for the figure and a figure number? What happens if you have a figure whose height is 60% of page, but you already used %41 percent of the page ? If you just insert the figure into the text, in the output you will get a pagebreak in the page, and the figure will appear on the next page. This is a very ugly, so a better solution is to use floating figures.
Re: BibTeX and URL's
On Tue, Sep 25, 2001 at 05:52:55PM +0200, [EMAIL PROTECTED] wrote: Use \url{http://www.very...}, and in the preamble of the LyX document, put \usepackage{url} This is good for putting URLs in the text, but I cannot use it with Pybliographer. I put \usepackage{url} in the preamble. And then i insert a citation reference from pybliographer. The citation reference has the field how published like this: \url{http://www.very...} And it gives me errors What errors? How does the complete entry look in the .bib file ?
Re: PDF
On Tue, Sep 25, 2001 at 05:27:52PM +0200, I Wayan Warmada wrote: On Tue, 25 Sep 2001, Herbert Voss wrote: you can export with file-export-pdf (ps2pdf) ps2pdf convert a postscript-file to pdf with very bad result, especially This is completly wrong! For about the 1000th time, this is all documented in section 3.3.6 in extended.lyx (actually, there is a third option for generating PDF which is not mentioned there: use latex and then dvipdfm). when using latex font (in some machine). Better use pdftex or pdflatex instead of ps2pdf, but my latex export from lyx (1.1.6fix3) had an error when it was compiled with pdflatex/pdftex... I don't know why?? Because pdflatex can't use EPS figures.
Re: Figure captions and caption numbering
On Tue, Sep 25, 2001 at 11:42:45AM -0400, Steve Litt wrote: Some books have the caption above the figure, some below, and some to the side. Any suggestions on style for a technical book? Also, all tech books have figure numbering contain the chapter number and restart the figure number at 1 for each chapter (figure 10-1). But LyX labels and references number figures sequentially throughout the book (figure 96). Is there any way to get the chapter-figure numbering in LyX, while still retaining the ability to move chapters around without needing to explicitly tweak individual entries? Which book class are you using ? The standard book class (and many others) should give you figure 10.1 numbering by default.
Re: Working with multiple documents in multiple export formats
On Tue, Sep 25, 2001 at 04:13:48PM +0200, [EMAIL PROTECTED] wrote: Problem two - creating a link that is valid for both - pdf and html - still remains because I don´t know how to - use pdftex - define my links (labels as well as pages) May I ask you one more time for a helping hand ? It depends what do you mean by link? Is it a link inside the document ? (e.g. a link to section 3) or is it a link to a web page ? In case of the latter, do you want to have the text of the link to be equal to the URL (e.g. a href=http://www.lyx.org;http://www.lyx.org/a ) or not (e.g. a href=http://www.lyx.org;The LyX homepage/a ) Finally, which program do you use for latex-html conversion ?
Re: image float problem
On Tue, Sep 25, 2001 at 11:52:08AM +0200, Yann Collete wrote: Hello, I've wrote a test file with an image float inside and a footnote. If I do a view postscript, the image float appears after the footnote in the foot header. If I set float placement to !h!t!b!p, everything is fine. Maybe it's a Latex bug ? Why do you call this a bug? The latex author chose a style in which a float at the bottom of the page appears below the footnotes. This is a valid style. If you don't like it, you can change this behavior by putting the following lines in the preamble: \usepackage{stfloats} \fnbelowfloat
Re: lyx hyperref error
On Tue, Sep 25, 2001 at 02:48:26PM +, E GCP wrote: I found some more information. If I comment out the following lines at the end of the thesis.cls file then hyperref works out fine, but I don't get ToC, LoF, or LoT. I hope this helps track out the problem. The problem is that thesis.cls uses a non-standard way of creating the table of contents, and therefore it cannot be used with hyperref. I don't think that there is a simple solution to the problem.
Re: Even column length
On Thu, Sep 13, 2001 at 10:08:47AM +0300, Tuukka Toivonen wrote: On Wed, 12 Sep 2001, Arnab Rana wrote: If I write a document in two columns, then the second column on the last page is shorter than the first. Is there a way to automatically balance the amount of text in the two columns, which will give a better appearance. (In MS-Word two columns can be made even by changing back to a single-column section after the two-column section.) The package multicol can do this. In the preamble put \usepackage{multicol} and then in the text in TeX: \begin{multicols}{n} where n is the number of columns. See multicol.lyx, an example that comes with LyX. A different solution (without the limitation of multicol [floats, footnotes]) is to put the following lines in the preamble: \usepackage{flushend} PS: If anyone is intrested, the packages in sttools allows more flexibility with twocolumn mode: Using these packages is possible: to balance columns on the last page in twocolumn mode; to place double-column float at bottom of page; to insert some wide onecolumn material in any place of twocolumn page and to do some other things.
Re: BibTeX and URL's
On Tue, Sep 25, 2001 at 07:01:45PM +0200, [EMAIL PROTECTED] wrote: Please, try this: @Misc{JoK00, Author = {JonKatz}, Title = {Here {C}ome the {W}eblogs}, HowPublished = {Slashdot: \url{http://www.slashdot.org/long_url/where_we_found_the_following_article/herecometheweblogs.shtml}}, year = 2000, } The HTML ouput is good: JonKatz, 2000 JonKatz (2000). Here Come the Weblogs. Slashdot: http://www.slashdot.org/long_url/where_we_found_the_following_article/herecometheweblogs.shtml. But in the DVI, the PS, and the PDF I get a '%' like this ..article/h%erecome.. Put \usepackage{hyperref} instead of \usepackage{url} in the preamble. See also http://www.tex.ac.uk/cgi-bin/texfaq2html?label=setURL+citeURL
Re: Auto-Date
On Fri, Sep 28, 2001 at 07:51:21PM -0700, Tom Manning wrote: Hi, This is probably a FAQ, but I've spent two hours reading docs, faqs, mailing list archives and haven't found the answer to this simple question, so I apologize if I'm wasting anyone's time. (Thanks for the help with the fonts btw) If I want to modify the Article Class so that it doesn't insert the date under my title, is there an easy way to do that? I imagine once I know how that's done I'll be on my way to learning how to make all the adjustments I need by myself. Everything else is great, it's just that I didn't ask for a date. Copy article.layout to ~/.lyx/layouts/ and add to it the following lines: Preamble \date{} EndPreamble
Re: Nested input of LyX files
On Fri, Sep 28, 2001 at 02:21:52PM +0200, Guenter Milde wrote: I wonder, whether there is a simple possibility to have nested inputs of LyX documents. This would open a handy way to structure large projects in several layers (master and sub-master, so to say). I just tried light.lyx inputs red.lyx green.lyx inputs green1.lyx green2.lyx test.eps (as floating pic). It is a bug in lyx: You cannot have more than two level when using the temp dir. I do plan to fix this bug soon. In the meantime, you can disable the temp dir.
Re: supressing References section heading
On Tue, Oct 02, 2001 at 10:31:31AM +0300, Tuukka Toivonen wrote: On Tue, 2 Oct 2001, Praedor wrote: How can I suppress the printing of the References heading on the first page of my references? For PNAS the references just start after a space beneath Try inserting this TeX command (in red) somewhere before your references: \renewcommand{\refname}{} This will leave some empty space above the bibliography. A better (but hacky) solution isto put the following in the preamble: \let\oldthebibliography=\thebibliography \renewcommand{\thebibliography}{% \renewcommand{\section}[2]{}% \oldthebibliography}
Re: aligning paragraphs
On Wed, Oct 03, 2001 at 12:20:24AM -0400, Paul Tremblay wrote: I notice that lyx automatically justifies pages. I don't like my text justified. It is harder to read. Also, it is really a big pain to edit. When I put my cursor in the middle of a paragraph and begin to type, the text jerks across the page because it is trying to itself. How can I get the text to align left? (I need to do this not just for a final document, but when I am editing files.) It is really ugly to have ragged right output. But if you want it, copy article.layout (or the layout you use) to your ~/.lyx/layouts/ and then add to it Style Standard Align Left End Preamble \raggedright EndPreamble
Re: supressing References section heading
On Wed, Oct 03, 2001 at 01:03:57PM +0200, Dekel Tsur wrote: On Tue, Oct 02, 2001 at 10:31:31AM +0300, Tuukka Toivonen wrote: On Tue, 2 Oct 2001, Praedor wrote: How can I suppress the printing of the References heading on the first page of my references? For PNAS the references just start after a space beneath Try inserting this TeX command (in red) somewhere before your references: \renewcommand{\refname}{} This will leave some empty space above the bibliography. A better (but hacky) solution isto put the following in the preamble: \let\oldthebibliography=\thebibliography \renewcommand{\thebibliography}{% \renewcommand{\section}[2]{}% \oldthebibliography} A slight correction: \let\oldthebibliography=\thebibliography \renewcommand{\thebibliography}{% \makeatletter% \renewcommand{\section}[2]{}% \renewcommand\@mkboth[2]{}% \oldthebibliography}
Re: aligning paragraphs
On Wed, Oct 03, 2001 at 05:47:51PM -0400, Paul Tremblay wrote: On Wed, Oct 03, 2001 at 01:35:09PM +0200, Dekel Tsur wrote: I got this to work. But now how do I get the first line of the paragraph to indent? I have looked in vain at other layouts, and couldn't find the command. Instead of using \raggedright, use \usepackage{ragged2e} \setlength{\RaggedRightParindent}{\parindent} \RaggedRight
Re: Bold greek letters in math-mode
On Wed, Oct 03, 2001 at 05:37:39PM +0200, Herbert Voss wrote: Alessandro Cafarella wrote: How can I write a bold greek letter in math-mode? http://www.educat.hu-berlin.de/~voss/lyx/mathmode.html#bold_2 Or \usepackage{bm} in the preamble, and e.g. \bm{\alpha} in math mode.
Re: references and margins
On Wed, Oct 03, 2001 at 11:53:31PM +, E GCP wrote: I'm writing my thesis with the thesis.cls style and bibtex. I noticed when I previewed my document with xdvi, that some references go past the right margin of my page. They are not being hyphenated or parts of of them not moved to the next line to fit correctly within the margins. This also happens with hyphenated words located close to the end of the line, for example: physically-based. Is there a way to fix this in LyX? From the latex faq: * TeX won't hyphenate a word that's already been hyphenated. For example, the (caricature) English surname Smyth-Postlethwaite wouldn't hyphenate, which could be troublesome. This is correct English typesetting style (it may not be correct for other languages), but if needs must, you can replace the hyphen in the name with a \hyph command, defined def\hyph{\penalty0\hskip0pt\relax} This is not the sort of thing this FAQ would ordinarily recommend... The hyphenat package defines a bundle of such commands (for introducing hyphenation points at various punctuation characters). * The hyphenation may simply not have been spotted; while TeX's algorithm is good, it's not infallible, and it does miss perfectly good hyphenations in some languages. When this happens, you need to give TeX explicit instructions on how to hyphenate. The \hyphenation command allows you to give explicit instructions. Provided that the word will hyphenate at all (that is, it is not prevented from hyphenating by any of the other restrictions above), the command will override anything the hyphenation patterns might dictate. The command takes one or more hyphenated words as argument - \hyphenation{ana-lysis pot-able}; note that (as here, for analysis) you can use the command to overrule TeX's choice of hyphenation (ana-lysis is the British etymological hyphenation; some feel the American hyphenation feels 'unfortunate'...).
Re: references and margins
On Thu, Oct 04, 2001 at 11:14:39AM +0300, Tuukka Toivonen wrote: On Wed, 3 Oct 2001, Steve Litt wrote: I'd like to know too. Long URL's in my standard text paragraphs go straight off the edge of the paper. One way to solve this is to insert them with Insert/URL command and use pdflatex. This breaks the URLs at good points, like This is not necessary. It will work also with standard latex.
Re: multiple files
On Wed, Oct 17, 2001 at 04:19:29PM +0200, Davide Cavallari wrote: I have used this method and till today it worked. Now I have a figure composed by both a .tex part and a .ps one. These parts are generated by gnuplot and the .tex part calls the .ps one with: \special{psfile=figure.ps llx=0 lly=0 urx=720 ury=504 rwi=7200} Why do you generate two files ? When I tried using the pslatex output of gnuplot, I got only one .tex file which embed the Postscript file into it. There is no problem with such a file. I have tried with the standard 'pslatex' terminal, but with some huge graphs latex goes out of memory. I don't know the reason, but using the 'auxfile' option (getting so the PS code in a separate file) fixes this problem. So you need to edit the .tex file, replacing the \special line by either: 1) \special{psfile=full path/figure.ps llx=0 lly=0 urx=720 ury=504 rwi=7200} where full path is the full path to the ps file: /home/myusername/... 2) Only if use_tempdir = false: \special{psfile=relative path/figure.ps ...} where relative path is the path from the main lyx file to the directory of the ps file 3) This is probably the best solution (if it works): \includegraphics{figure.ps} Of course, if you need to generate many graphs from guplot, you should write a script that fix the output of gnuplot.
Re: bibtopic
On Fri, Oct 19, 2001 at 10:43:40AM -0500, Remzi Seker wrote: Hi, I am using lyx.1.1.6f3, and I was trying to make up my resume so that the publications are divided into different groups like Journal Pubs Conf. Proceedings etc... I tried bibtopic (on Dekel's suggestion, and herberts page) but it doesn't work. I also can not get the script given on Herber's page running. Herb, I was wondering if you had a sample Lyx file... I have put a small example file. It should be used with lyx 1.2.0cvs, or with lyx 1.1.6fix3 after enabling the multiple bib. code. #LyX 1.1 created this file. For more info see http://www.lyx.org/ \lyxformat 218 \textclass article \begin_preamble \usepackage[dot]{bibtopic} \end_preamble \language english \inputencoding auto \fontscheme default \graphics default \paperfontsize default \spacing single \papersize Default \paperpackage a4 \use_geometry 0 \use_amsmath 0 \paperorientation portrait \secnumdepth 3 \tocdepth 3 \paragraph_separation indent \defskip medskip \quotes_language english \quotes_times 2 \papercolumns 1 \papersides 1 \paperpagestyle default \layout Standard From test.bib \begin_inset LatexCommand \cite{bs-1629} \end_inset \layout Standard From xampl.bib \begin_inset LatexCommand \cite{inbook-minimal} \end_inset \layout Standard \latex latex \backslash begin{btSect}{test} \newline \backslash section{References from test.bib} \newline \backslash btPrintCited \newline \backslash end{btSect} \layout Standard \latex latex \backslash begin{btSect}{xampl} \newline \backslash section{References from xampl.bib} \newline \backslash btPrintCited \newline \backslash end{btSect} \layout Standard The bibtex inset was inserted so LyX will list the bibliographies keys in the citation dialog. \layout Comment \begin_inset LatexCommand \BibTeX[plain]{xampl,test} \end_inset \the_end
Re: Merging documents
On Fri, Oct 19, 2001 at 01:51:12PM -0700, Rich Shepard wrote: Now that I'm getting a good understanding of the letter class, I would like to learn how others set up for multiple-recipient mailings. Similar to the mail merge found in word processors such as WordPerfect. I looked at the index on Herbert Voss' web page of tips and didn't find anything there. For example, I'd like to modify the letter class to produce an invoice class. Then, when we prepare monthly invoices to clients, I can have a file with the pertinent, client-specific information and have LyX generate an invoice for each one. If the process generates the basic invoice structure for each client and remains on-screen as a multipage letter, then I can enter the specific, descriptive text for each one before printing them. What are my options for creating a solution? This can be done when using the Koma-Script Classes, or with the textmerg or envlab packages.
Re: How do I get special characters to display in my Lyx window?
On Thu, Oct 18, 2001 at 09:59:30PM -0500, msh wrote: I am a Lyx newbie and have a question about making special fonts appear in the Lyx window. If I enter the following into a Lyz file: \( a\preceq b \) and generate dvi output, I get output that looks great. So I guess that the necessary fonts are installed on my system (Mandrake 8.0). How can I get the special font to appear in my lyx window? Other special characters like You can't. However, the next version of lyx (1.2.0) will show all latex+amsmath symbols on screen.
Re: Reference figures mangles number
On Tue, Oct 23, 2001 at 02:35:24PM +0200, Oliver Eichler wrote: Hi We just recently upgraded to lyx1.1.6fix3. Most glitches are solved. One is still left. We number our figures and tables like Section.Number. We do this by the preamble entry magically provided by JMarc , years ago: \renewcommand{\thefigure}{\thesection.\arabic{figure}} This will number our figure as we like it. However referencing this figure will only show the section number. Anyone has an idea where to hit lyx to do it right? This is the right thing (though you need to add \@addtoreset{figure}{section} ). It is possible that you put the label in a wrong place: The label must be in the caption, or after it (inside the float).
Re: .bib files
On Tue, Oct 23, 2001 at 01:47:44PM -0400, Birch Browning wrote: Where does LyX store the temporary .bib files used when processing a bibliography? I looked in the designated temp directory without success. The temporary files generated by bibtex have the .bbl suffix. They are stored in the temp directory. E.g. /tmp/lyx_tmpdir651a00651/lyx_tmpbuf651a00651/foo.bbl
Re: question about tmp directory
On Tue, Oct 23, 2001 at 05:29:22PM -0400, Thomas C. Meggs wrote: I'm compiling lyx for use on several systems. Some of them aren't able to use the /tmp directory in a manner that lyx would like. I was wondering if there was a way to compile in an alternate tmp directory, or compile in it \tempdir_path usr/tmp not using a tmp directory at all. I am aware of the option \use_tempdir false and I added it to the file lyxrc.defaults, but it appears the lyx autoconf program doesn't care much about lyxrc.defaults. Any help would be appreciated. Thanks. (: If you change the settings for one user, use the preferences dialog. If you need to set the default settings for many users, put a lyxrc file in LYXDIR (e.g. /usr/share/lyx/lyxrc ).
Re: List environment nesting
On Wed, Oct 24, 2001 at 11:32:05AM +0200, Saalfeld, Christoph wrote: 1. Text text text text text * text text text text * text text text text text text --- text text 2. text text text Use the change environment depth function in layout menu to declare your itemize environment beeing a sub - environment of your enumeration. Wrong. The correct solution is to change the layout of the - paragraph to Standard and nest it into the enumeration (Depth = 1).
Re: Itemize
On Wed, Oct 24, 2001 at 10:46:51PM +0400, Vitaly Lipatov wrote: On 24 October 2001 21:52, I Wayan Warmada wrote: I have found in Herbert's Lyx homepage. Try to do as following: Thank you. \begin{itemize} \setlength{\itemsep}{-0.5ex} \item itemizetext 1 \item itemizetext 2 \item itemizetext 3 \item itemizetext etc \end{itemize} You can modify by changing the itemsep. How do you think it is correct I can change itemsep only in itemize environment? I would like some global setting for this parameter. However your information are useful too. Put the following at the preamble: \let\olditemize=\itemize \def\itemize{\olditemize\setlength{\itemsep}{-0.5ex}}
Re: lyx problems
On Thu, Oct 25, 2001 at 02:45:38PM -0400, SteveC wrote: If I try view ps on a new document with just hello in it, I get This is dvips(k) 5.86 Copyright 1999 Radical Eye Software (www.radicaleye.com) ' TeX output 2001.10.25:1947' - newfile.ps_tmp texc.pro. [1] sh: none: command not found Do edit-reconfigure. Also, I'd like to know how I could put my abstract in a single wide column like title etc when I have a two col layout? 1. Put the following lines in the preamble: \let\oldmaketitle=\maketitle \renewcommand{\maketitle}{} 2. Before the abstract, put the following line (in latex mode): \twocolumn[\oldmaketitle\begin{@twocolumnfalse} 3. After the abstract, put the following line (in latex mode): \end{@twocolumnfalse}]
Re: Adding new Type1 fonts: Phase I
On Thu, Oct 25, 2001 at 09:02:04AM -0700, Rich Shepard wrote: I've asked for help on this partiular problem from the local linux users group, the newsgroup comp.lang.postscript, and by reading all the ghostscript docs I can find. So far it's been left unsolved. I want, ultimately, to add new Type1 fonts to LyX and the first step is to add them to ghostscript and to have ghostscript recognize and use them. I've done the first step but cannot get ghostscript to use them. Let me explain. You don't need to make the fonts available to ghostscript. When using Postscript type 1 fonts in latex, dvips will embed the fonts into the Postscript file.
Re: page break ??
On Fri, Oct 26, 2001 at 06:22:57PM +0200, Andre Poenitz wrote: i want each section of mine to start on a new page ... This, of course, is usually done by selecting the proper documentclass. book e.g. starts every section on a new page, if I am not mistaken... The correct way to do this (if it is not done by the documentclass) is to add the following lines to the preamble: \let\oldsection=\section \renewcommand{\section}{\pagebreak\oldsection}
Re: installing a new paragraph style .. how to put them at the bottom of the style-bar?
On Fri, Oct 26, 2001 at 04:36:06PM +0200, Giorgio Corani wrote: I've just installed a new style which allows to manage one column abstracts in a two-columns papers. Doing that, I've got available the OneColAbstract paragraph style.. which is now at the top of my style-bar, instead of the Standard entry. It is quite annoying. Can i fix that? The order in the layouts list is determined by the order they appear in the .layout file. So you need your style file to be something like the following: (assuming it is based on the article class) #% Do not delete the line below; configure depends on this # \DeclareLaTeXClass{article (OneColAbstract)} Input article Style OneColAbstract ... However, if I recall correctly, using the onecolabstract environment from abstract.sty will not give you a one column abstract. You need to do the following (without using abstract.sty): 1. Put the following lines in the preamble: \let\oldmaketitle=\maketitle \renewcommand{\maketitle}{} 2. Before the abstract, put the following line (in latex mode): \twocolumn[\oldmaketitle\begin{@twocolumnfalse} 3. After the abstract, put the following line (in latex mode): \end{@twocolumnfalse}]
Re: REFERENCES
On Fri, Oct 26, 2001 at 02:56:57PM -0400, Wolfgang Engelmann wrote: The references should be REFERENCES. I used, as proposed on the list \AtBeginDocument{\renewcommand{\bibname}{REFERENCES}} but it´s still References. What do I do wrongly? Use \AtBeginDocument{\renewcommand{\refname}{REFERENCES}} I also have difficulties with the kluwer style which I downloaded from the kluwer site: can´t find kluwer10.sty \input kluwer1\@ptsize.sty\relax Anybody out there who could help? You need to install kluwer10.sty
Re: bibtopic
On Fri, Oct 26, 2001 at 07:53:25AM -0500, Remzi Seker wrote: I could not get the multiple bib code (in my /bin/ directory) run before the bibtex command, on Mandrake 8.1 This seems to be a problem arising from Mdk then. This is a path problem: you need to put ~/bin before /usr/bin in the path. However... Would you recommend 1.2.0 cvs, as I am writing my dissertation in LyX? No. But you can use 1.1.6fix3 if you change one line in the source. Furthermore, if you need multiple bibliographies only for your resume, you can export the file to latex and run bibtex+latex manually. Another option is to enter the bibliographies manually, using itemize list.