Re: Re: customizing natbib
On Mon, 11 Feb 2002 21:38:09 -0500 wrote Matej Cepl <[EMAIL PROTECTED]>: > another one is to throw bibtex out of the window and use amsrefs > (on www.ams.org). It does not do any such ugly things. I had a (admittedly very quick) view at the amsrefs homepage --- looks very promising. I also read about the database-file being in LaTeX. Would it be possible to write a LyX support for the amsrefs format (amsrefs.layout)? Also, AFAIK for now, ERT must be used instead of Insert>Citation. Are there plans to support amsrefs also there? GM -- [EMAIL PROTECTED]
Re: drawing imports don't work the way I expect
psfrag, I think On Tue, 12 Feb 2002, Guenter Milde wrote: > On Mon, 11 Feb 2002 23:33:33 -0600 wrote Paul Johnson <[EMAIL PROTECTED]>: > > > I found the tip on importing xfig drawings > > http://www.lyx.org/help/xfig/xfig.html as well as Allen Barker's essay > > referred to there. That essay is nicely done and the steps involved in > > the various approaches are pretty easy to follow. > > > > But it does not work quite the way I expect. > > > > I'm rapidly reaching the conclusion that a regular old eps export, from > > a document that is the right size and with the appopriate font, is the > > correct way to go. These other things are too hard to understand. > > I remember that once upon a time here in the list a package was mentioned, > that does replace text-tags in normal eps-files with LaTeX text given in a > special command. Unfortunately I don't remember the name of the package and > did not found the relevant mails in the archive. Maybe someone remembers and > can give me a hint...? > > GM > > > -- > [EMAIL PROTECTED] > _ rpinna|"Zoeggeler denies Hackl four straight luge golds" @civil.uwa| .edu.au | ABC news headline, 2002
Re: drawing imports don't work the way I expect
On Mon, 11 Feb 2002 23:33:33 -0600 wrote Paul Johnson <[EMAIL PROTECTED]>: > I found the tip on importing xfig drawings > http://www.lyx.org/help/xfig/xfig.html as well as Allen Barker's essay > referred to there. That essay is nicely done and the steps involved in > the various approaches are pretty easy to follow. > > But it does not work quite the way I expect. > I'm rapidly reaching the conclusion that a regular old eps export, from > a document that is the right size and with the appopriate font, is the > correct way to go. These other things are too hard to understand. I remember that once upon a time here in the list a package was mentioned, that does replace text-tags in normal eps-files with LaTeX text given in a special command. Unfortunately I don't remember the name of the package and did not found the relevant mails in the archive. Maybe someone remembers and can give me a hint...? GM -- [EMAIL PROTECTED]
Re: IEEEtran / Babel
Allan Rae wrote: >>I am writing a paper for the IEEE using IEEEtran_v15.cls as my Document Class. >>After trying lots of things to try and get IEEEtran to work and reading all >>of the emails on the list that I could find related to this, I believe that >>you can not use Babel when using the IEEEtran. Is this correct ? >> >>Now that I have removed the line \usepackage{babel} from Edit -> Preferences >>-> Lang Opts -> language, Package my paper compiles without any errors. >> >>My problem is that often I have several documents open within LyX. All of >>these except for the IEEE paper use babel. If I want to compile them I need >>to type the \usepackage{babel} line in again. I was wondering if there was >>something that I could put just in the preamble of my IEEE paper that would >>turn babel off, without having to turn it off globally in LyX. >> > > Try this (just a guess) in the preferences dialog instead: > > \AtBeginDocument{\usepackage{babel}} this is the default by babel itself. we had a long diskuccion about babel and the only thing you can do is the one with the preferences. but you're right, this is not the best way. Herbert -- http://www.lyx.org/help/
Re: Small Xforms fonts with Hi-res laptop
On Sun, 10 Feb 2002, Peter Drummond wrote: > So the problem is specifically Xforms. I have not been able > to fix this in the preferences, by trying other fonts for > popups and menus - in fact, this tends to make all menus > go blank until you delete .lyx. I have been fiddling with these fonts for the last week and haven't experienced any problem (in either 1.1.6 or 1.2.0cvs). Go for a font that is well shaped and should be more easily distinquished like Verdana or Helvetica. The attached patch makes the menu font as large as possible within the small the small bounds of the default menu height. This should look like almost double the height of your current menu. As a bonus all the choice boxes in the dialogs are also heaps bigger -- however these changes don't affect the fonts in the dialogs. That is going to be a really tough problem with XForms I think. XForms does have a variable size font setting but I haven't tested to see what effect that has. The changes in the patch could be extended into a Preferences setting but would also require a rewrite of the way the menu bar is draw in LyX. Far too much stuff is hard-coded (like sizes and placement) and other parts of the code also rely upon these assumptions... bad bad bad. This may at least help a bit. Allan. (ARRae) Index: src/lyx_gui.C === RCS file: /usr/local/lyx/cvsroot/lyx-devel/src/lyx_gui.C,v retrieving revision 1.73.2.2 diff -u -p -r1.73.2.2 lyx_gui.C --- src/lyx_gui.C 2001/08/31 09:38:08 1.73.2.2 +++ src/lyx_gui.C 2002/02/12 05:56:24 @@ -235,7 +235,7 @@ void LyXGUI::init() // Moved from ::LyXGUI to ::init to allow popup font customization // (petr 120997). fl_setpup_fontstyle(FL_NORMAL_STYLE); - fl_setpup_fontsize(FL_NORMAL_SIZE); + fl_setpup_fontsize(FL_LARGE_SIZE); fl_setpup_color(FL_MCOL, FL_BLACK); fl_set_goodies_font(FL_NORMAL_STYLE, FL_NORMAL_SIZE); Index: src/frontends/xforms/Menubar_pimpl.C === RCS file: /usr/local/lyx/cvsroot/lyx-devel/src/frontends/xforms/Menubar_pimpl.C,v retrieving revision 1.24 diff -u -p -r1.24 Menubar_pimpl.C --- src/frontends/xforms/Menubar_pimpl.C2001/01/09 13:58:48 1.24 +++ src/frontends/xforms/Menubar_pimpl.C2002/02/12 05:56:24 @@ -36,7 +36,7 @@ extern kb_keymap * toplevel_keymap; extern LyXAction lyxaction; // Some constants -static const int MENU_LABEL_SIZE = FL_NORMAL_SIZE; +static const int MENU_LABEL_SIZE = FL_LARGE_SIZE; static const int mheight = 30; static const int mbheight= 22; // where to place the menubar?
drawing imports don't work the way I expect
I found the tip on importing xfig drawings http://www.lyx.org/help/xfig/xfig.html as well as Allen Barker's essay referred to there. That essay is nicely done and the steps involved in the various approaches are pretty easy to follow. But it does not work quite the way I expect. I originally wanted to be able to resize drawings without making the text change sizes. When I do eps drawings, the text gets too small or too big if I resize. I think I understand from the tips that this not feasible at all, the best one can do is draw the graph the right size and then there are a couple of strategies for dealing with the text size in the drawing. I THOUGHT (always dangerous!) from the tip sheet that if I use the xfig export as pslatex/ps trick, that I would have a figure in which the text is the same font/size as the surrounding document and the picture part would be fixed. The doc warns that it is important to get the size right in xfig, and I think I understand why. But here's the part I don't get. When I include a pslatex_t file, the image shows, but if I change fontsize in the document, the font size change affects not only the font size in the drawing, but it makes the graph part bigger too. Highlighting a float and changing the character layout to "huger" affects everything, not just text. But I had it drawn correctly at the start. I just want to change the text. So I'm left wondering what's the good of that, if I drew the picture the right size, and only want to adjust the size of the text, where did I fall off the train? I'm rapidly reaching the conclusion that a regular old eps export, from a document that is the right size and with the appopriate font, is the correct way to go. These other things are too hard to understand. -- Paul E. Johnson email: [EMAIL PROTECTED] Dept. of Political Sciencehttp://lark.cc.ku.edu/~pauljohn University of Kansas Office: (785) 864-9086 Lawrence, Kansas 66045FAX: (785) 864-5700
Re: importing latex files with additional .sty files
On Mon, 11 Feb 2002, Nirmal Govind wrote: > Hi, > > I'm trying to import a latex file which uses a couple of sty files - > res.sty (used for resumes) and fancyhead.sty. LyX gives me an error saying > that it can't import the file : "Error while executing reLyX -f 'resume.tex'" > > Please let me know if anyone knows of a fix to this problem. If res.sty is a package that manipulates a supported document class (like article.cls) then you can probably use reLyX on the command line with the additional parameter "-c article" replacing article by whatever supported class res.sty manipulates. See also `man reLyX`. If res.sty if a latex-2.09 style file you are probably wasting your time. LyX and reLyX only support LaTeX2e -- you can make LyX work with LaTeX-2.09 files by wrapping them up into a LaTeX2e class though. You can tell if your document is a LaTeX-2.09 file or not by running latex on it and seeing if a banner warning you it is using compatability mode comes up. Or grep for "documentstyle" in the .tex file. Otherwise try sending some more context for the error message so someone else can get an idea of what is happening. Allan. (ARRae)
Re: IEEEtran / Babel
Allan, Thanks for your email. I tried \AtBeginDocument{\usepackage{babel}} in the preferences dialogue, but my IEEE paper still wouldn't compile (LyX calls LaTeX but LaTeX just seems to hang on its 1st run and I have to kill it) Excuse my ignorance but what was your reasoning behind suggesting using \AtBeginDocument{\usepackage{babel}} instead of \usepackage{babel} cheers Nick On Tue, 12 Feb 2002 2:55:pm, Allan Rae wrote: > On Mon, 11 Feb 2002, Nick Burgan wrote: > > Hello All, > > > > I am writing a paper for the IEEE using IEEEtran_v15.cls as my Document > > Class. After trying lots of things to try and get IEEEtran to work and > > reading all of the emails on the list that I could find related to this, > > I believe that you can not use Babel when using the IEEEtran. Is this > > correct ? > > > > Now that I have removed the line \usepackage{babel} from Edit -> > > Preferences -> Lang Opts -> language, Package my paper compiles without > > any errors. > > > > My problem is that often I have several documents open within LyX. All of > > these except for the IEEE paper use babel. If I want to compile them I > > need to type the \usepackage{babel} line in again. I was wondering if > > there was something that I could put just in the preamble of my IEEE > > paper that would turn babel off, without having to turn it off globally > > in LyX. > > Try this (just a guess) in the preferences dialog instead: > > \AtBeginDocument{\usepackage{babel}} > > Allan. (ARRae) -- Nick Burgan Postgraduate Student Active Noise and Vibration Control Group Department of Mechanical Engineering University of Adelaide SA 5005 AUSTRALIA Phone: +61 (0)8 8303 6385 Fax: +61 (0)8 8303 4367
Re: IEEEtran / Babel
On Mon, 11 Feb 2002, Nick Burgan wrote: > Hello All, > > I am writing a paper for the IEEE using IEEEtran_v15.cls as my Document Class. > After trying lots of things to try and get IEEEtran to work and reading all > of the emails on the list that I could find related to this, I believe that > you can not use Babel when using the IEEEtran. Is this correct ? > > Now that I have removed the line \usepackage{babel} from Edit -> Preferences > -> Lang Opts -> language, Package my paper compiles without any errors. > > My problem is that often I have several documents open within LyX. All of > these except for the IEEE paper use babel. If I want to compile them I need > to type the \usepackage{babel} line in again. I was wondering if there was > something that I could put just in the preamble of my IEEE paper that would > turn babel off, without having to turn it off globally in LyX. Try this (just a guess) in the preferences dialog instead: \AtBeginDocument{\usepackage{babel}} Allan. (ARRae)
Re: customizing natbib
On Mon, Feb 11, 2002 at 09:03:23AM +0100, Guenter Milde wrote: > This is the way most bibtex styles work (and I learned, it is > the "normal" way it is done in English). As this is a problem > with German titles (where you need to keep the Capitalization > of Nouns) all German bibtexers know the workaround another one is to throw bibtex out of the window and use amsrefs (on www.ams.org). It does not do any such ugly things. Matej -- Matej Cepl, [EMAIL PROTECTED] 138 Highland Ave. #10, Somerville, Ma 02143, (617) 623-1488 Give your heartache to him. (1Pt 5,7; Mt 11:28-30)
Figures
Hi, I have installed Lyx on my Mandrake 8.1 box and everything seems fine when i run the examples or any document that came with Lyx, but i cannot view figures i have placed in a document myself. I can see the picture in the full screen preview when i click on the pictyure but it does not show up in either dvi or pdf format. Also when i insert a figure field i get a superscripted number at the start of the line, but cannot get this number to turn up in the caption. When i label the caption and then put in a refernce in the document to it i get () and then the superscripted number. I have done everything from the tutorial correctly as far as i can tell. Any ideas. Thanks in advance Ryan
Re: math symbols
On Mon, Feb 11, 2002 at 12:55:59AM -0800, Kayvan A. Sylvan wrote: > Is this what you are looking for? Yes. But I wanted to leave it as an exercise for the reader ;-) Andre' -- André Pönitz .. [EMAIL PROTECTED]
Re: math symbols
On Mon, Feb 11, 2002 at 09:25:08AM +0100, Andre Poenitz wrote: > On Sat, Feb 09, 2002 at 06:46:50PM -0800, MH wrote: > > I'm running LyX on Windows 2000 and Linux. Everything works great, except > > it's missing a few math symbols, such as $\succ$ and $\Longrightarrow$. > > These show up on the mathpanel fine, but when I either write them down in > > math mode or insert them directly mathpanel, they show up only as \succ, the > > latex code. It does that in both windows and linux. Is it a font problem > > or is LyX not supporting those symbols? > > Up to 1.1.6fix4 it is a LyX problem, with 1.2.0cvs it is a font problem. > > > I looked it up in the mail archives but didn't find anything. > > Very recently there was a message by Dekel Tsur explaining the process of > getting the 'new fonts' setup properly. > > Andre' > > -- > André Pönitz .. [EMAIL PROTECTED] Is this what you are looking for? Date: Sat, 9 Feb 2002 21:52:53 +0200 From: Dekel Tsur <[EMAIL PROTECTED]> To: Joao Luis Meloni Assirati <[EMAIL PROTECTED]>, LyX devel <[EMAIL PROTECTED]> Subject: Re: Symbol for \hbar. Reply-To: Dekel Tsur <[EMAIL PROTECTED]> Mail-Followup-To: Joao Luis Meloni Assirati <[EMAIL PROTECTED]>, LyX devel <[EMAIL PROTECTED]> In-Reply-To: <[EMAIL PROTECTED]>; from +Joao Luis Meloni Assirati on Sat, Feb 09, 2002 at 05:22:18PM -0200 Organization: Tel Aviv University On Sat, Feb 09, 2002 at 05:22:18PM -0200, Joao Luis Meloni Assirati wrote: > It would be really nice to have a WYSIWYM representation for \hbar. I > could convince at least 2 people to use lyx if this feature was present. > > (last time I showed lyx to them they complayned the lack of \hbar and > amsmath. Amsmath is solved now with 1.2.0, but they are too niggard...) > > Is it too late to ask for it to be in 1.2.0? Support for \hbar and other symbols has been in 1.2.0 for a long time (it actually supports every latex+amsmath symbol). Try the following cd lyx-devel/lib ./create_fonts_dir xset fp+ `pwd`/fonts xset fp rehash ../lyx
Re: Acessing external data
On Sun, Feb 10, 2002 at 05:14:54PM -0200, Luciano Schirmer wrote: > I'll use the "frpintf" funtion of GNU Octave to generate a LaTeX file > with all the expressions and results. Then I include the file in LyX. > > If I want to modify the results, I just need to re-run the Octave script > and generate the PostScript file again from LyX. Maybe you could send me one of your .lyx files as private and I can have a look whether we can get some better interaction with octave without too much effort. Andre' -- André Pönitz .. [EMAIL PROTECTED]
Re: math symbols
On Sat, Feb 09, 2002 at 06:46:50PM -0800, MH wrote: > I'm running LyX on Windows 2000 and Linux. Everything works great, except > it's missing a few math symbols, such as $\succ$ and $\Longrightarrow$. > These show up on the mathpanel fine, but when I either write them down in > math mode or insert them directly mathpanel, they show up only as \succ, the > latex code. It does that in both windows and linux. Is it a font problem > or is LyX not supporting those symbols? Up to 1.1.6fix4 it is a LyX problem, with 1.2.0cvs it is a font problem. > I looked it up in the mail archives but didn't find anything. Very recently there was a message by Dekel Tsur explaining the process of getting the 'new fonts' setup properly. Andre' -- André Pönitz .. [EMAIL PROTECTED]
Re: importing latex files with additional .sty files
On Monday 11 February 2002 10:08, Nirmal Govind wrote: > Hi, > > I'm trying to import a latex file which uses a couple of sty files > - res.sty (used for resumes) and fancyhead.sty. LyX gives me an > error saying that it can't import the file : "Error while executing > reLyX -f 'resume.tex'" Rather obvious question, but is res.sty installed in your TeX distribution? Robin -- "Someone who re-invents the wheel will not take driving for granted." Robin Turner IDMYO, Bilkent Universitesi Ankara 06533 Turkey http://www.bilkent.edu.tr/~robin
Re: math symbols
Thanks! - Original Message - From: "Guenter Milde" <[EMAIL PROTECTED]> To: "MH" <[EMAIL PROTECTED]> Sent: Monday, February 11, 2002 12:20 AM Subject: Re: math symbols > On Sat, 9 Feb 2002 18:46:50 -0800 wrote MH <[EMAIL PROTECTED]>: > > > I'm running LyX on Windows 2000 and Linux. Everything works great, except > > it's missing a few math symbols, such as $\succ$ and $\Longrightarrow$. > > These show up on the mathpanel fine, but when I either write them down in > > math mode or insert them directly mathpanel, they show up only as \succ, the > > latex code. It does that in both windows and linux. Is it a font problem > > or is LyX not supporting those symbols? > > AFAIK they belong to the many math symbols that are not displayed in LyX (as > \mapsto or \le, say (on the other hand, \leq is displayed). > > GM > > -- > [EMAIL PROTECTED] _ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com
Re: customizing natbib
> in the bibtex file *.bib > ... >title = {{E}ltern und {K}inder} > ... > > Bibtex will leave all capitalizations in {} unchanged. Er, I may be missing something here, but if you create a .bst file using makebst, part of the custbib package, you are given the option of using either a single leading capital, or using the capitalisation in the .bib file. So, your .bib has entries such as title = {Eltern und Kinder} Then, depending on your answer to the question makebst asks, you'll get either Eltern und kinder or Eltern und Kinder makebst gives you other options then for quotes etc. Editing .bst files by hand is a thankless task. As far as I can tell, there are probably 3 people in the world who understand, and I'm definitely not one of them :) Rod _ rpinna|"Sometime in the next 10,000 years @civil.uwa| A comet's going to wipe out all trace of man, I'm .edu.au |banking on it coming before my end of year exams." TISM 1995