Re: Rotating material and references
> "Yaneric" == Yaneric Roussel <[EMAIL PROTECTED]> writes: Yaneric> Hi! Yaneric> Thanks to B. Bryant, i did some layout and i learned about Yaneric> latex... But i still have 3 problems... Yaneric> The headings References must be preceding by the Section Yaneric> number. I tried Yaneric> "\renewcommand{\refname}{\thesection. Refences}" Netheir are Yaneric> working... How can i do that? The problem is that references use an unnumbered section (via \section*), so that there is no number to show here... Here is a workaround, to add to your preamble: \let\oldthebibliography=\thebibliography \let\oldsection=\section \def\thebibliography#1{ \def\section*{\oldsection} \oldthebibliography{#1} \setlength{\itemsep}{2cm} } Yaneric> By default, there is a blank line between each references. I Yaneric> have to remove this blank line... I tried to set \parskip to Yaneric> zero just before the references -> it doesn't work... The right thing to change is \itemsep, which is taken care of in the example above (note that the spacing used is huge, in order to demonstrate that is actually works :). Yaneric> I have rotated figures. The caption have to be rotated too. I Yaneric> tried to use in latex \landscape before the table following Yaneric> by \portrait or to use \begin{sidewaystable}... -> it doesn't Yaneric> work too... I do not know about this one. JMarc
Re: [Sebastien Loisel ] lyx
> "Ingo" == Ingo Kloecker <[EMAIL PROTECTED]> writes: >> I'm using lyx for my thesis. Good job. Ingo> I wrote my thesis also with lyx. It was really great. >> Unfortunately, there are a few showstoppers. If I have a math box >> and I put a \mathcal F as the only thing of the math box (that's >> the Fourier transform operator), then save, then restore, it gets >> fubarred. I'm attaching a file with the bug. This problem seems to >> occur any time the first thing is \mathcal. Ingo> You have to enclose the F in {}, i.e. you have to write Ingo> \mathcal{F}. ... and you can get it directly with M-c e (emphasize) and then F. JMarc
Re: Rotating material and references
> "Jean-Pierre" == Jean-Pierre Chretien <[EMAIL PROTECTED]> writes: Jean-Pierre> \refname is not a LaTeX command, but a TeX one, AFAIR Jean-Pierre> ...Try \def\refname{{\thesection. References} There is no such things as a 'LaTeX command' \newcommand and \renewcommand are just wrappers around \def. JMarc PS: granted, this does not have much to do with the original request, but it is to set things straight...
Re: Running headers
> "Panos" == Panagiotis Melas <[EMAIL PROTECTED]> writes: Panos> Is there a way in lyx to have a shorter version of a chapter Panos> header apart from \chapter[short]{long header} in tex mode? Unfortunately not... Note that you can write 'short' and 'long header' in real LyX, not all has to be in tex mode. JMarc
Re: Rotating material and references
>> Date: Fri, 30 Apr 1999 12:07:54 +0200 (MET DST) >> From: Jean-Marc Lasgouttes <[EMAIL PROTECTED]> >> To: [EMAIL PROTECTED] >> CC: [EMAIL PROTECTED] >> Subject: Re: Rotating material and references >> >> > "Jean-Pierre" == Jean-Pierre Chretien <[EMAIL PROTECTED]> writes: >> >> Jean-Pierre> \refname is not a LaTeX command, but a TeX one, AFAIR >> Jean-Pierre> ...Try \def\refname{{\thesection. References} >> >> There is no such things as a 'LaTeX command' \newcommand and >> \renewcommand are just wrappers around \def. >> >> JMarc >> >> PS: granted, this does not have much to do with the original request, >> but it is to set things straight... You're right, would « \refname is not a LaTeX macro » be sounder ? (from a semantic point of view, I mean, because I checked that \refname *is* a LaTeX macro in the LaTeX2e article.sty). My answer was really misleading, sorry. -- Jean-Pierre
Re: Why are EPS files so big?
Thanks for the responses about why a small bit-map becomes such a huge EPS. One thing that should be high on the wish-list is to be able to insert bit-map images directly into Lyx, and have Lyx encapsulate them on-the-fly when previewing and printing. Probably cache the conversions for efficiency. same for vector images in other formats. When I'm working on a document, I often revisit an image and modify it. It would be nice to avoid the manual conversion cycle. Another important reason is that I like to backup my work to floppy disk, but it is awkward if my images have become 10 - 20 times bigger. Would have to zip them. Now dreaming further, it would be nice to have object embedding so an image can be edited in-place, as is possible with Windows OLE and proposed for KDE. Regards, Barry Kauler
Re: Why are EPS files so big?
> "Barry" == Barry Kauler <[EMAIL PROTECTED]> writes: Barry> Thanks for the responses about why a small bit-map becomes such Barry> a huge EPS. One thing that should be high on the wish-list is Barry> to be able to insert bit-map images directly into Lyx, and have Barry> Lyx encapsulate them on-the-fly when previewing and Barry> printing. Probably cache the conversions for efficiency. same Barry> for vector images in other formats. When I'm working on a Barry> document, I often revisit an image and modify it. It would be Barry> nice to avoid the manual conversion cycle. Something like that is already on the to-do list. Note that postscript level 2 has provisions to create files compressed with the LZW algorithm, which is exactly the same as the one used in GIF files. I would be surprised if there did not exist ways to produce such compressed PS files. Barry> Now dreaming further, it would be nice to have object embedding Barry> so an image can be edited in-place, as is possible with Windows Barry> OLE and proposed for KDE. KLyX is supposed to get that. I guess a GnomeLyX could get that too. JMarc
Re: Errors during the Latex run
> "Chris" == ctdole <[EMAIL PROTECTED]> writes: Chris> My printer has been broken for some time now and it has been a Chris> really long time since I've printed anything. I borrowed a Chris> friends printer and when trying to print Lyx documents that I Chris> wrote with Lyx 1.0.1 under my recently compiled Lyx 1.0.2pre3 I Chris> get a Missing \begin{document} error. If I create a new Chris> document with 1.0.2pre3 and try to print I don't get an error, Chris> I can also print under Netscape so I know it's not the Chris> printer. If I insert \begin{document} in the preamble I get the Chris> same error. So basically I can't print any of the documents I Chris> wrote under 1.0.1. Could you send a short document showing this problem? I guess there is something in your LaTeX preamble which should not be there... JMarc
Re: Why are EPS files so big?
Barry If (encapsulated) postscript is encoded as a series of lines, shapes and boxes then file sizes are generall small. An example is figures created in xfig produce tiny postscript. However if you convert from a bitmap based image (of which I believe, with some qualifications to what I say, gif is), then the conversion has to be to bitmap type postscript. Try this to convince yourself: xfig -> eps -> gif-> eps File size small biggerbigger If you gif was originally created in application that can directly export postscript you may see a better result. Hope this helps James On Fri, 30 Apr 1999, Barry Kauler wrote: > Does anyone know the technical reason why, when I > convert a bit-map image to EPS, it becomes enormous. > > For example, I used gif2eps on a 25K GIF and it became > a 1.9M EPS file! > > Regards, > Barry Kauler > > James Jarvis EUCS Science & Engineering Support 0131 650 5013 email '[EMAIL PROTECTED]' http://www.bch.ed.ac.uk/~james/
Re: [Sebastien Loisel ] lyx
> I'm using lyx for my thesis. Good job. I wrote my thesis also with lyx. It was really great. > Unfortunately, there are a few showstoppers. If I have a math box and I > put a \mathcal F as the only thing of the math box (that's the Fourier > transform operator), then save, then restore, it gets fubarred. I'm > attaching a file with the bug. This problem seems to occur any time the > first thing is \mathcal. You have to enclose the F in {}, i.e. you have to write \mathcal{F}. > I have another showstopper but it's to do with my LaTeX install. > Somehow, TeTeX thinks that amstex.sty is obsolete so I can't use \Bbb. > Grumble. I think amstex.sty is an old style-file. The new style-file from the AMS is called amssymb.sty. If you include a \usepackage{amssymb} in the Latex preamble, \Bbb should work. Regards, Ingo
Re: [Sebastien Loisel ] lyx
>> >> > I have another showstopper but it's to do with my LaTeX install. >> > Somehow, TeTeX thinks that amstex.sty is obsolete so I can't use \Bbb. >> > Grumble. >> >> I think amstex.sty is an old style-file. The new style-file from the AMS >> is called amssymb.sty. If you include a \usepackage{amssymb} in the Latex >> preamble, \Bbb should work. AFAIR, amsfonts.sty works too. -- Jean-Pierre
Re: Running headers
> Is there a way in lyx to have a shorter version of a chapter header > apart from \chapter[short]{long header} in tex mode? Which documentclass do you use? In article there is no chapter. But you could use report (?) or book. In these documentclasses there exists the chapter header. Regards, Ingo
Re: Errors during the Latex run
I worked with this for some time and actually thought I had it "fixed". If I open a LyX document and delete the first few lines of text and type it back in then print (or view dvi) it comes out fine. No errors are generated. But if I save the document and open it again and print (or dvi view) I get the \begin{document} error. Could it have to do with my tex package? I running tetex-0.4pl8-11 which came with Red Hat 5.1. Perhaps it's time to upgrade. Not knowing raw LaTex I wouldn't know how to add something to the preamble. Chris Jean-Marc Lasgouttes wrote: > > > "Chris" == ctdole <[EMAIL PROTECTED]> writes: > > Chris> My printer has been broken for some time now and it has been a > Chris> really long time since I've printed anything. I borrowed a > Chris> friends printer and when trying to print Lyx documents that I > Chris> wrote with Lyx 1.0.1 under my recently compiled Lyx 1.0.2pre3 I > Chris> get a Missing \begin{document} error. If I create a new > Chris> document with 1.0.2pre3 and try to print I don't get an error, > Chris> I can also print under Netscape so I know it's not the > Chris> printer. If I insert \begin{document} in the preamble I get the > Chris> same error. So basically I can't print any of the documents I > Chris> wrote under 1.0.1. > > Could you send a short document showing this problem? I guess there is > something in your LaTeX preamble which should not be there... > > JMarc -- Hell is other people. -Jean Paul Sartre >From his 1947 play No Exit , recalled on his death 15 Apr 80 #This file was created by Fri Apr 30 12:02:26 1999 #LyX 1.0 (C) 1995-1999 Matthias Ettrich and the LyX Team \lyxformat 2.15 \textclass article \language default \inputencoding default \fontscheme default \graphics default \paperfontsize default \spacing onehalf \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 \align right \series bold \emph on Prolouge. \layout Standard \protected_separator \layout Standard They met in a small cafe in Paris one drizzling, bleak afternoon. It, seemingly, was a good idea to get out of the weather and into the sanctuary of the cafe, surrounded by the warm smell of coffee and pastries. \layout Standard When she came in, brunette curls flustered by the wind and her trench coat speckled with mist, it would be the way he would always remember her. The smooth high cheekbones and the wide smile she drew. Her wide eyes showed no despair at the lack of an available table. His first thoughts were of lust, but he saw something in her eyes. She cast a maturity in her presence which revealed her as more than a bystander to life's random whims. \layout Standard <> \the_end
Re: Errors during the Latex run
> "ctdole" == ctdole <[EMAIL PROTECTED]> writes: ctdole> I worked with this for some time and actually thought I had it ctdole> "fixed". If I open a LyX document and delete the first few ctdole> lines of text and type it back in then print (or view dvi) it ctdole> comes out fine. No errors are generated. But if I save the ctdole> document and open it again and print (or dvi view) I get the ctdole> \begin{document} error. Could it have to do with my tex ctdole> package? I running tetex-0.4pl8-11 which came with Red Hat ctdole> 5.1. Perhaps it's time to upgrade. Not knowing raw LaTex I ctdole> wouldn't know how to add something to the preamble. I'm running tetex-0.9-6 on Redhat 5.2 and I don't see the problem you describe. In fact, I even took the latest CVS snapshot and the lyx.spec file and generated a quick lyx-1.0.2pre4-1 RPM and installed that and was not able to reproduce the problem. It might be your TeX. Have you tried running the Options->Reconfigure to see if that fixes anything? You might also try looking at ``Help->LaTeX Configuration'' to see if it reveals anything strange. ---Kayvan
Re: Errors during the Latex run
I ran options-reconfigure and still got an error the first time I tried to view dvi. Then I highlighted and deleted the error and viewed dvi again and no error was reported. Off I go to upgrade the TeTex package. Thanks, Chris Kayvan Aghaiepour Sylvan wrote: > I'm running tetex-0.9-6 on Redhat 5.2 and I don't see the problem you > describe. In fact, I even took the latest CVS snapshot and the > lyx.spec file and generated a quick lyx-1.0.2pre4-1 RPM and installed > that and was not able to reproduce the problem. > > It might be your TeX. Have you tried running the Options->Reconfigure > to see if that fixes anything? > > You might also try looking at ``Help->LaTeX Configuration'' to see if > it reveals anything strange. > > ---Kayvan -- Hell is other people. -Jean Paul Sartre >From his 1947 play No Exit , recalled on his death 15 Apr 80
FAQ: Thesis
Well, I suppose that's a faq: I am evaluating Lyx for doing my Thesis. The major problem I see is that I don't know if I must redo a Layout (wich in fact I don't know 100% what it is, and wich is very complicate?), or if it can match in classical stlyles like "book". Sure, the Thesis must follow a format and a structure, so maybe I am thinking in doing some parts with another editor. My university es Universidad Politécnica de Madrid, Escuela Superior de Ingenieros de Telecomunicación (maybe someone here has done done his Thesis here :-) Thanks in advance ! Julián
FAQ: Font size and type
Hello, I suppose that's a faq, but ... I am unable to change the font size and type of a document. I do this in Layout->Document popup but no change can be apreciated in the final doc I see with "View dvi" or "View Postscript". The Layout->Character option works well. I am using RedHat 5.2. Thanks. Julián