Re: a4paper: Random Margins?
John McCabe-Dansted wrote: Hi, I've been using a4wide, which seems to behave reasonably with a4 paper, but now I am trying to get border correction (so that the inner margin is wider than the outer) The problem with a4wide and a4.sty is that there are several different versions around, which produce different output. It is deprecated and therefore no more supported by LyX (as of 1.4). Thus I tried using the line \usepackage[a4paper,top=2cm,bottom=2cm,inner=2.5cm,outer=2cm]{geometry} Why don't you use the GUI (document-margins), which basically does the same? This gets the border correction to work, but the top and bottom margins are wrong. Although I set a top bottom margin of 2cm the header is only 3mm from the top and the page number touches the lower edge of the page. I can correct this by adding another 2cm to the top and bottom margin. However the page prints differently with different printers --- on the HP-Laserjet4L it prints 1 or 2cm higher on the page than with the university printers. Did you consider headsep, headheight and foorskip? They are important factors (cf. the geometry documentation). Also, if you print from PDF with Acroread, take care that you switched off any Shrink page or Resize page in Acroread's printer dialog. HTH, Jürgen Has anyone got reliable (and preferrably correct) margins with border correction on A4 paper?
Re: Text of diagram with the font of the main document
Paul Smith wrote: I have a diagram which I can export as PNG, JPG, PDF or SVG. What should I do so that the text of the diagram appears with the same font of the main document? Is that possible? If you also can export into eps without first making a bitmap you can have latex typeset your annotations in the diagrams from your main document. You can do this with the package psfrag. Look for the file pfguide.* for a manual. /johan
rpm lyx-1.3.7 for Mandriva 2006
Please, someone should built the rpm with qt, to lyx-1.3.7 for Mandriva 2006, and send to www.lyx.org to put in the server ? Thanks Miguel smime.p7s Description: S/MIME Cryptographic Signature
Re: text figures and lining figures
mail.k wrote: C'mon, somebody has to know, right? The following works for me with mathpazo: \usepackage[osf]{mathpazo} \newcommand{\nooldstylenums}[1]{{\fontfamily{ppl}\selectfont #1}} [EMAIL PROTECTED] [EMAIL PROTECTED] } The redefinition of the footnotesymbol depends on the class you are using. This is standard article. Jürgen
Re: Text of diagram with the font of the main document
On Friday 17 February 2006 20:14, Paul Smith wrote: Dear All I have a diagram which I can export as PNG, JPG, PDF or SVG. What should I do so that the text of the diagram appears with the same font of the main document? Is that possible? Thanks in advance, Paul Hi, this is possible with xfig. One of its export options is pslatex/pdflatex, it converts the graphics into two parts: the first is ps/pdf with curves, and the second is .tex file with texts in latex picture enviroment. When you include the second file into your document it will be type-set identically to the rest. Quite a few linux programs can export into xfig's native format, so it should be no problem. Hope it helps, Vasek -- - Ing. Vaclav Smidl, Ph.D.tel: +420 26605 2420 AS department, Institute web: http://staff.utia.cz/smidl/ of Information Theory and Automation, fax: +420 26605 2068 Prague, Czech Republic
Re: software manuals using Lyx
Jose' Matos a écrit : On Friday 17 February 2006 07:55, John Pye wrote: Hi there, Can anyone tell me if there is an up-to-date HOWTO somewhere for using Lyx for DocBook output of software user's manuals? No, that has been in my TODO list for a long time. :-( In particular, I want to be able to generate 'chm' files for Windows, and DocBook XML for GNOME ('yelp' help browser). Is this something that other people on the list are doing? You need to find a tool that converts docbook to chm, and then use the traditional way of configuring lyx. Or just export to html with htlatex and use Microsoft free chm tool. Abdel. 1) Add format, with its viewer 2) Define how to convert from docbook to chm I found this but it's 5 years old, and hopefully things have become easier... http://bgu.chez-alice.fr/doc/db4lyx/ If such a HOWTO /doesn't/ exist, maybe there'd be someone willing to collaborate on putting it together? I can explain why lots of things are the way they are, and if possible/necessary fix those bugs. Cheers JP
Re: text figures and lining figures
Some time ago Karsten Heymann offered the advice below (about oldstyle figures, but not about footnotes). Bruce use \usepackage{mathpazo} (or even better \usepackage[sc]{mathpazo} if your latex is new enough) for better math support (and better \textsc output). See http://ftp.dante.de/tex-archive/info/l2tabu/english/l2tabuen.pdf and http://dante.ctan.org/CTAN/macros/latex/required/psnfss/psnfss2e.pdf for hints and reasons. On Sunday, February 19, 2006, at 09:10 PM, mail.k wrote: Now, on the other hand, the response is overwhelming. C'mon, somebody has to know, right? mail.k wrote: Can anyone tell me how to use oldstyle figures in my body text (i.e., text figures or the j version of the fonts) and lining figures for my footnotes (the x version of the font)? I prefer the appearance of osf, but in the footnotes I must use a more scientific look. (I've asked this question about six weeks ago, but no one knew at the time). Many thanks, Eran
Re: Minimal LyX installation
Gunnar wrote: What is the bare minimum for a LyX installation if the only thing that should be done is writing new LyX documents and producing pdf's? LyX, LaTeX, ghostscript, what else? As I remember, the LyX installer installed both Perl and Python. Will LyX work without them? The reason for asking is that the amount of installed software should be kept at a minimum. I don't think you need ghostscript, if you use pdflatex for making pdf's. Of course you may need it for other purposes, such as printing on any non-postscript printer. Helge Hafting
Re: vspace between sections and figures help!
Myriam Abramson wrote: I've \setlength{\parskip {-1pt}} but that seems only to affect the vertical space between paragraphs. How can I set the vertical space length between sections and figures? It's quite urgent as I am trying to fit this paper into a ridiculous 6-page limit. Wider margins (both side margins and the top/bottom ones) and a smaller font helps a lot. Unless they specified all of these too. Many don't specify top/bottom margin. And if they specify a certain font height, consider a narrow one, or making the linespacing somewhat smaller :-) Ridiculous workarounds for ridiculous limits . . . Helge Hafting
Re: I need workaround of encoding problem
Marcelo Acuña wrote: I can't to use spellchecker. Accented letters and ñ, Ñ are not recognized by ispell, aspell. Common problem for unicode users, because lyx doesn't support unicode. That cause trouble when the spellchekcer expects unicode while lyx gives it iso8859 encoded text. echo $LANG with this nothing is show. export LANG=es_ES Then run lyx from the same xterm, so it uses the modified language. You should still get the lyx GUI in your language, assuming it is translated. And now the spellchecker works too. :-) No work for me :-( Lyx 1.4.0pre appears without menu, only Strange. If the menu isn't translated, then you should get it in english instead. This looks like a broken installation. a icon bar, I clicked icon for file open and, choose my file (saved with 1.4.0pre) and I get error in conversion. Then I open with lyx (from icon), deleted list of fig, repeat process and when I open the file lyx go out (aborted) with an error message. Which is the date when You expect lyx 1.5.0 will be released? I can only guess - a year or two. The spellchecker and rest of lyx is supposed to work fine when LANG doesn't contain the UTF-8 part though. no work for me. What can I do? I need run spellcheck. Your lyx installation is clearly broken, perhaps a reinstall is in place. What operating system do you use, how did you install lyx? The menu should never ever disappear. Get that working, then look at the spellchecker. What version of lyx is this? You may get in trouble if you mix lyx-1.4pre and earlier versions, as they may want to use the same directories. Particularly .lyx/ in your home directory, assuming that you're on linux (or other unix). Things to try: 1. rename .lyx to .lyx-old rename the .lyx directory in your home directory to something like .lyx-old. Then run lyx, and see if things gets better. This may work as running lyx-1.4 may overwrite some stuff in the .lyx directory, so it don't work too well with lyx-1.3 anymore. Note that any customization will be lost this way, but you can find all customized stuff in .lyx-old/ and copy items over one by one. 2. reinstall lyx If you tried lyx 1.4 briefly and now wants to use lyx 1.3 again, do reinstall lyx 1.3 even if it seems to exist on your pc. This because the test install of lyx 1.4 may have overwritten some of lyx-1.3's files. If your package manager don't want to reinstall, remove lyx and then reinstall it. The latest lyx 1.3 is now lyx 1.3.7. This version works better with files from lyx-1.4 than the older versions of lyx-1.3 do. If you get lyx itself working fine (with menu) but still have trouble with the spellchecker, ask again. Helge Hafting
Re: vspace between sections and figures help!
Myriam Abramson wrote: I've \setlength{\parskip {-1pt}} but that seems only to affect the vertical space between paragraphs. How can I set the vertical space length between sections and figures? \floatsep (\dblfloatsep) vertical glue between floats with placement [t,b] \textfloatsep (\dbltextfloatsep) vertical glue between a float with placement [t,b] and text \intextsep vertical glue between a float with placement [h] and text http://tug.org/TeXnik/mainFAQ.cgi?file=floats/parameter I suppose, you are searching for \intextsep=... Herbert
Re: text figures and lining figures
That's useful advice, thanks! Do you know where I should look to implement this trick for nonstandard fonts? For example, to use a Linotype font with Walter Schmidt's package, that has two versions: l__x l__j? Many thanks, E. Bruce Pourciau wrote: Some time ago Karsten Heymann offered the advice below (about oldstyle figures, but not about footnotes). Bruce use \usepackage{mathpazo} (or even better \usepackage[sc]{mathpazo} if your latex is new enough) for better math support (and better \textsc output). See http://ftp.dante.de/tex-archive/info/l2tabu/english/l2tabuen.pdf and http://dante.ctan.org/CTAN/macros/latex/required/psnfss/psnfss2e.pdf for hints and reasons. On Sunday, February 19, 2006, at 09:10 PM, mail.k wrote: Now, on the other hand, the response is overwhelming. C'mon, somebody has to know, right? mail.k wrote: Can anyone tell me how to use oldstyle figures in my body text (i.e., text figures or the j version of the fonts) and lining figures for my footnotes (the x version of the font)? I prefer the appearance of osf, but in the footnotes I must use a more scientific look. (I've asked this question about six weeks ago, but no one knew at the time). Many thanks, Eran
Re: text figures and lining figures
Hi, Bruce Pourciau schrieb: Some time ago Karsten Heymann offered the advice below (about oldstyle figures, but not about footnotes). Bruce Well, there isn't much about oldfigs in my text :) mail.k wrote: Can anyone tell me how to use oldstyle figures in my body text (i.e., text figures or the j version of the fonts) Use \usepackage[osf]{mathpazo} for palatino or the eco package for Computer Modern: http://tug.ctan.org/tex-archive/fonts/eco/ and lining figures for my footnotes (the x version of the font)? You can access lining figures either by switching to math mode or by (mathpazo only) {\fontfamily{pplx}\selectfont 12345}. But I don't know how to change the footnotemark format, I would ask that on the comp.text.tex newsgroup (or search for that on groups.google.com). Yours, Karsten
Re: vspace between sections and figures help!
Helge Hafting wrote: Myriam Abramson wrote: I've \setlength{\parskip {-1pt}} but that seems only to affect the vertical space between paragraphs. How can I set the vertical space length between sections and figures? It's quite urgent as I am trying to fit this paper into a ridiculous 6-page limit. Wider margins (both side margins and the top/bottom ones) and a smaller font helps a lot. Unless they specified all of these too. Many don't specify top/bottom margin. And if they specify a certain font height, consider a narrow one, or making the linespacing somewhat smaller :-) Ridiculous workarounds for ridiculous limits . . . this has nothing to do with the space between figures and text ... Herbert
Re: Minimal LyX installation
Paul A. Rubin wrote: Gunnar wrote: What is the bare minimum for a LyX installation if the only thing that should be done is writing new LyX documents and producing pdf's? LyX, LaTeX, ghostscript, what else? As I remember, the LyX installer installed both Perl and Python. Will LyX work without them? The reason for asking is that the amount of installed software should be kept at a minimum. Perl is not needed unless you need to convert TeX files to LyX (or maybe old LyX files to newer LyX formats). I don't have Perl installed and have suffered from its absence. Python is a different story. At least through version 1.3.7 (don't know about 1.4.x), a Python script is used to do graphics conversions, in particular (in 1.3.7) to go from DraftDVI (DVI with no images) to DVI (with images). So if you want to view DVI files with images, you'll need Python. I'm not sure whether it's used by the export commands (in particular, exporting PDF). /Paul Self-reply: never a good sign. :-) I forgot ImageMagick. LyX needs it to convert graphics formats. /Paul
Re: rpm lyx-1.3.7 for Mandriva 2006
On 2/20/06, icebna [EMAIL PROTECTED] wrote: Please, someone should built the rpm with qt, to lyx-1.3.7 for Mandriva 2006, and send to www.lyx.org to put in the server ? Please, do not hesitate: do it yourself! :-) Paul
Re: rpm lyx-1.3.7 for Mandriva 2006
On 2/20/06, icebna [EMAIL PROTECTED] wrote: I don't know. My experience is few. Can you help me, for know as built the rpm to update my lyx-1.3.6 ? Certainly, I can help you with my best pleasure. The procedure is as follows: 1. download the source of LyX 1.3.7 from ftp://ftp.lyx.org/pub/lyx/stable/lyx-1.3.7.tar.gz 2. uncompress it; 3. go inside the directory where it is uncompressed the source of LyX; 4. on the command line run the command: ./configure --with-frontend=qt --with-pspell 5. run the command make; 6. become superuser and run checkinstall. Your rpm will be built at the end! That is not too difficult, believe me. Paul
How to produce a decent x'_{t}^{2}?
Dear list, If I insert x', subscript t and superscript 2, latex will complain ! Double superscript. l.17 $x'_{t}^ {2}$ I do not know exactly what latex is saying since $x'^{2}$ will work fine. If then I try to put ' in the {2}, but ' will be taller than 2 and make the formula ugly. Is there a good way to do this? Many thanks in advance. Bo
Re: vspace between sections and figures help!
Hi! Probably the best is to use the commands suggested by Herbert (I have not used them, but according to their short explanation, they seems to be what you are looking for). But if that does not help, try using vspace with a negative value (e.g. \vspace{-0.45cm}) at the end of sections, before/after floating figures and before figure captions. I did this for an article once with positive results. Nicolás Herbert Voss wrote: Myriam Abramson wrote: I've \setlength{\parskip {-1pt}} but that seems only to affect the vertical space between paragraphs. How can I set the vertical space length between sections and figures? \floatsep (\dblfloatsep) vertical glue between floats with placement [t,b] \textfloatsep (\dbltextfloatsep) vertical glue between a float with placement [t,b] and text \intextsep vertical glue between a float with placement [h] and text http://tug.org/TeXnik/mainFAQ.cgi?file=floats/parameter I suppose, you are searching for \intextsep=... Herbert
Re: How to produce a decent x'_{t}^{2}?
Bo Peng wrote: If I insert x', subscript t and superscript 2, latex will complain ! Double superscript. l.17 $x'_{t}^ {2}$ I do not know exactly what latex is saying since $x'^{2}$ will work fine. If then I try to put ' in the {2}, but ' will be taller than 2 and make the formula ugly. Is there a good way to do this? ${x^\prime_{t}}^{2}$ Herbert
LyX-Code and Typewriter environment: how to change the font?
Hi, How does one change the font that is used (a) for the LyX-Code environment, (b) for typewriter character markup? I would like to modify the font size, and/or eventually change the font for these two completely. Maybe I have searched in the wrong places ;-), but I have not found an answer to this question yet ... ? Thanks for any hint, and have a nice day! - Joerg -- joerg.hau(at)dplanet.ch * Lausanne, Switzerland http://homepage.sunrise.ch/mysunrise/joerg.hau/ All standard disclaimers apply. Never take life seriously. You won't get out alive anyway.
Automatic formatting of a particular word?
Hi again, Yet another question ... I am currently writing a manual for some software, and I would like the name of the software to appear automagically in a particular typesetting, i.e. without the need for special markup in the text of the document (not unlike the proper names of LyX and LaTeX in the documentation ... you get the idea). (If you need an example: Let's assume the name is MySoft, I want the My in red, the rest in blue, and the whole thing in sans-serif font and small caps. Sufficiently weird? ;-) The problem is, I don't have the slightest idea about the way to define this .. preamble, yes, but how exactly? Any pointers? Thanks for any hint, and have a nice day! - Joerg -- joerg.hau(at)dplanet.ch * Lausanne, Switzerland http://homepage.sunrise.ch/mysunrise/joerg.hau/ All standard disclaimers apply. Never take life seriously. You won't get out alive anyway.
Re: LyX fails picture conversion
On 2/19/06, Herbert Voss [EMAIL PROTECTED] wrote: sure, LyX detects the source and the target extension of images files and should do the conversion by default. Run from command line lyx -dbg graphics and have a look at the output when you try to view your document. Thanks to all. Something mysterious has occurred: after the installation of a different rpm of LyX, the reported problem vanished! Paul
Re: Ebuild for LyX
Thanks, It helped and i was able to emerge LyX 1.4.0 pre5 on my Gentoo with out any problems. Hannan On 2/20/06, Daniel Watkins [EMAIL PROTECTED] wrote: On Monday 20 February 2006 16:00, you wrote: Hi Daniel, Hi there! Are you going to place your ebuild in the gentoo mirror's or was it just for your internal use? Currently, I've abandoned the lyx-1.4.0pre5.ebuild in favour of working on a lyx-1.3.7.ebuild, as this seemed a more pressing need to the Gentoo community (it makes more sense to have the most recent stable build available before the most recent testing). For my first ebuild I don't want to juggle several at once (especially if I discover I'm making stupid mistakes in all of them). i would like to get your ebuild so i could emerge LyX 1.4.0* on my computer too. The above does make it sound like it is impossible. However, this is not the case. There is currently an ebuild available for lyx-1.4.0pre3, which can be found at http://bugs.gentoo.org/show_bug.cgi?id=118140 . I have used this to install and run LyX 1.4.0pre3 on my computer (though I'm not using it currently, as I've been testing my lyx-1.3.7.ebuild, which is what I have installed currently). As this ebuild is not part of the Portage tree, you will need to follow the instructions at http://gentoo-wiki.com/HOWTO_Installing_3rd_Party_Ebuilds in order to install it on your system (I would recommend following the safer instructions, once you get to that point. Hoping this helps, Dan
Marginal Note in Enumerate
Using the enumerate environment to number problems on an exam, I would like to place [20] just to the left of the number of the problem to tell the students that this is a 20 point problem. I tried in ERT \marginpar[text] and \reversemarginpar{text}, with the text being [20], but neither worked. Can one place text in the left margin within an enumerate environment? Bruce
Re: Text of diagram with the font of the main document
On 2/20/06, Vaclav Smidl [EMAIL PROTECTED] wrote: I have a diagram which I can export as PNG, JPG, PDF or SVG. What should I do so that the text of the diagram appears with the same font of the main document? Is that possible? Hi, this is possible with xfig. One of its export options is pslatex/pdflatex, it converts the graphics into two parts: the first is ps/pdf with curves, and the second is .tex file with texts in latex picture enviroment. When you include the second file into your document it will be type-set identically to the rest. Quite a few linux programs can export into xfig's native format, so it should be no problem. Thanks. I suppose that I was not clear enough: I do not mean to add text to the SVG picture; I mean to manipulate the font used on the text already present on the SVG picture. I think the suggestion of Paul Rubin of using Amaya may be of some help. Paul
Re: Ebuild for LyX
On Mon, 2006-02-20 at 19:14 +0100, Hannan Sadar wrote: It helped and i was able to emerge LyX 1.4.0 pre5 on my Gentoo with out any problems. Is it stable enough for normal usage? I see that ebuild is not in bugzilla? Can you, pls. add it to http://bugs.gentoo.org/show_bug.cgi?id=118140 ? Sincerely, Gour signature.asc Description: This is a digitally signed message part
Re: LyX fails picture conversion
On 2/19/06, Stephen Harris [EMAIL PROTECTED] wrote: Thanks. I checked in texmf and had a dvipdfmx .exe so I changed the converter in Preferences by adding an x. You are luckier, as there is no binary of dvipdfmx for Linux! Paul
Re: rpm lyx-1.3.7 for Mandriva 2006
On Mon, 20 Feb 2006, Paul Smith wrote: On 2/20/06, icebna [EMAIL PROTECTED] wrote: I don't know. My experience is few. Can you help me, for know as built the rpm to update my lyx-1.3.6 ? Certainly, I can help you with my best pleasure. The procedure is as follows: 1. download the source of LyX 1.3.7 from ftp://ftp.lyx.org/pub/lyx/stable/lyx-1.3.7.tar.gz 2. uncompress it; 3. go inside the directory where it is uncompressed the source of LyX; 4. on the command line run the command: ./configure --with-frontend=qt --with-pspell 5. run the command make; 6. become superuser and run checkinstall. Your rpm will be built at the end! That is not too difficult, believe me. Won't he need some Qt-related packages in order to build it? Having said that, I took the liberty of placing your instructions on this page for future reference: http://wiki.lyx.org/LyX/LyXOnRedHat Of course, I just noticed that it's not really RedHat but Mandriva.. hope that doesn't matter. /Christian -- Christian Ridderström, +46-8-768 39 44 http://www.md.kth.se/~chr
[O-T] Re: Ebuild for LyX
On Mon, 20 Feb 2006, Gour wrote: On Mon, 2006-02-20 at 19:14 +0100, Hannan Sadar wrote: It helped and i was able to emerge LyX 1.4.0 pre5 on my Gentoo with out any problems. Is it stable enough for normal usage? I see that ebuild is not in bugzilla? Can you, pls. add it to http://bugs.gentoo.org/show_bug.cgi?id=118140 ? This is a question to the users on this list about the structure of the wiki... I'm asking for input really. Background: I just copied some advice from Paul Smith on how to build an RPM to a page on the wiki.. and there's one for Debian. http://wiki.lyx.org/LyX/LyXOnDebian http://wiki.lyx.org/LyX/LyXOnRedHat Maybe it makes sense to provide a place for people who would like to do the same for eg Gentoo. However, considering that there's quite a few Linux distrubtions I wonder if we should have a separate group for this. For comparison, we already have the groups Mac/ and Windows/... As I write that, I think it probably makes sense to put pages that are specific to LyX and Linux in a separate group... Or should we group Linux with eg Solaris, and call the group UNIX instead? Hmm.. should that really be Unix? (We can't use a '*' in the name of the group so '*nix' isn't possible). Do people have any comments on this? /Christian, who is getting sidetracked here... PS. Anyone can actually create this group and/or page... it's really as simple as going to e.g. http://wiki.lyx.org/Linux/LyXOnGentoo and editing the page - this implicitly creates the group. -- Christian Ridderström, +46-8-768 39 44 http://www.md.kth.se/~chr
Re: rpm lyx-1.3.7 for Mandriva 2006
On 2/20/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Won't he need some Qt-related packages in order to build it? Having said that, I took the liberty of placing your instructions on this page for future reference: http://wiki.lyx.org/LyX/LyXOnRedHat Of course, I just noticed that it's not really RedHat but Mandriva.. hope that doesn't matter. Thanks, Christian. Indeed, he needs qt-devel (or something like that), but he may have it already installed. He also needs aspell and aspell-devel (?). Paul
Re: LyX fails picture conversion
Paul Smith wrote: On 2/19/06, Stephen Harris [EMAIL PROTECTED] wrote: Thanks. I checked in texmf and had a dvipdfmx .exe so I changed the converter in Preferences by adding an x. You are luckier, as there is no binary of dvipdfmx for Linux! e.g.: /usr/local/texlive/2005/bin/i386-linux/dvipdfmx Herbert
Re: Ebuild for LyX
I dont understand so much about how to create ebuilds and what are the new dependences of LyX 1.4.0 pre5. I guessed that the dependences of 1.4.0 pre3 are the same like 1.4.0 pre5, then i just rename the name of the ebuild 1.4.0_pre3 to 1.4.0_pre5 and it worked on my computer with out any compilation problem and LyX works too. I am sorry i cant help more then that. Hannan Gour wrote: On Mon, 2006-02-20 at 19:14 +0100, Hannan Sadar wrote: It helped and i was able to emerge LyX 1.4.0 pre5 on my Gentoo with out any problems. Is it stable enough for normal usage? I see that ebuild is not in bugzilla? Can you, pls. add it to http://bugs.gentoo.org/show_bug.cgi?id=118140 ? Sincerely, Gour
Re: Automatic formatting of a particular word?
Joerg Hau writes: The problem is, I don't have the slightest idea about the way to define this .. preamble, yes, but how exactly? Any pointers? For example... In preamble: \newcommand{\PKflasche}{\textit{Die Flasche}} In text (ERT): \PKflasche{} The rest you can probably find online (here, for example): http://www-h.eng.cam.ac.uk/help/tpl/textprocessing/teTeX/latex/latex2e-html/ -Kevin -- Kevin Pfeiffer [EMAIL PROTECTED] Tiros-Translations
Re: LyX fails picture conversion
On 2/20/06, Herbert Voss [EMAIL PROTECTED] wrote: Thanks. I checked in texmf and had a dvipdfmx .exe so I changed the converter in Preferences by adding an x. You are luckier, as there is no binary of dvipdfmx for Linux! e.g.: /usr/local/texlive/2005/bin/i386-linux/dvipdfmx You are luckier, Herbert. With tetex, no dvipdfmx, unless it is contained in some package that I have not installed. Do people here with tetex have dvipdfmx? Paul
Uppercase F not rendering on screen properly
Within LyX, my uppercase F's look like black blobs. Does anyone know of the solution to this problem? I'm using LyX 1.3.6 on Ubuntu. Rex
Confusion With PowerPoint
Has anyone else come across people who download a beamer presentation (as a .pdf file) but refer to it as a PowerPoint presentation? Sheesh! I know that all my clients are stuck in the Microsoft world, but I would have thought the quality difference in the 'slides' was readily apparent. Guess not. Perhaps I need a LaTeX logo in the bottom corner of each slide? Rich -- Richard B. Shepard, Ph.D. | Author of Quantifying Environmental Applied Ecosystem Services, Inc. (TM) | Impact Assessments Using Fuzzy Logic http://www.appl-ecosys.com Voice: 503-667-4517 Fax: 503-667-8863
Re: LyX fails picture conversion
Paul Smith wrote: On 2/20/06, Herbert Voss [EMAIL PROTECTED] wrote: Thanks. I checked in texmf and had a dvipdfmx .exe so I changed the converter in Preferences by adding an x. You are luckier, as there is no binary of dvipdfmx for Linux! e.g.: /usr/local/texlive/2005/bin/i386-linux/dvipdfmx You are luckier, Herbert. With tetex, no dvipdfmx, unless it is contained in some package that I have not installed. Do people here with tetex have dvipdfmx? CTAN: ftp://dante.ctan.org/tex-archive/dviware/dvipdfmx/dvipdfmx-20050831.tar.gz Debian: http://packages.debian.org/unstable/tex/dvipdfmx MAC:http://dvipdfmx.darwinports.com/ http://pdb.finkproject.org/pdb/package.php/dvipdfmx Herbert
Re: Automatic formatting of a particular word?
Hi Kevin, In preamble: \newcommand{\PKflasche}{\textit{Die Flasche}} In text (ERT): \PKflasche{} Inserting ERT in the text is exactly the opposite of what I want to do. An example of what I am looking for: Open a document in LyX, write e.g. LyX is a kind of LaTeX frontend (upper/lowercase!), and go to the preview ... the two words LyX and LaTeX are displayed in their very particular style, but without any need to have them ERT'd. ... how can I get this behavior with any word? Cheers, - Joerg -- joerg.hau(at)dplanet.ch * Lausanne, Switzerland http://homepage.sunrise.ch/mysunrise/joerg.hau/ All standard disclaimers apply. Never take life seriously. You won't get out alive anyway.
Re: LyX fails picture conversion
On 2/20/06, Herbert Voss [EMAIL PROTECTED] wrote: You are luckier, Herbert. With tetex, no dvipdfmx, unless it is contained in some package that I have not installed. Do people here with tetex have dvipdfmx? CTAN: ftp://dante.ctan.org/tex-archive/dviware/dvipdfmx/dvipdfmx-20050831.tar.gz Debian: http://packages.debian.org/unstable/tex/dvipdfmx MAC:http://dvipdfmx.darwinports.com/ http://pdb.finkproject.org/pdb/package.php/dvipdfmx Thanks, Herbert. Paul
Re: Automatic formatting of a particular word?
Joerg Hau writes: Inserting ERT in the text is exactly the opposite of what I want to do. An example of what I am looking for: Open a document in LyX, write e.g. LyX is a kind of LaTeX frontend (upper/lowercase!), and go to the preview ... the two words LyX and LaTeX are displayed in their very particular style, but without any need to have them ERT'd. ... how can I get this behavior with any word? Dafür bin ich nicht zuständig. Good question. Maybe Herbert or someone else can help. -K -- Kevin Pfeiffer [EMAIL PROTECTED] Tiros-Translations
Re: Confusion With PowerPoint
On 2/20/06, Rich Shepard [EMAIL PROTECTED] wrote: Has anyone else come across people who download a beamer presentation (as a .pdf file) but refer to it as a PowerPoint presentation? Perhaps, it is just a typo: they meant powerdot! :-) Paul
Re: LyX fails picture conversion
- Original Message - From: Paul Smith [EMAIL PROTECTED] To: lyx-users@lists.lyx.org Sent: Monday, February 20, 2006 10:31 AM Subject: Re: LyX fails picture conversion On 2/19/06, Stephen Harris [EMAIL PROTECTED] wrote: Thanks. I checked in texmf and had a dvipdfmx .exe so I changed the converter in Preferences by adding an x. You are luckier, as there is no binary of dvipdfmx for Linux! Paul I visited the dvipdfmx website and noticed that my installation wasn't current. So I did all the recommended things. The result is that I used to be able to use dvipdfm to generate the .pdf file and acrobat would open and display the file. Now, the file is still created but Acrobat gives an error message: There was an error opening this document. The file cannot be found. So I have to manually navigate to the Lyx temp directory with Acrobat to locate the file and display it. On a happier note: http://tug.org/pipermail/pdftex/2006-February/006330.html pdfTeX 3.141592-1.30.6 was released on 2006-02-16 - - bugfix: updated xpdf to 3.01pl2 Do you have the equivalent of yum or apt-get to install new programs? Regards, Stephen
Re: Confusion With PowerPoint
On Mon, 20 Feb 2006, Paul Smith wrote: Perhaps, it is just a typo: they meant powerdot! :-) Paul, Not when it's verbal. It's an assumption 'cause they don't know there's anything else. Rich -- Richard B. Shepard, Ph.D. | Author of Quantifying Environmental Applied Ecosystem Services, Inc. (TM) | Impact Assessments Using Fuzzy Logic http://www.appl-ecosys.com Voice: 503-667-4517 Fax: 503-667-8863
Re: Automatic formatting of a particular word?
On Mon, 20 Feb 2006, Kevin Pfeiffer wrote: ... how can I get this behavior with any word? Good question. Maybe Herbert or someone else can help. That's like the user calling the help desk because she cannot find the any key on her keyboard. But the instructions say to press any key! Rich -- Richard B. Shepard, Ph.D. | Author of Quantifying Environmental Applied Ecosystem Services, Inc. (TM) | Impact Assessments Using Fuzzy Logic http://www.appl-ecosys.com Voice: 503-667-4517 Fax: 503-667-8863
Re: LyX-Code and Typewriter environment: how to change the font?
Joerg Hau wrote: Hi, How does one change the font that is used (a) for the LyX-Code environment, (b) for typewriter character markup? I would like to modify the font size, and/or eventually change the font for these two completely. Maybe I have searched in the wrong places ;-), but I have not found an answer to this question yet ... ? Thanks for any hint, and have a nice day! - Joerg If you mean you want to change LyX-Code globally (for all documents on your system), you need to hack the file lyxmacros.inc in the ...\Resources\lyx\layouts directory on Windows systems (at least for versions 1.3.6 and 1.3.7) or .../share/lyx/layouts on Unix-like systems. You might want to put the hacked version in your local layouts directory (under your home) and leave the original intact, just in case. In the section beginning Style LyX-Code there is a \newenvironment command, near the end of which is \normalfont\ttfamily. You can change \ttfamily to something like \rmfamily or \sffamily (although IMHO a monospaced font would seem to be needed here). You should also be able to append a size command, for instance \normalfont\rmfamily\large or \normalfont\sffamily\fontsize{9pt}{11pt}. Beneath the preamble insertion in the .inc file is a subsection Font Family Typewriter EndFont I think you'll want to change Typewriter to Roman (or whatever) there as well, so that the screen display matches what you'll get in the output. Changing the typewriter font itself, so that for instance \ttfamily does something different from what it does now, is something I think you'll have to do with LaTeX commands in the preamble. Perhaps a LaTeX guru (which decidedly excludes me) can help. /Paul
Re: Automatic formatting of a particular word?
Joerg Hau schrieb: Inserting ERT in the text is exactly the opposite of what I want to do. An example of what I am looking for: Open a document in LyX, write e.g. LyX is a kind of LaTeX frontend (upper/lowercase!), and go to the preview ... the two words LyX and LaTeX are displayed in their very particular style, but without any need to have them ERT'd. They are in ERT, but internally. The format of the word LyX is the following: [EMAIL PROTECTED] When you type LyX within LyX, it will automatically transformed to the LaTeX-command \LyX{} in the background. I don't think that a small ERT-box is problematic, it is btw. a good highlighter of the company name within LyX. regards Uwe
Re: Confusion With PowerPoint
Rich Shepard wrote: On Mon, 20 Feb 2006, Paul Smith wrote: Perhaps, it is just a typo: they meant powerdot! :-) Paul, Not when it's verbal. It's an assumption 'cause they don't know there's anything else. Rich It's the Kleenex phenomenon -- a brand name gets so ingrained in the consumer's consciousness that it becomes the generic term for the product category. In fact, in parts of the south all soft drinks are Cokes, and you need to order a Pepsi Coke to get a Pepsi. Given MS's ability to brainwash the masses (including, to some extent, me) into using their less-than-stellar software, I'm not surprised that Powerpoint is the new generic term for computer-generated presentations. Which in no way is to argue against your educating such people on the error of their ways. /Paul
Re: Uppercase F not rendering on screen properly
On 2/21/06, Rex Eastbourne [EMAIL PROTECTED] wrote: Within LyX, my uppercase F's look like black blobs. Does anyone know of the solution to this problem? I'm using LyX 1.3.6 on Ubuntu. Rex I had this too. Try going into Edit-Preferences-LookandFeel-ScreenFonts and change the Roman fonts from aakar to something else (I now use URW Bookman L, DejaVu Sans, FreeMono respectively). Perhaps someone should file a bug report? -- John C. McCabe-Dansted Master's Student
Re: Marginal Note in Enumerate
Bruce Pourciau wrote: Using the enumerate environment to number problems on an exam, I would like to place [20] just to the left of the number of the problem to tell the students that this is a 20 point problem. I tried in ERT \marginpar[text] and \reversemarginpar{text}, with the text being [20], but neither worked. Can one place text in the left margin within an enumerate environment? You can do it with the small trick to use an empty \reversemarginpar{}, see the attached example file. regards Uwe newfile1.lyx Description: application/lyx
Re: Marginal Note in Enumerate
Bruce Pourciau wrote: Using the enumerate environment to number problems on an exam, I would like to place [20] just to the left of the number of the problem to tell the students that this is a 20 point problem. I tried in ERT \marginpar[text] and \reversemarginpar{text}, with the text being [20], but neither worked. Can one place text in the left margin within an enumerate environment? Bruce Yes, you can do it. See attached file. The problem is that the marginal footnote is not positioned exactly by LaTeX on the line where you call it. I don't think there is anything you can do about it. I guess you should normally solve your problem by creating a specific type of enumerate list with an extra label with the value of the exercise. But that is not possible, in LyX (or only in massive ERT) Cheers, Charles -- http://www.kde-france.org marginpar.lyx Description: application/lyx
Re: Marginal Note in Enumerate
Uwe Stöhr [EMAIL PROTECTED] writes: Bruce Pourciau wrote: Using the enumerate environment to number problems on an exam, I would like to place [20] just to the left of the number of the problem to tell the students that this is a 20 point problem. I tried in ERT \marginpar[text] and \reversemarginpar{text}, with the text being [20], but neither worked. Can one place text in the left margin within an enumerate environment? You can do it with the small trick to use an empty \reversemarginpar{}, see the attached example file. For a better result, you may want to Insert-Special Character-Hfill to the left of [20]. -- Enrico
Re: Marginal Note in Enumerate
Charles de Miramon [EMAIL PROTECTED] writes: Yes, you can do it. See attached file. The problem is that the marginal footnote is not positioned exactly by LaTeX on the line where you call it. I don't think there is anything you can do about it. Simply don't put the marginal note at the very start of the item. -- Enrico
--- em dash without hyphenation, global setting
Jürgen, Kevin, Bruce, excuse me for my english, I need a global setting for avoid that latex hyphenat a comment --- in this manner---. In spanish we can include comments with em dash sticked to the word, but is not wanted that the hy- phen broke dash and word like above. Is wanted that em dash and a word remains sticked ---like this---, ---or like this o- ther---. And I need global setting because I have several hundred of this comments. Thanks Marcelo __ Correo Yahoo! Espacio para todos tus mensajes, antivirus y antispam ¡gratis! ¡Abrí tu cuenta ya! - http://correo.yahoo.com.ar
Re: Automatic formatting of a particular word?
- Original Message - From: Joerg Hau [EMAIL PROTECTED] To: lyx-users@lists.lyx.org Sent: Monday, February 20, 2006 1:23 PM Subject: Re: Automatic formatting of a particular word? An example of what I am looking for: Open a document in LyX, write e.g. LyX is a kind of LaTeX frontend (upper/lowercase!), and go to the preview ... the two words LyX and LaTeX are displayed in their very particular style, but without any need to have them ERT'd. ... how can I get this behavior with any word? Cheers, - Joerg Oh, that is easy after they tell you how to do it! For instance XYpic is one of those words which has the Y typeset below the line. So I asked how to fix it on comp.text.tex Subject: Tex4ht htlatex conversion problem Stephen asked: With the current version of LY X and with the preview-style installed in the LATEX-System, the graph drawing package XY -Pic Perhaps htlatex doesn't support any special typset to LyX which is similar to that used with LaTeX? Is there a config file to define LyX in an upper/lower manner like LaTeX? I know how to edit the html code to correct this, but I want to know what caused it? Eitan Gurari graciously explained: I modified the tex4ht distribution to include a definition similar to the following one for \Xy. \def\Xy{\HCode{span class=Xy}X\HCode{span class=Y}Y\HCode{/span}} \Css{span.Xy span.Y{ position:relative; top:0.35ex;left:-0.25em;}} \LyX can use a variant of the above definition. - SH: I'm assuming that by get this behavior with 'any word' you mean how do I modify the appearance in any particular word to have the style variation of individual letters within that word, (like LaTeX) and the answer is to change the letter's x,y spatial coordinates similar in principle to the example of this html code. As above, so below Stephen
How to convert letter to math symbol/font in 1.3+?
I recall that in 1.2 we could convert a ordinary letter to math font simply by selecting it and pressing cntl-M. In 1.3 it converts it into math mode, but leaves it in the original font. Is there an easy way to convert letters into math font in 1.3+? -- John C. McCabe-Dansted Master's Student Pet project: http://wiki.lyx.org/Tools/LyX-GrammarChecker
Re: software manuals using Lyx
Hi Abdel, You suggested exporting HTML then importing that to the CHM tool from MS. That is what i would plan to do, but note that one needs various support files for using the index feature, and for creating the navigation hierarchy on the left hand side of the CHM window. These are things that Lyx needs to provide. For example: http://msdn.microsoft.com/library/default.asp?url=/library/en-us/htmlhelp/html/vsconprjcmp.asp http://msdn.microsoft.com/library/default.asp?url=/library/en-us/htmlhelp/html/vsconoveridx.asp Furthermore, I don't believe I can export using 'htlatex' if I am working on a docbook-lyx document. I need to use docbook-lyx format in order to support GNOME help ('yelp') output. Cheers JP Abdelrazak Younes wrote: Jose' Matos a écrit : On Friday 17 February 2006 07:55, John Pye wrote: Hi there, Can anyone tell me if there is an up-to-date HOWTO somewhere for using Lyx for DocBook output of software user's manuals? No, that has been in my TODO list for a long time. :-( In particular, I want to be able to generate 'chm' files for Windows, and DocBook XML for GNOME ('yelp' help browser). Is this something that other people on the list are doing? You need to find a tool that converts docbook to chm, and then use the traditional way of configuring lyx. Or just export to html with htlatex and use Microsoft free chm tool. Abdel. 1) Add format, with its viewer 2) Define how to convert from docbook to chm I found this but it's 5 years old, and hopefully things have become easier... http://bgu.chez-alice.fr/doc/db4lyx/ If such a HOWTO /doesn't/ exist, maybe there'd be someone willing to collaborate on putting it together? I can explain why lots of things are the way they are, and if possible/necessary fix those bugs. Cheers JP -- John Pye School of Mechanical and Manufacturing Engineering The University of New South Wales Sydney NSW 2052 Australia t +61 2 9385 5127 f +61 2 9663 1222 mailto:john.pye_AT_student_DOT_unsw.edu.au http://pye.dyndns.org/
Re: Uppercase F not rendering on screen properly
John McCabe-Dansted Mon, 20 Feb 2006 15:43:56 -0800 On 2/21/06, Rex Eastbourne [EMAIL PROTECTED] wrote: Within LyX, my uppercase F's look like black blobs. Does anyone know of the solution to this problem? I'm using LyX 1.3.6 on Ubuntu. Rex I had this too. Try going into Edit-Preferences-LookandFeel-ScreenFonts and change the Roman fonts from aakar to something else (I now use URW Bookman L, DejaVu Sans, FreeMono respectively). Perhaps someone should file a bug report? -- John C. McCabe-Dansted Master's Student I reported this a while ago and got the response that it was a known bug. Though I'm pretty sure it is not a priority for 1.4. Anders Ekberg
Re: --- em dash without hyphenation, global setting
Marcelo Acuña writes: Jürgen, Kevin, Bruce, excuse me for my english, I need a global setting for avoid that latex hyphenat a comment --- in this manner---. In spanish we can include comments with em dash sticked to the word, but is not wanted that the hy- phen broke dash and word like above. Is wanted that em dash and a word remains sticked ---like this---, ---or like this o- ther---. And I need global setting because I have several hundred of this comments. Did you try any of the three solutions we already offered? In particular \mbox{here is something long that should not be broken} or the \nobreakdash (I think) command that you get when using the amsmath package? Whether there is a global setting for this, I don't know. If there is (?), maybe it should be tied to the language setting. -- Kevin Pfeiffer [EMAIL PROTECTED] Tiros-Translations
Re: a4paper: Random Margins?
John McCabe-Dansted wrote: Hi, I've been using a4wide, which seems to behave reasonably with a4 paper, but now I am trying to get border correction (so that the inner margin is wider than the outer) The problem with a4wide and a4.sty is that there are several different versions around, which produce different output. It is deprecated and therefore no more supported by LyX (as of 1.4). Thus I tried using the line \usepackage[a4paper,top=2cm,bottom=2cm,inner=2.5cm,outer=2cm]{geometry} Why don't you use the GUI (document-margins), which basically does the same? This gets the border correction to work, but the top and bottom margins are wrong. Although I set a top bottom margin of 2cm the header is only 3mm from the top and the page number touches the lower edge of the page. I can correct this by adding another 2cm to the top and bottom margin. However the page prints differently with different printers --- on the HP-Laserjet4L it prints 1 or 2cm higher on the page than with the university printers. Did you consider headsep, headheight and foorskip? They are important factors (cf. the geometry documentation). Also, if you print from PDF with Acroread, take care that you switched off any Shrink page or Resize page in Acroread's printer dialog. HTH, Jürgen Has anyone got reliable (and preferrably correct) margins with border correction on A4 paper?
Re: Text of diagram with the font of the main document
Paul Smith wrote: I have a diagram which I can export as PNG, JPG, PDF or SVG. What should I do so that the text of the diagram appears with the same font of the main document? Is that possible? If you also can export into eps without first making a bitmap you can have latex typeset your annotations in the diagrams from your main document. You can do this with the package psfrag. Look for the file pfguide.* for a manual. /johan
rpm lyx-1.3.7 for Mandriva 2006
Please, someone should built the rpm with qt, to lyx-1.3.7 for Mandriva 2006, and send to www.lyx.org to put in the server ? Thanks Miguel smime.p7s Description: S/MIME Cryptographic Signature
Re: text figures and lining figures
mail.k wrote: C'mon, somebody has to know, right? The following works for me with mathpazo: \usepackage[osf]{mathpazo} \newcommand{\nooldstylenums}[1]{{\fontfamily{ppl}\selectfont #1}} [EMAIL PROTECTED] [EMAIL PROTECTED] } The redefinition of the footnotesymbol depends on the class you are using. This is standard article. Jürgen
Re: Text of diagram with the font of the main document
On Friday 17 February 2006 20:14, Paul Smith wrote: Dear All I have a diagram which I can export as PNG, JPG, PDF or SVG. What should I do so that the text of the diagram appears with the same font of the main document? Is that possible? Thanks in advance, Paul Hi, this is possible with xfig. One of its export options is pslatex/pdflatex, it converts the graphics into two parts: the first is ps/pdf with curves, and the second is .tex file with texts in latex picture enviroment. When you include the second file into your document it will be type-set identically to the rest. Quite a few linux programs can export into xfig's native format, so it should be no problem. Hope it helps, Vasek -- - Ing. Vaclav Smidl, Ph.D.tel: +420 26605 2420 AS department, Institute web: http://staff.utia.cz/smidl/ of Information Theory and Automation, fax: +420 26605 2068 Prague, Czech Republic
Re: software manuals using Lyx
Jose' Matos a écrit : On Friday 17 February 2006 07:55, John Pye wrote: Hi there, Can anyone tell me if there is an up-to-date HOWTO somewhere for using Lyx for DocBook output of software user's manuals? No, that has been in my TODO list for a long time. :-( In particular, I want to be able to generate 'chm' files for Windows, and DocBook XML for GNOME ('yelp' help browser). Is this something that other people on the list are doing? You need to find a tool that converts docbook to chm, and then use the traditional way of configuring lyx. Or just export to html with htlatex and use Microsoft free chm tool. Abdel. 1) Add format, with its viewer 2) Define how to convert from docbook to chm I found this but it's 5 years old, and hopefully things have become easier... http://bgu.chez-alice.fr/doc/db4lyx/ If such a HOWTO /doesn't/ exist, maybe there'd be someone willing to collaborate on putting it together? I can explain why lots of things are the way they are, and if possible/necessary fix those bugs. Cheers JP
Re: text figures and lining figures
Some time ago Karsten Heymann offered the advice below (about oldstyle figures, but not about footnotes). Bruce use \usepackage{mathpazo} (or even better \usepackage[sc]{mathpazo} if your latex is new enough) for better math support (and better \textsc output). See http://ftp.dante.de/tex-archive/info/l2tabu/english/l2tabuen.pdf and http://dante.ctan.org/CTAN/macros/latex/required/psnfss/psnfss2e.pdf for hints and reasons. On Sunday, February 19, 2006, at 09:10 PM, mail.k wrote: Now, on the other hand, the response is overwhelming. C'mon, somebody has to know, right? mail.k wrote: Can anyone tell me how to use oldstyle figures in my body text (i.e., text figures or the j version of the fonts) and lining figures for my footnotes (the x version of the font)? I prefer the appearance of osf, but in the footnotes I must use a more scientific look. (I've asked this question about six weeks ago, but no one knew at the time). Many thanks, Eran
Re: Minimal LyX installation
Gunnar wrote: What is the bare minimum for a LyX installation if the only thing that should be done is writing new LyX documents and producing pdf's? LyX, LaTeX, ghostscript, what else? As I remember, the LyX installer installed both Perl and Python. Will LyX work without them? The reason for asking is that the amount of installed software should be kept at a minimum. I don't think you need ghostscript, if you use pdflatex for making pdf's. Of course you may need it for other purposes, such as printing on any non-postscript printer. Helge Hafting
Re: vspace between sections and figures help!
Myriam Abramson wrote: I've \setlength{\parskip {-1pt}} but that seems only to affect the vertical space between paragraphs. How can I set the vertical space length between sections and figures? It's quite urgent as I am trying to fit this paper into a ridiculous 6-page limit. Wider margins (both side margins and the top/bottom ones) and a smaller font helps a lot. Unless they specified all of these too. Many don't specify top/bottom margin. And if they specify a certain font height, consider a narrow one, or making the linespacing somewhat smaller :-) Ridiculous workarounds for ridiculous limits . . . Helge Hafting
Re: I need workaround of encoding problem
Marcelo Acuña wrote: I can't to use spellchecker. Accented letters and ñ, Ñ are not recognized by ispell, aspell. Common problem for unicode users, because lyx doesn't support unicode. That cause trouble when the spellchekcer expects unicode while lyx gives it iso8859 encoded text. echo $LANG with this nothing is show. export LANG=es_ES Then run lyx from the same xterm, so it uses the modified language. You should still get the lyx GUI in your language, assuming it is translated. And now the spellchecker works too. :-) No work for me :-( Lyx 1.4.0pre appears without menu, only Strange. If the menu isn't translated, then you should get it in english instead. This looks like a broken installation. a icon bar, I clicked icon for file open and, choose my file (saved with 1.4.0pre) and I get error in conversion. Then I open with lyx (from icon), deleted list of fig, repeat process and when I open the file lyx go out (aborted) with an error message. Which is the date when You expect lyx 1.5.0 will be released? I can only guess - a year or two. The spellchecker and rest of lyx is supposed to work fine when LANG doesn't contain the UTF-8 part though. no work for me. What can I do? I need run spellcheck. Your lyx installation is clearly broken, perhaps a reinstall is in place. What operating system do you use, how did you install lyx? The menu should never ever disappear. Get that working, then look at the spellchecker. What version of lyx is this? You may get in trouble if you mix lyx-1.4pre and earlier versions, as they may want to use the same directories. Particularly .lyx/ in your home directory, assuming that you're on linux (or other unix). Things to try: 1. rename .lyx to .lyx-old rename the .lyx directory in your home directory to something like .lyx-old. Then run lyx, and see if things gets better. This may work as running lyx-1.4 may overwrite some stuff in the .lyx directory, so it don't work too well with lyx-1.3 anymore. Note that any customization will be lost this way, but you can find all customized stuff in .lyx-old/ and copy items over one by one. 2. reinstall lyx If you tried lyx 1.4 briefly and now wants to use lyx 1.3 again, do reinstall lyx 1.3 even if it seems to exist on your pc. This because the test install of lyx 1.4 may have overwritten some of lyx-1.3's files. If your package manager don't want to reinstall, remove lyx and then reinstall it. The latest lyx 1.3 is now lyx 1.3.7. This version works better with files from lyx-1.4 than the older versions of lyx-1.3 do. If you get lyx itself working fine (with menu) but still have trouble with the spellchecker, ask again. Helge Hafting
Re: vspace between sections and figures help!
Myriam Abramson wrote: I've \setlength{\parskip {-1pt}} but that seems only to affect the vertical space between paragraphs. How can I set the vertical space length between sections and figures? \floatsep (\dblfloatsep) vertical glue between floats with placement [t,b] \textfloatsep (\dbltextfloatsep) vertical glue between a float with placement [t,b] and text \intextsep vertical glue between a float with placement [h] and text http://tug.org/TeXnik/mainFAQ.cgi?file=floats/parameter I suppose, you are searching for \intextsep=... Herbert
Re: text figures and lining figures
That's useful advice, thanks! Do you know where I should look to implement this trick for nonstandard fonts? For example, to use a Linotype font with Walter Schmidt's package, that has two versions: l__x l__j? Many thanks, E. Bruce Pourciau wrote: Some time ago Karsten Heymann offered the advice below (about oldstyle figures, but not about footnotes). Bruce use \usepackage{mathpazo} (or even better \usepackage[sc]{mathpazo} if your latex is new enough) for better math support (and better \textsc output). See http://ftp.dante.de/tex-archive/info/l2tabu/english/l2tabuen.pdf and http://dante.ctan.org/CTAN/macros/latex/required/psnfss/psnfss2e.pdf for hints and reasons. On Sunday, February 19, 2006, at 09:10 PM, mail.k wrote: Now, on the other hand, the response is overwhelming. C'mon, somebody has to know, right? mail.k wrote: Can anyone tell me how to use oldstyle figures in my body text (i.e., text figures or the j version of the fonts) and lining figures for my footnotes (the x version of the font)? I prefer the appearance of osf, but in the footnotes I must use a more scientific look. (I've asked this question about six weeks ago, but no one knew at the time). Many thanks, Eran
Re: text figures and lining figures
Hi, Bruce Pourciau schrieb: Some time ago Karsten Heymann offered the advice below (about oldstyle figures, but not about footnotes). Bruce Well, there isn't much about oldfigs in my text :) mail.k wrote: Can anyone tell me how to use oldstyle figures in my body text (i.e., text figures or the j version of the fonts) Use \usepackage[osf]{mathpazo} for palatino or the eco package for Computer Modern: http://tug.ctan.org/tex-archive/fonts/eco/ and lining figures for my footnotes (the x version of the font)? You can access lining figures either by switching to math mode or by (mathpazo only) {\fontfamily{pplx}\selectfont 12345}. But I don't know how to change the footnotemark format, I would ask that on the comp.text.tex newsgroup (or search for that on groups.google.com). Yours, Karsten
Re: vspace between sections and figures help!
Helge Hafting wrote: Myriam Abramson wrote: I've \setlength{\parskip {-1pt}} but that seems only to affect the vertical space between paragraphs. How can I set the vertical space length between sections and figures? It's quite urgent as I am trying to fit this paper into a ridiculous 6-page limit. Wider margins (both side margins and the top/bottom ones) and a smaller font helps a lot. Unless they specified all of these too. Many don't specify top/bottom margin. And if they specify a certain font height, consider a narrow one, or making the linespacing somewhat smaller :-) Ridiculous workarounds for ridiculous limits . . . this has nothing to do with the space between figures and text ... Herbert
Re: Minimal LyX installation
Paul A. Rubin wrote: Gunnar wrote: What is the bare minimum for a LyX installation if the only thing that should be done is writing new LyX documents and producing pdf's? LyX, LaTeX, ghostscript, what else? As I remember, the LyX installer installed both Perl and Python. Will LyX work without them? The reason for asking is that the amount of installed software should be kept at a minimum. Perl is not needed unless you need to convert TeX files to LyX (or maybe old LyX files to newer LyX formats). I don't have Perl installed and have suffered from its absence. Python is a different story. At least through version 1.3.7 (don't know about 1.4.x), a Python script is used to do graphics conversions, in particular (in 1.3.7) to go from DraftDVI (DVI with no images) to DVI (with images). So if you want to view DVI files with images, you'll need Python. I'm not sure whether it's used by the export commands (in particular, exporting PDF). /Paul Self-reply: never a good sign. :-) I forgot ImageMagick. LyX needs it to convert graphics formats. /Paul
Re: rpm lyx-1.3.7 for Mandriva 2006
On 2/20/06, icebna [EMAIL PROTECTED] wrote: Please, someone should built the rpm with qt, to lyx-1.3.7 for Mandriva 2006, and send to www.lyx.org to put in the server ? Please, do not hesitate: do it yourself! :-) Paul
Re: rpm lyx-1.3.7 for Mandriva 2006
On 2/20/06, icebna [EMAIL PROTECTED] wrote: I don't know. My experience is few. Can you help me, for know as built the rpm to update my lyx-1.3.6 ? Certainly, I can help you with my best pleasure. The procedure is as follows: 1. download the source of LyX 1.3.7 from ftp://ftp.lyx.org/pub/lyx/stable/lyx-1.3.7.tar.gz 2. uncompress it; 3. go inside the directory where it is uncompressed the source of LyX; 4. on the command line run the command: ./configure --with-frontend=qt --with-pspell 5. run the command make; 6. become superuser and run checkinstall. Your rpm will be built at the end! That is not too difficult, believe me. Paul
How to produce a decent x'_{t}^{2}?
Dear list, If I insert x', subscript t and superscript 2, latex will complain ! Double superscript. l.17 $x'_{t}^ {2}$ I do not know exactly what latex is saying since $x'^{2}$ will work fine. If then I try to put ' in the {2}, but ' will be taller than 2 and make the formula ugly. Is there a good way to do this? Many thanks in advance. Bo
Re: vspace between sections and figures help!
Hi! Probably the best is to use the commands suggested by Herbert (I have not used them, but according to their short explanation, they seems to be what you are looking for). But if that does not help, try using vspace with a negative value (e.g. \vspace{-0.45cm}) at the end of sections, before/after floating figures and before figure captions. I did this for an article once with positive results. Nicolás Herbert Voss wrote: Myriam Abramson wrote: I've \setlength{\parskip {-1pt}} but that seems only to affect the vertical space between paragraphs. How can I set the vertical space length between sections and figures? \floatsep (\dblfloatsep) vertical glue between floats with placement [t,b] \textfloatsep (\dbltextfloatsep) vertical glue between a float with placement [t,b] and text \intextsep vertical glue between a float with placement [h] and text http://tug.org/TeXnik/mainFAQ.cgi?file=floats/parameter I suppose, you are searching for \intextsep=... Herbert
Re: How to produce a decent x'_{t}^{2}?
Bo Peng wrote: If I insert x', subscript t and superscript 2, latex will complain ! Double superscript. l.17 $x'_{t}^ {2}$ I do not know exactly what latex is saying since $x'^{2}$ will work fine. If then I try to put ' in the {2}, but ' will be taller than 2 and make the formula ugly. Is there a good way to do this? ${x^\prime_{t}}^{2}$ Herbert
LyX-Code and Typewriter environment: how to change the font?
Hi, How does one change the font that is used (a) for the LyX-Code environment, (b) for typewriter character markup? I would like to modify the font size, and/or eventually change the font for these two completely. Maybe I have searched in the wrong places ;-), but I have not found an answer to this question yet ... ? Thanks for any hint, and have a nice day! - Joerg -- joerg.hau(at)dplanet.ch * Lausanne, Switzerland http://homepage.sunrise.ch/mysunrise/joerg.hau/ All standard disclaimers apply. Never take life seriously. You won't get out alive anyway.
Automatic formatting of a particular word?
Hi again, Yet another question ... I am currently writing a manual for some software, and I would like the name of the software to appear automagically in a particular typesetting, i.e. without the need for special markup in the text of the document (not unlike the proper names of LyX and LaTeX in the documentation ... you get the idea). (If you need an example: Let's assume the name is MySoft, I want the My in red, the rest in blue, and the whole thing in sans-serif font and small caps. Sufficiently weird? ;-) The problem is, I don't have the slightest idea about the way to define this .. preamble, yes, but how exactly? Any pointers? Thanks for any hint, and have a nice day! - Joerg -- joerg.hau(at)dplanet.ch * Lausanne, Switzerland http://homepage.sunrise.ch/mysunrise/joerg.hau/ All standard disclaimers apply. Never take life seriously. You won't get out alive anyway.
Re: LyX fails picture conversion
On 2/19/06, Herbert Voss [EMAIL PROTECTED] wrote: sure, LyX detects the source and the target extension of images files and should do the conversion by default. Run from command line lyx -dbg graphics and have a look at the output when you try to view your document. Thanks to all. Something mysterious has occurred: after the installation of a different rpm of LyX, the reported problem vanished! Paul
Re: Ebuild for LyX
Thanks, It helped and i was able to emerge LyX 1.4.0 pre5 on my Gentoo with out any problems. Hannan On 2/20/06, Daniel Watkins [EMAIL PROTECTED] wrote: On Monday 20 February 2006 16:00, you wrote: Hi Daniel, Hi there! Are you going to place your ebuild in the gentoo mirror's or was it just for your internal use? Currently, I've abandoned the lyx-1.4.0pre5.ebuild in favour of working on a lyx-1.3.7.ebuild, as this seemed a more pressing need to the Gentoo community (it makes more sense to have the most recent stable build available before the most recent testing). For my first ebuild I don't want to juggle several at once (especially if I discover I'm making stupid mistakes in all of them). i would like to get your ebuild so i could emerge LyX 1.4.0* on my computer too. The above does make it sound like it is impossible. However, this is not the case. There is currently an ebuild available for lyx-1.4.0pre3, which can be found at http://bugs.gentoo.org/show_bug.cgi?id=118140 . I have used this to install and run LyX 1.4.0pre3 on my computer (though I'm not using it currently, as I've been testing my lyx-1.3.7.ebuild, which is what I have installed currently). As this ebuild is not part of the Portage tree, you will need to follow the instructions at http://gentoo-wiki.com/HOWTO_Installing_3rd_Party_Ebuilds in order to install it on your system (I would recommend following the safer instructions, once you get to that point. Hoping this helps, Dan
Marginal Note in Enumerate
Using the enumerate environment to number problems on an exam, I would like to place [20] just to the left of the number of the problem to tell the students that this is a 20 point problem. I tried in ERT \marginpar[text] and \reversemarginpar{text}, with the text being [20], but neither worked. Can one place text in the left margin within an enumerate environment? Bruce
Re: Text of diagram with the font of the main document
On 2/20/06, Vaclav Smidl [EMAIL PROTECTED] wrote: I have a diagram which I can export as PNG, JPG, PDF or SVG. What should I do so that the text of the diagram appears with the same font of the main document? Is that possible? Hi, this is possible with xfig. One of its export options is pslatex/pdflatex, it converts the graphics into two parts: the first is ps/pdf with curves, and the second is .tex file with texts in latex picture enviroment. When you include the second file into your document it will be type-set identically to the rest. Quite a few linux programs can export into xfig's native format, so it should be no problem. Thanks. I suppose that I was not clear enough: I do not mean to add text to the SVG picture; I mean to manipulate the font used on the text already present on the SVG picture. I think the suggestion of Paul Rubin of using Amaya may be of some help. Paul
Re: Ebuild for LyX
On Mon, 2006-02-20 at 19:14 +0100, Hannan Sadar wrote: It helped and i was able to emerge LyX 1.4.0 pre5 on my Gentoo with out any problems. Is it stable enough for normal usage? I see that ebuild is not in bugzilla? Can you, pls. add it to http://bugs.gentoo.org/show_bug.cgi?id=118140 ? Sincerely, Gour signature.asc Description: This is a digitally signed message part
Re: LyX fails picture conversion
On 2/19/06, Stephen Harris [EMAIL PROTECTED] wrote: Thanks. I checked in texmf and had a dvipdfmx .exe so I changed the converter in Preferences by adding an x. You are luckier, as there is no binary of dvipdfmx for Linux! Paul
Re: rpm lyx-1.3.7 for Mandriva 2006
On Mon, 20 Feb 2006, Paul Smith wrote: On 2/20/06, icebna [EMAIL PROTECTED] wrote: I don't know. My experience is few. Can you help me, for know as built the rpm to update my lyx-1.3.6 ? Certainly, I can help you with my best pleasure. The procedure is as follows: 1. download the source of LyX 1.3.7 from ftp://ftp.lyx.org/pub/lyx/stable/lyx-1.3.7.tar.gz 2. uncompress it; 3. go inside the directory where it is uncompressed the source of LyX; 4. on the command line run the command: ./configure --with-frontend=qt --with-pspell 5. run the command make; 6. become superuser and run checkinstall. Your rpm will be built at the end! That is not too difficult, believe me. Won't he need some Qt-related packages in order to build it? Having said that, I took the liberty of placing your instructions on this page for future reference: http://wiki.lyx.org/LyX/LyXOnRedHat Of course, I just noticed that it's not really RedHat but Mandriva.. hope that doesn't matter. /Christian -- Christian Ridderström, +46-8-768 39 44 http://www.md.kth.se/~chr
[O-T] Re: Ebuild for LyX
On Mon, 20 Feb 2006, Gour wrote: On Mon, 2006-02-20 at 19:14 +0100, Hannan Sadar wrote: It helped and i was able to emerge LyX 1.4.0 pre5 on my Gentoo with out any problems. Is it stable enough for normal usage? I see that ebuild is not in bugzilla? Can you, pls. add it to http://bugs.gentoo.org/show_bug.cgi?id=118140 ? This is a question to the users on this list about the structure of the wiki... I'm asking for input really. Background: I just copied some advice from Paul Smith on how to build an RPM to a page on the wiki.. and there's one for Debian. http://wiki.lyx.org/LyX/LyXOnDebian http://wiki.lyx.org/LyX/LyXOnRedHat Maybe it makes sense to provide a place for people who would like to do the same for eg Gentoo. However, considering that there's quite a few Linux distrubtions I wonder if we should have a separate group for this. For comparison, we already have the groups Mac/ and Windows/... As I write that, I think it probably makes sense to put pages that are specific to LyX and Linux in a separate group... Or should we group Linux with eg Solaris, and call the group UNIX instead? Hmm.. should that really be Unix? (We can't use a '*' in the name of the group so '*nix' isn't possible). Do people have any comments on this? /Christian, who is getting sidetracked here... PS. Anyone can actually create this group and/or page... it's really as simple as going to e.g. http://wiki.lyx.org/Linux/LyXOnGentoo and editing the page - this implicitly creates the group. -- Christian Ridderström, +46-8-768 39 44 http://www.md.kth.se/~chr
Re: rpm lyx-1.3.7 for Mandriva 2006
On 2/20/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Won't he need some Qt-related packages in order to build it? Having said that, I took the liberty of placing your instructions on this page for future reference: http://wiki.lyx.org/LyX/LyXOnRedHat Of course, I just noticed that it's not really RedHat but Mandriva.. hope that doesn't matter. Thanks, Christian. Indeed, he needs qt-devel (or something like that), but he may have it already installed. He also needs aspell and aspell-devel (?). Paul
Re: LyX fails picture conversion
Paul Smith wrote: On 2/19/06, Stephen Harris [EMAIL PROTECTED] wrote: Thanks. I checked in texmf and had a dvipdfmx .exe so I changed the converter in Preferences by adding an x. You are luckier, as there is no binary of dvipdfmx for Linux! e.g.: /usr/local/texlive/2005/bin/i386-linux/dvipdfmx Herbert
Re: Ebuild for LyX
I dont understand so much about how to create ebuilds and what are the new dependences of LyX 1.4.0 pre5. I guessed that the dependences of 1.4.0 pre3 are the same like 1.4.0 pre5, then i just rename the name of the ebuild 1.4.0_pre3 to 1.4.0_pre5 and it worked on my computer with out any compilation problem and LyX works too. I am sorry i cant help more then that. Hannan Gour wrote: On Mon, 2006-02-20 at 19:14 +0100, Hannan Sadar wrote: It helped and i was able to emerge LyX 1.4.0 pre5 on my Gentoo with out any problems. Is it stable enough for normal usage? I see that ebuild is not in bugzilla? Can you, pls. add it to http://bugs.gentoo.org/show_bug.cgi?id=118140 ? Sincerely, Gour
Re: Automatic formatting of a particular word?
Joerg Hau writes: The problem is, I don't have the slightest idea about the way to define this .. preamble, yes, but how exactly? Any pointers? For example... In preamble: \newcommand{\PKflasche}{\textit{Die Flasche}} In text (ERT): \PKflasche{} The rest you can probably find online (here, for example): http://www-h.eng.cam.ac.uk/help/tpl/textprocessing/teTeX/latex/latex2e-html/ -Kevin -- Kevin Pfeiffer [EMAIL PROTECTED] Tiros-Translations
Re: LyX fails picture conversion
On 2/20/06, Herbert Voss [EMAIL PROTECTED] wrote: Thanks. I checked in texmf and had a dvipdfmx .exe so I changed the converter in Preferences by adding an x. You are luckier, as there is no binary of dvipdfmx for Linux! e.g.: /usr/local/texlive/2005/bin/i386-linux/dvipdfmx You are luckier, Herbert. With tetex, no dvipdfmx, unless it is contained in some package that I have not installed. Do people here with tetex have dvipdfmx? Paul
Uppercase F not rendering on screen properly
Within LyX, my uppercase F's look like black blobs. Does anyone know of the solution to this problem? I'm using LyX 1.3.6 on Ubuntu. Rex
Confusion With PowerPoint
Has anyone else come across people who download a beamer presentation (as a .pdf file) but refer to it as a PowerPoint presentation? Sheesh! I know that all my clients are stuck in the Microsoft world, but I would have thought the quality difference in the 'slides' was readily apparent. Guess not. Perhaps I need a LaTeX logo in the bottom corner of each slide? Rich -- Richard B. Shepard, Ph.D. | Author of Quantifying Environmental Applied Ecosystem Services, Inc. (TM) | Impact Assessments Using Fuzzy Logic http://www.appl-ecosys.com Voice: 503-667-4517 Fax: 503-667-8863
Re: LyX fails picture conversion
Paul Smith wrote: On 2/20/06, Herbert Voss [EMAIL PROTECTED] wrote: Thanks. I checked in texmf and had a dvipdfmx .exe so I changed the converter in Preferences by adding an x. You are luckier, as there is no binary of dvipdfmx for Linux! e.g.: /usr/local/texlive/2005/bin/i386-linux/dvipdfmx You are luckier, Herbert. With tetex, no dvipdfmx, unless it is contained in some package that I have not installed. Do people here with tetex have dvipdfmx? CTAN: ftp://dante.ctan.org/tex-archive/dviware/dvipdfmx/dvipdfmx-20050831.tar.gz Debian: http://packages.debian.org/unstable/tex/dvipdfmx MAC:http://dvipdfmx.darwinports.com/ http://pdb.finkproject.org/pdb/package.php/dvipdfmx Herbert
Re: Automatic formatting of a particular word?
Hi Kevin, In preamble: \newcommand{\PKflasche}{\textit{Die Flasche}} In text (ERT): \PKflasche{} Inserting ERT in the text is exactly the opposite of what I want to do. An example of what I am looking for: Open a document in LyX, write e.g. LyX is a kind of LaTeX frontend (upper/lowercase!), and go to the preview ... the two words LyX and LaTeX are displayed in their very particular style, but without any need to have them ERT'd. ... how can I get this behavior with any word? Cheers, - Joerg -- joerg.hau(at)dplanet.ch * Lausanne, Switzerland http://homepage.sunrise.ch/mysunrise/joerg.hau/ All standard disclaimers apply. Never take life seriously. You won't get out alive anyway.
Re: LyX fails picture conversion
On 2/20/06, Herbert Voss [EMAIL PROTECTED] wrote: You are luckier, Herbert. With tetex, no dvipdfmx, unless it is contained in some package that I have not installed. Do people here with tetex have dvipdfmx? CTAN: ftp://dante.ctan.org/tex-archive/dviware/dvipdfmx/dvipdfmx-20050831.tar.gz Debian: http://packages.debian.org/unstable/tex/dvipdfmx MAC:http://dvipdfmx.darwinports.com/ http://pdb.finkproject.org/pdb/package.php/dvipdfmx Thanks, Herbert. Paul
Re: Automatic formatting of a particular word?
Joerg Hau writes: Inserting ERT in the text is exactly the opposite of what I want to do. An example of what I am looking for: Open a document in LyX, write e.g. LyX is a kind of LaTeX frontend (upper/lowercase!), and go to the preview ... the two words LyX and LaTeX are displayed in their very particular style, but without any need to have them ERT'd. ... how can I get this behavior with any word? Dafür bin ich nicht zuständig. Good question. Maybe Herbert or someone else can help. -K -- Kevin Pfeiffer [EMAIL PROTECTED] Tiros-Translations