Re: Lyx 1-4-4 neglects .eps bounding box?
Póta György wrote: > Dear Users, > > Under Windows the best way of creating .eps drawings was to draw the > figure, to print it as an .eps file and then to use epstool to add a > bounding box around the figure in an a4 page. Thus, only the figure was > seen in Lyx the a4 page was not. > > However, Lyx-1-4-4 apparently neglects the bounding box created by the > above method, and both in Lyx and Yap the whole a4 page is visible with > the wanted figure in the middle. That should not happen. Your procedure is supposed to work. If you send us an example .eps file (with correct bounding box) that shows this behaviour we can find out whether it is a local problem with your installation, or a general one. Without an example it is difficult. Georg
Re: Lyx 1-4-4 neglects .eps bounding box?
>>To: lyx-users@lists.lyx.org >>From: Georg Baum <[EMAIL PROTECTED]> >>Subject: Re: Lyx 1-4-4 neglects .eps bounding box? >>Date: Wed, 28 Feb 2007 09:48:30 +0100 >> >>Póta György wrote: >> >>> Dear Users, >>> >>> Under Windows the best way of creating .eps drawings was to draw the >>> figure, to print it as an .eps file and then to use epstool to add a >>> bounding box around the figure in an a4 page. Thus, only the figure was >>> seen in Lyx the a4 page was not. >>> >>> However, Lyx-1-4-4 apparently neglects the bounding box created by the >>> above method, and both in Lyx and Yap the whole a4 page is visible with >>> the wanted figure in the middle. >> >>That should not happen. Your procedure is supposed to work. If you send us >>an example .eps file (with correct bounding box) that shows this behaviour >>we can find out whether it is a local problem with your installation, or a >>general one. Without an example it is difficult. A test on the first line of the file could help: if the EPS string is missing, LyX thinks is PS and not EPS, even with a BB included. ps2eps does add the EPS string in the first line, don't know for epstool. Lyx does handle differently these two files: -> head trace.eps %!PS-Adobe-2.0 %%Title: trace.eps %%Creator: gnuplot 4.0 patchlevel 0 %%CreationDate: Tue Nov 21 08:47:17 2006 %%DocumentFonts: (atend) %%BoundingBox: 50 50 554 770 %%Orientation: Portrait %%Pages: (atend) %%EndComments -> head tt.eps %!PS-Adobe-2.0 EPSF-2.0 %%Title: tt.fig %%Creator: fig2dev Version 3.2 Patchlevel 3c %%CreationDate: Wed Jun 26 10:27:11 2002 %%BoundingBox: 0 0 249 159 %%Magnification: 1. %%EndComments -- Jean-Pierre
Re: Lyx 1-4-4 neglects .eps bounding box?
Jean-Pierre Chretien wrote: > A test on the first line of the file could help: if the EPS string is > missing, LyX thinks is PS and not EPS, even with a BB included. True. But that does not explain why it stopped working with 1.4.4, this is the case since a long time. Georg
ERT \today output format
I have just installed SUSE 10.0 on a friend's machine. The installed LyX (version 1.3.4 out of the box) displays the output of the TeX \today in American style: Feb 24, 2007 instead of 24th February, 2007 The Language for LyX is English, not American. Is this a LyX problem of a teTeX problem. If it is a teTeX problem, how do I fix it? regards John O'Gorman
Re: Lyx 1.5.0 beta1 screen fonts antialiasing?
Shu Li wrote: Hi, I am using Red Hat EL4, Qt 4.2.2 and Lyx 1.5.0 beta1. Comparing to the old Lyx 1.4.3, version 1.5.0 looks lacking of the anti-aliasing processing on the screen fonts. While in 1.4.3 the screen fonts look pretty smooth, those in 1.5.0 have fractures or spikes and that made them unclear, even though I tried switching the screen fonts several times. My 1.4.3 and 1.5.0 runs on the same computer. I don't know if that's the problem of QT4 or Lyx, or could I set some preference to have the anti-aliasing back? Thank you. My lyx 1.5 beta (on debian) does antialiasing. Did you try something simple like tools->preferences->screen fonts? Make sure lyx-1.5 uses exactly the same fonts as lyx-1.4.3 do. Perhaps your xserver isn't capable of antialiasing all fonts, and lyx-1.5 might install itself with bad defaults. Do you have any other qt4 apps - do they get antialiased fonts? Lyx 1.4.3 uses qt3, any qt3 setup you may have done will have to be re-done for qt4 as well. Helge Hafting
Re: Lyx 1.5.0 beta1 screen fonts antialiasing?
>>Date: Wed, 28 Feb 2007 10:46:08 +0100 >>From: Helge Hafting <[EMAIL PROTECTED]> >>To: Shu Li <[EMAIL PROTECTED]> >>CC: lyx-devel@lists.lyx.org, lyx-users@lists.lyx.org >>Subject: Re: Lyx 1.5.0 beta1 screen fonts antialiasing? >> >>Shu Li wrote: [...] >>> >>> I don't know if that's the problem of QT4 or Lyx, or could I set some >>> preference to have the anti-aliasing back? Thank you. >>My lyx 1.5 beta (on debian) does antialiasing. >>Did you try something simple like tools->preferences->screen fonts? >>Make sure lyx-1.5 uses exactly the same fonts as lyx-1.4.3 do. >>Perhaps your xserver isn't capable of antialiasing all fonts, and >>lyx-1.5 might install itself with bad defaults. >> >>Do you have any other qt4 apps - do they get antialiased fonts? >>Lyx 1.4.3 uses qt3, any qt3 setup you may have done will have >>to be re-done for qt4 as well. Same behaviour on my Debian Etch, where lyx-1.4.3 works fine. Changing the Screen Fonts solves the problem for the document font, not for the menu fonts (the popup which opens on slection of File, eg. has anti-aliased fonts, but the spellchecker window has not). Do I miss some package ? I don't have dependency check when buiding from source... -- Jean-Pierre
[Re] problem with tex4ht ### SOLVED ###
From: Ares <[EMAIL PROTECTED]> Hello everyone, I wrote a nice user manual for my application in LyX and I wanted to translate it to html to inlcude it direclty in the user interface (I know pdf with hyperref can do wonderful things but I want to play with html now). After some trouble (always the same problem of compatibility of hyperref package) I manage to have a good html by: 1. exporting foo.lyx to foo.tex (plain) 2. latex foo 3. bibtex foo 3. latex foo 4. latex foo 3. htlatex foo "html" except that figures look very bad (not all) as I suspect they are converted from png to eps to jpg and resized as well somewhere. but this is not my concern now. try \usepackage{graphicx} in the preamble, and \DeclareGraphicsExtensions{.png,.eps,.ps} in your document. This shall avoid useless file conversions. I try to do: htlatex foo "html,2,frames" as suggested in the tex4ht doc (file:///C:/Programmi/MiKTeX%202.5/doc/tex4ht/tex4ht/mn.html) to "break up the output into separate web pages, in accordance to the two top sectioning levels of the document" and to "place the content and table of contents in separate frames". what I get is a single file, in one single frame. The funny thing is that I managed to achive the desired result some time ago on the same machine. by the way I'm on WinXP, LyX 1.4.3, freshly updated MiKTeX 2.5 To solve this problem, try renaming the htlatex.exe file (which is equivalent to deleting it while saving it for later) and moving the htlatex.bat file to the htlatex.exe folder (you have to locate these two files - exe and bat - on your machine). thanks to Eitan M. Gurari. -- Diego http://www.webalice.it/ares001/ | __o| It is easier | _`\(,_ | to get forgiveness | (_)/ (_) | than permission
LyX 1.4.3 doesn't run bibtex
Hi, I upgraded to 1.4.3, and now LyX doesn't seem to run bibtex at all. So I have to resort to running bibtex at the command-line, which is a bit annoying. I'm using the OS X veresion of LyX 1.4.3 on a Mac Powerbook G4. Am I the only one who has encountered this problem? regards, Peter Ljunglöf ___ _ __ __ _ _ _ peter ljunglöf, göteborgs universitet
Re: LyX 1.4.3 doesn't run bibtex
Nope, my wife uses Jurabib (which uses bibtex) on the same platform, without a problem. On 2/28/07, Peter Ljunglöf <[EMAIL PROTECTED]> wrote: Hi, I upgraded to 1.4.3, and now LyX doesn't seem to run bibtex at all. So I have to resort to running bibtex at the command-line, which is a bit annoying. I'm using the OS X veresion of LyX 1.4.3 on a Mac Powerbook G4. Am I the only one who has encountered this problem? regards, Peter Ljunglöf ___ _ __ __ _ _ _ peter ljunglöf, göteborgs universitet -- - Julio Rojas [EMAIL PROTECTED]
Re: ERT \today output format
On Wednesday 28 February 2007 10:42:26 am John O'Gorman wrote: > The Language for LyX is English, not American. > Is this a LyX problem of a teTeX problem. For latex and lyx, English == American and British == British English. > If it is a teTeX problem, how do I fix it? Change the language to British and it will work. :-) > regards > John O'Gorman -- José Abílio
Re: Single emphasized word in a long title
On Feb 27, 2007, at 12:30 PM, Deane Harder wrote: Hi Bennett, since your file worked fine on my system, too, I tried to track down the culprit and it seems that it's the document setting on font "ae". When I switched to palatino, it was ok. Are there no italics in ae? I used this font because it was recommended on the LyX on Mac Wiki page. I see the same thing in ae with the sans serif, though I get italics with the serif font. I'm not sure what's going on; maybe someone else knows. Where is ae recommended on the Mac wiki page? Bennett
Re: LyX 1.4.3 doesn't run bibtex
On Feb 28, 2007, at 6:36 AM, Peter Ljunglöf wrote: Hi, I upgraded to 1.4.3, and now LyX doesn't seem to run bibtex at all. So I have to resort to running bibtex at the command-line, which is a bit annoying. I'm using the OS X veresion of LyX 1.4.3 on a Mac Powerbook G4. Am I the only one who has encountered this problem? I don't remember hearing this reported before. Are you sure bibtex is located in one of the directories specified in PATH Prefix (LyX > Preferences > Paths)? Bennett
Re: Single emphasized word in a long title
Hi Bennett, since your file worked fine on my system, too, I tried to track down the culprit and it seems that it's the document setting on font "ae". When I switched to palatino, it was ok. Are there no italics in ae? I used this font because it was recommended on the LyX on Mac Wiki page. /I see the same thing in ae with the sans serif, though I get italics with the serif font. I'm not sure what's going on; maybe someone else knows. / Yes, I've used sans serif and I had also problems with small caps. I just used pslatex as font instead, cause is has a print out size similar to ae and everything worked fine. / Where is ae recommended on the Mac wiki page? / In the "Walkthrough" section, chapter "Creating your first LyX document"(http://wiki.lyx.org/Mac/Walkthrough). It's mentioned to increase on-screen readability for PDF previews compared to bit-mapped fonts, but I personally find that vector-based fonts (ae vs. default) have also a cleaner finish on a laser print out - that's why I wanted to use ae in the first place. Deane
Re: Single emphasized word in a long title
On Feb 28, 2007, at 9:10 AM, Deane Harder wrote: / Where is ae recommended on the Mac wiki page? / In the "Walkthrough" section, chapter "Creating your first LyX document"(http://wiki.lyx.org/Mac/Walkthrough). It's mentioned to increase on-screen readability for PDF previews compared to bit- mapped fonts, but I personally find that vector-based fonts (ae vs. default) have also a cleaner finish on a laser print out - that's why I wanted to use ae in the first place. If you have CM Super installed, the default option will use vector- based fonts. On Mac, I use Gerben Wierda's installation of TeX Live (via i-Installer), which allows you to use Hoefler Text as your font by including in your preamble: \usepackage{gtamachoefler} (There are some options for it as well as packages for using other standard Mac fontns as well, which he has documented.) Or there's always XeTeX. Bennett
Re: Single emphasized word in a long title
Thanks Bennett, I'll try that! Deane
Re: Lyx 1.5.0 beta1 screen fonts antialiasing?
I changed those fonts on my Ubuntu system using the qt4 configuration utility: qtconfig-qt4 which is in the package qt4-qtconfig (I assume that is in Debian as well). Jean-Pierre Chretien wrote: Date: Wed, 28 Feb 2007 10:46:08 +0100 From: Helge Hafting <[EMAIL PROTECTED]> To: Shu Li <[EMAIL PROTECTED]> CC: lyx-devel@lists.lyx.org, [EMAIL PROTECTED] Subject: Re: Lyx 1.5.0 beta1 screen fonts antialiasing? Shu Li wrote: [...] I don't know if that's the problem of QT4 or Lyx, or could I set some preference to have the anti-aliasing back? Thank you. My lyx 1.5 beta (on debian) does antialiasing. Did you try something simple like tools->preferences->screen fonts? Make sure lyx-1.5 uses exactly the same fonts as lyx-1.4.3 do. Perhaps your xserver isn't capable of antialiasing all fonts, and lyx-1.5 might install itself with bad defaults. Do you have any other qt4 apps - do they get antialiased fonts? Lyx 1.4.3 uses qt3, any qt3 setup you may have done will have to be re-done for qt4 as well. Same behaviour on my Debian Etch, where lyx-1.4.3 works fine. Changing the Screen Fonts solves the problem for the document font, not for the menu fonts (the popup which opens on slection of File, eg. has anti-aliased fonts, but the spellchecker window has not). Do I miss some package ? I don't have dependency check when buiding from source...
Re: Lyx 1.5.0 beta1 screen fonts antialiasing?
Shu Li wrote: > I don't know if that's the problem of QT4 or Lyx It's QT4 -- Rex
Re: LyX 1.4.3 doesn't run bibtex
Peter Ljunglöf wrote: > I upgraded to 1.4.3, and now LyX doesn't seem to run bibtex at all. So > I have to resort to running bibtex at the command-line, which is a bit > annoying. I'm using the OS X veresion of LyX 1.4.3 on a Mac Powerbook G4. > > Am I the only one who has encountered this problem? I've had what might be the same problem on my work machine, which runs Fedora 3. (Yes, I need to upgrade.) After some LyX upgrade or other, I couldn't get LyX to compile anything that uses BibTeX and had to resort to doing it all by hand. I haven't solved the problem but will try to look again on Friday, when next I'm at the office. Richard -- == Richard G Heck, Jr Professor of Philosophy Brown University http://bobjweil.com/heck/ == Get my public key from http://sks.keyserver.penguin.de Hash: 0x1DE91F1E66FFBDEC Learn how to sign your email using Thunderbird and GnuPG at: http://dudu.dyn.2-h.org/nist/gpg-enigmail-howto
Re: 1.4.4: Missing PNG converter
Oliver Horvath wrote: Hi, I updated to lyx 1.4.4 (Windows XP). If I want to build a document with pdflatex, I get the following error: No Information available to convert pdf to png. Please define converter settings. Any hints, what converter settings I have to setup? Is this still a problem for you? If so, can you post a small example file (plus image)? I'm having a hard time picturing why LyX would need to convert a PDF image to PNG in order to produce PDF output. /Paul
Re: help with citations (jurabib package)
I think there's an easier way to do this. First, we want to make ordinary citations into footnote citations. Try this: \renewcommand\citep{\footcite} Then insert your citations making sure you're doing it in the "(Author, Year)" style, so that you get \citep. (Of course, you can also do it other ways and change the \renewcommand, or have several different ones.) Second, getting endnotes is trivial: Just \usepackage{endnotes} and jurabib will give you endnotes automagically (at least as of v. 0.51---see the docs). (If you need endnotes otherwise, of course you'll need the \let\footnote=\endnote trick anyway.) Third, put \jurabibsetup{citefull=first} into the preamble, so you get full bibliographical info in the first citation. (See the other choices, too.) As for the problem with ibidem, this is controlled by jurabib options, too. It looks like you have ibidem=name for some reason. You probably want ibidem=nostrict. Do you have a jurabib.cfg that's setting this? What's below is LaTeX not LyX, but it works and should be adaptable. Of course, you'll have to change the citations to one of yours to get it working for you. The only trick here, then, is getting the footcite to work. It might be worth filing an enhancement request to have that option added to the bibliography dialog. Should be fairly simple to do, I'd suppose. By the way, I tried \let\citep=\footcite and LaTeX choked. Anyone wanna tell me why? Best, Richard \documentclass[english]{paper} \usepackage[T1]{fontenc} \usepackage[latin1]{inputenc} \usepackage{geometry} \geometry{verbose,letterpaper,tmargin=1in,bmargin=1in,lmargin=1.25in,rmargin=1.25in} \setlength{\parskip}{\medskipamount} \setlength{\parindent}{0pt} \usepackage{babel} \usepackage{setspace} \onehalfspacing \usepackage[ibidem, citefull=first]{jurabib}[2004/01/25] \usepackage{endnotes} \renewcommand\citep{\footcite} \makeatletter \makeatother \begin{document} Hi \citep{Frege:AimCN}. Hi \citep{Frege:AimCN}. Hi again \citep{Frege:AimCN}. \theendnotes \bibliographystyle{jurabib} \bibliography{frege} \end{document} Paul Tremblay wrote: > Can anyne help me with the jurabib package? I believe it is this > package I need to use to get citations for a thesis in the style of > the humanities. > > Specifically, I need to have my citations in endnotes. The first > endnote would look like this: > > Plunket-Powell, Karen. Remembering Woolworth's. (New York: St. Martin's > Press, 1999), 51. > > If the thesis cited Plunket-Powell for the next reference, but on page > 52, it should look like this; > > ibid, 52. > > If the thesis then cited the same author and the same page, it should > look like this: > > ibid. > > I have looked at the jurabib documentation and the most I can get get > is for the ibids to come out like: > > Plunket-Powell ibid, 52. > > I don't need the author there. I am not having a problem getting the > endnotes to work. (I could also use another package and simpy put the > citation in an \endnote.) > > Paul > > PS Right now I have hacked the document to get it to work. > > \let\footnote=\endnote > \newcommand{\Cite}[2][]{#2#1} > > % I will have many of these references > \newcommand{\PlunketPowell}{Plunket-Powell, Karen. \emph{Remembering > Woolworth's}. (New York: St. Martin's Press, 1999)} > > Then when I want to put in citation, I tell LyX to insert a footnote, > and use ert to type: > > \Cite[, pg 51.]{\PlunketPowell} > > In order to get ibid to work, I have to export the file to latex and > then run a python script, which checks the preceding reference, and if > it finds the same author, it uses ibid. > > I would feel better not having to hack the document this way, > especially the part that uses the python script. > > > -- == Richard G Heck, Jr Professor of Philosophy Brown University http://bobjweil.com/heck/ == Get my public key from http://sks.keyserver.penguin.de Hash: 0x1DE91F1E66FFBDEC Learn how to sign your email using Thunderbird and GnuPG at: http://dudu.dyn.2-h.org/nist/gpg-enigmail-howto
Re: redefining \chapter
Looking at book.cls, I find this: [EMAIL PROTECTED] \thispagestyle{plain}% [EMAIL PROTECTED]@ [EMAIL PROTECTED] [EMAIL PROTECTED]@schapter} \secdef is basically checking for a star (it's defined in latex.ltx in terms of [EMAIL PROTECTED]), and it invokes [EMAIL PROTECTED] if there isn't one and [EMAIL PROTECTED] if there is (in which case it also seems to play with the arguments, for reasons I don't understand). I'd try mimicking this technique. Richard Paul Tremblay wrote: > On Tue, 27 Feb 2007 21:02:15 -0500 > Richard Heck <[EMAIL PROTECTED]> wrote: > > >> I'm not texpert, but I'd have thought the solution had to involve the >> if-next-char-is-star trick that seems to be used in a lot of the >> classes to allow a single definition to handle both the starred and >> non-starred cases. Maybe Helge would know. Helge seems to be a real >> wiz with these things. >> >> > > Okay, that looks very useful. I've never used an if statements in Latex, > but I think > that is probably what I need. I'll wait to see if Helge has time to > respond and give > me some tips. > > Thanks > > Paul > -- == Richard G Heck, Jr Professor of Philosophy Brown University http://bobjweil.com/heck/ == Get my public key from http://sks.keyserver.penguin.de Hash: 0x1DE91F1E66FFBDEC Learn how to sign your email using Thunderbird and GnuPG at: http://dudu.dyn.2-h.org/nist/gpg-enigmail-howto
Re: redefining \chapter
This works: \documentclass[oneside,english]{book} \usepackage[T1]{fontenc} \usepackage[latin1]{inputenc} \usepackage{geometry} \geometry{verbose,letterpaper,tmargin=1in,bmargin=1in,lmargin=1.25in,rmargin=1.25in} \setcounter{secnumdepth}{3} \setcounter{tocdepth}{3} \setlength{\parskip}{\medskipamount} \setlength{\parindent}{0pt} \usepackage{setspace} \doublespacing \let\oldchap=\chapter \renewcommand*{\chapter}{% \secdef{\Chap}{\ChapS}% whether there's a star or not... } \newcommand\ChapS[1]{\singlespacing\oldchap*{#1}\doublespacing} %The first argument to \chapter is optional, hence the need for "[]" %in the following definition. However, \secdef duplicates the mandatory %argument if no optional argument was given. So we'll always have that %argument and the default doesn't matter. \newcommand\Chap[2][]{\singlespacing\oldchap[#1]{#2}\doublespacing} \makeatletter \usepackage{babel} \makeatother \begin{document} \tableofcontents{} \chapter{The First Chapter} Here is some stuff. Here is some stuff.Here is some stuff.Here is some stuff.Here is some stuff.Here is some stuff.Here is some stuff.Here is some stuff.Here is some stuff.Here is some stuff.Here is some stuff.Here is some stuff.Here is some stuff.Here is some stuff.Here is some stuff.Here is some stuff.Here is some stuff.Here is some stuff.Here is some stuff.Here is some stuff.Here is some stuff. \chapter{The Second Chapter Has a Very, Very, Very Long Title} More stuff. Here is some stuff.Here is some stuff.Here is some stuff.Here is some stuff.Here is some stuff.Here is some stuff.Here is some stuff.Here is some stuff.Here is some stuff.Here is some stuff.Here is some stuff.Here is some stuff.Here is some stuff.Here is some stuff.Here is some stuff.Here is some stuff.Here is some stuff.Here is some stuff.Here is some stuff.Here is some stuff.Here is some stuff.Here is some stuff.Here is some stuff.Here is some stuff.Here is some stuff. \chapter*{A Chapter with No Number} What a bummer that is.Here is some stuff.Here is some stuff.Here is some stuff.Here is some stuff.Here is some stuff.Here is some stuff.Here is some stuff.Here is some stuff.Here is some stuff.Here is some stuff.Here is some stuff.Here is some stuff.Here is some stuff.Here is some stuff.Here is some stuff.Here is some stuff.Here is some stuff.Here is some stuff.Here is some stuff.Here is some stuff.Here is some stuff.Here is some stuff.Here is some stuff.Here is some stuff.Here is some stuff.Here is some stuff.Here is some stuff.Here is some stuff.Here is some stuff.Here is some stuff.Here is some stuff.Here is some stuff. \chapter[Not So Long in the Toc]{And Yet Another Very, Very, Very Long Title} More stuff. Here is some stuff.Here is some stuff.Here is some stuff.Here is some stuff.Here is some stuff.Here is some stuff.Here is some stuff.Here is some stuff.Here is some stuff.Here is some stuff.Here is some stuff.Here is some stuff.Here is some stuff.Here is some stuff.Here is some stuff.Here is some stuff.Here is some stuff.Here is some stuff.Here is some stuff.Here is some stuff.Here is some stuff.Here is some stuff.Here is some stuff.Here is some stuff.Here is some stuff. \end{document} -- == Richard G Heck, Jr Professor of Philosophy Brown University http://bobjweil.com/heck/ == Get my public key from http://sks.keyserver.penguin.de Hash: 0x1DE91F1E66FFBDEC Learn how to sign your email using Thunderbird and GnuPG at: http://dudu.dyn.2-h.org/nist/gpg-enigmail-howto
LyX 1.4.4 crashing on OS X
Hi, I've tried LyX 1.4.4 (PPC version) on OS X on 2 different computers and on both LyX crashes when opening an existing file (like one of the help-files). I can create a new document, save it and open it again without problem. Anybody else having this problem? Regards, Patrick De Visschere
Re: Lyx 1.5.0 beta1 screen fonts antialiasing?
Hi, Thank you all for the informative replies. After a day of testing and googling, I have finally found the cause of this problem and the solution. The problem is actually quite deep: It is not in LyX, it is not in Qt4, it is because I used a VNC session to use LyX 1.5 and my VNC server (RealVNC) doesn't support the X RENDER extension, which Qt4 uses to display anti-aliased fonts. (Instead, Qt3 doesn't use RENDER for the fonts so Lyx 1.4 displays ok.) Instead of waiting for the next version of RealVNC, I switched to xf4vnc and this problem is solved. The speed now is a little slower, though. best, Sam On 2/28/07, Helge Hafting <[EMAIL PROTECTED]> wrote: Shu Li wrote: > Hi, > > I am using Red Hat EL4, Qt 4.2.2 and Lyx 1.5.0 beta1. Comparing to the > old > Lyx 1.4.3, version 1.5.0 looks lacking of the anti-aliasing processing on > the screen fonts. While in 1.4.3 the screen fonts look pretty smooth, > those > in 1.5.0 have fractures or spikes and that made them unclear, even > though I > tried switching the screen fonts several times. My 1.4.3 and 1.5.0 > runs on > the same computer. > > I don't know if that's the problem of QT4 or Lyx, or could I set some > preference to have the anti-aliasing back? Thank you. My lyx 1.5 beta (on debian) does antialiasing. Did you try something simple like tools->preferences->screen fonts? Make sure lyx-1.5 uses exactly the same fonts as lyx-1.4.3 do. Perhaps your xserver isn't capable of antialiasing all fonts, and lyx-1.5 might install itself with bad defaults. Do you have any other qt4 apps - do they get antialiased fonts? Lyx 1.4.3 uses qt3, any qt3 setup you may have done will have to be re-done for qt4 as well. Helge Hafting -- best, Sam (AKA Shu Li)
Re: LyX 1.4.4 crashing on OS X
Yes, Intro, Tutorial, User's Guide, Extended Features, Embedded Object's, Customization, and FAQ. All break LyX 1.4.4 on PPC G3 OS 10.3.9. Chris On Feb 28, 2007, at 2:46 PM, Patrick De Visschere wrote: Hi, I've tried LyX 1.4.4 (PPC version) on OS X on 2 different computers and on both LyX crashes when opening an existing file (like one of the help-files). I can create a new document, save it and open it again without problem. Anybody else having this problem? Regards, Patrick De Visschere
more paste problems in Lyx 1.5.0 beta 1
Hello, With opensuse 10.2 and kde 3.5 I have another paste problem. 1) I took (with ctrl + x) a word for move it. Then I put it (with ctrl + v) in other site. Then I think that I put word in wrong site. Then I delete this word with baskspace key. I put cursor in other site, press ctrl + v and nothing appears. When I press backspace key, buffer with word was deleted. 2) I confirmed previous paste problem. In a window I took (with crtl + c) an ERT (with a \setcounter command). Click in another window. I put cursor in a title of chapter. I press ctrl + v. ERT appears correctly. With mouse wheel I put cursor at the end of another title of section or chapter and I press ctrl + v. Appears a title of section instead ERT. Regards Marcelo __ Preguntá. Respondé. Descubrí. Todo lo que querías saber, y lo que ni imaginabas, está en Yahoo! Respuestas (Beta). ¡Probalo ya! http://www.yahoo.com.ar/respuestas
new trick no work for me
Hello, I am very interested in trick that I found in documetation (FAQ): [EMAIL PROTECTED] I put this in preamble of koma-script book with hope of no more \setcounter in every section. This no work. Number of footnotes no reset in each section. How I get it? Thanks Marcelo __ Preguntá. Respondé. Descubrí. Todo lo que querías saber, y lo que ni imaginabas, está en Yahoo! Respuestas (Beta). ¡Probalo ya! http://www.yahoo.com.ar/respuestas
Re: new trick no work for me
There's a problem using this with the koma-script classes: They redefine the sectioning commands in such a way that [EMAIL PROTECTED] fails to work. At least, I seem to remember that this is the problem. The issue came up on the list a while back, so try searching the archives. Maybe we found a solution. But you could try something like: \addtokomafont{chapter}{\setcounter} Maybe that'd work. But it's a dirty hack indeed! Richard Marcelo Acuña wrote: > Hello, > I am very interested in trick that I found in > documetation (FAQ): > > [EMAIL PROTECTED] > > I put this in preamble of koma-script book with hope > of no more \setcounter in every section. > This no work. Number of footnotes no reset in each > section. > How I get it? > Thanks > > Marcelo > > > > > > > > __ > Preguntá. Respondé. Descubrí. > Todo lo que querías saber, y lo que ni imaginabas, > está en Yahoo! Respuestas (Beta). > ¡Probalo ya! > http://www.yahoo.com.ar/respuestas > > -- == Richard G Heck, Jr Professor of Philosophy Brown University http://bobjweil.com/heck/ == Get my public key from http://sks.keyserver.penguin.de Hash: 0x1DE91F1E66FFBDEC Learn how to sign your email using Thunderbird and GnuPG at: http://dudu.dyn.2-h.org/nist/gpg-enigmail-howto
Re: new trick no work for me
Actually, ignore that previous message. I may have been thinking of something else. I'm not sure why this won't work. Can you send me the file? Richard There's a problem using this with the koma-script classes: They redefine the sectioning commands in such a way that [EMAIL PROTECTED] fails to work. At least, I seem to remember that this is the problem. The issue came up on the list a while back, so try searching the archives. Maybe we found a solution. But you could try something like: \addtokomafont{chapter}{\setcounter} Maybe that'd work. But it's a dirty hack indeed! Richard Marcelo Acuña wrote: > Hello, > I am very interested in trick that I found in > documetation (FAQ): > > [EMAIL PROTECTED] > > I put this in preamble of koma-script book with hope > of no more \setcounter in every section. > This no work. Number of footnotes no reset in each > section. > How I get it? > Thanks > > Marcelo > > > > > > > > __ > Preguntá. Respondé. Descubrí. > Todo lo que querías saber, y lo que ni imaginabas, > está en Yahoo! Respuestas (Beta). > ¡Probalo ya! > http://www.yahoo.com.ar/respuestas > > -- == Richard G Heck, Jr Professor of Philosophy Brown University http://bobjweil.com/heck/ == Get my public key from http://sks.keyserver.penguin.de Hash: 0x1DE91F1E66FFBDEC Learn how to sign your email using Thunderbird and GnuPG at: http://dudu.dyn.2-h.org/nist/gpg-enigmail-howto
Re: help with citations (jurabib package)
On Wed, 28 Feb 2007 13:01:49 -0500 Richard Heck <[EMAIL PROTECTED]> wrote: > > I think there's an easier way to do this. First, we want to make > ordinary citations into footnote citations. Try this: > \renewcommand\citep{\footcite} > Then insert your citations making sure you're doing it in the > "(Author, Year)" style, so that you get \citep. (Of course, you can > also do it other ways and change the \renewcommand, or have several > different ones.) Second, getting endnotes is trivial: Just > \usepackage{endnotes} > and jurabib will give you endnotes automagically (at least as of v. > 0.51---see the docs). (If you need endnotes otherwise, of course > you'll need the \let\footnote=\endnote trick anyway.) Third, put > \jurabibsetup{citefull=first} > into the preamble, so you get full bibliographical info in the first > citation. (See the other choices, too.) As for the problem with > ibidem, this is controlled by jurabib options, too. It looks like you > have ibidem=name for some reason. You probably want ibidem=nostrict. > Do you have a jurabib.cfg that's setting this? > > What's below is LaTeX not LyX, but it works and should be adaptable. > Of course, you'll have to change the citations to one of yours to get > it working for you. > > The only trick here, then, is getting the footcite to work. It might > be worth filing an enhancement request to have that option added to > the bibliography dialog. Should be fairly simple to do, I'd suppose. > > By the way, I tried \let\citep=\footcite and LaTeX choked. Anyone > wanna tell me why? > Thanks. What you have shown me works like I wanted, but now I have other problems, which always seems to be the case when using \cite and its variations. I needed my entry to show up as: Plunket-Powell, Karen. *Remembering Woolworth's*. (New York: St. Martin's Press, 1999), 51 Instead it showed up as: Plunket-Powell, Karen Remembering Woolworth's. New York: St. Martin's Press, 1999 , 51 There are four problems: there is no period after the author's name; the title is not italicizied; there are no parenthesis around the publicantion place and publisher; there is an extra space between the year and comma. There may be ways to fix this, but I am also going to have to fix the entries in the bibligraphy itself. It seems like using \cite with the humanites is a near impossible task. I have always run into problems. (Note that the MLA style is easy to implement in latex; in fact, it is such a straightforward system, one doesn't even need to use \cite. Unfortunately the thesis directors won't accept this style, though the Chicago Manual of styles recomends it as the superior style to use.) I see that you are a philosophy professor, so maybe you have had better luck. For me I am doing only one paper that needs citations, and the paper contains only 50 different sources, so it may be easier to use my hack. Thanks anyway for your help. Paul
Re: LyX 1.4.4 crashing on OS X
On Wed, 28 Feb 2007 20:46:07 +0100 Patrick De Visschere <[EMAIL PROTECTED]> wrote: > Hi, > > I've tried LyX 1.4.4 (PPC version) on OS X on 2 different computers > and on both LyX crashes when opening an existing file (like one of > the help-files). > I can create a new document, save it and open it again without > problem. > > Anybody else having this problem? > Yes, and I submitted a bug report. I didn't realize that it crashed with existing files. I thought the problem was with files that contained child documents, but I came to this conclusion because the document that caused the crash contained child documents; but it also was a pre existing document. Paul
Re: LyX 1.4.4 crashing on OS X
> "Paul" == Paul Tremblay <[EMAIL PROTECTED]> writes: Paul> Yes, and I submitted a bug report. I didn't realize that it Paul> crashed with existing files. I thought the problem was with Paul> files that contained child documents, but I came to this Paul> conclusion because the document that caused the crash contained Paul> child documents; but it also was a pre existing document. I guess that a backtrace is required at this point. JMarc
Re: LyX 1.4.4 crashing on OS X
On Thu, 01 Mar 2007 00:08:08 +0100 Jean-Marc Lasgouttes <[EMAIL PROTECTED]> wrote: > > I guess that a backtrace is required at this point. > > How does one do this? I looked at the documentation, and I believe it said to type: gdm or something simliar. I did that. The I went and found the LyX binary and executed it and nothing happened. When I wasn't in the backtrack mode and typed the LyX binary, it brought up the LyX application. Paul
Re: LyX 1.4.4 crashing on OS X
On Feb 28, 2007, at 6:08 PM, Jean-Marc Lasgouttes wrote: "Paul" == Paul Tremblay <[EMAIL PROTECTED]> writes: Paul> Yes, and I submitted a bug report. I didn't realize that it Paul> crashed with existing files. I thought the problem was with Paul> files that contained child documents, but I came to this Paul> conclusion because the document that caused the crash contained Paul> child documents; but it also was a pre existing document. I guess that a backtrace is required at this point. As I've indicated before, I think the source of the problem lies with the way LyX-1.4.4 was compiled on PPC Mac: the Mac I used has an old copy of the developer's tools that seems to be the culprit. (My problem is that I don't have easy access to a PPC Mac anymore.) Anders Ekberg has volunteered to compile a new version, which hopefully will be available later this week. Bennett
Re: thesis touch ups...
> I'm not sure what you mean by problem #1. What do you mean by "count" > the second page? Do you mean there is no page number that shows up? > > Regarding problem 2, do you mean that there is a number on the first > page but not the second? That is odd, since \thispagestyle{empty} should > number the first but not the second. This code should work: > > \thispagestyle{empty} > \tableofcontents* > \cleardoublepage > \thispagestyle{empty} > \listoftables* > \cleardoublepage > \thispagestyle{empty} > \listoffigures* > > This code would put supress a page number on the first page of the table > of contents, list of tables, and list of figures, bu t put a page number > on subsequent pages. Is that what you want? > > Paul Hi Paul, That ALMOST worked... I now have the TOC first page un-numbered and the second page numbered(which is what I wanted) and no number on the List of Tables(also what I wanted), but there is a problem with the list of figures. Basically here is how I want it: I want to start counting in roman numerals from the title page, supressing all numbers on the first page of a new section. For some reason, when the TOC lists what page the, say List of Figures, is on it is not factoring in the pages of the TOC. So if the TOC is on page 5 and the list of Figures on page 7 ,it will come up on the TOC listed as being on page 6 because it is not counting the actual page in the TOC.(did that make sense?) Also, with your code, I am still getting a number on the first page of the List of figures and List of Tables... I cant get it to work sometimes with combinations of number counting or number supressing the way I want, but not all at once. Thanks for the help, I am really new to this and I am trying to learn! Charles
Re: thesis touch ups...
On Wed, 28 Feb 2007 19:32:54 -0600 Lyx Physicist <[EMAIL PROTECTED]> wrote: > > Hi Paul, > That ALMOST worked... I now have the TOC first page un-numbered and > the second page numbered(which is what I wanted) and no number on the > List of Tables(also what I wanted), but there is a problem with the > list of figures. Basically here is how I want it: I want to start > counting in roman numerals from the title page, supressing all numbers > on the first page of a new section. For some reason, when the TOC > lists what page the, say List of Figures, is on it is not factoring in > the pages of the TOC. So if the TOC is on page 5 and the list of > Figures on page 7 ,it will come up on the TOC listed as being on page > 6 because it is not counting the actual page in the TOC.(did that make > sense?) Also, with your code, I am still getting a number on the first > page of the List of figures and List of Tables... I cant get it to > work sometimes with combinations of number counting or number > supressing the way I want, but not all at once. Thanks for the help, > I am really new to this and I am trying to learn! > Charles > > Hi Charles, Your problem should be easy to solve, at least compared to other latex problems. What I think is occurring is that LyX is not processing the document enough times. That is the only way I can account for the wrong page numbering. It is a common problem for latex to not number the pages right when it is not run enough times. Believe it or not, you probably have to run latex 3 times on your document. As for the page numbers showing up for the first page of the list of tables and list of figures, my guess is that the \thispagestyle command is ending up in the wrong place, either because of where you put it in your LyX document or where LyX puts it when it converts it to latex. Here's what I would do. Export your document to latex. Now go to the terminal and type: latex -output-format=pdf -halt-on-error && latex -output-format=pdf -halt-on-error && latex -output-format=pdf -halt-on-error Or if that is too much for one line, just type: latex -output-format=pdf -halt-on-error Then type the same command two more times. Make sure that you substute your actual name of your file for . So if your document is called thesis.tex, you would type: latex -output-format=pdf -halt-on-error thesis.tex That should create a PDF file. Open that up in your PDF viewer and see if that fixes your problem. If it does or if it doesn't, open up your in a text editor and cut and past the code that has \tableofcontents, including the lines above it and the lines after \listoffigures--in other words, all the relevant text. Paul
Re: thesis touch ups...
On Wed, 2007-02-28 at 20:55 -0500, Paul Tremblay wrote: > On Wed, 28 Feb 2007 19:32:54 -0600 > Lyx Physicist <[EMAIL PROTECTED]> wrote: > > > > > > Hi Paul, > > That ALMOST worked... I now have the TOC first page un-numbered and > > the second page numbered(which is what I wanted) and no number on the > > List of Tables(also what I wanted), but there is a problem with the > > list of figures. Basically here is how I want it: I want to start > > counting in roman numerals from the title page, supressing all numbers > > on the first page of a new section. For some reason, when the TOC > > lists what page the, say List of Figures, is on it is not factoring in > > the pages of the TOC. So if the TOC is on page 5 and the list of > > Figures on page 7 ,it will come up on the TOC listed as being on page > > 6 because it is not counting the actual page in the TOC.(did that make > > sense?) Also, with your code, I am still getting a number on the first > > page of the List of figures and List of Tables... I cant get it to > > work sometimes with combinations of number counting or number > > supressing the way I want, but not all at once. Thanks for the help, > > I am really new to this and I am trying to learn! > > Charles > > > > > > Hi Charles, > > Your problem should be easy to solve, at least compared to other latex > problems. What I think is occurring is that LyX is not processing the > document enough times. That is the only way I can account for the > wrong page numbering. It is a common problem for latex to not number > the pages right when it is not run enough times. Believe it or not, > you probably have to run latex 3 times on your document. > > As for the page numbers showing up for the first page of the list of > tables and list of figures, my guess is that the \thispagestyle > command is ending up in the wrong place, either because of where you > put it in your LyX document or where LyX puts it when it converts it > to latex. > > Here's what I would do. Export your document to latex. Now go to the > terminal and type: > > latex -output-format=pdf -halt-on-error && latex > -output-format=pdf -halt-on-error && latex > -output-format=pdf -halt-on-error > > Or if that is too much for one line, just type: > > latex -output-format=pdf -halt-on-error > > Then type the same command two more times. > > Make sure that you substute your actual name of your file for > . So if your document is called thesis.tex, you would > type: > > latex -output-format=pdf -halt-on-error thesis.tex > > That should create a PDF file. Open that up in your PDF viewer and see > if that fixes your problem. If it does or if it doesn't, open up your > in a text editor and cut and past the code that has > \tableofcontents, including the lines above it and the lines after > \listoffigures--in other words, all the relevant text. > > Paul Hi Paul, I am getting an error when I try to output the .tex file.. ==> Fatal error occurred, the output PDF file is not finished! So here is the text from the tex file immediately before(the acknowlegements) up the first line of Chapter one. Thanks for your patience, Charles \newpage{} \thispagestyle{empty} \addcontentsline{toc}{chapter}{ACKNOWLEDGEMENTS}{\Large \vspace*{2cm} ACKNOWLEDGEMENTS\vspace*{1cm} }{\Large \par} I would like to thank the following people for their help with this thesis. \newpage{} \thispagestyle{empty} \tableofcontents \thispagestyle{empty} \listoftables \addcontentsline{toc}{chapter}{LIST OF TABLES} \thispagestyle{empty} \listoffigures \addcontentsline{toc}{chapter}{LIST OF FIGURES} \chapter{Introduction} \begin{doublespace} \thispagestyle{empty} \pagenumbering{arabic} This project seeks to measure the triboluminescent light emitted a from meso-velocity frontal impact on lunar regolith simulant doped with a phosphorous material.
Re: thesis touch ups...
O > > Hi Paul, >I am getting an error when I try to output the .tex file.. > ==> Fatal error occurred, the output PDF file is not finished! > > So here is the text from the tex file immediately before(the > acknowlegements) up the first line of Chapter one. Thanks for your > patience, > Charles > > \newpage{} > > \thispagestyle{empty} > \addcontentsline{toc}{chapter}{ACKNOWLEDGEMENTS}{\Large \vspace*{2cm} > ACKNOWLEDGEMENTS\vspace*{1cm} > }{\Large \par} > > I would like to thank the following people for their help with this > thesis. > > \newpage{} > > \thispagestyle{empty} \tableofcontents > \thispagestyle{empty} \listoftables > \addcontentsline{toc}{chapter}{LIST OF TABLES} > \thispagestyle{empty} \listoffigures > \addcontentsline{toc}{chapter}{LIST OF FIGURES} > > > \chapter{Introduction} > > \begin{doublespace} > \thispagestyle{empty} \pagenumbering{arabic} This project seeks to > measure the triboluminescent light emitted a from meso-velocity > frontal impact on lunar regolith simulant doped with a phosphorous > material. > > Hi Charles, First, I realize I spoke too soon when I said the fix would be easy. I have just done some experimentation and it seems that the command \thispagestyle does not work with the \tableofcontents \listoflists and \listoffigures environments. That is because you have to issue these commands *after* you issue the \chapter command, but the chapter command is issued internally in the tableofcontents etc commands. So we have to redefine these commands in the preamble like this: \renewcommand\tableofcontents{% [EMAIL PROTECTED] [EMAIL PROTECTED] \else [EMAIL PROTECTED] \fi \chapter*{\contentsname \thispagestyle{empty} [EMAIL PROTECTED] \MakeUppercase\contentsname}{\MakeUppercase\contentsname}}% [EMAIL PROTECTED] [EMAIL PROTECTED] } \makeatother \makeatletter \renewcommand\listoftables{% [EMAIL PROTECTED] [EMAIL PROTECTED] \else [EMAIL PROTECTED] \fi \chapter*{\listtablename}% \thispagestyle{empty} [EMAIL PROTECTED] \MakeUppercase\listtablename}% {\MakeUppercase\listtablename}% [EMAIL PROTECTED] [EMAIL PROTECTED] } \makeatother \makeatletter \renewcommand\listoffigures{% [EMAIL PROTECTED] [EMAIL PROTECTED] \else [EMAIL PROTECTED] \fi \chapter*{\listfigurename}% [EMAIL PROTECTED] {\MakeUppercase\listfigurename}% [EMAIL PROTECTED] [EMAIL PROTECTED] } \makeatother Now get rid of the \thispagestyle commands you already issued. It is strange that you are getting an error message when you try to run latex on your document. Could you paste the error for me? We want to fix this so we can get latex to run 3 times and see if we can fix your other problem. I won't be on my computer until Sat, and I'm going to bed soon, so hopefully you can respond right away. By the way, if you use the memoir class, you probably don't have to redefine any commands in the preamble because the memoir class lets you customize the first page in any environment. Just a note for the future. Paul
Re: help with citations (jurabib package)
Richard Heck wrote: > By the way, I tried \let\citep=\footcite and LaTeX choked. Anyone wanna > tell me why? Choked in what way? Just a guess: maybe you generate a recursive definition. In this case, you probably will have to look at how \footcite is defined and redefine it properly. Jürgen
Re: redefining \chapter
On Wed, 28 Feb 2007 14:22:36 -0500 Richard Heck <[EMAIL PROTECTED]> wrote: > > This works: > > \documentclass[oneside,english]{book} > \usepackage[T1]{fontenc} > [snip] You implied that you didn't know a lot about hacking latex! This works for me as well. I'm finding more volume and more expertise on this mailing list than on the pure texhax mailing list, which is meant just for question like I posed. Paul PS It is too bad that all these techniques can't be put into one very well written book. I suppose to include every little problem on has encountered and solved might take a book 2,000 pages long, but it is unfortunate that there are many nice techniques one finds only be accident or through a mailing list; others might not be so lucky and give up.