Convert PS to EPS
Hi, I have a .ps file and I want to convert it to an .eps file. What is the right way to do? -- Ir Pascal Francq Researcher Université Libre de Bruxelles CAD/CAM Department Avenue F.D. Roosevelt, 50 CP 165/14 B-1050 Brussels BELGIUM Tel. +32-2-650 47 65 Fax +32-2-650 47 24 ICQ: 91206668
Re: Convert PS to EPS
Somewhere in my memory there is a note about pstoeps (or ps2eps) being part of ¨gsview¨. On Tue, 26 Nov 2002 10:57:17 +0100 Pascal Francq [EMAIL PROTECTED] wrote: Hi, I have a .ps file and I want to convert it to an .eps file. What is the right way to do? -- Ir Pascal Francq Researcher Université Libre de Bruxelles CAD/CAM Department Avenue F.D. Roosevelt, 50 CP 165/14 B-1050 Brussels BELGIUM Tel. +32-2-650 47 65 Fax +32-2-650 47 24 ICQ: 91206668
graphics conversion for preview
Hi ! LyX (1.2.1) is converting all the figures for each preview or update which is getting annoying for documents with plenty of figures. - isn't it possible to have this done only once (initial run or after any change on graphics files) and keep the converted files in a tmp directory ? -- Peer
Re: graphics conversion for preview
Strange as it may seem, I have the opposite problem: I often happen to change a figure (usually I use: insert wide figure Float, and inside: insert graphics), but my change isnt reflected in Ghostview, both by a preview postscript or by an update postscript: I have to exit and restart LyX! Seems strange and opposite to what you see. BTW I have 1.2.1 too. Bye Alessandro On Tuesday 26 November 2002 09:29, Peer Frank wrote: Hi ! LyX (1.2.1) is converting all the figures for each preview or update which is getting annoying for documents with plenty of figures. - isn't it possible to have this done only once (initial run or after any change on graphics files) and keep the converted files in a tmp directory ? -- ~~ \ Dr.Alessandro Magni / IEN Galileo Ferraris \ Strada delle Cacce 91, 10135 Torino (ITALIA) / Email [EMAIL PROTECTED] \ Fax 0039-011-3919 834 / Tel 0039-011-3919 821 \ URL http://www.ien.it/~magni ~~
Re: DocBook SGML
Hello José. Thanks for your help. José Abílio Oliveira Matos wrote: On Saturday 23 November 2002 09:03, Chris Lale wrote: I am using Lyx (1.1.6fix4) to compose DocBook articles. Can I add my favourite DocBook SGML tags as items in the environment menu? I am new to Lyx and LaTeX. Yes, That's great! but those should be paragraph level elements to have a more wysiwym look. That's fine - I want to use the SGML screen/screen tags to format a paragraph. The support for characther level style is high on our todo list. Even better - I use command/command and keycap/keycap a lot too. If you add any other styles you can send them to me and they will ship with next versions of lyx. I will do that. Can you tell me how to get started? Is there a HOWTO I sould read? Do I need to find out more about LaTeX to learn how to add an item to the environment menu? I had a look at docbook.layout. It includes this line: Input db_stdclass.inc Input db_stdclass.inc includes these lines: Input stdlists.inc Input stdsections.inc Input stdstarsections.inc Input stdtitle.inc Input stdstruct.inc Input lyxmacros.inc Input stdlayouts.inc Input obsolete.inc Do I need to add a definition section to one of these? Or do I need to create a new .inc file? Or am I completely on the wrong track? Cheers, Chris. -- : ___ Chris Lale [EMAIL PROTECTED] : : / \ : : | _/ My PC runs Debian GNU/Linux 3.0. : : \ Robust, secure and free operating system + applications. : : \ Available at http://www.debian.org :
Re: Convert PS to EPS
On Tue, 26 Nov 2002, Pascal Francq wrote: Hi, I have a .ps file and I want to convert it to an .eps file. What is the right way to do? Bonjour Pascal, There is a solution in Ghostscript called 'ps2epsi'. NAME ps2epsi - generate conforming Encapsulated PostScript SYNOPSIS ps2epsi infile.ps [ outfile.epsi ] (Unix) ps2epsi infile.ps [ outfile.epi ] (DOS) DESCRIPTION ps2epsi uses gs(1) to process a PostScript(tm) file and generate as output a new file which conforms to Adobe's Encap- sulated PostScript Interchange (EPSI) format. EPSI is a special form of encapsulated PostScript (EPS) which adds to the beginning of the file in the form of PostScript comments a bitmapped version of the final displayed page. Programs which understand EPSI (usually word processors or DTP programs) can use this bitmap to give a preview version on screen of the PostScript. The displayed quality is often not very good (e.g., low resolution, no colours), but the final printed version uses the real PostScript, and thus has the normal PostScript quality. The problem is not so easy, because some PostScript(tm) files got some directive that can't be encapsulated. The best way is to try it out and see the final result. Hope this helps. adulau -- Alexandre Dulaunoy -- http://www.foo.be/ 3B12 DCC2 82FA 2931 2F5B 709A 09E2 CD49 44E6 CBCD --- AD993-6BONE People who fight may lose.People who do not fight have already lost. Bertolt Brecht
Re: Convert PS to EPS
On Tue, Nov 26, 2002 at 10:57:17AM +0100, Pascal Francq wrote: I have a .ps file and I want to convert it to an .eps file. What is the right way to do? Perhaps the best option is to use ps2eps: http://www.tex.ac.uk/tex-archive/help/Catalogue/entries/ps2eps.html (it is better than ps2epsi which comes with ghostscript).
Re: DocBook SGML
On Tuesday 26 November 2002 09:53, Chris Lale wrote: Hello José. Thanks for your help. You are welcome. Don't hesitate to ask in case of any doubt. :-) [...] Can you tell me how to get started? Is there a HOWTO I sould read? Do I need to find out more about LaTeX to learn how to add an item to the environment menu? There is no special documentation an that is my fault. :( No latex required, although some of the commands have latex in its name that is an historical hasard. I can read a little about it in Customizing LyX document manual, in section 6.3 (in version 1.2.1) Declaring a new textclass. I had a look at docbook.layout. It includes this line: Input db_stdclass.inc Input db_stdclass.inc includes these lines: Input stdlists.inc Input stdsections.inc Input stdstarsections.inc Input stdtitle.inc Input stdstruct.inc Input lyxmacros.inc Input stdlayouts.inc Input obsolete.inc Do I need to add a definition section to one of these? Or do I need to create a new .inc file? Or am I completely on the wrong track? You can create a new file and include it directly in db_stdclass.in The several .inc files are just a modular construct, you can put all in one file. The goal is to reuse them to build different classes, like book, set, article, chapter, ... Cheers, Chris. -- José Abílio
What's happening with the language selection
Since I started to write my PhD, I selected the frenchb language in the Document layout. It worked fine until now. I made some corrections to the report (nor on the structure, neither on the configuration) but it seems that Lyx just don't care of my choice: when I compile the document, all the titles are in english (Contents and so on...). I think an example document should be appropriated but I have first to create a short one (can't send the entire report...). Someone had this problem (the solution would be much better...)? Could it be related with my recent installation of bibtopic and bibtex packages? Jean-Philippe
Re: lyc-code and latex2html
Manfred Wischin wrote: Hi! How do I make latex2html output lyx-code sections correctly (single linespace and typewriter font)? I spent the last nine hours searching the web, the mailingslist archives, google groups, etc, and tried anything i could think of, but no avail! Maybe i missed something because it seems to me that this problem should be common to everybody writing some technical documentation with lyx. Has anybody got this working? I did it with CSS. latex2html generates a style sheet, so you can just alter the settings for whatever CSS paragraph type your code is rendered in. Inserting font-family: Courier; typewriter; should do the trick. Robin -- Do unto others what you would like others to do unto you. And have fun doing it. - Linus Torvalds Robin Turner IDMYO, Bilkent University Ankara 06533 Turkey www.bilkent.edu.tr/~robin
Re: page stype at beginning of chapter.
On Mon, Nov 25, 2002 at 11:51:35PM +0100, Jeroen Vriesman wrote: Hope someone can give me a hint about the following: I use amsbook style, and have a fancyheader with some graphics in the preamble. Looks allright, but on every first page of a chapter, ir defines: \thispagestyle{plain} in amsbook.cls, but I also want my fancyheader on the first pages of the chapter. Using fancyhdr, you can define the style of plain pages. See http://www.educat.hu-berlin.de/~voss/lyx/fancy/header.phtml#plain
Re: including sections real-time from other files
On Mon, 25 Nov 2002, Nirmal Govind wrote: all I had to do was change the class of the article-class documents to book. Then I used include file? Anyway, I'm going to take my thesis, Thanks Christian for putting up those files... what I'm trying to do is to have my three documents double up as articles and as chapters in a book.. so that if I decided to print them out separately, they would look like articles and if I decided to print out the whole thing together then it would look like a book.. in more practical terms, the article-class documents are papers that can be published and when these papers are put together, they form a thesis.. So the only difference between the above and what you have in your files is that in the latter, if I try to print out each document separately, I will get Chapter 1 and sections 1.x on each article-class document.. what I'd like to see is each one as a stand alone article... I guess one way is to change the book class for each document to article class before printing or so.. any other way(s)? No... I don't think so, but maybe someone else has an idea. Btw, you might also get into problems because the book class doesn't have abstracts for each chapter, which you typically want for an article.. On the other hand, you will hopefully only submit the articles once, so you won't have to change them to article class very often. /Christian -- Christian Ridderström, +46-8-790 91 37 http://www.md.kth.se/~chr Mechatronics lab, Dept. of Machine Designhttp://www.md.kth.se
Re: DocBook SGML
Hello José. Success! Thank you again. I have created a textclass that produces the docbook screen/screen tags. This is what I did (by modifying copies of existing files). 1. Create a file /usr/share/lyx/layouts/docbook-newbiedoc.layout: #% Do not delete the line below; configure depends on this # \DeclareDocBookClass[article] {DocBook Newbiedoc article (SGML)} # DocBook textclass definition file. # Author : Chris Lale [EMAIL PROTECTED] # Input general definitions Input db_stdclass.inc Input db_extra.inc MaxCounter Counter_Section # Exclude higher, or equal, sections: NoStyle Part NoStyle Chapter 2. Create a file /usr/share/lyx/layouts/db_extra.inc: # Textclass definition file for docbook with extra tags. # Author : Chris Lale [EMAIL PROTECTED] # This is the counterpart of lyxmacros.inc # It is desireable, as far as possible, to have the same look and feeling for # related layouts in latex and docbook. Input lyxmacros.inc # Screen style definition Style Screen LatexType Paragraph LatexName screen Font Family Typewriter EndFont End 3. In Lyx, Edit Reconfigure and restart Lyx. Now, another question if I may? Can you nest paragraphs? I want the SGML to look like this: revhistory revision revnumber1.2/revnumber date8th September 2002/date authorinitialsCTL/authorinitials revremarkFixed some mistakes/revremark /revision revision revnumber1.1/revnumber date28th March 2002/date authorinitialsCTL/authorinitials revremarkCompleted sections on configuring/revremark /revision /revhistory Cheers, Chris. PS I have been writing articles for the Debian GNU/Linux Newbiedoc project (http://newbiedoc.sourceforge.net/) using Emacs, but Lyx would be far easier! -- : ___ Chris Lale [EMAIL PROTECTED] : : / \ : : | _/ My PC runs Debian GNU/Linux 3.0. : : \ Robust, secure and free operating system + applications. : : \ Available at http://www.debian.org :
Re: graphics conversion for preview
On Tue, 26 Nov 2002, Alessandro Magni wrote: Strange as it may seem, I have the opposite problem: I often happen to change a figure (usually I use: insert wide figure Float, and inside: insert graphics), but my change isnt reflected in Ghostview, both by a preview postscript or by an update postscript: I have to exit and restart LyX! Seems strange and opposite to what you see. BTW I have 1.2.1 too. Bye Alessandro On Tuesday 26 November 2002 09:29, Peer Frank wrote: Hi ! LyX (1.2.1) is converting all the figures for each preview or update which is getting annoying for documents with plenty of figures. - isn't it possible to have this done only once (initial run or after any change on graphics files) and keep the converted files in a tmp directory ? I think I've already reported this as a bug, http://bugzilla.lyx.org/show_bug.cgi?id=602 I've found two temporary ways to get around this. If you're lazy, just restart Lyx. Otherwise, execute something like this on your prompt (I'm assuming tcsh): find /tmp/lyx* -name *.eps -exec rm {} \; which fill find and delete all .eps-files in Lyx's temporary directories. But be careful, don't do any typos :-) /Christian -- Christian Ridderström, +46-8-790 91 37 http://www.md.kth.se/~chr Mechatronics lab, Dept. of Machine Designhttp://www.md.kth.se
Re: DocBook SGML
On Tue, Nov 26, 2002 at 03:10:24PM +, Chris Lale wrote: Now, another question if I may? Can you nest paragraphs? No. This is a limitation of how LyX handles internal data currently. You might be able to work around it using minipages or similar, but that certainly won't be fun. Andre' -- Those who desire to give up Freedom in order to gain Security, will not have, nor do they deserve, either one. (T. Jefferson)
Re: Convert PS to EPS
Pascal Francq wrote: I have a .ps file and I want to convert it to an .eps file. What is the right way to do? RTFM! Or take a look in the archive before posting -- the last time it went around was yesterday! Matej -- Matej Cepl, [EMAIL PROTECTED], Finger: 89EF 4BC6 288A BF43 1BAB 25C3 E09F EF25 D964 84AC 138 Highland Ave. #10, Somerville, Ma 02143, (617) 623-1488 They that can give up essential liberty to obtain a little temporary safety deserve neither liberty nor safety. -- Benjamin Franklin, Historical Review of Pennsylvania, 1759.
Re: DocBook SGML
On Tuesday 26 November 2002 15:10, Chris Lale wrote: Hello José. Success! Thank you again. Good. I have created a textclass that produces the docbook screen/screen tags. This is what I did (by modifying copies of existing files). 1. Create a file /usr/share/lyx/layouts/docbook-newbiedoc.layout: #% Do not delete the line below; configure depends on this # \DeclareDocBookClass[article] {DocBook Newbiedoc article (SGML)} # DocBook textclass definition file. # Author : Chris Lale [EMAIL PROTECTED] # Input general definitions Input db_stdclass.inc Input db_extra.inc MaxCounterCounter_Section # Exclude higher, or equal, sections: NoStyle Part NoStyle Chapter I will include db_extra directly into db_stdclass. 2. Create a file /usr/share/lyx/layouts/db_extra.inc: # Textclass definition file for docbook with extra tags. # Author : Chris Lale [EMAIL PROTECTED] # This is the counterpart of lyxmacros.inc # It is desireable, as far as possible, to have the same look and feeling for # related layouts in latex and docbook. Input lyxmacros.inc # Screen style definition Style Screen LatexType Paragraph LatexName screen Font Family Typewriter EndFont End I will include this file also. 3. In Lyx, Edit Reconfigure and restart Lyx. Now, another question if I may? Can you nest paragraphs? I want the SGML to look like this: In lyx 1.2.x we have already support for those. Upgrade. revhistory revision revnumber1.2/revnumber date8th September 2002/date authorinitialsCTL/authorinitials revremarkFixed some mistakes/revremark /revision revision revnumber1.1/revnumber date28th March 2002/date authorinitialsCTL/authorinitials revremarkCompleted sections on configuring/revremark /revision /revhistory Cheers, Chris. Although André is right we can someimes forge this kind of nesting. And that is what we currently do for docbook. PS I have been writing articles for the Debian GNU/Linux Newbiedoc project (http://newbiedoc.sourceforge.net/) using Emacs, but Lyx would be far easier! That is the purpose. :-) -- José Abílio
Re: Convert PS to EPS
On Tue, 26 Nov 2002, Jeroen Vriesman wrote: Somewhere in my memory there is a note about pstoeps (or ps2eps) being part of ¨gsview¨. Not really: ghostscript is the package you mean, and it comes with ps2epsi but it's not the right tool for this. Better is ps2eps: # ps2eps - convert PostScript to EPS (Encapsulated PostScript) files # (C)opyright 1999-2001 Roland Bless Which is a perl script that also computes correct bounding box. Surprisingly it seems _not_ to be part of Debian, maybe not other Linuxes either so that it might be not so easy to find (I remember having some trouble even with Google, but it should be in TeX archives, I believe. And if not, here's a copy anyway: http://www.ee.oulu.fi/~tuukkat/tmp/ps2eps.tar.gz ) And yes, first check out archives before asking :)
Re: including sections real-time from other files
On Mon, Nov 25, 2002 at 09:06:04PM -0500, Nirmal Govind wrote: what I'd like to see is each one as a stand alone article... I guess one way is to change the book class for each document to article class before printing or so.. any other way(s)? You can have the included files in the article class, and only the master file in the book class. However, when you make a DVI from the master file, you might encounter some problems. PS: this will work with lyx = 1.2.0.
create real url?
hi, I use lyx-cjk 1.2.1, and I insert an URL from the menu insert, but when export the document to html, the url seems don't work, just a plain text. Any way to change the URL into real URL? thanks in advance! linuxman
Re: including sections real-time from other files
On Tue, 26 Nov 2002, Dekel Tsur wrote: On Mon, Nov 25, 2002 at 09:06:04PM -0500, Nirmal Govind wrote: what I'd like to see is each one as a stand alone article... I guess one way is to change the book class for each document to article class before printing or so.. any other way(s)? You can have the included files in the article class, and only the master file in the book class. However, when you make a DVI from the master file, you might encounter some problems. PS: this will work with lyx = 1.2.0. Yes, Dekel is right, I must have remembered incorrectly since I thought LyX would protest (maybe from an earlier verision). Anyway, you will run into some difficulties with the abstract and the title of the article. I played with a workaround that you can find here: http://www.md.kth.se/~chr/lyx/book-article-combo/ Basically I give what will appear as the title and abstract as arguments to different commands depending on if this is for the book or an separate article. Anyway, check out the beginning of the file preamble.tex and the preamble of the article (reviewIntroduction.lyx). But you'll probably run into other problems as well, and some of them are going to be of the type: This chapter will show that... which in the article should read as This article will show that..., i.e. the language is different. Good luck /Christian -- Christian Ridderström, +46-8-790 91 37 http://www.md.kth.se/~chr Mechatronics lab, Dept. of Machine Designhttp://www.md.kth.se
Re: create real url?
On Wed, Nov 27, 2002 at 12:57:40AM +0800, linuxman wrote: I use lyx-cjk 1.2.1, and I insert an URL from the menu insert, but when export the document to html, the url seems don't work, just a plain text. This is a known bug and has been discussed many times so please search the list archive. http://www.stat.rice.edu/~bpeng/lyx2tex might help. -- Bo Peng
Opening a file in a running Lyx ?
Is there a helper application that will check for a running LyX, open the file there if it is available, or start LyX if there is none running? Gimp-remote, which does the same for gimp, is the model I'm thinking of. Thanks, -- Ronald Florencewww.18james.com
2 and/or 3 column pages in book
Can someone please tell me how I can add 2 and/or 3 column pages to my book. I only want some pages within a chapter to have 2 columns and several in another chapter to have 3 columns. Thanks, newbe
Re: Convert PS to EPS
On Tue, 26 Nov 2002, Jeroen Vriesman wrote: Somewhere in my memory there is a note about pstoeps (or ps2eps) being part of ¨gsview¨. On Tue, 26 Nov 2002 10:57:17 +0100 Pascal Francq [EMAIL PROTECTED] wrote: Hi, I have a .ps file and I want to convert it to an .eps file. What is the right way to do? If you have Ghostscript and ImageMagick on your machine, try convert file.ps file.eps Arnim.
Re: 2 and/or 3 column pages in book
David from ARL EKA wrote: Can someone please tell me how I can add 2 and/or 3 column pages to my book. I only want some pages within a chapter to have 2 columns and several in another chapter to have 3 columns. RTFM -- Extended Feautures. Matej -- Matej Cepl, [EMAIL PROTECTED], Finger: 89EF 4BC6 288A BF43 1BAB 25C3 E09F EF25 D964 84AC 138 Highland Ave. #10, Somerville, Ma 02143, (617) 623-1488 Extremism in the defense of liberty is no vice; moderation in the pursuit of justice is no virtue. -- Barry Goldwater (actually written by Karl Hess)
Re: Opening a file in a running Lyx ?
Am Tue, 26 Nov 2002 14:51:20 -0500 schrieb Ronald Florence [EMAIL PROTECTED]: Is there a helper application that will check for a running LyX, open the file there if it is available, or start LyX if there is none running? Gimp-remote, which does the same for gimp, is the model I'm thinking of. Use the LyxServer-pipe: 1) in the menu-entry Bearbeiten-Einstellungen-Eingabe-Pfade-LyXServer pipe(I use the german translation) put something like /home-xx/.lyx/lypipe (replace /home-xx with your $HOME -path). 2) write a litte script like: - #!/bin/sh if [ -e ~/.lyx/.lyxpipe.in ] then echo LYXCMD:test:file-open:$1 ~/.lyx/.lyxpipe.in read a ~/.lyx/.lyxpipe.out echo $a else lyx -geometry 690x715+0+0 $1 fi - 3) name the script as you like (perhaps lyxremote) and put it in a path where it will be found (like /usr/local/bin). Now you can load every lyx-file in an existing running LyX. If it's not started, the script will start a new one. Of course you have to call your *.lyx- files with lyxremote file.lyx 4) a little problem occurs, when lyx crashes: the files $HOME/.lyx/lyxpipe.* will not be deleted so that lyxremote thinks there exists a running lyx -- you will have to delete $HOME/.lyx/lyxpipe.* by yourself. This procedure works for me (lyx1.2.1): there is also help about the lyx Server-pipe in the helpfiles included with the lyx-package. hope it helps Peter
Re: Convert PS to EPS
Hello, Just wonder how your guys create a hand-drawn pictur in PS format. I hate to use Xfig in UNIX, which is too clumsy to me. Is there any way we can draw some plots in Powerpoint, or Paint, etc., then convert them into .ps ones with bounding box (so that they will be easily integrated into .tex file)? best thanks -- Zhigang Arnim Littek wrote: On Tue, 26 Nov 2002, Jeroen Vriesman wrote: Somewhere in my memory there is a note about pstoeps (or ps2eps) being part of ¨gsview¨. On Tue, 26 Nov 2002 10:57:17 +0100 Pascal Francq [EMAIL PROTECTED] wrote: Hi, I have a .ps file and I want to convert it to an .eps file. What is the right way to do? If you have Ghostscript and ImageMagick on your machine, try convert file.ps file.eps Arnim.
Re: Convert PS to EPS
On Saturday 26 October 2002 1458 pm, you wrote: Hello, Just wonder how your guys create a hand-drawn pictur in PS format. I hate to use Xfig in UNIX, which is too clumsy to me. Is there any way we can draw some plots in Powerpoint, or Paint, etc., then convert them into .ps ones with bounding box (so that they will be easily integrated into .tex file)? best thanks -- Zhigang Personally, I think xfig is quite a neat tool to do exactly what you're asking. Some alternatives: 1. Any program (PowerPoint, etc.), then define a printer as a Generic Postscript printer, and print to a file. [This will probably give you a raster image within the Postscript] 2. CorelDraw 3. Gimp [This will give you a raster image within the Postscript] 3. The pstricks package (http://www.educat.hu-berlin.de/~voss/lyx/psTricks/pstricks.phtml) -- L. R. Denham -- Please avoid sending me Word or PowerPoint attachments. See http://www.fsf.org/philosophy/no-word-attachments.html
Re: including sections -- still having trouble!
You can have the included files in the article class, and only the master file in the book class. However, when you make a DVI from the master file, you might encounter some problems. PS: this will work with lyx = 1.2.0. Thanks Dekel for this info.. I played with a workaround that you can find here: http://www.md.kth.se/~chr/lyx/book-article-combo/ I checked out the above.. that's some amount of work you've put into it in writing the latex code for the preamble.. thanks! I'll try this out... Right now, I'm stuck with a related problem - I converted the three docs I have to book class. The final doc (book class too) where I compile all of them together has a section at the beginning, then it should have these three files included and then has a section at the end. I tried including the three files after the first section but I get 27 errors all of them saying that I'm missing some }}} or so.. is this not possible - having file includes midway in a document? I really don't want to have the first section and the last section also as two separate files and then combine all the five files using include.. Thanks, nirmal
Re: Opening a file in a running Lyx ?
Peter Rexigel wrote: Is there a helper application that will check for a running LyX, open the file there if it is available, or start LyX if there is none running? Gimp-remote, which does the same for gimp, is the model I'm thinking of. Use the LyxServer-pipe: 1) in the menu-entry Bearbeiten-Einstellungen-Eingabe-Pfade-LyXServer pipe(I use the german translation) put something like /home-xx/.lyx/lypipe (replace /home-xx with your $HOME -path). 2) write a litte script like: - #!/bin/sh if [ -e ~/.lyx/.lyxpipe.in ] then echo LYXCMD:test:file-open:$1 ~/.lyx/.lyxpipe.in read a ~/.lyx/.lyxpipe.out echo $a else lyx -geometry 690x715+0+0 $1 fi This is excellent! I changed the script to include an after the lyx $1 so it wouldn't hang around and wait -- works like a charm. Thanks for the prompt and useful reply. Regards, -- Ronald
Re: Convert PS to EPS
It is pretty good. I use it for many figures in my thesis (i am writing it with lyx!). Two features I want most are: 1. Define (closed) path that contains both straight lines and beizer curves 2. Apply clipping and filling with 1 Only programming with metapost give me those for now. I'd love to do it with a GUI program. Max --- Les Denham [EMAIL PROTECTED] wrote: Personally, I think xfig is quite a neat tool to do exactly what you're asking.
Convert PS to EPS
Hi, I have a .ps file and I want to convert it to an .eps file. What is the right way to do? -- Ir Pascal Francq Researcher Université Libre de Bruxelles CAD/CAM Department Avenue F.D. Roosevelt, 50 CP 165/14 B-1050 Brussels BELGIUM Tel. +32-2-650 47 65 Fax +32-2-650 47 24 ICQ: 91206668
Re: Convert PS to EPS
Somewhere in my memory there is a note about pstoeps (or ps2eps) being part of ¨gsview¨. On Tue, 26 Nov 2002 10:57:17 +0100 Pascal Francq [EMAIL PROTECTED] wrote: Hi, I have a .ps file and I want to convert it to an .eps file. What is the right way to do? -- Ir Pascal Francq Researcher Université Libre de Bruxelles CAD/CAM Department Avenue F.D. Roosevelt, 50 CP 165/14 B-1050 Brussels BELGIUM Tel. +32-2-650 47 65 Fax +32-2-650 47 24 ICQ: 91206668
graphics conversion for preview
Hi ! LyX (1.2.1) is converting all the figures for each preview or update which is getting annoying for documents with plenty of figures. - isn't it possible to have this done only once (initial run or after any change on graphics files) and keep the converted files in a tmp directory ? -- Peer
Re: graphics conversion for preview
Strange as it may seem, I have the opposite problem: I often happen to change a figure (usually I use: insert wide figure Float, and inside: insert graphics), but my change isnt reflected in Ghostview, both by a preview postscript or by an update postscript: I have to exit and restart LyX! Seems strange and opposite to what you see. BTW I have 1.2.1 too. Bye Alessandro On Tuesday 26 November 2002 09:29, Peer Frank wrote: Hi ! LyX (1.2.1) is converting all the figures for each preview or update which is getting annoying for documents with plenty of figures. - isn't it possible to have this done only once (initial run or after any change on graphics files) and keep the converted files in a tmp directory ? -- ~~ \ Dr.Alessandro Magni / IEN Galileo Ferraris \ Strada delle Cacce 91, 10135 Torino (ITALIA) / Email [EMAIL PROTECTED] \ Fax 0039-011-3919 834 / Tel 0039-011-3919 821 \ URL http://www.ien.it/~magni ~~
Re: DocBook SGML
Hello José. Thanks for your help. José Abílio Oliveira Matos wrote: On Saturday 23 November 2002 09:03, Chris Lale wrote: I am using Lyx (1.1.6fix4) to compose DocBook articles. Can I add my favourite DocBook SGML tags as items in the environment menu? I am new to Lyx and LaTeX. Yes, That's great! but those should be paragraph level elements to have a more wysiwym look. That's fine - I want to use the SGML screen/screen tags to format a paragraph. The support for characther level style is high on our todo list. Even better - I use command/command and keycap/keycap a lot too. If you add any other styles you can send them to me and they will ship with next versions of lyx. I will do that. Can you tell me how to get started? Is there a HOWTO I sould read? Do I need to find out more about LaTeX to learn how to add an item to the environment menu? I had a look at docbook.layout. It includes this line: Input db_stdclass.inc Input db_stdclass.inc includes these lines: Input stdlists.inc Input stdsections.inc Input stdstarsections.inc Input stdtitle.inc Input stdstruct.inc Input lyxmacros.inc Input stdlayouts.inc Input obsolete.inc Do I need to add a definition section to one of these? Or do I need to create a new .inc file? Or am I completely on the wrong track? Cheers, Chris. -- : ___ Chris Lale [EMAIL PROTECTED] : : / \ : : | _/ My PC runs Debian GNU/Linux 3.0. : : \ Robust, secure and free operating system + applications. : : \ Available at http://www.debian.org :
Re: Convert PS to EPS
On Tue, 26 Nov 2002, Pascal Francq wrote: Hi, I have a .ps file and I want to convert it to an .eps file. What is the right way to do? Bonjour Pascal, There is a solution in Ghostscript called 'ps2epsi'. NAME ps2epsi - generate conforming Encapsulated PostScript SYNOPSIS ps2epsi infile.ps [ outfile.epsi ] (Unix) ps2epsi infile.ps [ outfile.epi ] (DOS) DESCRIPTION ps2epsi uses gs(1) to process a PostScript(tm) file and generate as output a new file which conforms to Adobe's Encap- sulated PostScript Interchange (EPSI) format. EPSI is a special form of encapsulated PostScript (EPS) which adds to the beginning of the file in the form of PostScript comments a bitmapped version of the final displayed page. Programs which understand EPSI (usually word processors or DTP programs) can use this bitmap to give a preview version on screen of the PostScript. The displayed quality is often not very good (e.g., low resolution, no colours), but the final printed version uses the real PostScript, and thus has the normal PostScript quality. The problem is not so easy, because some PostScript(tm) files got some directive that can't be encapsulated. The best way is to try it out and see the final result. Hope this helps. adulau -- Alexandre Dulaunoy -- http://www.foo.be/ 3B12 DCC2 82FA 2931 2F5B 709A 09E2 CD49 44E6 CBCD --- AD993-6BONE People who fight may lose.People who do not fight have already lost. Bertolt Brecht
Re: Convert PS to EPS
On Tue, Nov 26, 2002 at 10:57:17AM +0100, Pascal Francq wrote: I have a .ps file and I want to convert it to an .eps file. What is the right way to do? Perhaps the best option is to use ps2eps: http://www.tex.ac.uk/tex-archive/help/Catalogue/entries/ps2eps.html (it is better than ps2epsi which comes with ghostscript).
Re: DocBook SGML
On Tuesday 26 November 2002 09:53, Chris Lale wrote: Hello José. Thanks for your help. You are welcome. Don't hesitate to ask in case of any doubt. :-) [...] Can you tell me how to get started? Is there a HOWTO I sould read? Do I need to find out more about LaTeX to learn how to add an item to the environment menu? There is no special documentation an that is my fault. :( No latex required, although some of the commands have latex in its name that is an historical hasard. I can read a little about it in Customizing LyX document manual, in section 6.3 (in version 1.2.1) Declaring a new textclass. I had a look at docbook.layout. It includes this line: Input db_stdclass.inc Input db_stdclass.inc includes these lines: Input stdlists.inc Input stdsections.inc Input stdstarsections.inc Input stdtitle.inc Input stdstruct.inc Input lyxmacros.inc Input stdlayouts.inc Input obsolete.inc Do I need to add a definition section to one of these? Or do I need to create a new .inc file? Or am I completely on the wrong track? You can create a new file and include it directly in db_stdclass.in The several .inc files are just a modular construct, you can put all in one file. The goal is to reuse them to build different classes, like book, set, article, chapter, ... Cheers, Chris. -- José Abílio
What's happening with the language selection
Since I started to write my PhD, I selected the frenchb language in the Document layout. It worked fine until now. I made some corrections to the report (nor on the structure, neither on the configuration) but it seems that Lyx just don't care of my choice: when I compile the document, all the titles are in english (Contents and so on...). I think an example document should be appropriated but I have first to create a short one (can't send the entire report...). Someone had this problem (the solution would be much better...)? Could it be related with my recent installation of bibtopic and bibtex packages? Jean-Philippe
Re: lyc-code and latex2html
Manfred Wischin wrote: Hi! How do I make latex2html output lyx-code sections correctly (single linespace and typewriter font)? I spent the last nine hours searching the web, the mailingslist archives, google groups, etc, and tried anything i could think of, but no avail! Maybe i missed something because it seems to me that this problem should be common to everybody writing some technical documentation with lyx. Has anybody got this working? I did it with CSS. latex2html generates a style sheet, so you can just alter the settings for whatever CSS paragraph type your code is rendered in. Inserting font-family: Courier; typewriter; should do the trick. Robin -- Do unto others what you would like others to do unto you. And have fun doing it. - Linus Torvalds Robin Turner IDMYO, Bilkent University Ankara 06533 Turkey www.bilkent.edu.tr/~robin
Re: page stype at beginning of chapter.
On Mon, Nov 25, 2002 at 11:51:35PM +0100, Jeroen Vriesman wrote: Hope someone can give me a hint about the following: I use amsbook style, and have a fancyheader with some graphics in the preamble. Looks allright, but on every first page of a chapter, ir defines: \thispagestyle{plain} in amsbook.cls, but I also want my fancyheader on the first pages of the chapter. Using fancyhdr, you can define the style of plain pages. See http://www.educat.hu-berlin.de/~voss/lyx/fancy/header.phtml#plain
Re: including sections real-time from other files
On Mon, 25 Nov 2002, Nirmal Govind wrote: all I had to do was change the class of the article-class documents to book. Then I used include file? Anyway, I'm going to take my thesis, Thanks Christian for putting up those files... what I'm trying to do is to have my three documents double up as articles and as chapters in a book.. so that if I decided to print them out separately, they would look like articles and if I decided to print out the whole thing together then it would look like a book.. in more practical terms, the article-class documents are papers that can be published and when these papers are put together, they form a thesis.. So the only difference between the above and what you have in your files is that in the latter, if I try to print out each document separately, I will get Chapter 1 and sections 1.x on each article-class document.. what I'd like to see is each one as a stand alone article... I guess one way is to change the book class for each document to article class before printing or so.. any other way(s)? No... I don't think so, but maybe someone else has an idea. Btw, you might also get into problems because the book class doesn't have abstracts for each chapter, which you typically want for an article.. On the other hand, you will hopefully only submit the articles once, so you won't have to change them to article class very often. /Christian -- Christian Ridderström, +46-8-790 91 37 http://www.md.kth.se/~chr Mechatronics lab, Dept. of Machine Designhttp://www.md.kth.se
Re: DocBook SGML
Hello José. Success! Thank you again. I have created a textclass that produces the docbook screen/screen tags. This is what I did (by modifying copies of existing files). 1. Create a file /usr/share/lyx/layouts/docbook-newbiedoc.layout: #% Do not delete the line below; configure depends on this # \DeclareDocBookClass[article] {DocBook Newbiedoc article (SGML)} # DocBook textclass definition file. # Author : Chris Lale [EMAIL PROTECTED] # Input general definitions Input db_stdclass.inc Input db_extra.inc MaxCounter Counter_Section # Exclude higher, or equal, sections: NoStyle Part NoStyle Chapter 2. Create a file /usr/share/lyx/layouts/db_extra.inc: # Textclass definition file for docbook with extra tags. # Author : Chris Lale [EMAIL PROTECTED] # This is the counterpart of lyxmacros.inc # It is desireable, as far as possible, to have the same look and feeling for # related layouts in latex and docbook. Input lyxmacros.inc # Screen style definition Style Screen LatexType Paragraph LatexName screen Font Family Typewriter EndFont End 3. In Lyx, Edit Reconfigure and restart Lyx. Now, another question if I may? Can you nest paragraphs? I want the SGML to look like this: revhistory revision revnumber1.2/revnumber date8th September 2002/date authorinitialsCTL/authorinitials revremarkFixed some mistakes/revremark /revision revision revnumber1.1/revnumber date28th March 2002/date authorinitialsCTL/authorinitials revremarkCompleted sections on configuring/revremark /revision /revhistory Cheers, Chris. PS I have been writing articles for the Debian GNU/Linux Newbiedoc project (http://newbiedoc.sourceforge.net/) using Emacs, but Lyx would be far easier! -- : ___ Chris Lale [EMAIL PROTECTED] : : / \ : : | _/ My PC runs Debian GNU/Linux 3.0. : : \ Robust, secure and free operating system + applications. : : \ Available at http://www.debian.org :
Re: graphics conversion for preview
On Tue, 26 Nov 2002, Alessandro Magni wrote: Strange as it may seem, I have the opposite problem: I often happen to change a figure (usually I use: insert wide figure Float, and inside: insert graphics), but my change isnt reflected in Ghostview, both by a preview postscript or by an update postscript: I have to exit and restart LyX! Seems strange and opposite to what you see. BTW I have 1.2.1 too. Bye Alessandro On Tuesday 26 November 2002 09:29, Peer Frank wrote: Hi ! LyX (1.2.1) is converting all the figures for each preview or update which is getting annoying for documents with plenty of figures. - isn't it possible to have this done only once (initial run or after any change on graphics files) and keep the converted files in a tmp directory ? I think I've already reported this as a bug, http://bugzilla.lyx.org/show_bug.cgi?id=602 I've found two temporary ways to get around this. If you're lazy, just restart Lyx. Otherwise, execute something like this on your prompt (I'm assuming tcsh): find /tmp/lyx* -name *.eps -exec rm {} \; which fill find and delete all .eps-files in Lyx's temporary directories. But be careful, don't do any typos :-) /Christian -- Christian Ridderström, +46-8-790 91 37 http://www.md.kth.se/~chr Mechatronics lab, Dept. of Machine Designhttp://www.md.kth.se
Re: DocBook SGML
On Tue, Nov 26, 2002 at 03:10:24PM +, Chris Lale wrote: Now, another question if I may? Can you nest paragraphs? No. This is a limitation of how LyX handles internal data currently. You might be able to work around it using minipages or similar, but that certainly won't be fun. Andre' -- Those who desire to give up Freedom in order to gain Security, will not have, nor do they deserve, either one. (T. Jefferson)
Re: Convert PS to EPS
Pascal Francq wrote: I have a .ps file and I want to convert it to an .eps file. What is the right way to do? RTFM! Or take a look in the archive before posting -- the last time it went around was yesterday! Matej -- Matej Cepl, [EMAIL PROTECTED], Finger: 89EF 4BC6 288A BF43 1BAB 25C3 E09F EF25 D964 84AC 138 Highland Ave. #10, Somerville, Ma 02143, (617) 623-1488 They that can give up essential liberty to obtain a little temporary safety deserve neither liberty nor safety. -- Benjamin Franklin, Historical Review of Pennsylvania, 1759.
Re: DocBook SGML
On Tuesday 26 November 2002 15:10, Chris Lale wrote: Hello José. Success! Thank you again. Good. I have created a textclass that produces the docbook screen/screen tags. This is what I did (by modifying copies of existing files). 1. Create a file /usr/share/lyx/layouts/docbook-newbiedoc.layout: #% Do not delete the line below; configure depends on this # \DeclareDocBookClass[article] {DocBook Newbiedoc article (SGML)} # DocBook textclass definition file. # Author : Chris Lale [EMAIL PROTECTED] # Input general definitions Input db_stdclass.inc Input db_extra.inc MaxCounterCounter_Section # Exclude higher, or equal, sections: NoStyle Part NoStyle Chapter I will include db_extra directly into db_stdclass. 2. Create a file /usr/share/lyx/layouts/db_extra.inc: # Textclass definition file for docbook with extra tags. # Author : Chris Lale [EMAIL PROTECTED] # This is the counterpart of lyxmacros.inc # It is desireable, as far as possible, to have the same look and feeling for # related layouts in latex and docbook. Input lyxmacros.inc # Screen style definition Style Screen LatexType Paragraph LatexName screen Font Family Typewriter EndFont End I will include this file also. 3. In Lyx, Edit Reconfigure and restart Lyx. Now, another question if I may? Can you nest paragraphs? I want the SGML to look like this: In lyx 1.2.x we have already support for those. Upgrade. revhistory revision revnumber1.2/revnumber date8th September 2002/date authorinitialsCTL/authorinitials revremarkFixed some mistakes/revremark /revision revision revnumber1.1/revnumber date28th March 2002/date authorinitialsCTL/authorinitials revremarkCompleted sections on configuring/revremark /revision /revhistory Cheers, Chris. Although André is right we can someimes forge this kind of nesting. And that is what we currently do for docbook. PS I have been writing articles for the Debian GNU/Linux Newbiedoc project (http://newbiedoc.sourceforge.net/) using Emacs, but Lyx would be far easier! That is the purpose. :-) -- José Abílio
Re: Convert PS to EPS
On Tue, 26 Nov 2002, Jeroen Vriesman wrote: Somewhere in my memory there is a note about pstoeps (or ps2eps) being part of ¨gsview¨. Not really: ghostscript is the package you mean, and it comes with ps2epsi but it's not the right tool for this. Better is ps2eps: # ps2eps - convert PostScript to EPS (Encapsulated PostScript) files # (C)opyright 1999-2001 Roland Bless Which is a perl script that also computes correct bounding box. Surprisingly it seems _not_ to be part of Debian, maybe not other Linuxes either so that it might be not so easy to find (I remember having some trouble even with Google, but it should be in TeX archives, I believe. And if not, here's a copy anyway: http://www.ee.oulu.fi/~tuukkat/tmp/ps2eps.tar.gz ) And yes, first check out archives before asking :)
Re: including sections real-time from other files
On Mon, Nov 25, 2002 at 09:06:04PM -0500, Nirmal Govind wrote: what I'd like to see is each one as a stand alone article... I guess one way is to change the book class for each document to article class before printing or so.. any other way(s)? You can have the included files in the article class, and only the master file in the book class. However, when you make a DVI from the master file, you might encounter some problems. PS: this will work with lyx = 1.2.0.
create real url?
hi, I use lyx-cjk 1.2.1, and I insert an URL from the menu insert, but when export the document to html, the url seems don't work, just a plain text. Any way to change the URL into real URL? thanks in advance! linuxman
Re: including sections real-time from other files
On Tue, 26 Nov 2002, Dekel Tsur wrote: On Mon, Nov 25, 2002 at 09:06:04PM -0500, Nirmal Govind wrote: what I'd like to see is each one as a stand alone article... I guess one way is to change the book class for each document to article class before printing or so.. any other way(s)? You can have the included files in the article class, and only the master file in the book class. However, when you make a DVI from the master file, you might encounter some problems. PS: this will work with lyx = 1.2.0. Yes, Dekel is right, I must have remembered incorrectly since I thought LyX would protest (maybe from an earlier verision). Anyway, you will run into some difficulties with the abstract and the title of the article. I played with a workaround that you can find here: http://www.md.kth.se/~chr/lyx/book-article-combo/ Basically I give what will appear as the title and abstract as arguments to different commands depending on if this is for the book or an separate article. Anyway, check out the beginning of the file preamble.tex and the preamble of the article (reviewIntroduction.lyx). But you'll probably run into other problems as well, and some of them are going to be of the type: This chapter will show that... which in the article should read as This article will show that..., i.e. the language is different. Good luck /Christian -- Christian Ridderström, +46-8-790 91 37 http://www.md.kth.se/~chr Mechatronics lab, Dept. of Machine Designhttp://www.md.kth.se
Re: create real url?
On Wed, Nov 27, 2002 at 12:57:40AM +0800, linuxman wrote: I use lyx-cjk 1.2.1, and I insert an URL from the menu insert, but when export the document to html, the url seems don't work, just a plain text. This is a known bug and has been discussed many times so please search the list archive. http://www.stat.rice.edu/~bpeng/lyx2tex might help. -- Bo Peng
Opening a file in a running Lyx ?
Is there a helper application that will check for a running LyX, open the file there if it is available, or start LyX if there is none running? Gimp-remote, which does the same for gimp, is the model I'm thinking of. Thanks, -- Ronald Florencewww.18james.com
2 and/or 3 column pages in book
Can someone please tell me how I can add 2 and/or 3 column pages to my book. I only want some pages within a chapter to have 2 columns and several in another chapter to have 3 columns. Thanks, newbe
Re: Convert PS to EPS
On Tue, 26 Nov 2002, Jeroen Vriesman wrote: Somewhere in my memory there is a note about pstoeps (or ps2eps) being part of ¨gsview¨. On Tue, 26 Nov 2002 10:57:17 +0100 Pascal Francq [EMAIL PROTECTED] wrote: Hi, I have a .ps file and I want to convert it to an .eps file. What is the right way to do? If you have Ghostscript and ImageMagick on your machine, try convert file.ps file.eps Arnim.
Re: 2 and/or 3 column pages in book
David from ARL EKA wrote: Can someone please tell me how I can add 2 and/or 3 column pages to my book. I only want some pages within a chapter to have 2 columns and several in another chapter to have 3 columns. RTFM -- Extended Feautures. Matej -- Matej Cepl, [EMAIL PROTECTED], Finger: 89EF 4BC6 288A BF43 1BAB 25C3 E09F EF25 D964 84AC 138 Highland Ave. #10, Somerville, Ma 02143, (617) 623-1488 Extremism in the defense of liberty is no vice; moderation in the pursuit of justice is no virtue. -- Barry Goldwater (actually written by Karl Hess)
Re: Opening a file in a running Lyx ?
Am Tue, 26 Nov 2002 14:51:20 -0500 schrieb Ronald Florence [EMAIL PROTECTED]: Is there a helper application that will check for a running LyX, open the file there if it is available, or start LyX if there is none running? Gimp-remote, which does the same for gimp, is the model I'm thinking of. Use the LyxServer-pipe: 1) in the menu-entry Bearbeiten-Einstellungen-Eingabe-Pfade-LyXServer pipe(I use the german translation) put something like /home-xx/.lyx/lypipe (replace /home-xx with your $HOME -path). 2) write a litte script like: - #!/bin/sh if [ -e ~/.lyx/.lyxpipe.in ] then echo LYXCMD:test:file-open:$1 ~/.lyx/.lyxpipe.in read a ~/.lyx/.lyxpipe.out echo $a else lyx -geometry 690x715+0+0 $1 fi - 3) name the script as you like (perhaps lyxremote) and put it in a path where it will be found (like /usr/local/bin). Now you can load every lyx-file in an existing running LyX. If it's not started, the script will start a new one. Of course you have to call your *.lyx- files with lyxremote file.lyx 4) a little problem occurs, when lyx crashes: the files $HOME/.lyx/lyxpipe.* will not be deleted so that lyxremote thinks there exists a running lyx -- you will have to delete $HOME/.lyx/lyxpipe.* by yourself. This procedure works for me (lyx1.2.1): there is also help about the lyx Server-pipe in the helpfiles included with the lyx-package. hope it helps Peter
Re: Convert PS to EPS
Hello, Just wonder how your guys create a hand-drawn pictur in PS format. I hate to use Xfig in UNIX, which is too clumsy to me. Is there any way we can draw some plots in Powerpoint, or Paint, etc., then convert them into .ps ones with bounding box (so that they will be easily integrated into .tex file)? best thanks -- Zhigang Arnim Littek wrote: On Tue, 26 Nov 2002, Jeroen Vriesman wrote: Somewhere in my memory there is a note about pstoeps (or ps2eps) being part of ¨gsview¨. On Tue, 26 Nov 2002 10:57:17 +0100 Pascal Francq [EMAIL PROTECTED] wrote: Hi, I have a .ps file and I want to convert it to an .eps file. What is the right way to do? If you have Ghostscript and ImageMagick on your machine, try convert file.ps file.eps Arnim.
Re: Convert PS to EPS
On Saturday 26 October 2002 1458 pm, you wrote: Hello, Just wonder how your guys create a hand-drawn pictur in PS format. I hate to use Xfig in UNIX, which is too clumsy to me. Is there any way we can draw some plots in Powerpoint, or Paint, etc., then convert them into .ps ones with bounding box (so that they will be easily integrated into .tex file)? best thanks -- Zhigang Personally, I think xfig is quite a neat tool to do exactly what you're asking. Some alternatives: 1. Any program (PowerPoint, etc.), then define a printer as a Generic Postscript printer, and print to a file. [This will probably give you a raster image within the Postscript] 2. CorelDraw 3. Gimp [This will give you a raster image within the Postscript] 3. The pstricks package (http://www.educat.hu-berlin.de/~voss/lyx/psTricks/pstricks.phtml) -- L. R. Denham -- Please avoid sending me Word or PowerPoint attachments. See http://www.fsf.org/philosophy/no-word-attachments.html
Re: including sections -- still having trouble!
You can have the included files in the article class, and only the master file in the book class. However, when you make a DVI from the master file, you might encounter some problems. PS: this will work with lyx = 1.2.0. Thanks Dekel for this info.. I played with a workaround that you can find here: http://www.md.kth.se/~chr/lyx/book-article-combo/ I checked out the above.. that's some amount of work you've put into it in writing the latex code for the preamble.. thanks! I'll try this out... Right now, I'm stuck with a related problem - I converted the three docs I have to book class. The final doc (book class too) where I compile all of them together has a section at the beginning, then it should have these three files included and then has a section at the end. I tried including the three files after the first section but I get 27 errors all of them saying that I'm missing some }}} or so.. is this not possible - having file includes midway in a document? I really don't want to have the first section and the last section also as two separate files and then combine all the five files using include.. Thanks, nirmal
Re: Opening a file in a running Lyx ?
Peter Rexigel wrote: Is there a helper application that will check for a running LyX, open the file there if it is available, or start LyX if there is none running? Gimp-remote, which does the same for gimp, is the model I'm thinking of. Use the LyxServer-pipe: 1) in the menu-entry Bearbeiten-Einstellungen-Eingabe-Pfade-LyXServer pipe(I use the german translation) put something like /home-xx/.lyx/lypipe (replace /home-xx with your $HOME -path). 2) write a litte script like: - #!/bin/sh if [ -e ~/.lyx/.lyxpipe.in ] then echo LYXCMD:test:file-open:$1 ~/.lyx/.lyxpipe.in read a ~/.lyx/.lyxpipe.out echo $a else lyx -geometry 690x715+0+0 $1 fi This is excellent! I changed the script to include an after the lyx $1 so it wouldn't hang around and wait -- works like a charm. Thanks for the prompt and useful reply. Regards, -- Ronald
Re: Convert PS to EPS
It is pretty good. I use it for many figures in my thesis (i am writing it with lyx!). Two features I want most are: 1. Define (closed) path that contains both straight lines and beizer curves 2. Apply clipping and filling with 1 Only programming with metapost give me those for now. I'd love to do it with a GUI program. Max --- Les Denham [EMAIL PROTECTED] wrote: Personally, I think xfig is quite a neat tool to do exactly what you're asking.
Convert PS to EPS
Hi, I have a ".ps" file and I want to convert it to an ".eps" file. What is the right way to do? -- Ir Pascal Francq Researcher Université Libre de Bruxelles CAD/CAM Department Avenue F.D. Roosevelt, 50 CP 165/14 B-1050 Brussels BELGIUM Tel. +32-2-650 47 65 Fax +32-2-650 47 24 ICQ: 91206668
Re: Convert PS to EPS
Somewhere in my memory there is a note about pstoeps (or ps2eps) being part of ¨gsview¨. On Tue, 26 Nov 2002 10:57:17 +0100 Pascal Francq <[EMAIL PROTECTED]> wrote: > Hi, > I have a ".ps" file and I want to convert it to an ".eps" file. > What is the right way to do? > -- > > > Ir Pascal Francq > Researcher > Université Libre de Bruxelles > CAD/CAM Department > Avenue F.D. Roosevelt, 50 > CP 165/14 > B-1050 Brussels > BELGIUM > Tel. +32-2-650 47 65 > Fax +32-2-650 47 24 > ICQ: 91206668 > >
graphics conversion for preview
Hi ! LyX (1.2.1) is converting all the figures for each preview or update which is getting annoying for documents with plenty of figures. - isn't it possible to have this done only once (initial run or after any change on graphics files) and keep the converted files in a tmp directory ? -- Peer
Re: graphics conversion for preview
Strange as it may seem, I have the >opposite< problem: I often happen to change a figure (usually I use: insert wide figure Float, and inside: insert graphics), but my change isnt reflected in Ghostview, both by a preview postscript or by an update postscript: I have to exit and restart LyX! Seems strange and opposite to what you see. BTW I have 1.2.1 too. Bye Alessandro On Tuesday 26 November 2002 09:29, Peer Frank wrote: > Hi ! > > LyX (1.2.1) is converting all the figures for each preview or update > which is getting annoying for documents with plenty of figures. > > - isn't it possible to have this done only once (initial run or after > any change on graphics files) and keep the converted files in a tmp > directory ? -- ~~ \ Dr.Alessandro Magni / IEN Galileo Ferraris \ Strada delle Cacce 91, 10135 Torino (ITALIA) / Email [EMAIL PROTECTED] \ Fax 0039-011-3919 834 / Tel 0039-011-3919 821 \ URL http://www.ien.it/~magni ~~
Re: DocBook SGML
Hello José. Thanks for your help. José Abílio Oliveira Matos wrote: On Saturday 23 November 2002 09:03, Chris Lale wrote: I am using Lyx (1.1.6fix4) to compose DocBook articles. Can I add my favourite DocBook SGML tags as items in the environment menu? I am new to Lyx and LaTeX. Yes, That's great! but those should be paragraph level elements to have a more wysiwym look. That's fine - I want to use the SGML tags to format a paragraph. The support for characther level style is high on our todo list. Even better - I use and a lot too. If you add any other styles you can send them to me and they will ship with next versions of lyx. I will do that. Can you tell me how to get started? Is there a HOWTO I sould read? Do I need to find out more about LaTeX to learn how to add an item to the environment menu? I had a look at docbook.layout. It includes this line: Input db_stdclass.inc Input db_stdclass.inc includes these lines: Input stdlists.inc Input stdsections.inc Input stdstarsections.inc Input stdtitle.inc Input stdstruct.inc Input lyxmacros.inc Input stdlayouts.inc Input obsolete.inc Do I need to add a definition section to one of these? Or do I need to create a new .inc file? Or am I completely on the wrong track? Cheers, Chris. -- : ___ Chris Lale <[EMAIL PROTECTED]> : : / \ : : | <_/ My PC runs Debian GNU/Linux 3.0. : : \ Robust, secure and free operating system + applications. : : \ Available at http://www.debian.org :
Re: Convert PS to EPS
On Tue, 26 Nov 2002, Pascal Francq wrote: > Hi, > I have a ".ps" file and I want to convert it to an ".eps" file. > What is the right way to do? > Bonjour Pascal, There is a solution in Ghostscript called 'ps2epsi'. NAME ps2epsi - generate conforming Encapsulated PostScript SYNOPSIS ps2epsi infile.ps [ outfile.epsi ] (Unix) ps2epsi infile.ps [ outfile.epi ] (DOS) DESCRIPTION ps2epsi uses gs(1) to process a PostScript(tm) file and generate as output a new file which conforms to Adobe's Encap- sulated PostScript Interchange (EPSI) format. EPSI is a special form of encapsulated PostScript (EPS) which adds to the beginning of the file in the form of PostScript comments a bitmapped version of the final displayed page. Programs which understand EPSI (usually word processors or DTP programs) can use this bitmap to give a preview version on screen of the PostScript. The displayed quality is often not very good (e.g., low resolution, no colours), but the final printed version uses the real PostScript, and thus has the normal PostScript quality. The problem is not so easy, because some PostScript(tm) files got some directive that can't be encapsulated. The best way is to try it out and see the final result. Hope this helps. adulau -- Alexandre Dulaunoy -- http://www.foo.be/ 3B12 DCC2 82FA 2931 2F5B 709A 09E2 CD49 44E6 CBCD --- AD993-6BONE "People who fight may lose.People who do not fight have already lost." Bertolt Brecht
Re: Convert PS to EPS
On Tue, Nov 26, 2002 at 10:57:17AM +0100, Pascal Francq wrote: > I have a ".ps" file and I want to convert it to an ".eps" file. > What is the right way to do? Perhaps the best option is to use ps2eps: http://www.tex.ac.uk/tex-archive/help/Catalogue/entries/ps2eps.html (it is better than ps2epsi which comes with ghostscript).
Re: DocBook SGML
On Tuesday 26 November 2002 09:53, Chris Lale wrote: > Hello José. > > Thanks for your help. You are welcome. Don't hesitate to ask in case of any doubt. :-) [...] > Can you tell me how to get started? Is there a HOWTO I sould read? Do I > need to find out more about LaTeX to learn how to add an item to the > environment menu? There is no special documentation an that is my fault. :( No latex required, although some of the commands have latex in its name that is an historical hasard. I can read a little about it in "Customizing LyX" document manual, in section 6.3 (in version 1.2.1) "Declaring a new textclass". > I had a look at docbook.layout. It includes this line: > Input db_stdclass.inc > > Input db_stdclass.inc includes these lines: > Input stdlists.inc > Input stdsections.inc > Input stdstarsections.inc > Input stdtitle.inc > Input stdstruct.inc > Input lyxmacros.inc > Input stdlayouts.inc > Input obsolete.inc > > Do I need to add a definition section to one of these? Or do I need to > create a new .inc file? Or am I completely on the wrong track? You can create a new file and include it directly in db_stdclass.in The several .inc files are just a modular construct, you can put all in one file. The goal is to reuse them to build different classes, like book, set, article, chapter, ... > Cheers, > > Chris. -- José Abílio
What's happening with the language selection
Since I started to write my PhD, I selected the frenchb language in the Document layout. It worked fine until now. I made some corrections to the report (nor on the structure, neither on the configuration) but it seems that Lyx just don't care of my choice: when I compile the document, all the titles are in english (Contents and so on...). I think an example document should be appropriated but I have first to create a short one (can't send the entire report...). Someone had this problem (the solution would be much better...)? Could it be related with my recent installation of bibtopic and bibtex packages? Jean-Philippe
Re: lyc-code and latex2html
Manfred Wischin wrote: Hi! How do I make latex2html output lyx-code sections correctly (single linespace and typewriter font)? I spent the last nine hours searching the web, the mailingslist archives, google groups, etc, and tried anything i could think of, but no avail! Maybe i missed something because it seems to me that this problem should be common to everybody writing some technical documentation with lyx. Has anybody got this working? I did it with CSS. latex2html generates a style sheet, so you can just alter the settings for whatever CSS paragraph type your code is rendered in. Inserting font-family: Courier; typewriter; should do the trick. Robin -- "Do unto others what you would like others to do unto you. And have fun doing it." - Linus Torvalds Robin Turner IDMYO, Bilkent University Ankara 06533 Turkey www.bilkent.edu.tr/~robin
Re: page stype at beginning of chapter.
On Mon, Nov 25, 2002 at 11:51:35PM +0100, Jeroen Vriesman wrote: > Hope someone can give me a hint about the following: > > I use amsbook style, and have a fancyheader with some graphics in the preamble. > Looks allright, but on every first page of a chapter, ir defines: > > \thispagestyle{plain} > > in amsbook.cls, but I also want my fancyheader on the first pages of the chapter. Using fancyhdr, you can define the style of plain pages. See http://www.educat.hu-berlin.de/~voss/lyx/fancy/header.phtml#plain
Re: including sections real-time from other files
On Mon, 25 Nov 2002, Nirmal Govind wrote: > > all I had to do was change the class of the article-class documents to > > book. Then I used "include file"? Anyway, I'm going to take my thesis, > > Thanks Christian for putting up those files... what I'm trying to do is > to have my three documents double up as articles and as chapters in a > book.. so that if I decided to print them out separately, they would > look like articles and if I decided to print out the whole thing > together then it would look like a book.. in more practical terms, the > article-class documents are papers that can be published and when these > papers are put together, they form a thesis.. > > So the only difference between the above and what you have in your files > is that in the latter, if I try to print out each document separately, I > will get "Chapter 1" and sections 1.x on each article-class document.. > what I'd like to see is each one as a stand alone article... I guess one > way is to change the book class for each document to article class > before printing or so.. any other way(s)? > No... I don't think so, but maybe someone else has an idea. Btw, you might also get into problems because the book class doesn't have abstracts for each chapter, which you typically want for an article.. On the other hand, you will hopefully only submit the articles once, so you won't have to change them to article class very often. /Christian -- Christian Ridderström, +46-8-790 91 37 http://www.md.kth.se/~chr Mechatronics lab, Dept. of Machine Designhttp://www.md.kth.se
Re: DocBook SGML
Hello José. Success! Thank you again. I have created a textclass that produces the docbook tags. This is what I did (by modifying copies of existing files). 1. Create a file /usr/share/lyx/layouts/docbook-newbiedoc.layout: #% Do not delete the line below; configure depends on this # \DeclareDocBookClass[article] {DocBook Newbiedoc article (SGML)} # DocBook textclass definition file. # Author : Chris Lale <[EMAIL PROTECTED]> # Input general definitions Input db_stdclass.inc Input db_extra.inc MaxCounter Counter_Section # Exclude higher, or equal, sections: NoStyle Part NoStyle Chapter 2. Create a file /usr/share/lyx/layouts/db_extra.inc: # Textclass definition file for docbook with extra tags. # Author : Chris Lale <[EMAIL PROTECTED]> # This is the counterpart of lyxmacros.inc # It is desireable, as far as possible, to have the same look and feeling for # related layouts in latex and docbook. Input lyxmacros.inc # Screen style definition Style Screen LatexType Paragraph LatexName screen Font Family Typewriter EndFont End 3. In Lyx, Edit > Reconfigure and restart Lyx. Now, another question if I may? Can you nest paragraphs? I want the SGML to look like this: 1.2 8th September 2002 CTL Fixed some mistakes 1.1 28th March 2002 CTL Completed sections on configuring Cheers, Chris. PS I have been writing articles for the Debian GNU/Linux Newbiedoc project (http://newbiedoc.sourceforge.net/) using Emacs, but Lyx would be far easier! -- : ___ Chris Lale <[EMAIL PROTECTED]> : : / \ : : | <_/ My PC runs Debian GNU/Linux 3.0. : : \ Robust, secure and free operating system + applications. : : \ Available at http://www.debian.org :
Re: graphics conversion for preview
On Tue, 26 Nov 2002, Alessandro Magni wrote: > Strange as it may seem, > I have the >opposite< problem: > I often happen to change a figure (usually I use: insert wide figure Float, > and inside: insert graphics), > but my change isnt reflected in Ghostview, both by a preview postscript or by > an update postscript: > I have to exit and restart LyX! > Seems strange and opposite to what you see. > BTW I have 1.2.1 too. > > Bye > > Alessandro > > On Tuesday 26 November 2002 09:29, Peer Frank wrote: > > Hi ! > > > > LyX (1.2.1) is converting all the figures for each preview or update > > which is getting annoying for documents with plenty of figures. > > > > - isn't it possible to have this done only once (initial run or after > > any change on graphics files) and keep the converted files in a tmp > > directory ? > I think I've already reported this as a bug, http://bugzilla.lyx.org/show_bug.cgi?id=602 I've found two temporary ways to get around this. If you're lazy, just restart Lyx. Otherwise, execute something like this on your prompt (I'm assuming tcsh): >find /tmp/lyx* -name "*.eps" -exec rm {} \; which fill find and delete all .eps-files in Lyx's temporary directories. But be careful, don't do any typos :-) /Christian > -- Christian Ridderström, +46-8-790 91 37 http://www.md.kth.se/~chr Mechatronics lab, Dept. of Machine Designhttp://www.md.kth.se
Re: DocBook SGML
On Tue, Nov 26, 2002 at 03:10:24PM +, Chris Lale wrote: > Now, another question if I may? Can you nest paragraphs? No. This is a limitation of how LyX handles internal data currently. You might be able to work around it using minipages or similar, but that certainly won't be fun. Andre' -- Those who desire to give up Freedom in order to gain Security, will not have, nor do they deserve, either one. (T. Jefferson)
Re: Convert PS to EPS
Pascal Francq wrote: > I have a ".ps" file and I want to convert it to an ".eps" file. > What is the right way to do? RTFM! Or take a look in the archive before posting -- the last time it went around was yesterday! Matej -- Matej Cepl, [EMAIL PROTECTED], Finger: 89EF 4BC6 288A BF43 1BAB 25C3 E09F EF25 D964 84AC 138 Highland Ave. #10, Somerville, Ma 02143, (617) 623-1488 They that can give up essential liberty to obtain a little temporary safety deserve neither liberty nor safety. -- Benjamin Franklin, Historical Review of Pennsylvania, 1759.
Re: DocBook SGML
On Tuesday 26 November 2002 15:10, Chris Lale wrote: > Hello José. Success! Thank you again. Good. > I have created a textclass that produces the docbook > tags. This is what I did (by modifying copies of existing files). > > 1. Create a file /usr/share/lyx/layouts/docbook-newbiedoc.layout: > > #% Do not delete the line below; configure depends on this > # \DeclareDocBookClass[article] {DocBook Newbiedoc article (SGML)} > # DocBook textclass definition file. > # Author : Chris Lale <[EMAIL PROTECTED]> > > # Input general definitions > Input db_stdclass.inc > Input db_extra.inc > > MaxCounterCounter_Section > > # Exclude higher, or equal, sections: > NoStyle Part > NoStyle Chapter I will include db_extra directly into db_stdclass. > 2. Create a file /usr/share/lyx/layouts/db_extra.inc: > > # Textclass definition file for docbook with extra tags. > # Author : Chris Lale <[EMAIL PROTECTED]> > > # This is the counterpart of lyxmacros.inc > # It is desireable, as far as possible, to have the same look and > feeling for > # related layouts in latex and docbook. > > Input lyxmacros.inc > > # Screen style definition > Style Screen >LatexType Paragraph >LatexName screen >Font > Family Typewriter >EndFont > End I will include this file also. > 3. In Lyx, Edit > Reconfigure and restart Lyx. > > > Now, another question if I may? Can you nest paragraphs? I want the SGML > to look like this: In lyx 1.2.x we have already support for those. Upgrade. > > > 1.2 > 8th September 2002 > CTL >Fixed some > mistakes > > > 1.1 > 28th March 2002 > CTL > Completed sections on configuring > > > > Cheers, > > Chris. Although André is right we can someimes forge this kind of nesting. And that is what we currently do for docbook. > PS I have been writing articles for the Debian GNU/Linux Newbiedoc > project (http://newbiedoc.sourceforge.net/) using Emacs, but Lyx would > be far easier! That is the purpose. :-) -- José Abílio
Re: Convert PS to EPS
On Tue, 26 Nov 2002, Jeroen Vriesman wrote: >Somewhere in my memory there is a note about pstoeps (or ps2eps) being >part of ¨gsview¨. Not really: ghostscript is the package you mean, and it comes with ps2epsi but it's not the right tool for this. Better is ps2eps: # ps2eps - convert PostScript to EPS (Encapsulated PostScript) files # (C)opyright 1999-2001 Roland Bless Which is a perl script that also computes correct bounding box. Surprisingly it seems _not_ to be part of Debian, maybe not other Linuxes either so that it might be not so easy to find (I remember having some trouble even with Google, but it should be in TeX archives, I believe. And if not, here's a copy anyway: http://www.ee.oulu.fi/~tuukkat/tmp/ps2eps.tar.gz ) And yes, first check out archives before asking :)
Re: including sections real-time from other files
On Mon, Nov 25, 2002 at 09:06:04PM -0500, Nirmal Govind wrote: > what I'd like to see is each one as a stand alone article... I guess one > way is to change the book class for each document to article class > before printing or so.. any other way(s)? You can have the included files in the article class, and only the master file in the book class. However, when you make a DVI from the master file, you might encounter some problems. PS: this will work with lyx >= 1.2.0.
create real url?
hi, I use lyx-cjk 1.2.1, and I insert an URL from the menu "insert", but when export the document to html, the url seems don't work, just a plain text. Any way to change the URL into real URL? thanks in advance! linuxman
Re: including sections real-time from other files
On Tue, 26 Nov 2002, Dekel Tsur wrote: > On Mon, Nov 25, 2002 at 09:06:04PM -0500, Nirmal Govind wrote: > > what I'd like to see is each one as a stand alone article... I guess one > > way is to change the book class for each document to article class > > before printing or so.. any other way(s)? > > You can have the included files in the article class, and only the master > file in the book class. However, when you make a DVI from the master file, > you might encounter some problems. > > PS: this will work with lyx >= 1.2.0. > Yes, Dekel is right, I must have remembered incorrectly since I thought LyX would protest (maybe from an earlier verision). Anyway, you will run into some difficulties with the abstract and the title of the article. I played with a workaround that you can find here: http://www.md.kth.se/~chr/lyx/book-article-combo/ Basically I give what will appear as the title and abstract as arguments to different commands depending on if this is for the book or an separate article. Anyway, check out the beginning of the file preamble.tex and the preamble of the article (reviewIntroduction.lyx). But you'll probably run into other problems as well, and some of them are going to be of the type: "This chapter will show that..." which in the article should read as "This article will show that...", i.e. the language is different. Good luck /Christian -- Christian Ridderström, +46-8-790 91 37 http://www.md.kth.se/~chr Mechatronics lab, Dept. of Machine Designhttp://www.md.kth.se
Re: create real url?
On Wed, Nov 27, 2002 at 12:57:40AM +0800, linuxman wrote: > I use lyx-cjk 1.2.1, and I insert an URL from the menu "insert", but > when export the document to html, the url seems don't work, just a > plain text. This is a known bug and has been discussed many times so please search the list archive. http://www.stat.rice.edu/~bpeng/lyx2tex might help. -- Bo Peng
Opening a file in a running Lyx ?
Is there a helper application that will check for a running LyX, open the file there if it is available, or start LyX if there is none running? Gimp-remote, which does the same for gimp, is the model I'm thinking of. Thanks, -- Ronald Florencewww.18james.com
2 and/or 3 column pages in book
Can someone please tell me how I can add 2 and/or 3 column pages to my book. I only want some pages within a chapter to have 2 columns and several in another chapter to have 3 columns. Thanks, newbe
Re: Convert PS to EPS
On Tue, 26 Nov 2002, Jeroen Vriesman wrote: > Somewhere in my memory there is a note about pstoeps (or ps2eps) > being part of ¨gsview¨. > > On Tue, 26 Nov 2002 10:57:17 +0100 > Pascal Francq <[EMAIL PROTECTED]> wrote: > > > Hi, > > I have a ".ps" file and I want to convert it to an ".eps" file. > > What is the right way to do? If you have Ghostscript and ImageMagick on your machine, try convert file.ps file.eps Arnim.
Re: 2 and/or 3 column pages in book
David from ARL & EKA wrote: > Can someone please tell me how I can add 2 and/or 3 column pages to my book. > I only want some pages within a chapter to have 2 columns and several in > another chapter to have 3 columns. RTFM -- Extended Feautures. Matej -- Matej Cepl, [EMAIL PROTECTED], Finger: 89EF 4BC6 288A BF43 1BAB 25C3 E09F EF25 D964 84AC 138 Highland Ave. #10, Somerville, Ma 02143, (617) 623-1488 Extremism in the defense of liberty is no vice; moderation in the pursuit of justice is no virtue. -- Barry Goldwater (actually written by Karl Hess)
Re: Opening a file in a running Lyx ?
Am Tue, 26 Nov 2002 14:51:20 -0500 schrieb Ronald Florence <[EMAIL PROTECTED]>: > Is there a helper application that will check for a running LyX, open > the file there if it is available, or start LyX if there is none > running? Gimp-remote, which does the same for gimp, is the model I'm > thinking of. Use the LyxServer-pipe: 1) in the menu-entry "Bearbeiten-Einstellungen-Eingabe-Pfade-LyXServer pipe"(I use the german translation) put something like "/home-xx/.lyx/lypipe" (replace /home-xx with your $HOME -path). 2) write a litte script like: - #!/bin/sh if [ -e ~/.lyx/.lyxpipe.in ] then echo "LYXCMD:test:file-open:$1" >~/.lyx/.lyxpipe.in read a <~/.lyx/.lyxpipe.out echo $a else lyx -geometry 690x715+0+0 $1 fi - 3) name the script as you like (perhaps lyxremote) and put it in a path where it will be found (like /usr/local/bin). Now you can load every lyx-file in an existing running LyX. If it's not started, the script will start a new one. Of course you have to call your *.lyx- files with lyxremote file.lyx 4) a little problem occurs, when lyx crashes: the files $HOME/.lyx/lyxpipe.* will not be deleted so that "lyxremote" thinks there exists a running lyx -- you will have to delete $HOME/.lyx/lyxpipe.* by yourself. This procedure works for me (lyx1.2.1): there is also help about the lyx Server-pipe in the helpfiles included with the lyx-package. hope it helps Peter
Re: Convert PS to EPS
Hello, Just wonder how your guys create a hand-drawn pictur in PS format. I hate to use "Xfig" in UNIX, which is too clumsy to me. Is there any way we can draw some plots in Powerpoint, or Paint, etc., then convert them into .ps ones with bounding box (so that they will be easily integrated into .tex file)? best thanks -- Zhigang Arnim Littek wrote: > On Tue, 26 Nov 2002, Jeroen Vriesman wrote: > > Somewhere in my memory there is a note about pstoeps (or ps2eps) > > being part of ¨gsview¨. > > > > On Tue, 26 Nov 2002 10:57:17 +0100 > > Pascal Francq <[EMAIL PROTECTED]> wrote: > > > > > Hi, > > > I have a ".ps" file and I want to convert it to an ".eps" file. > > > What is the right way to do? > > If you have Ghostscript and ImageMagick on your machine, try > > convert file.ps file.eps > > Arnim.
Re: Convert PS to EPS
On Saturday 26 October 2002 1458 pm, you wrote: > Hello, > Just wonder how your guys create a hand-drawn pictur in PS format. I > hate to use "Xfig" in UNIX, which is too clumsy to me. Is there any way > we can draw some plots in Powerpoint, or Paint, etc., then convert them > into .ps ones with bounding box (so that they will be easily integrated > into .tex file)? > best thanks > -- Zhigang Personally, I think xfig is quite a neat tool to do exactly what you're asking. Some alternatives: 1. Any program (PowerPoint, etc.), then define a printer as a Generic Postscript printer, and print to a file. [This will probably give you a raster image within the Postscript] 2. CorelDraw 3. Gimp [This will give you a raster image within the Postscript] 3. The pstricks package (http://www.educat.hu-berlin.de/~voss/lyx/psTricks/pstricks.phtml) -- L. R. Denham -- Please avoid sending me Word or PowerPoint attachments. See http://www.fsf.org/philosophy/no-word-attachments.html
Re: including sections -- still having trouble!
> > You can have the included files in the article class, and only the > > master file in the book class. However, when you make a DVI from the > > master file, you might encounter some problems. > > > > PS: this will work with lyx >= 1.2.0. Thanks Dekel for this info.. > I played with a workaround that you can find here: > > http://www.md.kth.se/~chr/lyx/book-article-combo/ I checked out the above.. that's some amount of work you've put into it in writing the latex code for the preamble.. thanks! I'll try this out... Right now, I'm stuck with a related problem - I converted the three docs I have to book class. The final doc (book class too) where I compile all of them together has a section at the beginning, then it should have these three files "include"d and then has a section at the end. I tried including the three files after the first section but I get 27 errors all of them saying that I'm missing some "}}}" or so.. is this not possible - having file includes midway in a document? I really don't want to have the first section and the last section also as two separate files and then combine all the five files using include.. Thanks, nirmal
Re: Opening a file in a running Lyx ?
Peter Rexigel wrote: >Is there a helper application that will check for a running LyX, open >the file there if it is available, or start LyX if there is none >running? Gimp-remote, which does the same for gimp, is the model I'm >thinking of. Use the LyxServer-pipe: 1) in the menu-entry "Bearbeiten-Einstellungen-Eingabe-Pfade-LyXServer pipe"(I use the german translation) put something like "/home-xx/.lyx/lypipe" (replace /home-xx with your $HOME -path). 2) write a litte script like: - #!/bin/sh if [ -e ~/.lyx/.lyxpipe.in ] then echo "LYXCMD:test:file-open:$1" >~/.lyx/.lyxpipe.in read a <~/.lyx/.lyxpipe.out echo $a else lyx -geometry 690x715+0+0 $1 fi This is excellent! I changed the script to include an "&" after the "lyx $1" so it wouldn't hang around and wait -- works like a charm. Thanks for the prompt and useful reply. Regards, -- Ronald
Re: Convert PS to EPS
It is pretty good. I use it for many figures in my thesis (i am writing it with lyx!). Two features I want most are: 1. Define (closed) path that contains both straight lines and beizer curves 2. Apply clipping and filling with 1 Only programming with metapost give me those for now. I'd love to do it with a GUI program. Max --- Les Denham <[EMAIL PROTECTED]> wrote: > > Personally, I think xfig is quite a neat tool to do exactly what > you're > asking.