Re: BibTeX style problem
On Wednesday 14 November 2001 01:04, Nick Burgan wrote: > Guido, > > You can do all of these things and many more by using the package > natbib. Thanks! I have never tried this package. Now I am leaving for 3 days, but at my return I'll install the package and let you know. this is really a nice place to get help! g. -- E-Mail: Guido Milanese <[EMAIL PROTECTED]> Vocal Ensemble Ars Antiqua, Genova, Italia Homepage: http://www.arsantiqua.org + + + + + + NON NOBIS DOMINE + + + + + + + --
[jeff@jab.org: Re: problems with the lyx lists]
- Forwarded message from Jeff Breidenbach <[EMAIL PROTECTED]> - Delivered-To: [EMAIL PROTECTED] From: Jeff Breidenbach <[EMAIL PROTECTED]> To: [EMAIL PROTECTED] In-reply-to: <[EMAIL PROTECTED]> (message from Mate Wierdl on Tue, 13 Nov 2001 11:37:09 -0600) Subject: Re: problems with the lyx lists Date: Tue, 13 Nov 2001 10:56:39 -0800 Massive problems related to MHonARC 2.5.0 -- all mail is being queued and I am working with the author of MHonARC. There's a lot of traffic about this on both the [EMAIL PROTECTED] and [EMAIL PROTECTED] mailing lists about this right now. (Of course, we're not archiving it at the moment.) -Jeff - End forwarded message -
Re: Fractions
Op dinsdag 13 november 2001 13:46, schreef Herbert Voss: > "Egbert J.W. Boers" wrote: > > Is there a way to make fractures like 6/7 look like ¾? > http://www.lyx.org/help/mathmode.html#nicefrac Almost. Unfortunately it still uses the "slash" in stead of the "fraction" symbol -- and they are not the same. Can I change that? Also, the numbers are placed too close to the '/' symbol. Only after adding a small space, as in \nicefrac{6\,}{\,7} does it look (almost) right. Something else that is strange: if I type the ¼ symbol, I get the correct symbol on screen, but when I look at the dvi or postscript output it is changed into 1 - in my text. Any particular reason? 4 Egbert
Re: BibTeX style problem
Guido, You can do all of these things and many more by using the package natbib. If you haven't got it installed, install it. At the end of your document where you have your BibTeX Generated References, use the style plainnat . The plainnat.bst file comes with natbib and can be used to replace the plain.bst file. Then to use the package you just put in your preamble \usepackage{natbib} The only complication is that you can't utilise all the features of natbib by just using Insert --> Citation Reference. (I believe that in LyX 1.2 more natbib features are supported in this way) If you do Insert --> Citation Reference, you will get Jones et al. (1990) (I believe this is one of the options you wanted) If you would like some other options you need to use a bit of ERT. At the point in your document where you would like your reference, instead of doing Insert --> Citation Reference, type in ERT; \citet {jon90} (where jon90 is they key in your references database) and you will get the same style as above \citep{jon90} and you will get " (Jones et al.,1990) " \citealt{jon90} and you will get " Jones et al. 1990 " (the second option you wanted ) Natbib is very powerful, and there are hundreds of options. I suggest printing out the documentation that comes with natbib, and they are fairly easy to work out from that. I hope this has been of some help Nick On Wed, 14 Nov 2001 10:10:am, Guido Milanese wrote: > This is slightly OT, and in fact I posted this question to the TeX > list, but i had no answer -- that's why i take the liberty to ask > this question here. > > I am looking for a BibTeX style of the author-date type, but with no > parenthesis added before and after the entry. I tried also the > authordate series, but the problem remains. > The format should be as such: > > ...as noticed by Wright:1992 and by Maltby:1991. > > or > > ...as noticed by Wright (1992) and by Maltby (1991). > > but not as follows: > ...as noticed by (Wright:1992) and by (Maltby:1991). > > Thank you very much. > gm > > -- > E-Mail: Guido Milanese <[EMAIL PROTECTED]> > Vocal Ensemble Ars Antiqua, Genova, Italia > Homepage: http://www.arsantiqua.org > + + + + + + NON NOBIS DOMINE + + + + + + + > -- -- 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
Page format questions
I'm using book class layout with plain page style for my dissertation (multipart document). I'm doing to final formatting required by grad school and I have two questions: 1- How can I remove the "content" entry from the table of content? 2- How can I have the page numbers printed at lower (or upper) right hand side for all pages (not centered). Thanks, -Mohammad -- Mohammad Reza Danesh E-mail:[EMAIL PROTECTED] Aerospace and Mechanical Engineering Dept.http://www-scf.usc.edu/~daneshde University of Southern California 1042- Downey way, DRB 101, LA, CA, 90089
tex2pdf 3.0 released
Hello everyone! About: tex2pdf is a script that generates a PDF file from a LaTeX or LyX document using tools like pdflatex and hyperref. Changes in this release: * first stable release of tex2pdf in Perl * totally rewritten parameter/option handling * removed any unnecessary shell command: no more sed problems! * much better handling of referenced files * many, many other internal changes Credits for this release: * thanks a lot to Fernando Perez for helping me with the porting * thanks a lot to Jean-Pierre Chretien for discussing many issues and giving me continuous feedback on the beta releases * thanks to anyone else who has helped me to get this done More information: http://tex2pdf.berlios.de/ Bye, Steffen
Bibliography styles...
Hi, I've looked the Herbert help page, but I haven't found what I need, maybe because I haven't searched enough :-) I would like to have a bibliography splitted in several sections, each section containing some of the documents listed. I've tried chapterbib but it seems to work only if the \cite are in the chapter where the bibliography is. I need a global bibliography for the whole document but organized in several sections. Is there a package than can do that? Thanks for any tips. BG
BibTeX style problem
This is slightly OT, and in fact I posted this question to the TeX list, but i had no answer -- that's why i take the liberty to ask this question here. I am looking for a BibTeX style of the author-date type, but with no parenthesis added before and after the entry. I tried also the authordate series, but the problem remains. The format should be as such: ...as noticed by Wright:1992 and by Maltby:1991. or ...as noticed by Wright (1992) and by Maltby (1991). but not as follows: ...as noticed by (Wright:1992) and by (Maltby:1991). Thank you very much. gm -- E-Mail: Guido Milanese <[EMAIL PROTECTED]> Vocal Ensemble Ars Antiqua, Genova, Italia Homepage: http://www.arsantiqua.org + + + + + + NON NOBIS DOMINE + + + + + + + --
Re: figures side to side
Le Mardi 13 Novembre 2001 18:38, vous avez écrit : > How can i place two figures side to side and not one under the other in > the same float? You just need to put them on the same paragraph and have them small enough for the second not to go to the next line, you can also put an extensible space (insert->special caracter) between them to have one on the left and one on the right. See sample (won't compile as there are no figures, but show the behavior). -- Les petits pois sont rouges ! Renaud MICHEL #LyX 1.1 created this file. For more info see http://www.lyx.org/ \lyxformat 218 \textclass article \language frenchb \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 \begin_float fig \layout Standard \align center \begin_inset Figure size 100 100 flags 9 \end_inset \hfill \begin_inset Figure size 100 100 flags 9 \end_inset \layout Caption \end_float \the_end
figure floats & descriptions
Hi, I am having problems trying to get a figure float to work when the description class of text follows the float. I want get the figure either on the left or right side, and have the description text on the side. I can get it to work as standard text, but I would like to use the description text because it bolds the first word and does not do indents. any ideas/suggestions? Thanks, Rodney
Re: figures side to side
On Tue, 13 Nov 2001, Giovanni De Matteis wrote: > How can i place two figures side to side and not one under the other in > the same float? place it in a table of 1 row and two column inside the figure float. But it's better to use minipage command, try the following... [inside the float, all in red command (tex style)] \begin{tabular}{cc} \begin{minipage}{9.5cm} insert the first figure \end{minipage} & \begin{minipage}{5cm} insert the second figure \end{minipage} \end{tabular} Figure: title bla.. bla... I hope you do not find error. Wayan
figures side to side
How can i place two figures side to side and not one under the other in the same float?
RE: Export a PDF file
I opened the file with a PDF and PS extension in Ghostview and it is fine (although the ouput is pretty rough looking considering the font was set as pslatex). But if I try to convert it to a pdf Ghostview crashes. I think you are right about it being a postscript file. Here is the start of the file. %!PS-Adobe-3.0 %%Pages: (atend) %%BoundingBox: 113 42 545 718 %%HiResBoundingBox: 113.10 42.30 545.00 717.60 %... %%Creator: GNU Ghostscript 550 (pswrite) %%CreationDate: 2001/11/12 23:15:57 %%DocumentData: Clean7Bit %%LanguageLevel: 2 %%EndComments %%BeginProlog I am going to have to try this again on my home linux box to see if I can repeat the process. Thanks Kent Kostuk [EMAIL PROTECTED]
Re: Export a PDF file
Kent, It may be that your file is still postscript... change the file extention to .ps on your windows machine and try to view it with ghostview... Remzi - Original Message - From: "Kent Kostuk" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, November 13, 2001 8:32 AM Subject: Export a PDF file > I was just wondering what is the most consistent way to generate a PDF > document that is 100% readable by someone using Windows and Adobe Acrobat? I > find that it is hit and miss when I generate a PDF from within LyX. For > instance I exported a document last night and find that I can only view it > using Ghostview on my windows machine here at work. When I try to open the > document in Acrobat I get the error "file does not start with %PDF-" > > Kent Kostuk > [EMAIL PROTECTED] >
Re: Converting to latex form command line
On Tue, Nov 13, 2001 at 01:04:28PM +0200, Tuukka Toivonen wrote: > On Tue, 13 Nov 2001, Michael Hierweck wrote: > > >the lyx -> latex export to the makefile. Is there a possibility to call lyx from > >the command line to export a specifeid .lyx file to latex (like the menu entry > > Yes, see lyx --help. The correct parameter is > lyx -e latex file.lyx > (or maybe -e tex, try it out). It might need a running X-server, however > (I'm not sure if this limitation is still in place). No, it's not still in place. -- Kayvan A. Sylvan | Proud husband of | Father to my kids: Sylvan Associates, Inc. | Laura Isabella Sylvan | Katherine Yelena (8/8/89) http://sylvan.com/~kayvan | "crown of her husband" | Robin Gregory (2/28/92)
eps/psfrag tryck
hi! I'm using latex font within eps figures through psfrag package. I read some documentation about that and I've put psfrag to work in my Lyx document. It works fine, allowing to use latex font in anyway produced eps files. However, if I scale the figure, the fonts result scaled too. This is a problem, since if I scale figures to 50%, fonts becomes unreadable in practice. Someone knows how to scale the eps figure, without scale the font, i.e. keeping the font size of the document? regards, Giorgio
Re: Export a PDF file
On Tue, Nov 13, 2001 at 08:32:32AM -0600, Kent Kostuk wrote: > I was just wondering what is the most consistent way to generate a PDF > document that is 100% readable by someone using Windows and Adobe Acrobat? I > find that it is hit and miss when I generate a PDF from within LyX. For > instance I exported a document last night and find that I can only view it > using Ghostview on my windows machine here at work. When I try to open the > document in Acrobat I get the error "file does not start with %PDF-" What does the start of the file look like? At what point in the translation process does this get in if you do the conversions manually? Andre' -- André Pönitz .. [EMAIL PROTECTED]
Export a PDF file
I was just wondering what is the most consistent way to generate a PDF document that is 100% readable by someone using Windows and Adobe Acrobat? I find that it is hit and miss when I generate a PDF from within LyX. For instance I exported a document last night and find that I can only view it using Ghostview on my windows machine here at work. When I try to open the document in Acrobat I get the error "file does not start with %PDF-" Kent Kostuk [EMAIL PROTECTED]
Re: Fractions
"Egbert J.W. Boers" wrote: > > Is there a way to make fractures like 6/7 look like ¾? -- http://www.lyx.org/help/mathmode.html#nicefrac HErbert
Re: \over vs \frac, and large tables
>> Well, you can write recursive descent parsers, LR(1) parsers (yacc, bison, >> etc.). > >You can't. You can't parse TeX cleanly without context. There might >be macro, active characters, "unusual" catcodes and thing like that. Oh, so it's context-sensitive. That's nice :( >Ideally, you would have to run through everything TeX would have seen >until it comes to the expression itself. Of course one could made >"normalizing assumptions" (like "no catcode changes"), but even than the >scope of \over is not exactly trivial. Ugly. >Short of re-implementing TeX itself I see no clean solution. That's too bad. >> perl -e 'while(<>){s/(\d+)\s*\\over\s+(\d+)/\\frac{$1}{$2}/g;print;}' > >This one fails already on '1\over2' or '1 + 2\over 3'. Well, as I said, my document's use of it was trivial, mostly limited to simple fractions, so it fit simple pattern matching. Something like 1 + 2\over 3 never appeared. 1 + {2 \over 3} and \frac{1+2}{3} might have appeared, but not 1 + 2\over 3. Writing a general script to convert \over to \frac under all cases sounds tough -- it sounds like you must almost parse the whole document in order to infer the context of \over. All I had to do was convert some simple fractions. Lee
Fractions
Is there a way to make fractures like 6/7 look like ¾? Egbert
Re: \over vs \frac, and large tables
On Tue, Nov 13, 2001 at 05:21:59AM -0600, Lee Killough wrote: > Well, you can write recursive descent parsers, LR(1) parsers (yacc, bison, > etc.). You can't. You can't parse TeX cleanly without context. There might be macro, active characters, "unusual" catcodes and thing like that. Ideally, you would have to run through everything TeX would have seen until it comes to the expression itself. Of course one could made "normalizing assumptions" (like "no catcode changes"), but even than the scope of \over is not exactly trivial. > It's not _that_ hard to parse. Short of re-implementing TeX itself I see no clean solution. > I did not have \over with complicated expressions in them -- that was > always \frac. > > perl -e 'while(<>){s/(\d+)\s*\\over\s+(\d+)/\\frac{$1}{$2}/g;print;}' This one fails already on '1\over2' or '1 + 2\over 3'. Andre' -- André Pönitz .. [EMAIL PROTECTED]
Re: \over vs \frac, and large tables
>> Is there a way to make LyX display \over the same way \frac is displayed? > >No way unless you want to use 1.2.0cvs. It's working there. I may give it a try. >There is another point: parsing \over is _much_ harder than parsing \frac. I think I see what you mean, since \frac always has its arguments enclosed in braces after the \frac, so you can do trivial counting of {'s and }' to find where \frac's arguments begin and end. And \frac is prefix, while \over is infix. >How do you recognize the begin of the numerator and the end of the >denominator? Well, you can write recursive descent parsers, LR(1) parsers (yacc, bison, etc.). It's not _that_ hard to parse. It's true that simple regexp matching like Perl's s/abc/xyz/ would not be sufficient. But I did not have anything that complicated. \over was used for numerical fractions like 1/2 or 3/4, so they were trivial to parse. I did not have \over with complicated expressions in them -- that was always \frac. perl -e 'while(<>){s/(\d+)\s*\\over\s+(\d+)/\\frac{$1}{$2}/g;print;}' Lee
Re: Converting to latex form command line
On Tue, 13 Nov 2001, Michael Hierweck wrote: >the lyx -> latex export to the makefile. Is there a possibility to call lyx from >the command line to export a specifeid .lyx file to latex (like the menu entry Yes, see lyx --help. The correct parameter is lyx -e latex file.lyx (or maybe -e tex, try it out). It might need a running X-server, however (I'm not sure if this limitation is still in place). -- | Tuukka Toivonen <[EMAIL PROTECTED]> [PGP public key | Homepage: http://www.ee.oulu.fi/~tuukkat/ available] | Try also finger -l [EMAIL PROTECTED] | Studying information engineering at the University of Oulu +---
Re: Converting to latex form command line
On Tue, Nov 13, 2001 at 11:54:35AM +0100, Michael Hierweck wrote: > Is there a possibility to call lyx from the command line to export a > specifeid .lyx file to latex (like the menu entry export to latex)? 'lyx --export latex ' did the trick last time I looked at it. Andre' -- André Pönitz .. [EMAIL PROTECTED]
Converting to latex form command line
Hello! I'm new to LyX, but already have some experience with latex and tex. I have to adopt a project with some lyx files and to integrate it into a larger existing project. There is a makefile which processes the documents and creates latex files form others sources. then it converts them do dvi, ps, pdf and so on. My question is: there are some users that want to use lyx. I wolud like to add the lyx -> latex export to the makefile. Is there a possibility to call lyx from the command line to export a specifeid .lyx file to latex (like the menu entry export to latex)? Thanks for your help. Michael Hierweck
Re: problem using pdfscreen
> On Fri, 9 Nov 2001 18:45:26 -0400, Jacobo Myerston <[EMAIL PROTECTED]> said: JM> Hi, Using pdfscreen when I use the command paneltoc the JM> compilation stops and give the error : JM> Undefined control sequence. l.1 \select @language {english} JM> the same happens when I change the language! Yes, I hit the same problem. The only way was to remove the very first line from the .TOC file. I have these recipes in the Makefile: %.tex: %.lyx $(LYX) -e latex $< %.pdf: %.tex rm -f $(<:.tex=.toc) $(PDFLATEX) $< mv $(<:.tex=.toc) $(<:.tex=.toc).tmp sed 1d $(<:.tex=.toc).tmp > $(<:.tex=.toc) rm $(<:.tex=.toc).tmp $(PDFLATEX) $< hth, ciao, lele. -- nickname: Lele Gaifax | Quando vivro' di quello che ho pensato ieri real: Emanuele Gaifas | comincero' ad aver paura di chi mi copia. email: [EMAIL PROTECTED] | -- Fortunato Depero, 1929.
Re: \over vs \frac, and large tables
On Tue, Nov 13, 2001 at 01:42:23AM -0600, Lee Killough wrote: > Is there a way to make LyX display \over the same way \frac is displayed? No way unless you want to use 1.2.0cvs. It's working there. > I can see the point of displaying it differently to let you know it's > \over instead of \frac, but since LyX is not supposed to be 100% WYSIWYG, > I think it should be allowed to display \over and \frac the same, just so > they are both readable. There is another point: parsing \over is _much_ harder than parsing \frac. > To fix it, I wrote a Perl script to change all of my \over's to \frac's. How do you recognize the begin of the numerator and the end of the denominator? Andre' -- André Pönitz .. [EMAIL PROTECTED]