Re: what is wrong in preferences or options?
El Mar 11 Nov 2003 12:30, Christian Ridderström escribió: On Tue, 11 Nov 2003, Osvaldo Fornaro wrote: I am preparing a presentation with prosper, which is basically an A4 landscape paper. When i tried to see the postscript with gv, it appears rigth but vertically. when i wish to see horizontally, the image appears clipped at a4 paper width. The printed page is OK. ( i just try with article class, an the behavior is similar) How i could to see the document without to rotate my head 90 degrees? Look at this page http://wiki.lyx.org/pmwiki.php/ExampleProsper/ExampleProsper and also search this mail archinve, I think this has been discussed before. It is true, but don't have an answer. The problem it is not prosper exclusive. I think it is relative to the generated postscript (but i am not an expert). If you generate a landscape page, it must appear landscape in gv, even without -swap option. However you can see well, but rotated, or cutted in landscape mode. If you passthrough the postcript generated by lyx (by latex) by psnup, only to rotate, it looks OK with gv and kghostview. So, i think it is a problem in the postcript file. Thank you. Osvaldo -- Dr. Osvaldo Fornaro [EMAIL PROTECTED] Universidad Nacional del Centro de la Provincia de Buenos Aires Instituto de Física de Materiales Tandil - CICPBA Pinto 399 (B7000GHG) Argentina
Re: LyX-1.3.3-qt on Fedora Core 1
John == John Levon [EMAIL PROTECTED] writes: John On Sat, Nov 08, 2003 at 01:21:55PM -0500, David Utidjian wrote: ftp://ftp.lyx.org/pub/lyx/bin/1.3.3/lyx-1.3.3-1_qt.src.rpm package and did a: rpmbuild --rebuild lyx-1.3.3-1_qt.src.rpm John Could you upload the rebuilt RPMs to ftp.lyx.org (dir incoming/) John ? Note however that the ftp.lyx.org ftp server has been rebuilt a week ago and that we do not have a functional incoming/ directory currently. There is one on ftp.devel.lyx.org, though. Or you can just give me a pointer to the file. JMarc
Re: what is wrong in preferences or options?
If you generate a landscape page, it must appear landscape in gv, even without -swap option. However you can see well, but rotated, or cutted in landscape mode. The « cutted » comes from a supplementary a4 instruction in the PS file, which in turn seems to come from a bad config of the TeX installation (I found out with teTeX, but I could not reproduce the solution with TeXLive, someting in the .pro files AFAIR). Here I filter the ps file to wipe out the line with a4 alone, someting like perl -p -i -e 's/^a4$//;' foo.ps No cutting lndscape to A4 anymore with gv or ghostview. Moreover, to avoid the swap problem when going to pdf, the filter perl -p -i -e 's/Landscape/Seascape/;' foo.ps before ps2pdf does it. Any clue to solve these problems at source level, i.e. in the TeX install parameters ? TexLive 7 on Solaris 8 AFPL Ghostscript 7.04 (2002-01-31) -- Jean-Pierre
Re: Simple (?) printer setup trouble ...
[posted and mailed] Soren O'Neill [EMAIL PROTECTED] wrote in news:[EMAIL PROTECTED]: I get: dvi2ps: FATAL-- can't find DVI file 6499i.dvi Does this make any sense to you ?!? Well, the good news is that dvi2ps seems to be executing. There might be some kind of problem with the path to the dvi file. What happens if you try to export a file from LyX as Postscript? Do you get an error message? LyX should create a temporary directory, output a TeX file to that directory, run latex against it (so that the DVI file is in the temp directory), then run dvi2ps against that DVI file and write the PS file to the directory containing the original LyX document. The same should happen with the printer (other than not writing PS file to disk). Another thing to try is to print a document and then, without closing the LyX document, look in the temporary directory and see if a DVI file was written there (and whether its name matches the one in the error message). No exporting (from lyx) to postscript fails: Cannot convert file. Error while executing dvi2ps -t a4 I'm not sure, but I think that message is consistent with inability to find (or open) the DVI file. Start LyX, open a document, either print it or try to export it to PS, then (without closing LyX or the document) check the temp directory LyX is using for that document. Is the DVI file there? If so, what's its name? If not, is there a .tex file there? One other thing: does the log file indicate that latex.exe was able to process the source file ok? (If latex.exe didn't produce a DVI file, that would explain things.) -- Paul * Paul A. Rubin Phone:(517) 432-3509 Department of Management Fax: (517) 432- The Eli Broad Graduate School of ManagementE-mail: [EMAIL PROTECTED] Michigan State University http://www.msu.edu/~rubin/ East Lansing, MI 48824-1122 (USA) * Mathematicians are like Frenchmen: whenever you say something to them, they translate it into their own language, and at once it is something entirely different.J. W. v. GOETHE
Working with LaTeX macros and copy editors
A major publisher (Springer-Verlag New York) notified me yesterday that they want to publish my book. They have a bunch of LaTeX macros they want me to use in the preparation of the camera-ready copy. (Their Web site has a link to a non-existent directory and file so I'm waiting for them to point me to the right place.) And, the copy editor will be working with me on copy I send him/her. A quick search of the archive shows a very recent pair of messages that reLyX is broken and will soon be put out of our misery. Is the replacement now ready for prime time? I assume that I'll be sending .tex files there and getting .tex files back again. So, this is concern number 1 for me. Another archive search produces 210 hits on using latex macros. Is there an overall HOWTO applicable to version 1.3.3? I don't yet know just what they'll have me use, but apparently they're all based on/use CTAN packages. As this is a new learning area for me pointers will be greatly appreciated. Thanks, Rich Dr. Richard B. Shepard, President Applied Ecosystem Services, Inc. (TM) 2404 SW 22nd Street | Troutdale, OR 97060-1247 | U.S.A. + 1 503-667-4517 (voice) | + 1 503-667-8863 (fax) | rshepard#64;appl-ecosys.com http://www.appl-ecosys.com/
hyperlink w/o URL
Hi.. I'm trying to get some hyperlinks in a presentation using pdfscreen and LyX ... I'd like the URL to be embedded within the text so that the URL isn't shown, instead the text is shown (maybe in blue or something)... currently, if I add a URL using Insert-URL, give it a name and a URL, I see the name and the entire URL side-by-side in the pdf output. Please let me know if there's any way to get the URL to not show... Thanks, nirmal
Re: Help: a nice \newenvironment for Chapter
Daniele Medri wrote: I'm searching a nice style \newenvironment{chapter} for a book. Could you help me? Where to browse? The memoir book class (supported by lyx 1.3.3) has some nice predefined chapter styles. See the memoir manual http://www.ctan.org/tex-archive/macros/latex/contrib/memoir/memman.pdf page 71 for details You can also easily define your own chapter style. This one is nice: http://groups.google.de/groups?q=%22a+new+chapter+style%22+memoir HTH, Jürgen.
Re: Help: a nice \newenvironment for Chapter
Daniele Medri schrieb: I'm searching a nice style \newenvironment{chapter} for a book. Could you help me? Where to browse? http://www.educat.hu-berlin.de/~voss/LaTeX/layouts/examples.phtml Herbert
Re: Working with LaTeX macros and copy editors
On Wed, 12 Nov 2003, Rich Shepard wrote: A major publisher (Springer-Verlag New York) notified me yesterday that they want to publish my book. They have a bunch of LaTeX macros they want me to use in the preparation of the camera-ready copy. (Their Web site has a link to a non-existent directory and file so I'm waiting for them to point me to the right place.) And, the copy editor will be working with me on copy I send him/her. Progress ... of a sort. I now have the LaTeX svmono.cls file. Reading the LyX Customization Guide I find that this leaves me swinging in the breeze compared with having a .sty with which to work. Sigh. I'm certainly willing to provide the final .layout file for inclusion by any and all who want to use it. But, I'd sure like some experienced assistance as I modify the 'book.layout' to the new 'svmono.layout'. Guess this will address one concern. Rich Dr. Richard B. Shepard, President Applied Ecosystem Services, Inc. (TM) 2404 SW 22nd Street | Troutdale, OR 97060-1247 | U.S.A. + 1 503-667-4517 (voice) | + 1 503-667-8863 (fax) | rshepard#64;appl-ecosys.com http://www.appl-ecosys.com/
Re: Simple (?) printer setup trouble ...
Paul A. Rubin wrote: [posted and mailed] Soren O'Neill [EMAIL PROTECTED] wrote in news:[EMAIL PROTECTED]: I get: dvi2ps: FATAL-- can't find DVI file 6499i.dvi Does this make any sense to you ?!? Well, the good news is that dvi2ps seems to be executing. There might be some kind of problem with the path to the dvi file. What happens if you try to export a file from LyX as Postscript? Do you get an error message? LyX should create a temporary directory, output a TeX file to that directory, run latex against it (so that the DVI file is in the temp directory), then run dvi2ps against that DVI file and write the PS file to the directory containing the original LyX document. The same should happen with the printer (other than not writing PS file to disk). Another thing to try is to print a document and then, without closing the LyX document, look in the temporary directory and see if a DVI file was written there (and whether its name matches the one in the error message). No exporting (from lyx) to postscript fails: Cannot convert file. Error while executing dvi2ps -t a4 I'm not sure, but I think that message is consistent with inability to find (or open) the DVI file. Start LyX, open a document, either print it or try to export it to PS, then (without closing LyX or the document) check the temp directory LyX is using for that document. Is the DVI file there? If so, what's its name? If not, is there a .tex file there? I find a directory in /tmp called lyc_tmpdir/lyx_tmpbuf0/ Before printing its empty. After trying to print it contains: protocol_0.2.aux protocol_0.2.blg protocol_0.2.log protocol_0.2.tex.dep protocol_0.2.bbl protocol_0.2.dvi protocol_0.2.tex (my document is called protocol_0.2) I can open up the DVI fine and it looks just fine... One other thing: does the log file indicate that latex.exe was able to process the source file ok? (If latex.exe didn't produce a DVI file, that would explain things.) Well it does seem to produce a DVI file alright, is it the path to my printer which is set wrong ? As mentioned in Lyx/Preferences/Printer, the Printer Command is set to dvi2ps I have tried to change it to lp, lp0, lpr and hp1300n (my printer name) - no success ... Soren -- Paul * Paul A. Rubin Phone:(517) 432-3509 Department of Management Fax: (517) 432- The Eli Broad Graduate School of ManagementE-mail: [EMAIL PROTECTED] Michigan State University http://www.msu.edu/~rubin/ East Lansing, MI 48824-1122 (USA) * Mathematicians are like Frenchmen: whenever you say something to them, they translate it into their own language, and at once it is something entirely different.J. W. v. GOETHE
Re: Simple (?) printer setup trouble ...
Paul A. Rubin wrote: [posted and mailed] Soren O'Neill [EMAIL PROTECTED] wrote in news:[EMAIL PROTECTED]: I get: dvi2ps: FATAL-- can't find DVI file 6499i.dvi Does this make any sense to you ?!? Well, the good news is that dvi2ps seems to be executing. There might be some kind of problem with the path to the dvi file. What happens if you try to export a file from LyX as Postscript? Do you get an error message? LyX should create a temporary directory, output a TeX file to that directory, run latex against it (so that the DVI file is in the temp directory), then run dvi2ps against that DVI file and write the PS file to the directory containing the original LyX document. The same should happen with the printer (other than not writing PS file to disk). Another thing to try is to print a document and then, without closing the LyX document, look in the temporary directory and see if a DVI file was written there (and whether its name matches the one in the error message). No exporting (from lyx) to postscript fails: Cannot convert file. Error while executing dvi2ps -t a4 I'm not sure, but I think that message is consistent with inability to find (or open) the DVI file. Start LyX, open a document, either print it or try to export it to PS, then (without closing LyX or the document) check the temp directory LyX is using for that document. Is the DVI file there? If so, what's its name? If not, is there a .tex file there? One other thing: does the log file indicate that latex.exe was able to process the source file ok? (If latex.exe didn't produce a DVI file, that would explain things.) Just tried to print the DVI from a DVI viewer, it complains that: The external program 'dvips', which was used to export the file, reported an error. You might wish to look at the document info dialog which you will find in the File-Menu for a precise error report ? Soren -- Paul * Paul A. Rubin Phone:(517) 432-3509 Department of Management Fax: (517) 432- The Eli Broad Graduate School of ManagementE-mail: [EMAIL PROTECTED] Michigan State University http://www.msu.edu/~rubin/ East Lansing, MI 48824-1122 (USA) * Mathematicians are like Frenchmen: whenever you say something to them, they translate it into their own language, and at once it is something entirely different.J. W. v. GOETHE
Re: Simple (?) printer setup trouble ...
Paul A. Rubin wrote: [posted and mailed] Soren O'Neill [EMAIL PROTECTED] wrote in news:[EMAIL PROTECTED]: I get: dvi2ps: FATAL-- can't find DVI file 6499i.dvi Does this make any sense to you ?!? Well, the good news is that dvi2ps seems to be executing. There might be some kind of problem with the path to the dvi file. What happens if you try to export a file from LyX as Postscript? Do you get an error message? LyX should create a temporary directory, output a TeX file to that directory, run latex against it (so that the DVI file is in the temp directory), then run dvi2ps against that DVI file and write the PS file to the directory containing the original LyX document. The same should happen with the printer (other than not writing PS file to disk). Another thing to try is to print a document and then, without closing the LyX document, look in the temporary directory and see if a DVI file was written there (and whether its name matches the one in the error message). No exporting (from lyx) to postscript fails: Cannot convert file. Error while executing dvi2ps -t a4 I'm not sure, but I think that message is consistent with inability to find (or open) the DVI file. Start LyX, open a document, either print it or try to export it to PS, then (without closing LyX or the document) check the temp directory LyX is using for that document. Is the DVI file there? If so, what's its name? If not, is there a .tex file there? One other thing: does the log file indicate that latex.exe was able to process the source file ok? (If latex.exe didn't produce a DVI file, that would explain things.) Just tried to print the DVI file from a DVI viewer and it complains that: -- Paul * Paul A. Rubin Phone:(517) 432-3509 Department of Management Fax: (517) 432- The Eli Broad Graduate School of ManagementE-mail: [EMAIL PROTECTED] Michigan State University http://www.msu.edu/~rubin/ East Lansing, MI 48824-1122 (USA) * Mathematicians are like Frenchmen: whenever you say something to them, they translate it into their own language, and at once it is something entirely different.J. W. v. GOETHE
LyX .layout from LaTeX .cls
Now that I've read the LyX Configuration Guide's section on building a .layout file from scratch using a .cls file I'm completely lost. I see none of the categories in the .cls file that the Guide suggests should be there. Of course, as a complete tyro with LaTeX I have trouble understanding what I'm looking at in that file. The .cls file is huge (60K) compared with the 1K or smaller .layout files, so there must be much more detail specified in the former than in the book class from which the book.layout was created. How should I proceed? Apparently I cannot just put '\usepackage{svmono}' in the preamble because it's a class and not a style. TIA, Rich Dr. Richard B. Shepard, President Applied Ecosystem Services, Inc. (TM) 2404 SW 22nd Street | Troutdale, OR 97060-1247 | U.S.A. + 1 503-667-4517 (voice) | + 1 503-667-8863 (fax) | rshepard#64;appl-ecosys.com http://www.appl-ecosys.com/
Re: LyX .layout from LaTeX .cls
Rich Shepard [EMAIL PROTECTED] writes: The .cls file is huge (60K) compared with the 1K or smaller .layout files, so there must be much more detail specified in the former than in the book class from which the book.layout was created. If this is a one-off project, you may find that preparing a layout file is more work than you can justify. At the risk of accusations of heresy . . .if you've already written the text and are comfortable with it, you might find it easier to export the LyX file(s) as LaTeX, and import them and the new .cls file into a good editor like emacs with auctex. It's a different style of working from LyX, but emacs or some other text editor might be well-suited to the fine formatting and tedious character-by-character massaging when you hear back from the book designer and copy-editor. -- Ronald Florence www.18james.com
Re: LyX .layout from LaTeX .cls
On Wed, 12 Nov 2003, Ronald Florence wrote: If this is a one-off project, you may find that preparing a layout file is more work than you can justify. Ronald, Probably all too true. On the other hand, while I've used LyX (lightly) the past few years I've not learned LaTeX. To work directly with it may (or may not) be an equivalent amount of work. At the risk of accusations of heresy . . .if you've already written the text and are comfortable with it, you might find it easier to export the LyX file(s) as LaTeX, and import them and the new .cls file into a good editor like emacs with auctex. It's a different style of working from LyX, but emacs or some other text editor might be well-suited to the fine formatting and tedious character-by-character massaging when you hear back from the book designer and copy-editor. That's a very good idea. I can do the majority of writing in LyX then switch to emacs and LaTeX. I cannot now determine which route is the shortest to the desired destination. Thanks very much, Rich Dr. Richard B. Shepard, President Applied Ecosystem Services, Inc. (TM) 2404 SW 22nd Street | Troutdale, OR 97060-1247 | U.S.A. + 1 503-667-4517 (voice) | + 1 503-667-8863 (fax) | rshepard#64;appl-ecosys.com http://www.appl-ecosys.com/
Re: hyperlink w/o URL
Use hyperref and then \href{http://the-url}{Click Here} I think there are examples at http://www.lyx.org/help Best regards, ---Kayvan On Wed, Nov 12, 2003 at 03:02:10PM -0500, Nirmal Govind wrote: Hi.. I'm trying to get some hyperlinks in a presentation using pdfscreen and LyX ... I'd like the URL to be embedded within the text so that the URL isn't shown, instead the text is shown (maybe in blue or something)... currently, if I add a URL using Insert-URL, give it a name and a URL, I see the name and the entire URL side-by-side in the pdf output. Please let me know if there's any way to get the URL to not show... Thanks, nirmal -- Kayvan A. Sylvan | Proud husband of | Father to my kids: Sylvan Associates, Inc. | Laura Isabella Sylvan | Katherine Yelena (8/8/89) http://sylvan.com/~kayvan | crown of her husband | Robin Gregory (2/28/92)
Re: LyX .layout from LaTeX .cls
Rich Shepard wrote: How should I proceed? Apparently I cannot just put '\usepackage{svmono}' in the preamble because it's a class and not a style. Judging from a quick glance at http://194.94.42.14/tex/latex/engigl/mono/refguide.pdf you should get a working layout if you just copy and rename the book layout for a start (as described in Customization). You`ll probably need some ERT if you want/need to use springer's additional environments like \begin{petit}... etc. If you feel like it, you can of course also add these environments to the layout file (but you're not forced to). I bet you'll be done in 30 minutes. Good luck, Jürgen.
Re: LyX .layout from LaTeX .cls
On Thu, 13 Nov 2003, Juergen Spitzmueller wrote: Judging from a quick glance at http://194.94.42.14/tex/latex/engigl/mono/refguide.pdf you should get a working layout if you just copy and rename the book layout for a start (as described in Customization). You`ll probably need some ERT if you want/need to use springer's additional environments like \begin{petit}... etc. If you feel like it, you can of course also add these environments to the layout file (but you're not forced to). Juergen, I copied book.layout to svmono.layout. All 840 bytes worth. :-) I suppose that I can just add the Springer .cls file to it, but ... there's a lot there I cannot place in the very few categories I see in the .layout file. I'll do some more reading but I'll probably be back asking for more help. I bet you'll be done in 30 minutes. I like optimists. :-) Thanks, Rich Dr. Richard B. Shepard, President Applied Ecosystem Services, Inc. (TM) 2404 SW 22nd Street | Troutdale, OR 97060-1247 | U.S.A. + 1 503-667-4517 (voice) | + 1 503-667-8863 (fax) | rshepard#64;appl-ecosys.com http://www.appl-ecosys.com/
Re: LyX .layout from LaTeX .cls
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Rich Shepard wrote: At the risk of accusations of heresy . . .if you've already written the text and are comfortable with it, you might find it easier to export the LyX file(s) as LaTeX, and import them and the new .cls file into a good editor like emacs with auctex. I really don't think that a) it is necessary, b) it is wise. a) Creation of new .layout file is so simple, that there is really no cost associated. Just pick the layout which is similar to your new one (usually either report, article, or book -- most documents fall into this category; well, except for letters which are different game altogether) and then copy for every new paragraph style one from std*.inc and change name of the style and name of the LaTeX environment. That's it. b) One of my most costly learned experiences is that there should be always just ONE source document and if there are any intermediate documents necessary, they should be ALWAYS (even five years down the road) reproductible from this original source document, just with some simple command (preferably recorded in Makefile). You not only avoid confusion and discrepancies between the versions, but some other things (like RCS) do not make sense otherwise. working from LyX, but emacs or some other text editor might be well-suited to the fine formatting and tedious character-by-character massaging when you hear back from the book designer and copy-editor. That's a very good idea. I really do not think so -- any tweaking you may need to do can be as easily done with ERT. Matej - -- Matej Cepl, GPG Finger: 89EF 4BC6 288A BF43 1BAB 25C3 E09F EF25 D964 84AC 138 Highland Ave. #10, Somerville, Ma 02143, (617) 623-1488 -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.3 (GNU/Linux) iD8DBQE/sw/F4J/vJdlkhKwRAm6LAJ9x9QccGMHJQCh6+thfLz0CR8jb4ACfTsgW g4Xx3OEjo509Mv09KlVuQ80= =MYQi -END PGP SIGNATURE-
Re: Working with LaTeX macros and copy editors
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Rich Shepard wrote: But, I'd sure like some experienced assistance as I modify the 'book.layout' to the new 'svmono.layout'. I am not sure, that I am the experienced assistance :-), but we can try: What different environments are introduced by svmono.cls, which are not present in book.cls? Matej - -- Matej Cepl, GPG Finger: 89EF 4BC6 288A BF43 1BAB 25C3 E09F EF25 D964 84AC 138 Highland Ave. #10, Somerville, Ma 02143, (617) 623-1488 -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.3 (GNU/Linux) iD8DBQE/sxDW4J/vJdlkhKwRAl9dAJ97SBenAjX2Qn9I/D7I2EmcmBCGEQCfQi+T my72fL+vLij8kaPyNaSPwuk= =Fxr7 -END PGP SIGNATURE-
Re: what is wrong in preferences or options?
El Mar 11 Nov 2003 12:30, Christian Ridderström escribió: On Tue, 11 Nov 2003, Osvaldo Fornaro wrote: I am preparing a presentation with prosper, which is basically an A4 landscape paper. When i tried to see the postscript with gv, it appears rigth but vertically. when i wish to see horizontally, the image appears clipped at a4 paper width. The printed page is OK. ( i just try with article class, an the behavior is similar) How i could to see the document without to rotate my head 90 degrees? Look at this page http://wiki.lyx.org/pmwiki.php/ExampleProsper/ExampleProsper and also search this mail archinve, I think this has been discussed before. It is true, but don't have an answer. The problem it is not prosper exclusive. I think it is relative to the generated postscript (but i am not an expert). If you generate a landscape page, it must appear landscape in gv, even without -swap option. However you can see well, but rotated, or cutted in landscape mode. If you passthrough the postcript generated by lyx (by latex) by psnup, only to rotate, it looks OK with gv and kghostview. So, i think it is a problem in the postcript file. Thank you. Osvaldo -- Dr. Osvaldo Fornaro [EMAIL PROTECTED] Universidad Nacional del Centro de la Provincia de Buenos Aires Instituto de Física de Materiales Tandil - CICPBA Pinto 399 (B7000GHG) Argentina
Re: LyX-1.3.3-qt on Fedora Core 1
John == John Levon [EMAIL PROTECTED] writes: John On Sat, Nov 08, 2003 at 01:21:55PM -0500, David Utidjian wrote: ftp://ftp.lyx.org/pub/lyx/bin/1.3.3/lyx-1.3.3-1_qt.src.rpm package and did a: rpmbuild --rebuild lyx-1.3.3-1_qt.src.rpm John Could you upload the rebuilt RPMs to ftp.lyx.org (dir incoming/) John ? Note however that the ftp.lyx.org ftp server has been rebuilt a week ago and that we do not have a functional incoming/ directory currently. There is one on ftp.devel.lyx.org, though. Or you can just give me a pointer to the file. JMarc
Re: what is wrong in preferences or options?
If you generate a landscape page, it must appear landscape in gv, even without -swap option. However you can see well, but rotated, or cutted in landscape mode. The « cutted » comes from a supplementary a4 instruction in the PS file, which in turn seems to come from a bad config of the TeX installation (I found out with teTeX, but I could not reproduce the solution with TeXLive, someting in the .pro files AFAIR). Here I filter the ps file to wipe out the line with a4 alone, someting like perl -p -i -e 's/^a4$//;' foo.ps No cutting lndscape to A4 anymore with gv or ghostview. Moreover, to avoid the swap problem when going to pdf, the filter perl -p -i -e 's/Landscape/Seascape/;' foo.ps before ps2pdf does it. Any clue to solve these problems at source level, i.e. in the TeX install parameters ? TexLive 7 on Solaris 8 AFPL Ghostscript 7.04 (2002-01-31) -- Jean-Pierre
Re: Simple (?) printer setup trouble ...
[posted and mailed] Soren O'Neill [EMAIL PROTECTED] wrote in news:[EMAIL PROTECTED]: I get: dvi2ps: FATAL-- can't find DVI file 6499i.dvi Does this make any sense to you ?!? Well, the good news is that dvi2ps seems to be executing. There might be some kind of problem with the path to the dvi file. What happens if you try to export a file from LyX as Postscript? Do you get an error message? LyX should create a temporary directory, output a TeX file to that directory, run latex against it (so that the DVI file is in the temp directory), then run dvi2ps against that DVI file and write the PS file to the directory containing the original LyX document. The same should happen with the printer (other than not writing PS file to disk). Another thing to try is to print a document and then, without closing the LyX document, look in the temporary directory and see if a DVI file was written there (and whether its name matches the one in the error message). No exporting (from lyx) to postscript fails: Cannot convert file. Error while executing dvi2ps -t a4 I'm not sure, but I think that message is consistent with inability to find (or open) the DVI file. Start LyX, open a document, either print it or try to export it to PS, then (without closing LyX or the document) check the temp directory LyX is using for that document. Is the DVI file there? If so, what's its name? If not, is there a .tex file there? One other thing: does the log file indicate that latex.exe was able to process the source file ok? (If latex.exe didn't produce a DVI file, that would explain things.) -- Paul * Paul A. Rubin Phone:(517) 432-3509 Department of Management Fax: (517) 432- The Eli Broad Graduate School of ManagementE-mail: [EMAIL PROTECTED] Michigan State University http://www.msu.edu/~rubin/ East Lansing, MI 48824-1122 (USA) * Mathematicians are like Frenchmen: whenever you say something to them, they translate it into their own language, and at once it is something entirely different.J. W. v. GOETHE
Working with LaTeX macros and copy editors
A major publisher (Springer-Verlag New York) notified me yesterday that they want to publish my book. They have a bunch of LaTeX macros they want me to use in the preparation of the camera-ready copy. (Their Web site has a link to a non-existent directory and file so I'm waiting for them to point me to the right place.) And, the copy editor will be working with me on copy I send him/her. A quick search of the archive shows a very recent pair of messages that reLyX is broken and will soon be put out of our misery. Is the replacement now ready for prime time? I assume that I'll be sending .tex files there and getting .tex files back again. So, this is concern number 1 for me. Another archive search produces 210 hits on using latex macros. Is there an overall HOWTO applicable to version 1.3.3? I don't yet know just what they'll have me use, but apparently they're all based on/use CTAN packages. As this is a new learning area for me pointers will be greatly appreciated. Thanks, Rich Dr. Richard B. Shepard, President Applied Ecosystem Services, Inc. (TM) 2404 SW 22nd Street | Troutdale, OR 97060-1247 | U.S.A. + 1 503-667-4517 (voice) | + 1 503-667-8863 (fax) | rshepard#64;appl-ecosys.com http://www.appl-ecosys.com/
hyperlink w/o URL
Hi.. I'm trying to get some hyperlinks in a presentation using pdfscreen and LyX ... I'd like the URL to be embedded within the text so that the URL isn't shown, instead the text is shown (maybe in blue or something)... currently, if I add a URL using Insert-URL, give it a name and a URL, I see the name and the entire URL side-by-side in the pdf output. Please let me know if there's any way to get the URL to not show... Thanks, nirmal
Re: Help: a nice \newenvironment for Chapter
Daniele Medri wrote: I'm searching a nice style \newenvironment{chapter} for a book. Could you help me? Where to browse? The memoir book class (supported by lyx 1.3.3) has some nice predefined chapter styles. See the memoir manual http://www.ctan.org/tex-archive/macros/latex/contrib/memoir/memman.pdf page 71 for details You can also easily define your own chapter style. This one is nice: http://groups.google.de/groups?q=%22a+new+chapter+style%22+memoir HTH, Jürgen.
Re: Help: a nice \newenvironment for Chapter
Daniele Medri schrieb: I'm searching a nice style \newenvironment{chapter} for a book. Could you help me? Where to browse? http://www.educat.hu-berlin.de/~voss/LaTeX/layouts/examples.phtml Herbert
Re: Working with LaTeX macros and copy editors
On Wed, 12 Nov 2003, Rich Shepard wrote: A major publisher (Springer-Verlag New York) notified me yesterday that they want to publish my book. They have a bunch of LaTeX macros they want me to use in the preparation of the camera-ready copy. (Their Web site has a link to a non-existent directory and file so I'm waiting for them to point me to the right place.) And, the copy editor will be working with me on copy I send him/her. Progress ... of a sort. I now have the LaTeX svmono.cls file. Reading the LyX Customization Guide I find that this leaves me swinging in the breeze compared with having a .sty with which to work. Sigh. I'm certainly willing to provide the final .layout file for inclusion by any and all who want to use it. But, I'd sure like some experienced assistance as I modify the 'book.layout' to the new 'svmono.layout'. Guess this will address one concern. Rich Dr. Richard B. Shepard, President Applied Ecosystem Services, Inc. (TM) 2404 SW 22nd Street | Troutdale, OR 97060-1247 | U.S.A. + 1 503-667-4517 (voice) | + 1 503-667-8863 (fax) | rshepard#64;appl-ecosys.com http://www.appl-ecosys.com/
Re: Simple (?) printer setup trouble ...
Paul A. Rubin wrote: [posted and mailed] Soren O'Neill [EMAIL PROTECTED] wrote in news:[EMAIL PROTECTED]: I get: dvi2ps: FATAL-- can't find DVI file 6499i.dvi Does this make any sense to you ?!? Well, the good news is that dvi2ps seems to be executing. There might be some kind of problem with the path to the dvi file. What happens if you try to export a file from LyX as Postscript? Do you get an error message? LyX should create a temporary directory, output a TeX file to that directory, run latex against it (so that the DVI file is in the temp directory), then run dvi2ps against that DVI file and write the PS file to the directory containing the original LyX document. The same should happen with the printer (other than not writing PS file to disk). Another thing to try is to print a document and then, without closing the LyX document, look in the temporary directory and see if a DVI file was written there (and whether its name matches the one in the error message). No exporting (from lyx) to postscript fails: Cannot convert file. Error while executing dvi2ps -t a4 I'm not sure, but I think that message is consistent with inability to find (or open) the DVI file. Start LyX, open a document, either print it or try to export it to PS, then (without closing LyX or the document) check the temp directory LyX is using for that document. Is the DVI file there? If so, what's its name? If not, is there a .tex file there? I find a directory in /tmp called lyc_tmpdir/lyx_tmpbuf0/ Before printing its empty. After trying to print it contains: protocol_0.2.aux protocol_0.2.blg protocol_0.2.log protocol_0.2.tex.dep protocol_0.2.bbl protocol_0.2.dvi protocol_0.2.tex (my document is called protocol_0.2) I can open up the DVI fine and it looks just fine... One other thing: does the log file indicate that latex.exe was able to process the source file ok? (If latex.exe didn't produce a DVI file, that would explain things.) Well it does seem to produce a DVI file alright, is it the path to my printer which is set wrong ? As mentioned in Lyx/Preferences/Printer, the Printer Command is set to dvi2ps I have tried to change it to lp, lp0, lpr and hp1300n (my printer name) - no success ... Soren -- Paul * Paul A. Rubin Phone:(517) 432-3509 Department of Management Fax: (517) 432- The Eli Broad Graduate School of ManagementE-mail: [EMAIL PROTECTED] Michigan State University http://www.msu.edu/~rubin/ East Lansing, MI 48824-1122 (USA) * Mathematicians are like Frenchmen: whenever you say something to them, they translate it into their own language, and at once it is something entirely different.J. W. v. GOETHE
Re: Simple (?) printer setup trouble ...
Paul A. Rubin wrote: [posted and mailed] Soren O'Neill [EMAIL PROTECTED] wrote in news:[EMAIL PROTECTED]: I get: dvi2ps: FATAL-- can't find DVI file 6499i.dvi Does this make any sense to you ?!? Well, the good news is that dvi2ps seems to be executing. There might be some kind of problem with the path to the dvi file. What happens if you try to export a file from LyX as Postscript? Do you get an error message? LyX should create a temporary directory, output a TeX file to that directory, run latex against it (so that the DVI file is in the temp directory), then run dvi2ps against that DVI file and write the PS file to the directory containing the original LyX document. The same should happen with the printer (other than not writing PS file to disk). Another thing to try is to print a document and then, without closing the LyX document, look in the temporary directory and see if a DVI file was written there (and whether its name matches the one in the error message). No exporting (from lyx) to postscript fails: Cannot convert file. Error while executing dvi2ps -t a4 I'm not sure, but I think that message is consistent with inability to find (or open) the DVI file. Start LyX, open a document, either print it or try to export it to PS, then (without closing LyX or the document) check the temp directory LyX is using for that document. Is the DVI file there? If so, what's its name? If not, is there a .tex file there? One other thing: does the log file indicate that latex.exe was able to process the source file ok? (If latex.exe didn't produce a DVI file, that would explain things.) Just tried to print the DVI from a DVI viewer, it complains that: The external program 'dvips', which was used to export the file, reported an error. You might wish to look at the document info dialog which you will find in the File-Menu for a precise error report ? Soren -- Paul * Paul A. Rubin Phone:(517) 432-3509 Department of Management Fax: (517) 432- The Eli Broad Graduate School of ManagementE-mail: [EMAIL PROTECTED] Michigan State University http://www.msu.edu/~rubin/ East Lansing, MI 48824-1122 (USA) * Mathematicians are like Frenchmen: whenever you say something to them, they translate it into their own language, and at once it is something entirely different.J. W. v. GOETHE
Re: Simple (?) printer setup trouble ...
Paul A. Rubin wrote: [posted and mailed] Soren O'Neill [EMAIL PROTECTED] wrote in news:[EMAIL PROTECTED]: I get: dvi2ps: FATAL-- can't find DVI file 6499i.dvi Does this make any sense to you ?!? Well, the good news is that dvi2ps seems to be executing. There might be some kind of problem with the path to the dvi file. What happens if you try to export a file from LyX as Postscript? Do you get an error message? LyX should create a temporary directory, output a TeX file to that directory, run latex against it (so that the DVI file is in the temp directory), then run dvi2ps against that DVI file and write the PS file to the directory containing the original LyX document. The same should happen with the printer (other than not writing PS file to disk). Another thing to try is to print a document and then, without closing the LyX document, look in the temporary directory and see if a DVI file was written there (and whether its name matches the one in the error message). No exporting (from lyx) to postscript fails: Cannot convert file. Error while executing dvi2ps -t a4 I'm not sure, but I think that message is consistent with inability to find (or open) the DVI file. Start LyX, open a document, either print it or try to export it to PS, then (without closing LyX or the document) check the temp directory LyX is using for that document. Is the DVI file there? If so, what's its name? If not, is there a .tex file there? One other thing: does the log file indicate that latex.exe was able to process the source file ok? (If latex.exe didn't produce a DVI file, that would explain things.) Just tried to print the DVI file from a DVI viewer and it complains that: -- Paul * Paul A. Rubin Phone:(517) 432-3509 Department of Management Fax: (517) 432- The Eli Broad Graduate School of ManagementE-mail: [EMAIL PROTECTED] Michigan State University http://www.msu.edu/~rubin/ East Lansing, MI 48824-1122 (USA) * Mathematicians are like Frenchmen: whenever you say something to them, they translate it into their own language, and at once it is something entirely different.J. W. v. GOETHE
LyX .layout from LaTeX .cls
Now that I've read the LyX Configuration Guide's section on building a .layout file from scratch using a .cls file I'm completely lost. I see none of the categories in the .cls file that the Guide suggests should be there. Of course, as a complete tyro with LaTeX I have trouble understanding what I'm looking at in that file. The .cls file is huge (60K) compared with the 1K or smaller .layout files, so there must be much more detail specified in the former than in the book class from which the book.layout was created. How should I proceed? Apparently I cannot just put '\usepackage{svmono}' in the preamble because it's a class and not a style. TIA, Rich Dr. Richard B. Shepard, President Applied Ecosystem Services, Inc. (TM) 2404 SW 22nd Street | Troutdale, OR 97060-1247 | U.S.A. + 1 503-667-4517 (voice) | + 1 503-667-8863 (fax) | rshepard#64;appl-ecosys.com http://www.appl-ecosys.com/
Re: LyX .layout from LaTeX .cls
Rich Shepard [EMAIL PROTECTED] writes: The .cls file is huge (60K) compared with the 1K or smaller .layout files, so there must be much more detail specified in the former than in the book class from which the book.layout was created. If this is a one-off project, you may find that preparing a layout file is more work than you can justify. At the risk of accusations of heresy . . .if you've already written the text and are comfortable with it, you might find it easier to export the LyX file(s) as LaTeX, and import them and the new .cls file into a good editor like emacs with auctex. It's a different style of working from LyX, but emacs or some other text editor might be well-suited to the fine formatting and tedious character-by-character massaging when you hear back from the book designer and copy-editor. -- Ronald Florence www.18james.com
Re: LyX .layout from LaTeX .cls
On Wed, 12 Nov 2003, Ronald Florence wrote: If this is a one-off project, you may find that preparing a layout file is more work than you can justify. Ronald, Probably all too true. On the other hand, while I've used LyX (lightly) the past few years I've not learned LaTeX. To work directly with it may (or may not) be an equivalent amount of work. At the risk of accusations of heresy . . .if you've already written the text and are comfortable with it, you might find it easier to export the LyX file(s) as LaTeX, and import them and the new .cls file into a good editor like emacs with auctex. It's a different style of working from LyX, but emacs or some other text editor might be well-suited to the fine formatting and tedious character-by-character massaging when you hear back from the book designer and copy-editor. That's a very good idea. I can do the majority of writing in LyX then switch to emacs and LaTeX. I cannot now determine which route is the shortest to the desired destination. Thanks very much, Rich Dr. Richard B. Shepard, President Applied Ecosystem Services, Inc. (TM) 2404 SW 22nd Street | Troutdale, OR 97060-1247 | U.S.A. + 1 503-667-4517 (voice) | + 1 503-667-8863 (fax) | rshepard#64;appl-ecosys.com http://www.appl-ecosys.com/
Re: hyperlink w/o URL
Use hyperref and then \href{http://the-url}{Click Here} I think there are examples at http://www.lyx.org/help Best regards, ---Kayvan On Wed, Nov 12, 2003 at 03:02:10PM -0500, Nirmal Govind wrote: Hi.. I'm trying to get some hyperlinks in a presentation using pdfscreen and LyX ... I'd like the URL to be embedded within the text so that the URL isn't shown, instead the text is shown (maybe in blue or something)... currently, if I add a URL using Insert-URL, give it a name and a URL, I see the name and the entire URL side-by-side in the pdf output. Please let me know if there's any way to get the URL to not show... Thanks, nirmal -- Kayvan A. Sylvan | Proud husband of | Father to my kids: Sylvan Associates, Inc. | Laura Isabella Sylvan | Katherine Yelena (8/8/89) http://sylvan.com/~kayvan | crown of her husband | Robin Gregory (2/28/92)
Re: LyX .layout from LaTeX .cls
Rich Shepard wrote: How should I proceed? Apparently I cannot just put '\usepackage{svmono}' in the preamble because it's a class and not a style. Judging from a quick glance at http://194.94.42.14/tex/latex/engigl/mono/refguide.pdf you should get a working layout if you just copy and rename the book layout for a start (as described in Customization). You`ll probably need some ERT if you want/need to use springer's additional environments like \begin{petit}... etc. If you feel like it, you can of course also add these environments to the layout file (but you're not forced to). I bet you'll be done in 30 minutes. Good luck, Jürgen.
Re: LyX .layout from LaTeX .cls
On Thu, 13 Nov 2003, Juergen Spitzmueller wrote: Judging from a quick glance at http://194.94.42.14/tex/latex/engigl/mono/refguide.pdf you should get a working layout if you just copy and rename the book layout for a start (as described in Customization). You`ll probably need some ERT if you want/need to use springer's additional environments like \begin{petit}... etc. If you feel like it, you can of course also add these environments to the layout file (but you're not forced to). Juergen, I copied book.layout to svmono.layout. All 840 bytes worth. :-) I suppose that I can just add the Springer .cls file to it, but ... there's a lot there I cannot place in the very few categories I see in the .layout file. I'll do some more reading but I'll probably be back asking for more help. I bet you'll be done in 30 minutes. I like optimists. :-) Thanks, Rich Dr. Richard B. Shepard, President Applied Ecosystem Services, Inc. (TM) 2404 SW 22nd Street | Troutdale, OR 97060-1247 | U.S.A. + 1 503-667-4517 (voice) | + 1 503-667-8863 (fax) | rshepard#64;appl-ecosys.com http://www.appl-ecosys.com/
Re: LyX .layout from LaTeX .cls
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Rich Shepard wrote: At the risk of accusations of heresy . . .if you've already written the text and are comfortable with it, you might find it easier to export the LyX file(s) as LaTeX, and import them and the new .cls file into a good editor like emacs with auctex. I really don't think that a) it is necessary, b) it is wise. a) Creation of new .layout file is so simple, that there is really no cost associated. Just pick the layout which is similar to your new one (usually either report, article, or book -- most documents fall into this category; well, except for letters which are different game altogether) and then copy for every new paragraph style one from std*.inc and change name of the style and name of the LaTeX environment. That's it. b) One of my most costly learned experiences is that there should be always just ONE source document and if there are any intermediate documents necessary, they should be ALWAYS (even five years down the road) reproductible from this original source document, just with some simple command (preferably recorded in Makefile). You not only avoid confusion and discrepancies between the versions, but some other things (like RCS) do not make sense otherwise. working from LyX, but emacs or some other text editor might be well-suited to the fine formatting and tedious character-by-character massaging when you hear back from the book designer and copy-editor. That's a very good idea. I really do not think so -- any tweaking you may need to do can be as easily done with ERT. Matej - -- Matej Cepl, GPG Finger: 89EF 4BC6 288A BF43 1BAB 25C3 E09F EF25 D964 84AC 138 Highland Ave. #10, Somerville, Ma 02143, (617) 623-1488 -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.3 (GNU/Linux) iD8DBQE/sw/F4J/vJdlkhKwRAm6LAJ9x9QccGMHJQCh6+thfLz0CR8jb4ACfTsgW g4Xx3OEjo509Mv09KlVuQ80= =MYQi -END PGP SIGNATURE-
Re: Working with LaTeX macros and copy editors
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Rich Shepard wrote: But, I'd sure like some experienced assistance as I modify the 'book.layout' to the new 'svmono.layout'. I am not sure, that I am the experienced assistance :-), but we can try: What different environments are introduced by svmono.cls, which are not present in book.cls? Matej - -- Matej Cepl, GPG Finger: 89EF 4BC6 288A BF43 1BAB 25C3 E09F EF25 D964 84AC 138 Highland Ave. #10, Somerville, Ma 02143, (617) 623-1488 -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.3 (GNU/Linux) iD8DBQE/sxDW4J/vJdlkhKwRAl9dAJ97SBenAjX2Qn9I/D7I2EmcmBCGEQCfQi+T my72fL+vLij8kaPyNaSPwuk= =Fxr7 -END PGP SIGNATURE-
Re: what is wrong in preferences or options?
El Mar 11 Nov 2003 12:30, Christian Ridderström escribió: > On Tue, 11 Nov 2003, Osvaldo Fornaro wrote: > > I am preparing a presentation with prosper, which is basically an A4 > > landscape paper. > > When i tried to see the postscript with gv, it appears rigth but > > vertically. when i wish to see horizontally, the image appears clipped at > > a4 paper width. The printed page is OK. ( i just try with article class, > > an the behavior is similar) > > > > How i could to see the document without to rotate my head 90 degrees? > > Look at this page > http://wiki.lyx.org/pmwiki.php/ExampleProsper/ExampleProsper > and also search this mail archinve, I think this has been discussed > before. > > It is true, but don't have an answer. The problem it is not prosper exclusive. I think it is relative to the generated postscript (but i am not an expert). If you generate a landscape page, it must appear landscape in gv, even without -swap option. However you can see well, but rotated, or cutted in landscape mode. If you passthrough the postcript generated by lyx (by latex) by psnup, only to rotate, it looks OK with gv and kghostview. So, i think it is a problem in the postcript file. Thank you. Osvaldo -- Dr. Osvaldo Fornaro <[EMAIL PROTECTED]> Universidad Nacional del Centro de la Provincia de Buenos Aires Instituto de Física de Materiales Tandil - CICPBA Pinto 399 (B7000GHG) Argentina
Re: LyX-1.3.3-qt on Fedora Core 1
> "John" == John Levon <[EMAIL PROTECTED]> writes: John> On Sat, Nov 08, 2003 at 01:21:55PM -0500, David Utidjian wrote: >> ftp://ftp.lyx.org/pub/lyx/bin/1.3.3/lyx-1.3.3-1_qt.src.rpm package >> and did a: >> >> rpmbuild --rebuild lyx-1.3.3-1_qt.src.rpm John> Could you upload the rebuilt RPMs to ftp.lyx.org (dir incoming/) John> ? Note however that the ftp.lyx.org ftp server has been rebuilt a week ago and that we do not have a functional incoming/ directory currently. There is one on ftp.devel.lyx.org, though. Or you can just give me a pointer to the file. JMarc
Re: what is wrong in preferences or options?
>>If you generate a landscape page, it must appear landscape in gv, even without >>-swap option. However you can see well, but rotated, or cutted in landscape >>mode. The « cutted » comes from a supplementary a4 instruction in the PS file, which in turn seems to come from a bad config of the TeX installation (I found out with teTeX, but I could not reproduce the solution with TeXLive, someting in the .pro files AFAIR). Here I filter the ps file to wipe out the line with a4 alone, someting like perl -p -i -e 's/^a4$//;' foo.ps No cutting lndscape to A4 anymore with gv or ghostview. Moreover, to avoid the swap problem when going to pdf, the filter perl -p -i -e 's/Landscape/Seascape/;' foo.ps before ps2pdf does it. Any clue to solve these problems at source level, i.e. in the TeX install parameters ? TexLive 7 on Solaris 8 AFPL Ghostscript 7.04 (2002-01-31) -- Jean-Pierre
Re: Simple (?) printer setup trouble ...
[posted and mailed] Soren O'Neill <[EMAIL PROTECTED]> wrote in news:[EMAIL PROTECTED]: >>> I get: >>> dvi2ps: FATAL-- can't find DVI file "6499i.dvi" >>> >> >>> Does this make any sense to you ?!? >> >> Well, the good news is that dvi2ps seems to be executing. There >> might be some kind of problem with the path to the dvi file. What >> happens if you try to export a file from LyX as Postscript? Do you >> get an error message? >> >> LyX should create a temporary directory, output a TeX file to that >> directory, run latex against it (so that the DVI file is in the temp >> directory), then run dvi2ps against that DVI file and write the PS >> file to the directory containing the original LyX document. The same >> should happen with the printer (other than not writing PS file to >> disk). Another thing to try is to print a document and then, without >> closing the LyX document, look in the temporary directory and see if >> a DVI file was written there (and whether its name matches the one in >> the error message). >> > No exporting (from lyx) to postscript fails: Cannot convert file. > Error while executing dvi2ps -t a4 > I'm not sure, but I think that message is consistent with inability to find (or open) the DVI file. Start LyX, open a document, either print it or try to export it to PS, then (without closing LyX or the document) check the temp directory LyX is using for that document. Is the DVI file there? If so, what's its name? If not, is there a .tex file there? One other thing: does the log file indicate that latex.exe was able to process the source file ok? (If latex.exe didn't produce a DVI file, that would explain things.) -- Paul * Paul A. Rubin Phone:(517) 432-3509 Department of Management Fax: (517) 432- The Eli Broad Graduate School of ManagementE-mail: [EMAIL PROTECTED] Michigan State University http://www.msu.edu/~rubin/ East Lansing, MI 48824-1122 (USA) * Mathematicians are like Frenchmen: whenever you say something to them, they translate it into their own language, and at once it is something entirely different.J. W. v. GOETHE
Working with LaTeX macros and copy editors
A major publisher (Springer-Verlag New York) notified me yesterday that they want to publish my book. They have a bunch of LaTeX macros they want me to use in the preparation of the camera-ready copy. (Their Web site has a link to a non-existent directory and file so I'm waiting for them to point me to the right place.) And, the copy editor will be working with me on copy I send him/her. A quick search of the archive shows a very recent pair of messages that reLyX is broken and will soon be put out of our misery. Is the replacement now ready for prime time? I assume that I'll be sending .tex files there and getting .tex files back again. So, this is concern number 1 for me. Another archive search produces 210 hits on using latex macros. Is there an overall HOWTO applicable to version 1.3.3? I don't yet know just what they'll have me use, but apparently they're all based on/use CTAN packages. As this is a new learning area for me pointers will be greatly appreciated. Thanks, Rich Dr. Richard B. Shepard, President Applied Ecosystem Services, Inc. (TM) 2404 SW 22nd Street | Troutdale, OR 97060-1247 | U.S.A. + 1 503-667-4517 (voice) | + 1 503-667-8863 (fax) | rshepardappl-ecosys.com http://www.appl-ecosys.com/
hyperlink w/o URL
Hi.. I'm trying to get some hyperlinks in a presentation using pdfscreen and LyX ... I'd like the URL to be embedded within the text so that the URL isn't shown, instead the text is shown (maybe in blue or something)... currently, if I add a URL using Insert->URL, give it a name and a URL, I see the name and the entire URL side-by-side in the pdf output. Please let me know if there's any way to get the URL to not show... Thanks, nirmal
Re: Help: a nice \newenvironment for Chapter
Daniele Medri wrote: > I'm searching a nice style \newenvironment{chapter} for a book. > Could you help me? Where to browse? The memoir book class (supported by lyx 1.3.3) has some nice predefined chapter styles. See the memoir manual http://www.ctan.org/tex-archive/macros/latex/contrib/memoir/memman.pdf page 71 for details You can also easily define your own chapter style. This one is nice: http://groups.google.de/groups?q=%22a+new+chapter+style%22+memoir HTH, Jürgen.
Re: Help: a nice \newenvironment for Chapter
Daniele Medri schrieb: I'm searching a nice style \newenvironment{chapter} for a book. Could you help me? Where to browse? http://www.educat.hu-berlin.de/~voss/LaTeX/layouts/examples.phtml Herbert
Re: Working with LaTeX macros and copy editors
On Wed, 12 Nov 2003, Rich Shepard wrote: > A major publisher (Springer-Verlag New York) notified me yesterday that > they want to publish my book. They have a bunch of LaTeX macros they want me > to use in the preparation of the camera-ready copy. (Their Web site has a > link to a non-existent directory and file so I'm waiting for them to point > me to the right place.) And, the copy editor will be working with me on copy > I send him/her. Progress ... of a sort. I now have the LaTeX svmono.cls file. Reading the LyX Customization Guide I find that this leaves me swinging in the breeze compared with having a .sty with which to work. Sigh. I'm certainly willing to provide the final .layout file for inclusion by any and all who want to use it. But, I'd sure like some experienced assistance as I modify the 'book.layout' to the new 'svmono.layout'. Guess this will address one concern. Rich Dr. Richard B. Shepard, President Applied Ecosystem Services, Inc. (TM) 2404 SW 22nd Street | Troutdale, OR 97060-1247 | U.S.A. + 1 503-667-4517 (voice) | + 1 503-667-8863 (fax) | rshepardappl-ecosys.com http://www.appl-ecosys.com/
Re: Simple (?) printer setup trouble ...
Paul A. Rubin wrote: > [posted and mailed] > > Soren O'Neill <[EMAIL PROTECTED]> wrote in news:[EMAIL PROTECTED]: > I get: dvi2ps: FATAL-- can't find DVI file "6499i.dvi" >>> Does this make any sense to you ?!? >>> >>> Well, the good news is that dvi2ps seems to be executing. There >>> might be some kind of problem with the path to the dvi file. What >>> happens if you try to export a file from LyX as Postscript? Do you >>> get an error message? >>> >>> LyX should create a temporary directory, output a TeX file to that >>> directory, run latex against it (so that the DVI file is in the temp >>> directory), then run dvi2ps against that DVI file and write the PS >>> file to the directory containing the original LyX document. The same >>> should happen with the printer (other than not writing PS file to >>> disk). Another thing to try is to print a document and then, without >>> closing the LyX document, look in the temporary directory and see if >>> a DVI file was written there (and whether its name matches the one in >>> the error message). >>> >> No exporting (from lyx) to postscript fails: Cannot convert file. >> Error while executing dvi2ps -t a4 >> > > I'm not sure, but I think that message is consistent with inability to > find (or open) the DVI file. > > Start LyX, open a document, either print it or try to export it to PS, > then (without closing LyX or the document) check the temp directory LyX > is using for that document. Is the DVI file there? If so, what's its > name? If not, is there a .tex file there? I find a directory in /tmp called lyc_tmpdir/lyx_tmpbuf0/ Before printing its empty. After trying to print it contains: protocol_0.2.aux protocol_0.2.blg protocol_0.2.log protocol_0.2.tex.dep protocol_0.2.bbl protocol_0.2.dvi protocol_0.2.tex (my document is called protocol_0.2) I can open up the DVI fine and it looks just fine... > > One other thing: does the log file indicate that latex.exe was able to > process the source file ok? (If latex.exe didn't produce a DVI file, > that would explain things.) Well it does seem to produce a DVI file alright, is it the path to my printer which is set wrong ? As mentioned in Lyx/Preferences/Printer, the Printer Command is set to dvi2ps I have tried to change it to lp, lp0, lpr and hp1300n (my printer name) - no success ... Soren > > -- Paul > > * > Paul A. Rubin Phone:(517) 432-3509 > Department of Management Fax: (517) 432- > The Eli Broad Graduate School of ManagementE-mail: [EMAIL PROTECTED] > Michigan State University http://www.msu.edu/~rubin/ > East Lansing, MI 48824-1122 (USA) > * > Mathematicians are like Frenchmen: whenever you say something to them, > they translate it into their own language, and at once it is something > entirely different.J. W. v. GOETHE
Re: Simple (?) printer setup trouble ...
Paul A. Rubin wrote: > [posted and mailed] > > Soren O'Neill <[EMAIL PROTECTED]> wrote in news:[EMAIL PROTECTED]: > I get: dvi2ps: FATAL-- can't find DVI file "6499i.dvi" >>> Does this make any sense to you ?!? >>> >>> Well, the good news is that dvi2ps seems to be executing. There >>> might be some kind of problem with the path to the dvi file. What >>> happens if you try to export a file from LyX as Postscript? Do you >>> get an error message? >>> >>> LyX should create a temporary directory, output a TeX file to that >>> directory, run latex against it (so that the DVI file is in the temp >>> directory), then run dvi2ps against that DVI file and write the PS >>> file to the directory containing the original LyX document. The same >>> should happen with the printer (other than not writing PS file to >>> disk). Another thing to try is to print a document and then, without >>> closing the LyX document, look in the temporary directory and see if >>> a DVI file was written there (and whether its name matches the one in >>> the error message). >>> >> No exporting (from lyx) to postscript fails: Cannot convert file. >> Error while executing dvi2ps -t a4 >> > > I'm not sure, but I think that message is consistent with inability to > find (or open) the DVI file. > > Start LyX, open a document, either print it or try to export it to PS, > then (without closing LyX or the document) check the temp directory LyX > is using for that document. Is the DVI file there? If so, what's its > name? If not, is there a .tex file there? > > One other thing: does the log file indicate that latex.exe was able to > process the source file ok? (If latex.exe didn't produce a DVI file, > that would explain things.) > Just tried to print the DVI from a DVI viewer, it complains that: The external program 'dvips', which was used to export the file, reported an error. You might wish to look at the document info dialog which you will find in the File-Menu for a precise error report ? Soren > -- Paul > > * > Paul A. Rubin Phone:(517) 432-3509 > Department of Management Fax: (517) 432- > The Eli Broad Graduate School of ManagementE-mail: [EMAIL PROTECTED] > Michigan State University http://www.msu.edu/~rubin/ > East Lansing, MI 48824-1122 (USA) > * > Mathematicians are like Frenchmen: whenever you say something to them, > they translate it into their own language, and at once it is something > entirely different.J. W. v. GOETHE
Re: Simple (?) printer setup trouble ...
Paul A. Rubin wrote: > [posted and mailed] > > Soren O'Neill <[EMAIL PROTECTED]> wrote in news:[EMAIL PROTECTED]: > I get: dvi2ps: FATAL-- can't find DVI file "6499i.dvi" >>> Does this make any sense to you ?!? >>> >>> Well, the good news is that dvi2ps seems to be executing. There >>> might be some kind of problem with the path to the dvi file. What >>> happens if you try to export a file from LyX as Postscript? Do you >>> get an error message? >>> >>> LyX should create a temporary directory, output a TeX file to that >>> directory, run latex against it (so that the DVI file is in the temp >>> directory), then run dvi2ps against that DVI file and write the PS >>> file to the directory containing the original LyX document. The same >>> should happen with the printer (other than not writing PS file to >>> disk). Another thing to try is to print a document and then, without >>> closing the LyX document, look in the temporary directory and see if >>> a DVI file was written there (and whether its name matches the one in >>> the error message). >>> >> No exporting (from lyx) to postscript fails: Cannot convert file. >> Error while executing dvi2ps -t a4 >> > > I'm not sure, but I think that message is consistent with inability to > find (or open) the DVI file. > > Start LyX, open a document, either print it or try to export it to PS, > then (without closing LyX or the document) check the temp directory LyX > is using for that document. Is the DVI file there? If so, what's its > name? If not, is there a .tex file there? > > One other thing: does the log file indicate that latex.exe was able to > process the source file ok? (If latex.exe didn't produce a DVI file, > that would explain things.) Just tried to print the DVI file from a DVI viewer and it complains that: > > -- Paul > > * > Paul A. Rubin Phone:(517) 432-3509 > Department of Management Fax: (517) 432- > The Eli Broad Graduate School of ManagementE-mail: [EMAIL PROTECTED] > Michigan State University http://www.msu.edu/~rubin/ > East Lansing, MI 48824-1122 (USA) > * > Mathematicians are like Frenchmen: whenever you say something to them, > they translate it into their own language, and at once it is something > entirely different.J. W. v. GOETHE
LyX .layout from LaTeX .cls
Now that I've read the LyX Configuration Guide's section on building a .layout file from scratch using a .cls file I'm completely lost. I see none of the categories in the .cls file that the Guide suggests should be there. Of course, as a complete tyro with LaTeX I have trouble understanding what I'm looking at in that file. The .cls file is huge (60K) compared with the 1K or smaller .layout files, so there must be much more detail specified in the former than in the book class from which the book.layout was created. How should I proceed? Apparently I cannot just put '\usepackage{svmono}' in the preamble because it's a class and not a style. TIA, Rich Dr. Richard B. Shepard, President Applied Ecosystem Services, Inc. (TM) 2404 SW 22nd Street | Troutdale, OR 97060-1247 | U.S.A. + 1 503-667-4517 (voice) | + 1 503-667-8863 (fax) | rshepardappl-ecosys.com http://www.appl-ecosys.com/
Re: LyX .layout from LaTeX .cls
Rich Shepard <[EMAIL PROTECTED]> writes: > The .cls file is huge (60K) compared with the 1K or smaller .layout files, > so there must be much more detail specified in the former than in the book > class from which the book.layout was created. If this is a one-off project, you may find that preparing a layout file is more work than you can justify. At the risk of accusations of heresy . . .if you've already written the text and are comfortable with it, you might find it easier to export the LyX file(s) as LaTeX, and import them and the new .cls file into a good editor like emacs with auctex. It's a different style of working from LyX, but emacs or some other text editor might be well-suited to the fine formatting and tedious character-by-character massaging when you hear back from the book designer and copy-editor. -- Ronald Florence www.18james.com
Re: LyX .layout from LaTeX .cls
On Wed, 12 Nov 2003, Ronald Florence wrote: > If this is a one-off project, you may find that preparing a layout file is > more work than you can justify. Ronald, Probably all too true. On the other hand, while I've used LyX (lightly) the past few years I've not learned LaTeX. To work directly with it may (or may not) be an equivalent amount of work. > At the risk of accusations of heresy . . .if you've already written the > text and are comfortable with it, you might find it easier to export the > LyX file(s) as LaTeX, and import them and the new .cls file into a good > editor like emacs with auctex. It's a different style of working from > LyX, but emacs or some other text editor might be well-suited to the fine > formatting and tedious character-by-character massaging when you hear back > from the book designer and copy-editor. That's a very good idea. I can do the majority of writing in LyX then switch to emacs and LaTeX. I cannot now determine which route is the shortest to the desired destination. Thanks very much, Rich Dr. Richard B. Shepard, President Applied Ecosystem Services, Inc. (TM) 2404 SW 22nd Street | Troutdale, OR 97060-1247 | U.S.A. + 1 503-667-4517 (voice) | + 1 503-667-8863 (fax) | rshepardappl-ecosys.com http://www.appl-ecosys.com/
Re: hyperlink w/o URL
Use hyperref and then \href{http://the-url}{Click Here} I think there are examples at http://www.lyx.org/help Best regards, ---Kayvan On Wed, Nov 12, 2003 at 03:02:10PM -0500, Nirmal Govind wrote: > Hi.. I'm trying to get some hyperlinks in a presentation using pdfscreen > and LyX ... I'd like the URL to be embedded within the text so that the > URL isn't shown, instead the text is shown (maybe in blue or > something)... currently, if I add a URL using Insert->URL, give it a > name and a URL, I see the name and the entire URL side-by-side in the > pdf output. Please let me know if there's any way to get the URL to not > show... > > Thanks, > nirmal -- Kayvan A. Sylvan | Proud husband of | Father to my kids: Sylvan Associates, Inc. | Laura Isabella Sylvan | Katherine Yelena (8/8/89) http://sylvan.com/~kayvan | "crown of her husband" | Robin Gregory (2/28/92)
Re: LyX .layout from LaTeX .cls
Rich Shepard wrote: > How should I proceed? Apparently I cannot just put '\usepackage{svmono}' > in the preamble because it's a class and not a style. Judging from a quick glance at http://194.94.42.14/tex/latex/engigl/mono/refguide.pdf you should get a working layout if you just copy and rename the book layout for a start (as described in Customization). You`ll probably need some ERT if you want/need to use springer's additional environments like \begin{petit}... etc. If you feel like it, you can of course also add these environments to the layout file (but you're not forced to). I bet you'll be done in 30 minutes. Good luck, Jürgen.
Re: LyX .layout from LaTeX .cls
On Thu, 13 Nov 2003, Juergen Spitzmueller wrote: > Judging from a quick glance at > http://194.94.42.14/tex/latex/engigl/mono/refguide.pdf > you should get a working layout if you just copy and rename the book layout > for a start (as described in Customization). You`ll probably need some ERT > if you want/need to use springer's additional environments like > \begin{petit}... etc. If you feel like it, you can of course also add these > environments to the layout file (but you're not forced to). Juergen, I copied book.layout to svmono.layout. All 840 bytes worth. :-) I suppose that I can just add the Springer .cls file to it, but ... there's a lot there I cannot place in the very few categories I see in the .layout file. I'll do some more reading but I'll probably be back asking for more help. > I bet you'll be done in 30 minutes. I like optimists. :-) Thanks, Rich Dr. Richard B. Shepard, President Applied Ecosystem Services, Inc. (TM) 2404 SW 22nd Street | Troutdale, OR 97060-1247 | U.S.A. + 1 503-667-4517 (voice) | + 1 503-667-8863 (fax) | rshepardappl-ecosys.com http://www.appl-ecosys.com/
Re: LyX .layout from LaTeX .cls
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Rich Shepard wrote: >> At the risk of accusations of heresy . . .if you've already >> written the text and are comfortable with it, you might find >> it easier to export the LyX file(s) as LaTeX, and import them >> and the new .cls file into a good >> editor like emacs with auctex. I really don't think that a) it is necessary, b) it is wise. a) Creation of new .layout file is so simple, that there is really no cost associated. Just pick the layout which is similar to your new one (usually either report, article, or book -- most documents fall into this category; well, except for letters which are different game altogether) and then copy for every new paragraph style one from std*.inc and change name of the style and name of the LaTeX environment. That's it. b) One of my most costly learned experiences is that there should be always just ONE source document and if there are any intermediate documents necessary, they should be ALWAYS (even five years down the road) reproductible from this original source document, just with some simple command (preferably recorded in Makefile). You not only avoid confusion and discrepancies between the versions, but some other things (like RCS) do not make sense otherwise. >> working from LyX, but emacs or some other text editor might be >> well-suited to the fine formatting and tedious >> character-by-character massaging when you hear back from the >> book designer and copy-editor. > > That's a very good idea. I really do not think so -- any tweaking you may need to do can be as easily done with ERT. Matej - -- Matej Cepl, GPG Finger: 89EF 4BC6 288A BF43 1BAB 25C3 E09F EF25 D964 84AC 138 Highland Ave. #10, Somerville, Ma 02143, (617) 623-1488 -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.3 (GNU/Linux) iD8DBQE/sw/F4J/vJdlkhKwRAm6LAJ9x9QccGMHJQCh6+thfLz0CR8jb4ACfTsgW g4Xx3OEjo509Mv09KlVuQ80= =MYQi -END PGP SIGNATURE-
Re: Working with LaTeX macros and copy editors
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Rich Shepard wrote: > But, I'd sure like some > experienced assistance as I modify the 'book.layout' to the new > 'svmono.layout'. I am not sure, that I am the experienced assistance :-), but we can try: What different environments are introduced by svmono.cls, which are not present in book.cls? Matej - -- Matej Cepl, GPG Finger: 89EF 4BC6 288A BF43 1BAB 25C3 E09F EF25 D964 84AC 138 Highland Ave. #10, Somerville, Ma 02143, (617) 623-1488 -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.3 (GNU/Linux) iD8DBQE/sxDW4J/vJdlkhKwRAl9dAJ97SBenAjX2Qn9I/D7I2EmcmBCGEQCfQi+T my72fL+vLij8kaPyNaSPwuk= =Fxr7 -END PGP SIGNATURE-