Re: Table of Contents formatting
With the help of your example, I now understand the documentation much better! Thanks! John From: Bob Lounsbury <[EMAIL PROTECTED]> To: John Hughes <[EMAIL PROTECTED]>,LyX Subject: Re: Table of Contents formatting Date: Tue, 03 Apr 2007 11:03:58 -0600 On 4/3/07 7:05 AM, "John Hughes" <[EMAIL PROTECTED]> wrote: > > > >> From: Bob Lounsbury <[EMAIL PROTECTED]> >> To: John Hughes <[EMAIL PROTECTED]>,LyX >> >> Subject: Re: Table of Contents formatting >> Date: Mon, 02 Apr 2007 16:18:44 -0600 >> >> On 4/2/07 9:48 AM, "John Hughes" <[EMAIL PROTECTED]> wrote: >> >>> By default, the highest level entries in the table of contents are set >> to >>> bold, which matches the default heading font. However, if I change the >>> default heading font to, for example, medium series small caps (using >>> sectsty), how can I change the highest level entries in the table of >>> contents to match? >>> >>> Thanks >>> >>> John >>> >>> _ >>> Solve the Conspiracy and win fantastic prizes. >>> http://www.theconspiracygame.co.uk/ >>> >> >> Check out the tocloft package to modify the toc, lof, or lot. >> >> Regards, >> Bob Lounsbury >> > > I've checked the documentation for that package and I'm still not sure how > to change the font of the entries at one level. I've tried entering: > > \makeatletter > [EMAIL PROTECTED] > \makeatother > > which doesn't use tocloft, but it doesn't seem to work. If anyone's had any > luck changing the font of table of contents entries with or without tocloft, > please let me know. > > Thanks. > > John > > _ > MSN Hotmail is evolving - check out the new Windows Live Mail. > http://ideas.live.co.uk/ > Here's a simple example of how to change the font using the tocloft package. Look at section 2.3 of the tocloft package documentation for further discussion. Regards, Bob Lounsbury << tocloft-sample.lyx >> _ Solve the Conspiracy and win fantastic prizes. http://www.theconspiracygame.co.uk/
Re: Table of Contents formatting
From: Bob Lounsbury <[EMAIL PROTECTED]> To: John Hughes <[EMAIL PROTECTED]>,LyX Subject: Re: Table of Contents formatting Date: Mon, 02 Apr 2007 16:18:44 -0600 On 4/2/07 9:48 AM, "John Hughes" <[EMAIL PROTECTED]> wrote: > By default, the highest level entries in the table of contents are set to > bold, which matches the default heading font. However, if I change the > default heading font to, for example, medium series small caps (using > sectsty), how can I change the highest level entries in the table of > contents to match? > > Thanks > > John > > _ > Solve the Conspiracy and win fantastic prizes. > http://www.theconspiracygame.co.uk/ > Check out the tocloft package to modify the toc, lof, or lot. Regards, Bob Lounsbury I've checked the documentation for that package and I'm still not sure how to change the font of the entries at one level. I've tried entering: \makeatletter [EMAIL PROTECTED] \makeatother which doesn't use tocloft, but it doesn't seem to work. If anyone's had any luck changing the font of table of contents entries with or without tocloft, please let me know. Thanks. John _ MSN Hotmail is evolving - check out the new Windows Live Mail. http://ideas.live.co.uk/
Table of Contents formatting
By default, the highest level entries in the table of contents are set to bold, which matches the default heading font. However, if I change the default heading font to, for example, medium series small caps (using sectsty), how can I change the highest level entries in the table of contents to match? Thanks John _ Solve the Conspiracy and win fantastic prizes. http://www.theconspiracygame.co.uk/
Caption line spacing
Setting the line spacing to one half doesn't affect captions - is there a way around this? John _ MSN Hotmail is evolving check out the new Windows Live Mail http://ideas.live.com
Re: mathtime font problems
Thanks, but I'm afraid I'm can't seem to find an entry for mathdesign that mentions that in the bug tracker. John From: Uwe Stöhr <[EMAIL PROTECTED]> To: John Hughes <[EMAIL PROTECTED]> CC: lyx-users@lists.lyx.org Subject: Re: mathtime font problems Date: Mon, 26 Feb 2007 12:33:43 +0100 John Hughes schrieb: So am I to understand that this package should NOT work? It should work, but it's no longer correctly included in MikTeX due to license restrictions. So some fonts are now missing, see MiKTeX's bugtracker. regards Uwe _ Exclusive Ed Byrne daily comedy clips on MSN Video http://specials.uk.msn.com/edbyrne/
Re: mathtime font problems
So am I to understand that this package should NOT work? John From: Uwe Stöhr <[EMAIL PROTECTED]> To: Bob Lounsbury <[EMAIL PROTECTED]> CC: LyX-Users Subject: Re: mathtime font problems Date: Thu, 22 Feb 2007 01:36:01 +0100 Bob Lounsbury schrieb: Here's a simple example. With instant preview I see: V I R V I R With pdf output I see: V D I R V D I R It should be: V = IR V = I*R This a bug in MiKTeX. Please export your LyX-file as plain LaTeX and send the resulting .tex-file to a bugreport in MiKTeX's bug tracker describing the problem: http://sourceforge.net/tracker/?group_id=10783&atid=110783 regards Uwe _ Rate your skiving credentials with our Slack-o-meter http://www.slack-o-meter.com
mathdesign
I was trying to change the typeface to Garamond using: \usepackage[garamond]{mathdesign} which seems to process ok, but when I try to open the resulting PDF it gives an error message "The font 'GaramondNo8-Reg' contains a bad /BBox" and the parts that are supposed to be bold or italic are medium and upright - this includes letters in mathematical equations. Is this package supposed to work in LyX and if so, what have I done wrong? Thanks John _ Get Hotmail, News, Sport and Entertainment from MSN on your mobile. http://www.msn.txt4content.com/
caption style
I've been trying to alter the caption style by adding either: \usepackage[small,bf]{caption} or: \usepackage{caption} \renewcommand{\captionfont}{\small} \renewcommand{\captionlabelfont}{\bfseries} to the preamble, but it doesn't seem to work. I either get "undefined control sequence" errors or simply no change in the document output. Please help. John _ Get Hotmail, News, Sport and Entertainment from MSN on your mobile. http://www.msn.txt4content.com/
Type 1 CM in LyX
When I export PDF documents from LyX for Windows (using any method), it uses the bitmap versions of the Computer Modern fonts. However, if I export a tex file to PDF through the Texmaker editor (again with Windows), it uses Type 1 Computer Modern fonts. Why is this? John _ MSN Hotmail is evolving check out the new Windows Live Mail http://ideas.live.com
RE: [Totally New] Trying to format mathematical equations in two columns
Hi, How about using a table? You can set the column widths so that the equations are as far apart or close together as possible and the rows will always line up. Regards John From: "Steven Harms (stharms)" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Subject: [Totally New] Trying to format mathematical equations in two columns Date: Wed, 31 Jan 2007 08:27:34 -0800 Hello All, LyX is great! It's helped me so much already! Regrettably, as you learn the power of LyX, the more you can be obsessive about tiny little details, so here's mine. I'm doing some math homework and I've been laying out my homework brilliantly with the Insert->Math->align. The two cool blue 'type-in' areas pop up and I enter "x+y" in the first and "=z" in the 2nd. With CTRL+M I can add more blue pairs and that's how I lay out my equations ( is that the LyX Way (tm) ? ). But on some homework we're obligated to do a "check". What I would like to do is have: (it's painful to re-lay this out after having the power of LyX ;) ) 14. Problem Check {titles should be centered over coulmn} __ |x+5=11 | x+5=11{underline} | | x=11-5| 6+5= | | x=6 | 11 {underline} | -- I looked at the \multicolumn{} directive but that seems only to 'flow' text from one col into another. I also looked at the \{tabbing} environment, but that doesn't seem to play nice with my math equations. Does anyone have an example of this that I could take a look at, or is there a Better Way? Thanks! Steven _ MSN Hotmail is evolving check out the new Windows Live Mail http://ideas.live.com
Re: BibTeX and master documents
Putting the bibliographies in the child documents in comments suits me perfectly. Thanks - and thanks for the other suggestions. They might come in handy another time! John From: [EMAIL PROTECTED] To: lyx-users@lists.lyx.org Subject: Re: BibTeX and master documents Date: Tue, 30 Jan 2007 21:39:08 +0100 On Tue, 30 Jan 2007, Georg Baum wrote: Am Dienstag, 30. Januar 2007 18:09 schrieb John Hughes: I have just discovered the Insert->File->Child Document option in LyX, which is useful for inserting several chapter documents into one master document. However, if I use BibTeX references in my chapter documents, they don't appear correctly in the master output. The best output I have managed so far inserts a bibliography at the end of each chapter but the individual bibliographies include all the references from the entire document (i.e. from all of the chapters). Is there a way of achieving either individual bibliographies that only include the references cited in their own chapters or a single bibliography at the end of the master document? AFAIK you need some extra packages for the first option, but the second one is easy. Don't include any bibliography in child documents, only include one in the master. If you want to enter a new citation in a child you need to open the child from the master doc, otherwise LyX will not know which .bib file is used. To make it easier to insert citatiosn (if you still need to), you can insert a bibliography within each child document, but place it inside a *comment*. That way LaTeX won't see it, but LyX will know what .bib-files to scan for when showing you the available citations. /C -- Christian Ridderström, +46-8-768 39 44 http://www.md.kth.se/~chr _ MSN Hotmail is evolving check out the new Windows Live Mail http://ideas.live.com
BibTeX and master documents
I have just discovered the Insert->File->Child Document option in LyX, which is useful for inserting several chapter documents into one master document. However, if I use BibTeX references in my chapter documents, they don't appear correctly in the master output. The best output I have managed so far inserts a bibliography at the end of each chapter but the individual bibliographies include all the references from the entire document (i.e. from all of the chapters). Is there a way of achieving either individual bibliographies that only include the references cited in their own chapters or a single bibliography at the end of the master document? Thanks John _ MSN Hotmail is evolving check out the new Windows Live Mail http://ideas.live.com
Re: Removing chapter prefix
Had another look around and the following doesn't work, probably because LyX uses babel: \renewcommand{\chaptername}{} However, this does work: \AtBeginDocument{% \addto\captionsenglish{% \renewcommand{chaptername}{}% }} So that's fixed now. Thanks for the pointers. John _ Get Hotmail, News, Sport and Entertainment from MSN on your mobile. http://www.msn.txt4content.com/
Removing chapter prefix
Is there an easy way of removing the word "Chapter" from chapter titles in the report and book classes? John _ MSN Hotmail is evolving check out the new Windows Live Mail http://ideas.live.com
A question about fonts
This is going to sound like a bit of a stupid question. I have quite a few fonts installed in Windows (XP) which are available to pretty much all of my programmes. LyX uses its own set of fonts, which aren't available to any other programmes and does not (appear) to be able to use the other fonts on the system. Why is this? And can LyX use the fonts installed in Windows? Thanks John _ MSN Hotmail is evolving check out the new Windows Live Mail http://ideas.live.com
Section numbers in left margin?
Is there a way of making the section (and subsection etc.) numbers appear in the left margin, so that the text of the section headings themselves are lined up with the left margin? _ MSN Hotmail is evolving check out the new Windows Live Mail http://ideas.live.com
Re: Font changes
That's a really useful preamble! I have another question: what if you just want to change the titles and headings to sans serif? John From: [EMAIL PROTECTED] (Jürgen Spitzmüller) To: lyx-users@lists.lyx.org Subject: Re: Font changes Date: Tue, 23 Jan 2007 13:25:48 +0100 Julio Rojas wrote: > I just can see some change in the normal paragraph > font using the Helvetica font. The only way I can change all the fonts > is using a non standard package in the preamble, like the attached > example using Pandora. If you want to use Helvetica for the main text, you'll have to change the body font family to sans serif first. In preamble: \renewcommand{\familydefault}{\sfdefault} The font dialog of LyX is indeed confusing (and LyX 1.5 will come with a completely rewritten font interface which addresses those problems). Jürgen _ MSN Hotmail is evolving check out the new Windows Live Mail http://ideas.live.com
Re: EPS problem
The xml file looks like this: -dBATCH -dSAFER -dMaxBitmap=5 -dNOPAUSE -dEPSCrop -dAlignToPixels=0 -sDEVICE=pdfwrite "-sOutputFile=%o" -- "%i"" /> -dBATCH -dSAFER -dMaxBitmap=5 -dNOPAUSE -dEPSCrop -dAlignToPixels=0 -sDEVICE=pswrite "-sOutputFile=%o" -- "%i"" /> There are no other entries starting with From: Nicolás <[EMAIL PROTECTED]> CC: lyx-users@lists.lyx.org Subject: Re: EPS problem Date: Tue, 23 Jan 2007 14:14:30 +0100 It seems ghostscript is called with the wrong "sDEVICE" option. In your case it is "bmpsep8", while it should be "pdfwrite". In the ImageMagick installation directory, there is a "config" folder, and inside there is a delegates.xml file. Check that you have a line like this: Now I have a question. My LyX installation uses epstopdf to do the convertion. Is epstopdf called by ImageMagick's convert? Nicolás John Hughes wrote: I did what you suggested and here's the output: START OF OUTPUT C:\Documents and Settings\jkh107\My Documents>convert -verbose light_data.eps li ght_data.pdf [ghostscript library] Files/gs/gs8.54/bin/gswin32c.exe" -q -dBATCH -dSAFER -dMax Bitmap=5 -dNOPAUSE -dAlignToPixels=0 "-sDEVICE=bmpsep8" -dTextAlphaBits= 4 -dGraphicsAlphaBits=4 "-g602x280" "-r72x72" "-sOutputFile=C:/DOCUME~1/jkh107/ LOCALS~1/Temp/magick-nyOLa4MV" "-fC:/DOCUME~1/jkh107/LOCALS~1/Temp/magick-x8HRWZ Pr" "-fC:/DOCUME~1/jkh107/LOCALS~1/Temp/magick-IWjoBUaI"C:/DOCUME~1/jkh107/LOCAL S~1/Temp/magick-nyOLa4MV[0] BMP 602x280 602x280+0+0 PseudoClass 256c 8-bit 664.8 36kb C:/DOCUME~1/jkh107/LOCALS~1/Temp/magick-nyOLa4MV[1] BMP 602x280 602x280+0+0 Pseu doClass 256c 8-bit 664.836kb C:/DOCUME~1/jkh107/LOCALS~1/Temp/magick-nyOLa4MV[2] BMP 602x280 602x280+0+0 Pseu doClass 256c 8-bit 664.836kb C:/DOCUME~1/jkh107/LOCALS~1/Temp/magick-nyOLa4MV[3] BMP 602x280 602x280+0+0 Pseu doClass 256c 8-bit 664.836kb 0.016u 0:01 C:/DOCUME~1/jkh107/LOCALS~1/Temp/magick-_6o2e0aY PS 602x280 602x280+0+0 DirectCl ass 16-bit 664.836kb 0.031u 0:01 light_data.eps EPT 602x280 602x280+0+0 DirectClass 16-bit 664.836kb light_data.eps=>light_data.pdf EPT 602x280 602x280+0+0 DirectClass 16-bit 82.656 3kb 0.031u 0:01 C:\Documents and Settings\jkh107\My Documents> END OF OUTPUT _ MSN Hotmail is evolving check out the new Windows Live Mail http://ideas.live.com _ Get Hotmail, News, Sport and Entertainment from MSN on your mobile. http://www.msn.txt4content.com/
Re: EPS problem
I did what you suggested and here's the output: START OF OUTPUT C:\Documents and Settings\jkh107\My Documents>convert -verbose light_data.eps li ght_data.pdf [ghostscript library] Files/gs/gs8.54/bin/gswin32c.exe" -q -dBATCH -dSAFER -dMax Bitmap=5 -dNOPAUSE -dAlignToPixels=0 "-sDEVICE=bmpsep8" -dTextAlphaBits= 4 -dGraphicsAlphaBits=4 "-g602x280" "-r72x72" "-sOutputFile=C:/DOCUME~1/jkh107/ LOCALS~1/Temp/magick-nyOLa4MV" "-fC:/DOCUME~1/jkh107/LOCALS~1/Temp/magick-x8HRWZ Pr" "-fC:/DOCUME~1/jkh107/LOCALS~1/Temp/magick-IWjoBUaI"C:/DOCUME~1/jkh107/LOCAL S~1/Temp/magick-nyOLa4MV[0] BMP 602x280 602x280+0+0 PseudoClass 256c 8-bit 664.8 36kb C:/DOCUME~1/jkh107/LOCALS~1/Temp/magick-nyOLa4MV[1] BMP 602x280 602x280+0+0 Pseu doClass 256c 8-bit 664.836kb C:/DOCUME~1/jkh107/LOCALS~1/Temp/magick-nyOLa4MV[2] BMP 602x280 602x280+0+0 Pseu doClass 256c 8-bit 664.836kb C:/DOCUME~1/jkh107/LOCALS~1/Temp/magick-nyOLa4MV[3] BMP 602x280 602x280+0+0 Pseu doClass 256c 8-bit 664.836kb 0.016u 0:01 C:/DOCUME~1/jkh107/LOCALS~1/Temp/magick-_6o2e0aY PS 602x280 602x280+0+0 DirectCl ass 16-bit 664.836kb 0.031u 0:01 light_data.eps EPT 602x280 602x280+0+0 DirectClass 16-bit 664.836kb light_data.eps=>light_data.pdf EPT 602x280 602x280+0+0 DirectClass 16-bit 82.656 3kb 0.031u 0:01 C:\Documents and Settings\jkh107\My Documents> END OF OUTPUT _ MSN Hotmail is evolving check out the new Windows Live Mail http://ideas.live.com
Re: EPS problem
Thanks - so I should expect pdflatex to work with EPS graphics. I have tried re-installing ghostscript, but it's still not working as I described. From: Georg Baum <[EMAIL PROTECTED]> To: lyx-users@lists.lyx.org Subject: Re: EPS problem Date: Mon, 22 Jan 2007 16:08:59 +0100 Nicolás wrote: > According to the bug's explanation, .ps and .eps are converted to .pdf, > not .png. I am using v1.4.3 with Miktex 2.5 and ImageMagic 2.6.7, and my > LyX behaves as expected by John. That is, I insert .eps graphics in my LyX > document and when invoking the pdflatex-view, the graphics are converted > to .pdf. Of course you are right. What I wrote is correct for other vector file formats, e.g. xfig or tgif. Georg _ MSN Hotmail is evolving check out the new Windows Live Mail http://ideas.live.com
Re: EPS problem
From: "Paul A. Rubin" <[EMAIL PROTECTED]> To: lyx-users@lists.lyx.org Subject: Re: EPS problem Date: Sun, 21 Jan 2007 16:13:48 -0500 John Hughes wrote: 1. ImageMagick is in the command path and LyX's path prefix. 2. When I convert the EPS file to PDF using the "convert" command, it changes my vector graphic into a very low resolution bitmap image - which is unsuitable for this purpose. 3. The temp directory contains both a copy of the EPS file and a PDF version of it. However, the PDF version is a blank A4 page. Thanks anyway - I do appreciate your help. No problems. The poor quality conversion has me wondering if there's a problem with Ghostscript. Imagemagick will use Ghostscript to convert PS/EPS to PDF. Rather than repeat copious details here, I'll refer you to the IM README.txt file (look for the item beginning "ImageMagick requires Ghostscript software ..."). In particular, the sentence "If Ghostscript is unavailable, the Display Postscript X11 extension is used to rasterize a Postscript document ..." makes me wonder if Ghostscript is properly installed and available on the command path (and whether it's up-to-date -- IM wants GS 8.10, although I presume there's an implicit 'or later'). /Paul So am I to understand that the following sequence of events should work: 1. Export an EPS vector graphic 2. Insert the EPS vector graphic into a LyX document 3. Export the LyX document to PDF using pdflatex 4. Get a PDF file with a nice vector graphic in it? I just want to make sure that we're not talking at crossed purposes. Thanks again John _ Get Hotmail, News, Sport and Entertainment from MSN on your mobile. http://www.msn.txt4content.com/
Re: EPS problem
From: "Paul A. Rubin" <[EMAIL PROTECTED]> To: lyx-users@lists.lyx.org Subject: Re: EPS problem Date: Sat, 20 Jan 2007 20:52:24 -0500 John Hughes wrote: As far as I can tell, everything is up to date now. I have discovered that I can include EPS graphics if I export the document to PostScript, then view the PS file in GSview and export it to PDF from there. But still no luck simply exporting the document straight from LyX to PDF using pdflatex (or either of the other options). I believe that PostScript output embeds EPS files directly, whereas PDF output requires conversion from EPS to PDF. I suspect that conversion is failing. Here are a few things to check: 1. Make sure that ImageMagick is either on your system command path or in LyX's path prefix (Tools->Preferences...->Paths->PATH prefix). I've got it both places on my system, but I think either one is sufficient. 2. Open a command prompt where your EPS image lives and run 'convert myfile.eps myfile.pdf' (changing the file name, of course). If IM is not on your command path, you'll need to change 'convert' to 'IM>\convert'. Make sure this produces a PDF file containing your image. 3. Try to View->PDF (pdflatex) a document containing an EPS image. While LyX is still open, use Windows Explorer to look into the temp directory. Tools->Preferences...->Paths->Temp directory will get you to the parent of the buffer directory; from there, you'll need to drill down a level or so. You should find a copy of your EPS file along with a converted PDF version of it. If either or both is missing, the conversion script may be having a problem with the path to the source file. /Paul 1. ImageMagick is in the command path and LyX's path prefix. 2. When I convert the EPS file to PDF using the "convert" command, it changes my vector graphic into a very low resolution bitmap image - which is unsuitable for this purpose. 3. The temp directory contains both a copy of the EPS file and a PDF version of it. However, the PDF version is a blank A4 page. Thanks anyway - I do appreciate your help. John _ MSN Hotmail is evolving check out the new Windows Live Mail http://ideas.live.com
Re: EPS problem
As far as I can tell, everything is up to date now. I have discovered that I can include EPS graphics if I export the document to PostScript, then view the PS file in GSview and export it to PDF from there. But still no luck simply exporting the document straight from LyX to PDF using pdflatex (or either of the other options). From: "Paul A. Rubin" <[EMAIL PROTECTED]> To: lyx-users@lists.lyx.org Subject: Re: EPS problem Date: Fri, 19 Jan 2007 11:51:37 -0500 John Hughes wrote: I'm running on WinXP with MikTeX and ImageMagick installed. Have you checked that your MikTeX is up to date? Someone else on the list (also a MikTeX user) reported a similar problem, and after reinstalling LyX and updating a few MikTeX files the problem disappeared. It wasn't clear whether the reinstallation of LyX or the update of MikTeX cured the problem (or whether Loki just got bored and decided to pick on someone else), but updating MikTeX is what I would try first. Assuming that doesn't do the trick, you might open a document in LyX, try to View->PDF (pdflatex), and (with LyX still open) peek into the temp directory and see if the missing image files are there (should have both EPS and PDF versions of each image). /Paul _ MSN Hotmail is evolving check out the new Windows Live Mail http://ideas.live.com
Re: EPS problem
I'm running on WinXP with MikTeX and ImageMagick installed. From: "Paul A. Rubin" <[EMAIL PROTECTED]> To: lyx-users@lists.lyx.org Subject: Re: EPS problem Date: Thu, 18 Jan 2007 16:20:33 -0500 John Hughes wrote: I would like to include EPS figures in my documents, but when I insert them they do not appear in the resulting PDF files. The documentation implies that EPS files should be supported natively - what am I doing wrong? What platform are you running on? Do you have ImageMagick installed? If you are a MikTeX user, is your MikTeX installation up to date? /Paul _ Find Love This New Year With match.com! http://msnuk.match.com
EPS problem
I would like to include EPS figures in my documents, but when I insert them they do not appear in the resulting PDF files. The documentation implies that EPS files should be supported natively - what am I doing wrong? John _ Find Love This New Year With match.com! http://msnuk.match.com
Missing report and slides
Under "Document class", I can choose article, book and letter but report and slides are missing. How do I get them to appear there? John _ Find Love This New Year With match.com! http://msnuk.match.com
Fonts and math fonts
I am a little confused over which is best method for changing the document font and the font used in mathematical equations. I don't want any particularly unusual fonts: Times, Helvetica and Courier and about all I need really. Can anyone let me know what the easiest method of changing the font for both text and equations is? _ Be the first to hear what's new at MSN - sign up to our free newsletters! http://www.msn.co.uk/newsletters
Re: BibTeX styles
Thanks - I've moved the files to somewhere without spaces in the name and now it works perfectly! On 20/12/06, Vaclav Smidl <[EMAIL PROTECTED]> wrote: On Wednesday 20 December 2006 10:20 am, you wrote: > Thanks. The file says this: > > This is BibTeX, Version 0.99cThe top-level auxiliary file: newfile1.aux > White space in argument---line 3 of file newfile1.aux > > : \bibstyle{"C:/Documents > : and Settings/john/My > : Documents/elsevier/elsart-harv"} Oh, that would be the classical problem of MikTeX, which does not like spaces in filenames. Save your .bst styles in another directory (e.g. c:\localtex\bibtex) and try again. V.
Re: BibTeX styles
Thanks. The file says this: This is BibTeX, Version 0.99cThe top-level auxiliary file: newfile1.aux White space in argument---line 3 of file newfile1.aux : \bibstyle{"C:/Documents : and Settings/john/My Documents/elsevier/elsart-harv"} I'm skipping whatever remains of this command I found no style file---while reading file newfile1.aux (There were 2 error messages) On 20/12/06, Vaclav Smidl <[EMAIL PROTECTED]> wrote: > Vaclav: I looked under Menu>Tools>Preferences>Paths, but I can't see > anything like lyx_tmpdir? or lyx_tmpbuf???. In, Menu>Tools>Preferences>Paths is an entry "Temporary directory". This directory is different in different systems, that is why I wanted you to see where is yours. On linux, my temporary directory is "/tmp". So, files lyx_tmpdir? or lyx_tmpbuf??? are in "/tmp" on my system. On yours, it would be probably "C:\Documents and Settings\..." You will find lyx_tmp... files there. Vasek
Re: BibTeX styles
Rudi: I'm using LyX and not LaTeX (although I had to use LaTeX when I was trying to make custom .bst files). Vaclav: I looked under Menu>Tools>Preferences>Paths, but I can't see anything like lyx_tmpdir? or lyx_tmpbuf???. I'm using Windows XP if that helps. John On 19/12/06, Vaclav Smidl <[EMAIL PROTECTED]> wrote: On Tuesday 19 December 2006 8:05 pm, John Hughes wrote: > Hi, > > I'm a little new to this, so please be patient with me. I'm trying to > use a BibTeX database to organise my references. The database seems to > work fine and I can insert a BibTeX reference list into my document > and use it to put citations in my document. However, when I try to > change the style using a .bst file generated from the custom-bib > program, the dvi output puts question marks instead of citations and > there's no reference list at all. The same thing happens when I use > any .bst file downloaded from the web. I'd like to use natbib to get > Harvard-style references. > > Any help would be greatly appreciated. > > John Hi, when I saw similar behaviour in LyX it was usually caused by some error or warning of bibtex. When I resolved them, I worked fine. To check what bibtex is doing, go to temp directory (see. Menu>Tools>Preferences>Paths). There, you will find a directory lyx_tmpdir? with subdirectory lyx_tmpbuf??? each directory belongs to one file open in LyX. Find the one related to your document and there you will see a file maned as your document with .blg extension. This is the bibtex log-file. Try to resolve errors and warnings listed there. Vasek
BibTeX styles
Hi, I'm a little new to this, so please be patient with me. I'm trying to use a BibTeX database to organise my references. The database seems to work fine and I can insert a BibTeX reference list into my document and use it to put citations in my document. However, when I try to change the style using a .bst file generated from the custom-bib program, the dvi output puts question marks instead of citations and there's no reference list at all. The same thing happens when I use any .bst file downloaded from the web. I'd like to use natbib to get Harvard-style references. Any help would be greatly appreciated. John