Re: customising latex classes
John O'Gorman wrote: > The hard part is now understanding the (entirely uncommented) > g-brief-en.cls file. I have the books (by Lamport, Goossens, et alii) > but the .cls file uses things like picture(0,0) in undocumented ways. > This seems to produce a picture environment of zero dimensions! with > everything placed in it with \put(x,y) statements actually placed > "outside" the picture. the values of the picture environment are only important if you want to reserve some place for your picture. they are NOT the real size of your picture. so the command \begin{picture}(0,0) reserves no space for the following picture-commands, means: the picture will be drawn just over the textarea. > I have discovered a mysterious world of ifx, ifcase, .. there must be an english version of Fritz Cremers "the little TeXbook" in the net. it's good for a first information of all this tex-stuff. good texing ... HErbert -- [EMAIL PROTECTED] http://perce.de/voss
RE: customising latex classes
> 2. I copied g-brief.cls and g-brief.sty from g-brief into og and > renamed then nzletter.cls and nzletter.sty If you're using another class-file as base then you should not copy the whole file but only use it as base for your class and the modify the stuff you need with \renewcommand. Have a look at the included iletter.cls file, which uses the normal letter as base and then modifies only the commands I want to be printed in a different mode. Jürgen -- -._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._ Dr. Jürgen VignaE-Mail: [EMAIL PROTECTED] Italienallee 13/N Tel/Fax: +39-0471-450260 / +39-0471-450253 I-39100 Bozen Web: http://www.sad.it/~jug -._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._ You will live a long, healthy, happy life and make bags of money.
Lyx - BibTeX problems
I am a relatively new user of Lyx and I like it very much. I am experiencing a rather annoyng problem (asked for help in the TeX list but to no success). I am using tetex and Linux SuSe 6.4. Description: (1) When I run BiBTeX under Lyx, the file is compiled correctly and references are displayed in the DVI preview. But if I compile the LaTeX file "manually" the compiler cannot find my *.bib files (it does not matter if they are in the /bib directory or in the current one). Since LyX finds the *.bib file, I assume that the paths are OK, but why LaTeX cannot locate these files? (2) Second question, a problem purely internal to Lyx. If I use the test.bib file provided with tetex, the dialogue window shows the BiBTeX keys of that file. If I use one of my databases, which are checked with a BiBTeX utility in order to make sure that they are syntactically correct, no entry is displayed. Why? I am sure I am doing some stupid mistake, probably an environment setting. But I checked the paths in tetex configuration files and everything seems to be OK. Will some kind soul please help me? Many thanks in advance from Guido Milanese -- Guido MilaneseVocal Ensemble "Ars Antiqua" [EMAIL PROTECTED] http://fly.to/arsantiqua Salita del Passero 11 I-16126 Genova GE, Italy * NON NOBIS DOMINE *
export postscript problem
Thanks Herbert for helping me with my DVI export problems, it works now. I have one other problem. I am running LyX from a Windows machine and when i choose the command "export postscript" I get the following output: This is dvips(k) 5.86 Copyright 1999 Radical Eye Software (www.radicaleye.com) ' TeX output 2000.08.16:1755' -> //c/lyxroot/LyxDocs/newfile.ps dvips: ! couldn't open PostScript file I think this is because windows doesn't recognize the path "//c/lyxroot/LyxDocs/" in that format. However when i "view postscript" the command runs successfully, this is because LyX saves this file as ' TeX output 2000.08.16:1755' -> newfile.ps_tmp' ..i.e. it stores it in the tmp directory by default. Would anyone know how I could fix the "export postscript" problem? I'm sorry, once again i am totally new to LyX. Many thanks, Voirin
Re: Lyx - BibTeX problems
Guido Milanese wrote: > > (1) When I run BiBTeX under Lyx, the file is compiled correctly > and > references are displayed in the DVI preview. But if I compile the > LaTeX file > "manually" the compiler cannot find my *.bib files (it does not > matter if > they are in the /bib directory or in the current one). Since LyX > finds the > *.bib file, I assume that the paths are OK, but why LaTeX cannot > locate > these files? do you run latex twice by hand? latex (your texfile) makeindex (your texfile) bibtex (your texfile) latex (your texfile) if you have other options like hyperref, than you have to run latex once more, sometimes up to six times. > (2) Second question, a problem purely internal to Lyx. If I use > the test.bib > file provided with tetex, the dialogue window shows the BiBTeX > keys of that > file. If I use one of my databases, which are checked with a > BiBTeX utility > in order to make sure that they are syntactically correct, no > entry is > displayed. Why? do you entered in lyx-bibtex-window the whole path for your bibtex-file? like /home/voss/texte/myBibTex > I am sure I am doing some stupid mistake, probably an environment > setting. there are stupid questions, only stupid answers ... ;-) Herbert -- [EMAIL PROTECTED] http://perce.de/voss
offtopic: spam
relays.mail-abuse.org has changed their service, and my present software cannot use this service. As a consequence, we might see some relayed spam to this list. I should be able to fix the problem in the next day or so. Thx for patience, Mate
LyX - tkbibtex
Please excuse me for asking a second question the very first day of my membership in this usergroup... I promise to help as soon as I will be a more proficient user of LyX. I installed the excellent bibliography manager called "tkbibtex". It works very well, and was able to digest a big file with about 1000 entries. I have a problem with this bibliographic manager + LyX. I think I did what is required for the setup of the pipe to and from LyX: -- added \serverpipe "/home/guido/.lyxpipe" to my .lyxrc file; -- added set LyXpipe /home/guido/.lyxpipe to my .tkbibtexrc file. I open LyX before tkbibtex. When I hit "c" to send a bibliographic info to LyX, I get this message (line 2171 of the script): No LyXpipe (/home/guido/.lyxpipe.*) exists. Check your .LyXrc file I noticed the difference of capitalisation lyxpipe / LyXpipe, but I do not think this to be the point (?). Then another window says: Error: can not find channel named "-1" However, on stdout (console screen) the program writes "Sending citation Smith:99 to LyX" (Smith:99 is obviously an example), as the script says on line 2191. If I run tkbibtex with the option "-lyx .lyxpipe" the program writes all the bibliographic data on stdout and exits. Any help greately appreciated! GM --- E-Mail: Guido Milanese <[EMAIL PROTECTED]> Homepage: http://fly.to/arsantiqua 16-Aug-00 - XFMail on Linux + + + + + + NON NOBIS DOMINE + + + + + + ---
Re: Lyx - BibTeX problems
On 16-Aug-00 Herbert Voss answered my request concerning BiBTeX and wrote: > do you run latex twice by hand? Thank you! I can explain... when I used TeX in MsDos, I had written a little batch file that was running latex, bibtex and so on. Now, under Linux, I had simply forgotten what I had to do! What a stupid! Thanks again, gm --- E-Mail: Guido Milanese <[EMAIL PROTECTED]> Homepage: http://fly.to/arsantiqua 16-Aug-00 - XFMail on Linux + + + + + + NON NOBIS DOMINE + + + + + + ---
Re: LyX - tkbibtex
Guido Milanese wrote: > I installed the excellent bibliography manager called > "tkbibtex". It works very well, and was able to digest a big > file with about 1000 entries. I have a problem with this > bibliographic manager + LyX. I think I did what is required for > the setup of the pipe to and from LyX: > > -- added > \serverpipe "/home/guido/.lyxpipe" > to my .lyxrc file; Is /home/guido/.lyxpipe local or is it on a server? You cannot create pipe-files on a remote filesystem. I had a similar problem and my solution was to specify: \serverpipe "/tmp/lyxpipe" which is local. Bruce -- Bruce Veidt National Research Council [EMAIL PROTECTED] Box 248 (250)493-2277 Penticton, BC V2A 6K3 fax: 493-7767 Canada
vertical spacing within table
I'd like to put a bit more vertical space between rows than LyX provides. I've tried setting the space above or below in the Layout->Paragraph box, but that seems to either have no effect, if a single cell is selected, or to only set the space above or below the whole table, not the stuff within the cells, if the whole table is selected. Changing to double spacing in the Layout->Document box does the job, but forces too much space between lines in a multi-line cell, and of course also forces double spacing everywhere in the document, not just the table. The Layout->Table box has a Width box, but nothing dealing with vertical dimensions. I can put TeX \vspace{} commands on every row, but this wreaks havoc on any borders. I don't see any mention of this topic in the User Guide or Extended Features guides. What am I missing? TIA, Jim
Re: Support for ncurses-LyX
On Tue, 15 Aug 2000, Florian Cramer said: > What thrills me most in the ongoing efforts to make LyX > GUI-indpendent is the prospect of a ncurses-LyX running on the > console. I personally would be excited by that because (a) it would > allow me to dump X11 from my laptop and (b) I generally prefer to > use console software. I hope other LyX users feel the same. I think emacs is a great front-end to LaTeX on the console. OK, using Emacs, You'll need to know LaTeX, but just take a look at the code LyX produces! It's quite simple. How would you show the different environments on the console? The best I could imagine would be: show the LaTeX code, because there are too many environments to format them uniquely on the console. And that's exactly what Emacs does. The problem here is, that not all people like Emacs, and that it's quite complex to use. But if you like to work on the console... :-) Another possibility would be framebuffers and GTK for framebuffers. > [...] -- Raffael Herzog [EMAIL PROTECTED] May the penguin be with you!