\newtheorem and \newtheoremstyle
Hi, In my thesis I have to define a couple of terms and I thought about using the amsthm package which offers the \newtheorem and \newtheoremstyle commands to generate environments for theorem-like structures. So I added to my layout file a new style $Definition to my layout file: Counter Name defn End Style $Definition Margin First_Dynamic LatexType Environment LatexName defn LabelSepxx NextNoIndent 1 ParIndent MMM ParSkip 0.8 ItemSep 0.2 TopSep 0.5 BottomSep 0.5 ParSep 0.3 Align Block AlignPossible block, left, center, right LabelType Counter LabelCounterdefn LabelString Definition @[EMAIL PROTECTED]: LeftMargin MM RightMargin MM LabelFont FamilySans Shape Up SeriesBold Size Small EndFont Preamble \usepackage{amsthm} \newtheoremstyle{mydefinition}{\topsep}{\topsep}{}{}{\sffamily\bfseries}{:}{1em}{} \theoremstyle{mydefinition} \newtheorem{defn}{Definition}[chapter] EndPreamble End All this works fine so far. However, so far I have not been able to solve two issues, a LyX-related (1.4.5) and a more LaTeX-related: 1) How can I pass the optional title parameter from LyX to the defn environment? The Insert-Short Title command I usually use for this purpose is always disabled (greyed) when I am editing a definition. Is there a specific flag I can give in the layout definition to enable it? 2) How can I indent the whole thing? The \newtheoremstyle command offers a parameter for first line indentation, but I would like to indent the whole thing by, lets say, 2em. Any idea how to achieve that with theorems? Thanks a lot! Daniel
German-speaking developers and users only
Hallo, in den anhängen des Benutzerhandbuches habe ich einige stellen mit ??? markiert, weil ich nicht wußte, was sie bedeuten. Vielleicht kann mir ja der eine oder andere helfen, die ??? durch text zu ersetzen. Außerdem wäre es nicht schlecht, wenn der eine oder andere sich die deutsche doku zu gemüte führen würde, um leichen oder ungereimtheiten auszumerzen. -- Viele Grüße, Hartmut Bitte folgende Adresse benutzen / Please use the following address: [EMAIL PROTECTED] Hungerhilfe: http://www.thehungersite.com Kampagne gegen den Ausverkauf der Deutschen Bahn: http://www.bahn-fuer-alle.de Das heutige Motto: Give them an inch and they'll want a yard. Give them a yard and they'll want a pool installed.
Re: export-- pdf - FIXED
Richard Heck wrote: snip Have you ever attempted to customize the menus of your LyX? Old settings from a previous LyX might confuse the new version. I had exactly this problem. Editing ~/.lyx/preferences and removing the PDF customization lines solved it. Thank you Richard and Helge, I removed the the entries in the # FORMATS SECTION ## in the ./lyx/preference file a Richard has suggested and it works. Again thank for your fast help and have a nice day, - helmut Richard -- Helmut Hauser Institute for Theoretical Computer Sciences Technische Universitaet Graz Inffeldgasse 16b, I A-8010 Graz, Austria --- [EMAIL PROTECTED] Tel: + 43 316 873-5821 Fax: + 43 316 873-5805 http://www.igi.TUGraz.at/helmut/
Re: \newtheorem and \newtheoremstyle
Hi, I got further ahead. I could solve 2) by using the ntheorem package instead of amsthm. 1) is partly solved: Adding a OptionalArgs 1 line to my style definition enabled the Insert-Short Title command in LyX. However, the optional argument is not written out to LaTeX. Is there any way to pass an optional argument (in square brackets) from LyX to the \begin{xxx} of the internally used LaTeX environment? Thanks Daniel Daniel Lohmann schrieb: Hi, In my thesis I have to define a couple of terms and I thought about using the amsthm package which offers the \newtheorem and \newtheoremstyle commands to generate environments for theorem-like structures. So I added to my layout file a new style $Definition to my layout file: Counter Name defn End Style $Definition Margin First_Dynamic LatexType Environment LatexName defn LabelSepxx NextNoIndent 1 ParIndent MMM ParSkip 0.8 ItemSep 0.2 TopSep 0.5 BottomSep 0.5 ParSep 0.3 Align Block AlignPossible block, left, center, right LabelType Counter LabelCounterdefn LabelString Definition @[EMAIL PROTECTED]: LeftMargin MM RightMargin MM LabelFont FamilySans Shape Up SeriesBold Size Small EndFont Preamble \usepackage{amsthm} \newtheoremstyle{mydefinition}{\topsep}{\topsep}{}{}{\sffamily\bfseries}{:}{1em}{} \theoremstyle{mydefinition} \newtheorem{defn}{Definition}[chapter] EndPreamble End All this works fine so far. However, so far I have not been able to solve two issues, a LyX-related (1.4.5) and a more LaTeX-related: 1) How can I pass the optional title parameter from LyX to the defn environment? The Insert-Short Title command I usually use for this purpose is always disabled (greyed) when I am editing a definition. Is there a specific flag I can give in the layout definition to enable it? 2) How can I indent the whole thing? The \newtheoremstyle command offers a parameter for first line indentation, but I would like to indent the whole thing by, lets say, 2em. Any idea how to achieve that with theorems? Thanks a lot! Daniel
Re: qt4 dir?
On Thu, 30 Aug 2007, Martin A. Hansen wrote: I don't want all the qt crap in my home dir. The resulting ~/lib will just contain another lib - but still I don't get the path correct. You say just. Maybe that is part of the problem. Have a look at your config.log output. Maybe it is missing your ~/lib/bin/moc or other QT tool(s)? Jeremy C. Reed
Documentation
Hi, to complete the UserGuide I need explanations/informations about the following items: Tools-Preferences-Colors- added space markers command inset command inset backgroun command inset frame inset background inset frame collapsable inset text collapsable inset frame graphics background button background frame of button button background under focus LaTeX error caption frame Math math corners math background math line math frame Math macro background top/bottom line Shadow box bottom area previewed snippet Tools-Preferences-Paths- Backup directory LyXServer pipe PATH prefix Tools-Preferences-Language settings-Language- Language package Command start Command end Use babel Global Auto begin Auto end Tools-Preferences-Output-Printer- Adapt output to printer Tools-Preferences-Converter Converter File Cache Tools-Preferences-File formats- Document format Vector graphics format Format GUI name Shortcut Extension Editor Tools-Preferences-File formats-Copiers- Format Document-Preferences-Fonts- Base Size Scale (%) Use true Small Caps Use Old Style Figures -- Viele Grüße, Hartmut Haase Bitte folgende Adresse benutzen / Please use the following address: [EMAIL PROTECTED] Hungerhilfe: http://www.thehungersite.com Kampagne gegen den Ausverkauf der Deutschen Bahn: http://www.bahn-fuer-alle.de Das heutige Motto: Willst du etwas wissen, so frage einen Erfahrenen und keinen Gelehrten.
How to change Citation Style
Hello everybody, since I updated from Lyx 1.4.5 to 1.5.1 my citations look different. I used to get numbered citations ( e.g [1] ...) and now I see something like Author et. al (2007) [1]. I used to be able to set the reference style where I included the .bib file (e.g. apsrev), and now it seems I can choose the reference style in each citation. Unfortunately I cannot choose the style I would like to use. So I checked Documents-Preferences-Bibliography and saw that Natbib is selected and what is really unexpected, I cannot change to Default (numerical). Each time I select Default, close the window by pressing OK, Natbib is selected the next time I check this settings. Any suggestions if selecting Defualt (numerical) would solve the problem and how I could convince LyX to accept my selection? Best regards and thanks in advance, Kurt P.
Re: qt4 dir?
As far as I can tell the compilation and installation of QT4 should be ok. moc and uic is located at ~/lib/bin Martin On 8/30/07, Jeremy C. Reed [EMAIL PROTECTED] wrote: On Thu, 30 Aug 2007, Martin A. Hansen wrote: I don't want all the qt crap in my home dir. The resulting ~/lib will just contain another lib - but still I don't get the path correct. You say just. Maybe that is part of the problem. Have a look at your config.log output. Maybe it is missing your ~/lib/bin/moc or other QT tool(s)? Jeremy C. Reed
Re: date-insert again
date-insert command still exists in LyX 1.5.1 and is listed in http://wiki.lyx.org/LyX/LyxFunctions it doesn't work for me. Is it my problem (I have a ~amd64 Gentoo install) or is more general ? let me know... works on ~x86 gentoo. is Insert-Date working for you ? pavel
Re: Exporting
The closest I seem to come to that is a file entitled : estimates.4od with 2 bytes where estimates.lyx is the orginal file at 13k in LyX and TeX forms. OOo refuses to open it. what version of tex4ht do you have ? i vaguely remember such problems on linux with old versions of converter, but i'm not sure whether it was importing or exporting to odf. pavel
Re: Documentation
Hartmut Haase schrieb: to complete the UserGuide I need explanations/informations about the following items: ... Some of them are described in the new English Userguide that is in SVN trunk. (Appendix B) regards Uwe
lyxpipe, jabref and windows with LyX 1.5.1
Hi everyone! I've installed Lyx 1.5.1 and JabRef 2.3b (win XP SP1). When I try to insert a citation from JabRef to LyX document, through the direct icon LyX in JabRef, an error message appears about LyxPipe. Is the following message (2007-01-01, LyX 1.4.3-5 and JabRef 2.2b) still valid for the LyX 1.5.1??? You cannot use this feature on windows, since the pipe is implemented using UNIX specific functions that are not available on windows. (http://www.mail-archive.com/lyx-users@lists.lyx.org/msg52716.html) It doesn't work either using the c-k function (the final dvi document has a \cite{BLABLAXXX}). So, if I want to use my biblio.bib with LyX and JabRef (and I want to!) I have first to 'insert' the bibliography in the LyX repertories, and then using the LyX tool Insert Citation... ?? Thanks for your help, Regards, Sara
Re: lyxpipe, jabref and windows with LyX 1.5.1
S. Teinturier wrote: Hi everyone! I've installed Lyx 1.5.1 and JabRef 2.3b (win XP SP1). When I try to insert a citation from JabRef to LyX document, through the direct icon LyX in JabRef, an error message appears about LyxPipe. Is the following message (2007-01-01, LyX 1.4.3-5 and JabRef 2.2b) still valid for the LyX 1.5.1??? Yes, unfortunately. Abdel.
Re: \newtheorem and \newtheoremstyle
Daniel Lohmann wrote: Hi, I got further ahead. I could solve 2) by using the ntheorem package instead of amsthm. 1) is partly solved: Adding a OptionalArgs 1 line to my style definition enabled the Insert-Short Title command in LyX. However, the optional argument is not written out to LaTeX. Yes, that's buggy. Is there any way to pass an optional argument (in square brackets) from LyX to the \begin{xxx} of the internally used LaTeX environment? Use ERT at the very beginning, and put the optarg in square brackets. I think that works. If not, then no idea. ;-) rh Thanks Daniel Daniel Lohmann schrieb: Hi, In my thesis I have to define a couple of terms and I thought about using the amsthm package which offers the \newtheorem and \newtheoremstyle commands to generate environments for theorem-like structures. So I added to my layout file a new style $Definition to my layout file: Counter Name defn End Style $Definition Margin First_Dynamic LatexType Environment LatexName defn LabelSepxx NextNoIndent 1 ParIndent MMM ParSkip 0.8 ItemSep 0.2 TopSep 0.5 BottomSep 0.5 ParSep 0.3 Align Block AlignPossible block, left, center, right LabelType Counter LabelCounterdefn LabelString Definition @[EMAIL PROTECTED]: LeftMargin MM RightMargin MM LabelFont FamilySans Shape Up SeriesBold Size Small EndFont Preamble \usepackage{amsthm} \newtheoremstyle{mydefinition}{\topsep}{\topsep}{}{}{\sffamily\bfseries}{:}{1em}{} \theoremstyle{mydefinition} \newtheorem{defn}{Definition}[chapter] EndPreamble End All this works fine so far. However, so far I have not been able to solve two issues, a LyX-related (1.4.5) and a more LaTeX-related: 1) How can I pass the optional title parameter from LyX to the defn environment? The Insert-Short Title command I usually use for this purpose is always disabled (greyed) when I am editing a definition. Is there a specific flag I can give in the layout definition to enable it? 2) How can I indent the whole thing? The \newtheoremstyle command offers a parameter for first line indentation, but I would like to indent the whole thing by, lets say, 2em. Any idea how to achieve that with theorems? Thanks a lot! Daniel -- == Richard G Heck, Jr Professor of Philosophy Brown University http://frege.brown.edu/heck/ == Get my public key from http://sks.keyserver.penguin.de Hash: 0x1DE91F1E66FFBDEC Learn how to sign your email using Thunderbird and GnuPG at: http://dudu.dyn.2-h.org/nist/gpg-enigmail-howto
Re: Lyx on XP crashes when trying to create a new file
Thanks for your continued interest, I can no longer check though since it's working now. I installed the previous version (1.4) and then upgraded to the new version again using the default installer and now everything is working perfectly. Another difference is that I left out a few of the dictionaries and only installed english dutch (previously I'd also installed spanish, french, italian german). Thanks for your help! On 8/30/07, Uwe Stöhr [EMAIL PROTECTED] wrote: I get the exact same error though (as well as the 'textclass not found' one) Hm, what happens when you open a console and then start LyX with the command lyx -dbg 3 Uwe
Re: Exporting
I have no idea of what version of tex4th is on the machine. Any suggestions on how to check this? I am assuming that the tex4ht was installed when I installed MiKTex 2.5 which I think was about 6 months ago. This is the first LaTeX LyX installation on the machine that I am aware of (corporate machine that I inherited and everybody seems to use Word here). If I downloaded and installed it myself I don't remember doing so Thanks --- Pavel Sanda [EMAIL PROTECTED] wrote: The closest I seem to come to that is a file entitled : estimates.4od with 2 bytes where estimates.lyx is the orginal file at 13k in LyX and TeX forms. OOo refuses to open it. what version of tex4ht do you have ? i vaguely remember such problems on linux with old versions of converter, but i'm not sure whether it was importing or exporting to odf. pavel Be smarter than spam. See how smart SpamGuard is at giving junk email the boot with the All-new Yahoo! Mail at http://mrd.mail.yahoo.com/try_beta?.intl=ca
Re: Self-publishing with LyX
On Wed, 29 Aug 2007, Typhoon wrote: But, any feedback appreciated. I read your book (PDF version) just now. Thanks for writing it. Here is my feedback: Ch.4 suggests jpeg -- maybe suggest use png instead since it is lossless Page 28 need a period and space before Here. Also tell how to make shadowbox there (I have never done it before. I may have missed in your book Insert - Box and then right click to modify it) 9.2 rewrite slightly to keep interspace discussion together -- don't separate interspace with There is another common ... paragraph 9.4 maybe explain ex unit better -- example? (Isn't it the size of X character?) 11.2.3 For Lulu, I have used pdflatex to create my PDFs fine. I have even used pdftk as the Creator. Lulu printed them fine without complaint. Thanks for teaching me: \raggedbottom Jeremy C. Reed p.s. I recently read Shepard's book. Your book is a good supplement to it. p.p.s. At one time I wanted to publish the official LyX book and I got it formatted for book but it had a lot of improvements needed. If I recall, Uwe was doing a lot of good work on it then. I need to see his new improvements.
Re: date-insert again
--- Pavel Sanda [EMAIL PROTECTED] wrote: date-insert command still exists in LyX 1.5.1 and is listed in http://wiki.lyx.org/LyX/LyxFunctions it doesn't work for me. Is it my problem (I have a ~amd64 Gentoo install) or is more general ? let me know... works on ~x86 gentoo. is Insert-Date working for you ? pavel It works okay on Windows XP except I'm getting the American dating format. Get news delivered with the All new Yahoo! Mail. Enjoy RSS feeds right on your Mail page. Start today at http://mrd.mail.yahoo.com/try_beta?.intl=ca
Re: Documentation
Hartmut Haase wrote: Hi, to complete the UserGuide I need explanations/informations about the following items: Tools-Preferences-Colors- command inset command inset backgroun command inset frame These three all have to do with insets like URL, that don't have any text area associated with them. So put in a URL and change these and you'll see what they do. inset background inset frame Similar, but for general insets. collapsable inset text collapsable inset frame Similar, but for collapsable insets like Footnote. graphics background button background frame of button button background under focus LaTeX error caption frame Math math corners The little corners you see in math mode, surrounding an inset. math background The background for math insets. math line math frame Math macro background Similar but for macros. top/bottom line Shadow box bottom area previewed snippet Tools-Preferences-Paths- Backup directory Where backups of saved files are stored, if LyX is set to do that. LyXServer pipe The pipe used for inter-process communication, e.g., with JabRef. Probably should link to that part of the manual. PATH prefix Tools-Preferences-Language settings-Language- Language package Command start Command end Use babel Global Auto begin Auto end Tools-Preferences-Output-Printer- Adapt output to printer Ack! We had a long talk about this a while ago. See this thread: http://www.mail-archive.com/[EMAIL PROTECTED]/msg119520.html. Tools-Preferences-Converter Converter File Cache Whether to cache (save) the results of conversions. This would mean e.g. that a graphic wouldn't have to be converted every time you open the document: It could just be read from the cache. Tools-Preferences-File formats- I think all of this is in 3.5 of the (English) Customization manual. I'd leave it there and link to it. If it's not all there, can you update it based on what I'm about to write? Document format Whether this kind of file can contain a document (as opposed to a graphic, or music file, or whatever). Vector graphics format Whether this kind of file format can contain vector graphics (as opposed to raster graphics, etc). Format Whether the file format can be a vector graphics format (as opposed to a raster graphics format) GUI name The name that appears on FileExport, View, etc. Shortcut The shortcut associated with this format on those same menus. Extension The file extension for this kind of file (pdf, ps, etc). Editor The program you want to use to edit this kind of file (used when you can do that from within LyX). Same goes for Viewer of course. Tools-Preferences-File formats-Copiers- Format Reference 3.5.2 of the Customization guide. Document-Preferences-Fonts- You mean Settings. Base Size The font size used for the document, in points. Scale (%) Say you're using 11pt with Palatino for the serif font, and you want to use Helvetica for sans serif. This may look too big at 11pt, so you can scale it down to 95%, so it looks right. Use true Small Caps This means to use an actual small caps font for small caps, as opposed to fake small caps, which you get by scaling the lower case letters down, more or less. Use Old Style Figures Old style figures are numerals, like 3, that descend below the baseline. See http://www.fonts.com/AboutFonts/Articles/fyti/OldstyleFigs.htm. Richard -- == Richard G Heck, Jr Professor of Philosophy Brown University http://frege.brown.edu/heck/ == Get my public key from http://sks.keyserver.penguin.de Hash: 0x1DE91F1E66FFBDEC Learn how to sign your email using Thunderbird and GnuPG at: http://dudu.dyn.2-h.org/nist/gpg-enigmail-howto
Re: Self-publishing with LyX
On Thursday 30 August 2007 10:14, Jeremy C. Reed wrote: [clip] Page 28 need a period and space before Here. Jeremy -- how do you see and remember things like that. Do you proofread professionally? If so, how much do you charge? [clip] p.s. I recently read Shepard's book. Your book is a good supplement to it. What is Shepard's book? Thanks SteveT Steve Litt Author: Universal Troubleshooting Process books and courseware http://www.troubleshooters.com/
Re: Indented paragraph in description list.
On Wednesday 29 August 2007, Paul A. Rubin wrote: For a more aesthetically pleasing solution, I think you would need either to redefine the itemize environment or create your own (and then add you new environment to the layout file). Specification of a value for \listparindent has to be done in an argument to the begin command for the list environment, which is why LaTeX turned its nose up at your attempts. (But at least it did so solemnly.) Thanks for the input, guys. Paul, if I go and try to do what you're suggesting above, I'd have to edit the stdlists.inc file, right? If I look at Style Description, I notice several options that have the same name as the list parameters like \topsep, \labelsep, etc, though capitalized (TopSep, LabelSep, etc). Am I wrong to think that all I have to do is to include the line: ListParIndent some length Or is this just absurd? -- Rudi Gaelzer Department of Physics Institute of Physics and Mathematics Federal University of Pelotas BRAZIL Registered linux user # 153741
Re: Self-publishing with LyX
Mostly this is commentary on the default LaTeX settings, but more feedback: - pg. xvi should be truly blank (no need for a folio) --- ditto for xviii c. - Synch .pdf page numbers w/ those used in the text --- either re- set the page numbering so that roman numerals are used for the pdf page numbering, or since it's only going to be electronically set from an entire file, renumber using Arabic numerals from the beginning --- this latter would mean that Chapter 1 would start on pg. 21 - pg. 1 --- ``If you sent it to a professional publisher, and if it were accepted for publication, it would be edited by a professional editor, made into a book by a professional designer and set into type by a professional typesetter.'' I'd say ``...designed by a professional book designer...'' instead --- in general, they don't make books, only a layout sample and a set of specifications. - pg. 2 --- the quote block has an overfull first line --- set it w/ no indent? - pg. 3 --- _four_ hyphens in a row! Set the quoted material smaller or don't indent it so much - pg. 4 --- I know some professionals who do enjoy indexing - pg. 6 7 --- list separated from preceding text --- run chapter (or preceding spread) short or make other adjustment to get at least two lines from pg. 6 onto pg. 7 - pg. 15 --- two word stack on lines 7 and 8 - pgs. 18 19 --- don't allow a colon to fall at the bottom of a page, separated from the material it precedes - pg. 24 --- Figure captions are indistinguishable from text --- set them off somehow - pg. 25 --- I strongly disagree w/ the recommendation to resample screen graphics --- see previous discussion on this list - pg. 28 --- use typographer's, not shilling fraction - pg. 28 --- don't break between page number and identifier ``page~ \pageref{whatever} - pg. 29 --- please don't overbox tables --- see the booktabs documentation for a discussion of this and a good toolkit for setting nice tables. - pg. 30 --- please have at least 6 or 7 lines on the last page --- run the chapter short by a line, or the previous spread long to fix this - pg. 41 --- (and elsewhere) don't allow a figure to float on a page like that --- tighten up the preceding text or slightly adjust the figures to make them fit where they fall. Throughout: - use pdftex and the microtype package and hanging punctuation? - clean up the edges of your screen grabs --- the first one has a black line to the left, others don't - spreads don't cross-align --- why not? - don't allow the last line of a paragraph to be only one word, esp. a word shorter than the paragraph indent (e.g., ``it'' on pg. 19) --- don't hyphenate the penultimate line of a paragraph (pg. 21) Using memoir would fix some of the above, but a lot of it would have to be done by hand. William -- William Adams senior graphic designer Fry Communications
Re: qt4 dir?
On Thu, Aug 30, 2007 at 08:32:13PM +1000, Martin A. Hansen wrote: As far as I can tell the compilation and installation of QT4 should be ok. moc and uic is located at ~/lib/bin And .h files are there, too? Andre'
Re: Exporting
Thank you Paul. I have tried your suggestion and it looks like there may be a font problem although I'm not good enough at reading the terminal output to be sure. I have posted the output at http://ca.geocities.com/jrkrideau/LyX/lyx.ooo.pdf . I am not getting any error messages but two warnings instead. I have tried changing the fonts with no success. What did you change the font setting to? As before, tex file is working just fine --- Paul Johnson [EMAIL PROTECTED] wrote: I just tried export to OpenDocument format with the new LyX and have some advice that may help. Run LyX from a terminal window. That way, you can watch the error messages. emitted by the programs that do the translation. For me, the first export to ODT frailed--tex4ht crashed because it could not find a font. WHen I went to LyX document-settings and changed the default font, then the export to ODT did work. If you just run lyx from a menu, you don't see the error messages. If you run it from a terminal, you see stuff like this: --- error --- Can't find/open file `ecbx1000.tfm' t4ht.c (2006-09-13-14:28 kpathsea) t4ht -f/descriptions.tex -coo (/usr/share/texmf/tex4ht/base/unix/tex4ht.env) Entering descriptions.lg Error: Cannot view file File does not exist: /tmp/lyx_tmpdir9646cneuJa/lyx_tmpbuf0/descriptions.odt Apparently I lack whatever package has the ecbx fonts, so it dies. But If I change the font to TimesRoman, then it does work. But you don't see these errors unless you run LyX from a Terminal. -- Paul E. Johnson Professor, Political Science 1541 Lilac Lane, Room 504 University of Kansas Get news delivered with the All new Yahoo! Mail. Enjoy RSS feeds right on your Mail page. Start today at http://mrd.mail.yahoo.com/try_beta?.intl=ca
Re: [SPAM] Re: Read only as default.
Tim Michelsen [EMAIL PROTECTED] writes: Is there any chnace that the developers reconsider to offer a toggle read-only /write for the Edit menu? I do not think so. Open as read-only would be more useful. JMarc
Re: the ftp server (ftp.lyx.org) is down
Michael Ramati [EMAIL PROTECTED] writes: see ftp://ftp.lyx.org/ Seems to be back now. JMarc
Re: Self-publishing with LyX
On Thu, 30 Aug 2007, Steve Litt wrote: On Thursday 30 August 2007 10:14, Jeremy C. Reed wrote: [clip] Page 28 need a period and space before Here. Jeremy -- how do you see and remember things like that. Do you proofread professionally? If so, how much do you charge? I see it from practice :) I went to journalism school and we practiced in classes. (And I tried to report every error in our school newspaper.) And I've helped edit probably a couple thousand pages of books and documentation. Sometimes I do it professionally. I don't know what to charge though as I have charged in the past based on my open source Unix consulting rate. I have also paid for book editing. But I don't know what it broke down to hourly. [clip] p.s. I recently read Shepard's book. Your book is a good supplement to it. What is Shepard's book? This new LyX book has it in referenced. It is Aiming at Amazon. Jeremy C. Reed
Re: How to change Citation Style
KTl wrote: Hello everybody, since I updated from Lyx 1.4.5 to 1.5.1 my citations look different. I used to get numbered citations ( e.g [1] ...) and now I see something like Author et. al (2007) [1]. I used to be able to set the reference style where I included the .bib file (e.g. apsrev), and now it seems I can choose the reference style in each citation. Unfortunately I cannot choose the style I would like to use. So I checked Documents-Preferences-Bibliography and saw that Natbib is selected and what is really unexpected, I cannot change to Default (numerical). Each time I select Default, close the window by pressing OK, Natbib is selected the next time I check this settings. Any suggestions if selecting Defualt (numerical) would solve the problem and how I could convince LyX to accept my selection? Yes, that probably would fix the problem. You could also set Natbib and choose Numerical in the drop-down box. But the problem is you can't select Default. Can you run LyX this from a terminal window and see what error messages you're getting? I'm guessing there's some ill-formed parameter being passed out of the dialog before the Bibliography Engine parameter is read, and that is causing LyX to choke. If you can't run from a window or don't know how, you can send me the file privately, and I'll check it out. Richard -- == Richard G Heck, Jr Professor of Philosophy Brown University http://frege.brown.edu/heck/ == Get my public key from http://sks.keyserver.penguin.de Hash: 0x1DE91F1E66FFBDEC Learn how to sign your email using Thunderbird and GnuPG at: http://dudu.dyn.2-h.org/nist/gpg-enigmail-howto
texhash
Hi, I just installed LyX onto a Mac and got the following error: Cannot run texhash command to update Tex installation. Run Manually. How would I go about doing that? Have I done something wrong during the installation? Thanks, Karen
Re: texhash
Karen Chang wrote: Hi, I just installed LyX onto a Mac and got the following error: Cannot run texhash command to update Tex installation. Run Manually. How would I go about doing that? Have I done something wrong during the installation? Open a terminal window (maybe it has some special Mac name, I don't know) and type texhash, return. But if LyX couldn't run it, I'm doubtful you can, either. Do you have LaTeX installed? If not, you need to install that first before LyX will give you any output. Richard -- == Richard G Heck, Jr Professor of Philosophy Brown University http://frege.brown.edu/heck/ == Get my public key from http://sks.keyserver.penguin.de Hash: 0x1DE91F1E66FFBDEC Learn how to sign your email using Thunderbird and GnuPG at: http://dudu.dyn.2-h.org/nist/gpg-enigmail-howto
Re: A source for document class layouts?
Paul, Yes, it repeats that same error message and reversion to article with your file (and three other things I subsequently tried). Can you explain the proper line for the layout file that would implement the nrc1.sty as a package, as you suggested? One thing that comes to mind, but may be totally irrelevant, is the location of the User directory. I am an administrator on the machine but have a directory of my own: C:\Documents and Settings\dhewitt\Application Data\lyx15 The Administrator one is of course: C:\Documents and Settings\Administrator\Application Data\lyx15 All LyX tells me about the user directory is ~\Application Data\lyx15 Perhaps I am loading in the wrong spot? I am guessing not since it's finding the new class definition. Dave Dave Hewitt wrote: I copied article.layout from the LyX\Resources\layouts directory and renamed it nrc1.layout, then I pasted it into my user layout directory. Following along with Customization - Ch. 5, I altered the second line in the file this way: # \DeclareLaTeXClass[nrc1,nrc1.sty]{article (nrc1)} (the nrc package comes with nrc1.cls, nrc1.sty, nrc2.cls, nrc2.sty, plus a bunch of other files including a PDF user's guide, which probably means something to people that know LaTeX) The PDF manual is actually quite well written, but oddly enough it gives no clue what nrc1.sty and nrc2.sty would be used for. Maybe you can use article.cls and load nrc1.sty as a package?? Anyway, you'll want to use nrc1.cls (one column) or nrc2.cls (two column). So the optional arguments (inside the brackets) above are almost surely wrong. I also tried simply: # \DeclareLaTeXClass{article (nrc1)} This is the way to go (and works for me). I also tried adding various combinations of package names into the brackets of example 1 (as I sort of deduced the User's Guide was telling me to do), but unsurprisingly they didn't work either. I added some Preamble code to the file on one attempt as per the UG, but that didn't help (and I really had no clue what I was doing anyway). Probably a good idea to delete that, then. In no attempt did I alter anything else down in the file. Either way, YES, the document class shows up in the LyX drop-down, but when I choose it, LyX generates an error window with a red 'X' on it and a warning that says The document could not be converted into the document class nrc1 -- I click OK and it reverts to article in the drop-down. This is what happened with two other classes I tried as well. This happens when you create a new document (ctrl-N or File - New) and then switch it to NRC1 using Document - Settings... - Document Class? Odd that it doesn't happen for me. I'm attaching the layout file I kludged (from article.layout), although it should exactly match your most parsimonious attempt. I don't know that it exposes all the bells and whistles of the NRC class (such as journal name), but it doesn't blow up in my face. There's one bit of funkiness I came across. It shouldn't cause LyX to revert to article, but it will cause a minor headache trying to get output. By default, LyX adds \usepackage[T1]{fontenc} to every document. According to the NRC manual, this is a bozo no-no. So you need to go to Tools - Preferences... - Outputs - LaTeX and change TeX encoding from T1 to default. At this point, you have two choices. If all you're ever going to use is the NRC classes, click Save. That gets rid of the encoding line in every LyX document. If you plan to use other classes, though, you're probably going to want to click Apply but not Save. That applies it only to the current session. Unfortunately, that also means you have to remember to do this every time you futz with an NRC document. (Maybe Richard or somebody knows a way to make this document-specific, or to slip it into the layout file. I don't.) One last thing. There are some options for each of the NRC packages, such as 'leqno' for NRC1 (which I assume moves equations numbers from the right margin to the left). If you want to specify any of those for a document, just go to Document - Settings... - Document Class and stuff the options, separated by commas, into the aptly named Options field. No need to mess with the layout file. Let us know if the attached layout file blows up on you. /Paul #% Do not delete the line below; configure depends on this # \DeclareLaTeXClass{article (NRC)} # Article textclass definition file. Taken from initial LyX source code # Author : Matthias Ettrich [EMAIL PROTECTED] # Transposed by Pascal André [EMAIL PROTECTED] # Heavily modifed and enhanced by serveral developers. Format 4 Input stdclass.inc SecNumDepth 3 TocDepth 3 NoStyle Chapter NoStyle Chapter* Style Part Align Left AlignPossible Left TopSep 2 BottomSep 1.5 Font Size Larger EndFont End Style Part* Align Left AlignPossible Left TopSep 2 BottomSep 1.5 Font Size Larger EndFont End - Dave Hewitt
Re: texhash
On Aug 30, 2007, at 2:51 PM, Richard Heck wrote: Karen Chang wrote: Hi, I just installed LyX onto a Mac and got the following error: Cannot run texhash command to update Tex installation. Run Manually. How would I go about doing that? Have I done something wrong during the installation? Open a terminal window (maybe it has some special Mac name, I don't know) and type texhash, return. But if LyX couldn't run it, I'm doubtful you can, either. Do you have LaTeX installed? If not, you need to install that first before LyX will give you any output. On Mac, it's Terminal.app (in /Applications/Utilities/). If you simply run texhash, you'll get some warnings about certain directories not being writable (because you don't have permission). They can safely be ignored or, if you like, you can run sudo texhash from an administrative account and give your administrative password. I agree with Richard: if the LyX installer couldn't run texhash, there's likely something wrong with the TeX installation. (Did you install MacTeX, e.g.? -- http://www.tug.org/mactex/.) Bennett
Re: texhash
Hi Richard / Bennett, I installed MacTex and when I type sudo texhash in the terminal with the admin acct I get: texhash: Updating /usr/local/texlive/2007/../texmf-local/ls-R... texhash: Updating /usr/local/texlive/2007/texmf/ls-R... texhash: Updating /usr/local/texlive/2007/texmf-config/ls-R... texhash: Updating /usr/local/texlive/2007/texmf-dist/ls-R... texhash: Updating /usr/local/texlive/2007/texmf-var/ls-R... texhash: Done. However, when I try to open a .lyx document in LyX, I get the following error: This layout file requested by this document, article.layout, is not usable. This is probably because a LaTeX class or style file required by it is not available. See the Customizaiton documentation for more information. LyX will not be able to produce output. Thanks, Karen On 8/30/07, Bennett Helm [EMAIL PROTECTED] wrote: On Aug 30, 2007, at 2:51 PM, Richard Heck wrote: Karen Chang wrote: Hi, I just installed LyX onto a Mac and got the following error: Cannot run texhash command to update Tex installation. Run Manually. How would I go about doing that? Have I done something wrong during the installation? Open a terminal window (maybe it has some special Mac name, I don't know) and type texhash, return. But if LyX couldn't run it, I'm doubtful you can, either. Do you have LaTeX installed? If not, you need to install that first before LyX will give you any output. On Mac, it's Terminal.app (in /Applications/Utilities/). If you simply run texhash, you'll get some warnings about certain directories not being writable (because you don't have permission). They can safely be ignored or, if you like, you can run sudo texhash from an administrative account and give your administrative password. I agree with Richard: if the LyX installer couldn't run texhash, there's likely something wrong with the TeX installation. (Did you install MacTeX, e.g.? -- http://www.tug.org/mactex/.) Bennett
Re: texhash
On 8/30/07, Karen Chang [EMAIL PROTECTED] wrote: Hi Richard / Bennett, I installed MacTex and when I type sudo texhash in the terminal with the admin acct I get: texhash: Updating /usr/local/texlive/2007/../texmf-local/ls-R... texhash: Updating /usr/local/texlive/2007/texmf/ls-R... texhash: Updating /usr/local/texlive/2007/texmf-config/ls-R... texhash: Updating /usr/local/texlive/2007/texmf-dist/ls-R... texhash: Updating /usr/local/texlive/2007/texmf-var/ls-R... texhash: Done. However, when I try to open a .lyx document in LyX, I get the following error: This layout file requested by this document, article.layout, is not usable. This is probably because a LaTeX class or style file required by it is not available. See the Customizaiton documentation for more information. LyX will not be able to produce output. Thanks, Karen Did you install MacTeX after LyX? If so, you would need to open LyX and reconfigure so that LyX recognizes your newly installed TeX distribution. On Mac I don't remember if it's Tools-Reconfigure or LyX-Reconfigure. Cheers, Bob
Re: texhash
That worked, thanks guys! On 8/30/07, Bob Lounsbury [EMAIL PROTECTED] wrote: On 8/30/07, Karen Chang [EMAIL PROTECTED] wrote: Hi Richard / Bennett, I installed MacTex and when I type sudo texhash in the terminal with the admin acct I get: texhash: Updating /usr/local/texlive/2007/../texmf-local/ls-R... texhash: Updating /usr/local/texlive/2007/texmf/ls-R... texhash: Updating /usr/local/texlive/2007/texmf-config/ls-R... texhash: Updating /usr/local/texlive/2007/texmf-dist/ls-R... texhash: Updating /usr/local/texlive/2007/texmf-var/ls-R... texhash: Done. However, when I try to open a .lyx document in LyX, I get the following error: This layout file requested by this document, article.layout, is not usable. This is probably because a LaTeX class or style file required by it is not available. See the Customizaiton documentation for more information. LyX will not be able to produce output. Thanks, Karen Did you install MacTeX after LyX? If so, you would need to open LyX and reconfigure so that LyX recognizes your newly installed TeX distribution. On Mac I don't remember if it's Tools-Reconfigure or LyX-Reconfigure. Cheers, Bob
Re: texhash
Karen Chang wrote: Hi Richard / Bennett, I installed MacTex and when I type sudo texhash in the terminal with the admin acct I get: texhash: Updating /usr/local/texlive/2007/../texmf-local/ls-R... texhash: Updating /usr/local/texlive/2007/texmf/ls-R... texhash: Updating /usr/local/texlive/2007/texmf-config/ls-R... texhash: Updating /usr/local/texlive/2007/texmf-dist/ls-R... texhash: Updating /usr/local/texlive/2007/texmf-var/ls-R... texhash: Done. However, when I try to open a .lyx document in LyX, I get the following error: This layout file requested by this document, article.layout, is not usable. This is probably because a LaTeX class or style file required by it is not available. See the Customizaiton documentation for more information. LyX will not be able to produce output. Thanks, Karen Did you reconfigure (Tools - Reconfigure) and then restart LyX after running texhash? /Paul
Re: A source for document class layouts?
Dave Hewitt wrote: Paul, Yes, it repeats that same error message and reversion to article with your file (and three other things I subsequently tried). Sorry, but can you say again EXACTLY what error message you are getting? That will at least let me know which error is happening here. If you're having problems even with the simple file Paul sent, then there must be a problem elsewhere in your installation. Can you explain the proper line for the layout file that would implement the nrc1.sty as a package, as you suggested? Let's try this later. One thing that comes to mind, but may be totally irrelevant, is the location of the User directory. I am an administrator on the machine but have a directory of my own: C:\Documents and Settings\dhewitt\Application Data\lyx15 The Administrator one is of course: C:\Documents and Settings\Administrator\Application Data\lyx15 All LyX tells me about the user directory is ~\Application Data\lyx15 Perhaps I am loading in the wrong spot? I am guessing not since it's finding the new class definition. Right: It's finding it, so it's there. That said, you might want to modify the one Paul sent just a touch on the first line---make something a capital, whatever---just so you're sure you're seeing that one. Richard -- == Richard G Heck, Jr Professor of Philosophy Brown University http://frege.brown.edu/heck/ == Get my public key from http://sks.keyserver.penguin.de Hash: 0x1DE91F1E66FFBDEC Learn how to sign your email using Thunderbird and GnuPG at: http://dudu.dyn.2-h.org/nist/gpg-enigmail-howto
Self-publishing with LyX - thanks for the feedback
Dear everyone, Thanks very much to all who have given me comments on the book, both on-list and off. Very much appreciated, and I will make suggested amendments as time goes on. To clarify availability: Printed and download versions available from Lulu: http://www.lulu.com/content/1085870 Download version available from: http://web.aanet.com.au/sage/lyx.pdf Both are now the same, compiled with \usepackage{lmodern}. I apologise to community members who took exception to Lulu's requirements of registration, etc. I never noticed it since I have an account there anyway. And special thanks to the developers of LyX. You guys are terrific! Cheers, Alan
Re: A source for document class layouts?
Dave Hewitt wrote: Yes, it repeats that same error message and reversion to article with your file (and three other things I subsequently tried). Can you explain the proper line for the layout file that would implement the nrc1.sty as a package, as you suggested? As Richard suggested, let's debug this approach first. One thing that comes to mind, but may be totally irrelevant, is the location of the User directory. I am an administrator on the machine but have a directory of my own: C:\Documents and Settings\dhewitt\Application Data\lyx15 The Administrator one is of course: C:\Documents and Settings\Administrator\Application Data\lyx15 All LyX tells me about the user directory is ~\Application Data\lyx15 The tilde is Latin for logged in user. Assuming you're logged in as dhewitt (and not using the local administrator account), the first directory you listed is your home. In any case, if LyX does not see a layout file for nrc1, you won't find it on the drop down list of classes. If it sees a layout file, when you reconfigure it will test whether LaTeX has the class installed. If that test fails, you'll see the NRC class listed on the drop down list, but it will be prefixed with Unavailable. So if it's there and not marked unavailable, then (theoretically) LyX can find the layout file, LaTeX can find the class file, and LyX knows that LaTeX can find the class file. This is a bit of a long shot, but maybe you should try the following: 1. Open LyX and use File - New to start a new document. 2. Save the (empty) document someplace. 3. Go to Document - Settings... - Document Class and confirm that the document is initially article class. (This is the norm, but I think it's possible that you could have changed the default document class to something funky.) 4. Select the NRC class and click Ok. 4. Assuming that LyX snaps at you and switches to article, save that as well, then post the before and after saved documents here. I'd like to try converting them to NRC here just to see what happens. Dave Hewitt Fisheries Science/Crustacean Ecology Aha, this may the culprit. Perhaps LyX just can't resist crabbing at you. /Paul
\newtheorem and \newtheoremstyle
Hi, In my thesis I have to define a couple of terms and I thought about using the amsthm package which offers the \newtheorem and \newtheoremstyle commands to generate environments for theorem-like structures. So I added to my layout file a new style $Definition to my layout file: Counter Name defn End Style $Definition Margin First_Dynamic LatexType Environment LatexName defn LabelSepxx NextNoIndent 1 ParIndent MMM ParSkip 0.8 ItemSep 0.2 TopSep 0.5 BottomSep 0.5 ParSep 0.3 Align Block AlignPossible block, left, center, right LabelType Counter LabelCounterdefn LabelString Definition @[EMAIL PROTECTED]: LeftMargin MM RightMargin MM LabelFont FamilySans Shape Up SeriesBold Size Small EndFont Preamble \usepackage{amsthm} \newtheoremstyle{mydefinition}{\topsep}{\topsep}{}{}{\sffamily\bfseries}{:}{1em}{} \theoremstyle{mydefinition} \newtheorem{defn}{Definition}[chapter] EndPreamble End All this works fine so far. However, so far I have not been able to solve two issues, a LyX-related (1.4.5) and a more LaTeX-related: 1) How can I pass the optional title parameter from LyX to the defn environment? The Insert-Short Title command I usually use for this purpose is always disabled (greyed) when I am editing a definition. Is there a specific flag I can give in the layout definition to enable it? 2) How can I indent the whole thing? The \newtheoremstyle command offers a parameter for first line indentation, but I would like to indent the whole thing by, lets say, 2em. Any idea how to achieve that with theorems? Thanks a lot! Daniel
German-speaking developers and users only
Hallo, in den anhängen des Benutzerhandbuches habe ich einige stellen mit ??? markiert, weil ich nicht wußte, was sie bedeuten. Vielleicht kann mir ja der eine oder andere helfen, die ??? durch text zu ersetzen. Außerdem wäre es nicht schlecht, wenn der eine oder andere sich die deutsche doku zu gemüte führen würde, um leichen oder ungereimtheiten auszumerzen. -- Viele Grüße, Hartmut Bitte folgende Adresse benutzen / Please use the following address: [EMAIL PROTECTED] Hungerhilfe: http://www.thehungersite.com Kampagne gegen den Ausverkauf der Deutschen Bahn: http://www.bahn-fuer-alle.de Das heutige Motto: Give them an inch and they'll want a yard. Give them a yard and they'll want a pool installed.
Re: export-- pdf - FIXED
Richard Heck wrote: snip Have you ever attempted to customize the menus of your LyX? Old settings from a previous LyX might confuse the new version. I had exactly this problem. Editing ~/.lyx/preferences and removing the PDF customization lines solved it. Thank you Richard and Helge, I removed the the entries in the # FORMATS SECTION ## in the ./lyx/preference file a Richard has suggested and it works. Again thank for your fast help and have a nice day, - helmut Richard -- Helmut Hauser Institute for Theoretical Computer Sciences Technische Universitaet Graz Inffeldgasse 16b, I A-8010 Graz, Austria --- [EMAIL PROTECTED] Tel: + 43 316 873-5821 Fax: + 43 316 873-5805 http://www.igi.TUGraz.at/helmut/
Re: \newtheorem and \newtheoremstyle
Hi, I got further ahead. I could solve 2) by using the ntheorem package instead of amsthm. 1) is partly solved: Adding a OptionalArgs 1 line to my style definition enabled the Insert-Short Title command in LyX. However, the optional argument is not written out to LaTeX. Is there any way to pass an optional argument (in square brackets) from LyX to the \begin{xxx} of the internally used LaTeX environment? Thanks Daniel Daniel Lohmann schrieb: Hi, In my thesis I have to define a couple of terms and I thought about using the amsthm package which offers the \newtheorem and \newtheoremstyle commands to generate environments for theorem-like structures. So I added to my layout file a new style $Definition to my layout file: Counter Name defn End Style $Definition Margin First_Dynamic LatexType Environment LatexName defn LabelSepxx NextNoIndent 1 ParIndent MMM ParSkip 0.8 ItemSep 0.2 TopSep 0.5 BottomSep 0.5 ParSep 0.3 Align Block AlignPossible block, left, center, right LabelType Counter LabelCounterdefn LabelString Definition @[EMAIL PROTECTED]: LeftMargin MM RightMargin MM LabelFont FamilySans Shape Up SeriesBold Size Small EndFont Preamble \usepackage{amsthm} \newtheoremstyle{mydefinition}{\topsep}{\topsep}{}{}{\sffamily\bfseries}{:}{1em}{} \theoremstyle{mydefinition} \newtheorem{defn}{Definition}[chapter] EndPreamble End All this works fine so far. However, so far I have not been able to solve two issues, a LyX-related (1.4.5) and a more LaTeX-related: 1) How can I pass the optional title parameter from LyX to the defn environment? The Insert-Short Title command I usually use for this purpose is always disabled (greyed) when I am editing a definition. Is there a specific flag I can give in the layout definition to enable it? 2) How can I indent the whole thing? The \newtheoremstyle command offers a parameter for first line indentation, but I would like to indent the whole thing by, lets say, 2em. Any idea how to achieve that with theorems? Thanks a lot! Daniel
Re: qt4 dir?
On Thu, 30 Aug 2007, Martin A. Hansen wrote: I don't want all the qt crap in my home dir. The resulting ~/lib will just contain another lib - but still I don't get the path correct. You say just. Maybe that is part of the problem. Have a look at your config.log output. Maybe it is missing your ~/lib/bin/moc or other QT tool(s)? Jeremy C. Reed
Documentation
Hi, to complete the UserGuide I need explanations/informations about the following items: Tools-Preferences-Colors- added space markers command inset command inset backgroun command inset frame inset background inset frame collapsable inset text collapsable inset frame graphics background button background frame of button button background under focus LaTeX error caption frame Math math corners math background math line math frame Math macro background top/bottom line Shadow box bottom area previewed snippet Tools-Preferences-Paths- Backup directory LyXServer pipe PATH prefix Tools-Preferences-Language settings-Language- Language package Command start Command end Use babel Global Auto begin Auto end Tools-Preferences-Output-Printer- Adapt output to printer Tools-Preferences-Converter Converter File Cache Tools-Preferences-File formats- Document format Vector graphics format Format GUI name Shortcut Extension Editor Tools-Preferences-File formats-Copiers- Format Document-Preferences-Fonts- Base Size Scale (%) Use true Small Caps Use Old Style Figures -- Viele Grüße, Hartmut Haase Bitte folgende Adresse benutzen / Please use the following address: [EMAIL PROTECTED] Hungerhilfe: http://www.thehungersite.com Kampagne gegen den Ausverkauf der Deutschen Bahn: http://www.bahn-fuer-alle.de Das heutige Motto: Willst du etwas wissen, so frage einen Erfahrenen und keinen Gelehrten.
How to change Citation Style
Hello everybody, since I updated from Lyx 1.4.5 to 1.5.1 my citations look different. I used to get numbered citations ( e.g [1] ...) and now I see something like Author et. al (2007) [1]. I used to be able to set the reference style where I included the .bib file (e.g. apsrev), and now it seems I can choose the reference style in each citation. Unfortunately I cannot choose the style I would like to use. So I checked Documents-Preferences-Bibliography and saw that Natbib is selected and what is really unexpected, I cannot change to Default (numerical). Each time I select Default, close the window by pressing OK, Natbib is selected the next time I check this settings. Any suggestions if selecting Defualt (numerical) would solve the problem and how I could convince LyX to accept my selection? Best regards and thanks in advance, Kurt P.
Re: qt4 dir?
As far as I can tell the compilation and installation of QT4 should be ok. moc and uic is located at ~/lib/bin Martin On 8/30/07, Jeremy C. Reed [EMAIL PROTECTED] wrote: On Thu, 30 Aug 2007, Martin A. Hansen wrote: I don't want all the qt crap in my home dir. The resulting ~/lib will just contain another lib - but still I don't get the path correct. You say just. Maybe that is part of the problem. Have a look at your config.log output. Maybe it is missing your ~/lib/bin/moc or other QT tool(s)? Jeremy C. Reed
Re: date-insert again
date-insert command still exists in LyX 1.5.1 and is listed in http://wiki.lyx.org/LyX/LyxFunctions it doesn't work for me. Is it my problem (I have a ~amd64 Gentoo install) or is more general ? let me know... works on ~x86 gentoo. is Insert-Date working for you ? pavel
Re: Exporting
The closest I seem to come to that is a file entitled : estimates.4od with 2 bytes where estimates.lyx is the orginal file at 13k in LyX and TeX forms. OOo refuses to open it. what version of tex4ht do you have ? i vaguely remember such problems on linux with old versions of converter, but i'm not sure whether it was importing or exporting to odf. pavel
Re: Documentation
Hartmut Haase schrieb: to complete the UserGuide I need explanations/informations about the following items: ... Some of them are described in the new English Userguide that is in SVN trunk. (Appendix B) regards Uwe
lyxpipe, jabref and windows with LyX 1.5.1
Hi everyone! I've installed Lyx 1.5.1 and JabRef 2.3b (win XP SP1). When I try to insert a citation from JabRef to LyX document, through the direct icon LyX in JabRef, an error message appears about LyxPipe. Is the following message (2007-01-01, LyX 1.4.3-5 and JabRef 2.2b) still valid for the LyX 1.5.1??? You cannot use this feature on windows, since the pipe is implemented using UNIX specific functions that are not available on windows. (http://www.mail-archive.com/lyx-users@lists.lyx.org/msg52716.html) It doesn't work either using the c-k function (the final dvi document has a \cite{BLABLAXXX}). So, if I want to use my biblio.bib with LyX and JabRef (and I want to!) I have first to 'insert' the bibliography in the LyX repertories, and then using the LyX tool Insert Citation... ?? Thanks for your help, Regards, Sara
Re: lyxpipe, jabref and windows with LyX 1.5.1
S. Teinturier wrote: Hi everyone! I've installed Lyx 1.5.1 and JabRef 2.3b (win XP SP1). When I try to insert a citation from JabRef to LyX document, through the direct icon LyX in JabRef, an error message appears about LyxPipe. Is the following message (2007-01-01, LyX 1.4.3-5 and JabRef 2.2b) still valid for the LyX 1.5.1??? Yes, unfortunately. Abdel.
Re: \newtheorem and \newtheoremstyle
Daniel Lohmann wrote: Hi, I got further ahead. I could solve 2) by using the ntheorem package instead of amsthm. 1) is partly solved: Adding a OptionalArgs 1 line to my style definition enabled the Insert-Short Title command in LyX. However, the optional argument is not written out to LaTeX. Yes, that's buggy. Is there any way to pass an optional argument (in square brackets) from LyX to the \begin{xxx} of the internally used LaTeX environment? Use ERT at the very beginning, and put the optarg in square brackets. I think that works. If not, then no idea. ;-) rh Thanks Daniel Daniel Lohmann schrieb: Hi, In my thesis I have to define a couple of terms and I thought about using the amsthm package which offers the \newtheorem and \newtheoremstyle commands to generate environments for theorem-like structures. So I added to my layout file a new style $Definition to my layout file: Counter Name defn End Style $Definition Margin First_Dynamic LatexType Environment LatexName defn LabelSepxx NextNoIndent 1 ParIndent MMM ParSkip 0.8 ItemSep 0.2 TopSep 0.5 BottomSep 0.5 ParSep 0.3 Align Block AlignPossible block, left, center, right LabelType Counter LabelCounterdefn LabelString Definition @[EMAIL PROTECTED]: LeftMargin MM RightMargin MM LabelFont FamilySans Shape Up SeriesBold Size Small EndFont Preamble \usepackage{amsthm} \newtheoremstyle{mydefinition}{\topsep}{\topsep}{}{}{\sffamily\bfseries}{:}{1em}{} \theoremstyle{mydefinition} \newtheorem{defn}{Definition}[chapter] EndPreamble End All this works fine so far. However, so far I have not been able to solve two issues, a LyX-related (1.4.5) and a more LaTeX-related: 1) How can I pass the optional title parameter from LyX to the defn environment? The Insert-Short Title command I usually use for this purpose is always disabled (greyed) when I am editing a definition. Is there a specific flag I can give in the layout definition to enable it? 2) How can I indent the whole thing? The \newtheoremstyle command offers a parameter for first line indentation, but I would like to indent the whole thing by, lets say, 2em. Any idea how to achieve that with theorems? Thanks a lot! Daniel -- == Richard G Heck, Jr Professor of Philosophy Brown University http://frege.brown.edu/heck/ == Get my public key from http://sks.keyserver.penguin.de Hash: 0x1DE91F1E66FFBDEC Learn how to sign your email using Thunderbird and GnuPG at: http://dudu.dyn.2-h.org/nist/gpg-enigmail-howto
Re: Lyx on XP crashes when trying to create a new file
Thanks for your continued interest, I can no longer check though since it's working now. I installed the previous version (1.4) and then upgraded to the new version again using the default installer and now everything is working perfectly. Another difference is that I left out a few of the dictionaries and only installed english dutch (previously I'd also installed spanish, french, italian german). Thanks for your help! On 8/30/07, Uwe Stöhr [EMAIL PROTECTED] wrote: I get the exact same error though (as well as the 'textclass not found' one) Hm, what happens when you open a console and then start LyX with the command lyx -dbg 3 Uwe
Re: Exporting
I have no idea of what version of tex4th is on the machine. Any suggestions on how to check this? I am assuming that the tex4ht was installed when I installed MiKTex 2.5 which I think was about 6 months ago. This is the first LaTeX LyX installation on the machine that I am aware of (corporate machine that I inherited and everybody seems to use Word here). If I downloaded and installed it myself I don't remember doing so Thanks --- Pavel Sanda [EMAIL PROTECTED] wrote: The closest I seem to come to that is a file entitled : estimates.4od with 2 bytes where estimates.lyx is the orginal file at 13k in LyX and TeX forms. OOo refuses to open it. what version of tex4ht do you have ? i vaguely remember such problems on linux with old versions of converter, but i'm not sure whether it was importing or exporting to odf. pavel Be smarter than spam. See how smart SpamGuard is at giving junk email the boot with the All-new Yahoo! Mail at http://mrd.mail.yahoo.com/try_beta?.intl=ca
Re: Self-publishing with LyX
On Wed, 29 Aug 2007, Typhoon wrote: But, any feedback appreciated. I read your book (PDF version) just now. Thanks for writing it. Here is my feedback: Ch.4 suggests jpeg -- maybe suggest use png instead since it is lossless Page 28 need a period and space before Here. Also tell how to make shadowbox there (I have never done it before. I may have missed in your book Insert - Box and then right click to modify it) 9.2 rewrite slightly to keep interspace discussion together -- don't separate interspace with There is another common ... paragraph 9.4 maybe explain ex unit better -- example? (Isn't it the size of X character?) 11.2.3 For Lulu, I have used pdflatex to create my PDFs fine. I have even used pdftk as the Creator. Lulu printed them fine without complaint. Thanks for teaching me: \raggedbottom Jeremy C. Reed p.s. I recently read Shepard's book. Your book is a good supplement to it. p.p.s. At one time I wanted to publish the official LyX book and I got it formatted for book but it had a lot of improvements needed. If I recall, Uwe was doing a lot of good work on it then. I need to see his new improvements.
Re: date-insert again
--- Pavel Sanda [EMAIL PROTECTED] wrote: date-insert command still exists in LyX 1.5.1 and is listed in http://wiki.lyx.org/LyX/LyxFunctions it doesn't work for me. Is it my problem (I have a ~amd64 Gentoo install) or is more general ? let me know... works on ~x86 gentoo. is Insert-Date working for you ? pavel It works okay on Windows XP except I'm getting the American dating format. Get news delivered with the All new Yahoo! Mail. Enjoy RSS feeds right on your Mail page. Start today at http://mrd.mail.yahoo.com/try_beta?.intl=ca
Re: Documentation
Hartmut Haase wrote: Hi, to complete the UserGuide I need explanations/informations about the following items: Tools-Preferences-Colors- command inset command inset backgroun command inset frame These three all have to do with insets like URL, that don't have any text area associated with them. So put in a URL and change these and you'll see what they do. inset background inset frame Similar, but for general insets. collapsable inset text collapsable inset frame Similar, but for collapsable insets like Footnote. graphics background button background frame of button button background under focus LaTeX error caption frame Math math corners The little corners you see in math mode, surrounding an inset. math background The background for math insets. math line math frame Math macro background Similar but for macros. top/bottom line Shadow box bottom area previewed snippet Tools-Preferences-Paths- Backup directory Where backups of saved files are stored, if LyX is set to do that. LyXServer pipe The pipe used for inter-process communication, e.g., with JabRef. Probably should link to that part of the manual. PATH prefix Tools-Preferences-Language settings-Language- Language package Command start Command end Use babel Global Auto begin Auto end Tools-Preferences-Output-Printer- Adapt output to printer Ack! We had a long talk about this a while ago. See this thread: http://www.mail-archive.com/[EMAIL PROTECTED]/msg119520.html. Tools-Preferences-Converter Converter File Cache Whether to cache (save) the results of conversions. This would mean e.g. that a graphic wouldn't have to be converted every time you open the document: It could just be read from the cache. Tools-Preferences-File formats- I think all of this is in 3.5 of the (English) Customization manual. I'd leave it there and link to it. If it's not all there, can you update it based on what I'm about to write? Document format Whether this kind of file can contain a document (as opposed to a graphic, or music file, or whatever). Vector graphics format Whether this kind of file format can contain vector graphics (as opposed to raster graphics, etc). Format Whether the file format can be a vector graphics format (as opposed to a raster graphics format) GUI name The name that appears on FileExport, View, etc. Shortcut The shortcut associated with this format on those same menus. Extension The file extension for this kind of file (pdf, ps, etc). Editor The program you want to use to edit this kind of file (used when you can do that from within LyX). Same goes for Viewer of course. Tools-Preferences-File formats-Copiers- Format Reference 3.5.2 of the Customization guide. Document-Preferences-Fonts- You mean Settings. Base Size The font size used for the document, in points. Scale (%) Say you're using 11pt with Palatino for the serif font, and you want to use Helvetica for sans serif. This may look too big at 11pt, so you can scale it down to 95%, so it looks right. Use true Small Caps This means to use an actual small caps font for small caps, as opposed to fake small caps, which you get by scaling the lower case letters down, more or less. Use Old Style Figures Old style figures are numerals, like 3, that descend below the baseline. See http://www.fonts.com/AboutFonts/Articles/fyti/OldstyleFigs.htm. Richard -- == Richard G Heck, Jr Professor of Philosophy Brown University http://frege.brown.edu/heck/ == Get my public key from http://sks.keyserver.penguin.de Hash: 0x1DE91F1E66FFBDEC Learn how to sign your email using Thunderbird and GnuPG at: http://dudu.dyn.2-h.org/nist/gpg-enigmail-howto
Re: Self-publishing with LyX
On Thursday 30 August 2007 10:14, Jeremy C. Reed wrote: [clip] Page 28 need a period and space before Here. Jeremy -- how do you see and remember things like that. Do you proofread professionally? If so, how much do you charge? [clip] p.s. I recently read Shepard's book. Your book is a good supplement to it. What is Shepard's book? Thanks SteveT Steve Litt Author: Universal Troubleshooting Process books and courseware http://www.troubleshooters.com/
Re: Indented paragraph in description list.
On Wednesday 29 August 2007, Paul A. Rubin wrote: For a more aesthetically pleasing solution, I think you would need either to redefine the itemize environment or create your own (and then add you new environment to the layout file). Specification of a value for \listparindent has to be done in an argument to the begin command for the list environment, which is why LaTeX turned its nose up at your attempts. (But at least it did so solemnly.) Thanks for the input, guys. Paul, if I go and try to do what you're suggesting above, I'd have to edit the stdlists.inc file, right? If I look at Style Description, I notice several options that have the same name as the list parameters like \topsep, \labelsep, etc, though capitalized (TopSep, LabelSep, etc). Am I wrong to think that all I have to do is to include the line: ListParIndent some length Or is this just absurd? -- Rudi Gaelzer Department of Physics Institute of Physics and Mathematics Federal University of Pelotas BRAZIL Registered linux user # 153741
Re: Self-publishing with LyX
Mostly this is commentary on the default LaTeX settings, but more feedback: - pg. xvi should be truly blank (no need for a folio) --- ditto for xviii c. - Synch .pdf page numbers w/ those used in the text --- either re- set the page numbering so that roman numerals are used for the pdf page numbering, or since it's only going to be electronically set from an entire file, renumber using Arabic numerals from the beginning --- this latter would mean that Chapter 1 would start on pg. 21 - pg. 1 --- ``If you sent it to a professional publisher, and if it were accepted for publication, it would be edited by a professional editor, made into a book by a professional designer and set into type by a professional typesetter.'' I'd say ``...designed by a professional book designer...'' instead --- in general, they don't make books, only a layout sample and a set of specifications. - pg. 2 --- the quote block has an overfull first line --- set it w/ no indent? - pg. 3 --- _four_ hyphens in a row! Set the quoted material smaller or don't indent it so much - pg. 4 --- I know some professionals who do enjoy indexing - pg. 6 7 --- list separated from preceding text --- run chapter (or preceding spread) short or make other adjustment to get at least two lines from pg. 6 onto pg. 7 - pg. 15 --- two word stack on lines 7 and 8 - pgs. 18 19 --- don't allow a colon to fall at the bottom of a page, separated from the material it precedes - pg. 24 --- Figure captions are indistinguishable from text --- set them off somehow - pg. 25 --- I strongly disagree w/ the recommendation to resample screen graphics --- see previous discussion on this list - pg. 28 --- use typographer's, not shilling fraction - pg. 28 --- don't break between page number and identifier ``page~ \pageref{whatever} - pg. 29 --- please don't overbox tables --- see the booktabs documentation for a discussion of this and a good toolkit for setting nice tables. - pg. 30 --- please have at least 6 or 7 lines on the last page --- run the chapter short by a line, or the previous spread long to fix this - pg. 41 --- (and elsewhere) don't allow a figure to float on a page like that --- tighten up the preceding text or slightly adjust the figures to make them fit where they fall. Throughout: - use pdftex and the microtype package and hanging punctuation? - clean up the edges of your screen grabs --- the first one has a black line to the left, others don't - spreads don't cross-align --- why not? - don't allow the last line of a paragraph to be only one word, esp. a word shorter than the paragraph indent (e.g., ``it'' on pg. 19) --- don't hyphenate the penultimate line of a paragraph (pg. 21) Using memoir would fix some of the above, but a lot of it would have to be done by hand. William -- William Adams senior graphic designer Fry Communications
Re: qt4 dir?
On Thu, Aug 30, 2007 at 08:32:13PM +1000, Martin A. Hansen wrote: As far as I can tell the compilation and installation of QT4 should be ok. moc and uic is located at ~/lib/bin And .h files are there, too? Andre'
Re: Exporting
Thank you Paul. I have tried your suggestion and it looks like there may be a font problem although I'm not good enough at reading the terminal output to be sure. I have posted the output at http://ca.geocities.com/jrkrideau/LyX/lyx.ooo.pdf . I am not getting any error messages but two warnings instead. I have tried changing the fonts with no success. What did you change the font setting to? As before, tex file is working just fine --- Paul Johnson [EMAIL PROTECTED] wrote: I just tried export to OpenDocument format with the new LyX and have some advice that may help. Run LyX from a terminal window. That way, you can watch the error messages. emitted by the programs that do the translation. For me, the first export to ODT frailed--tex4ht crashed because it could not find a font. WHen I went to LyX document-settings and changed the default font, then the export to ODT did work. If you just run lyx from a menu, you don't see the error messages. If you run it from a terminal, you see stuff like this: --- error --- Can't find/open file `ecbx1000.tfm' t4ht.c (2006-09-13-14:28 kpathsea) t4ht -f/descriptions.tex -coo (/usr/share/texmf/tex4ht/base/unix/tex4ht.env) Entering descriptions.lg Error: Cannot view file File does not exist: /tmp/lyx_tmpdir9646cneuJa/lyx_tmpbuf0/descriptions.odt Apparently I lack whatever package has the ecbx fonts, so it dies. But If I change the font to TimesRoman, then it does work. But you don't see these errors unless you run LyX from a Terminal. -- Paul E. Johnson Professor, Political Science 1541 Lilac Lane, Room 504 University of Kansas Get news delivered with the All new Yahoo! Mail. Enjoy RSS feeds right on your Mail page. Start today at http://mrd.mail.yahoo.com/try_beta?.intl=ca
Re: [SPAM] Re: Read only as default.
Tim Michelsen [EMAIL PROTECTED] writes: Is there any chnace that the developers reconsider to offer a toggle read-only /write for the Edit menu? I do not think so. Open as read-only would be more useful. JMarc
Re: the ftp server (ftp.lyx.org) is down
Michael Ramati [EMAIL PROTECTED] writes: see ftp://ftp.lyx.org/ Seems to be back now. JMarc
Re: Self-publishing with LyX
On Thu, 30 Aug 2007, Steve Litt wrote: On Thursday 30 August 2007 10:14, Jeremy C. Reed wrote: [clip] Page 28 need a period and space before Here. Jeremy -- how do you see and remember things like that. Do you proofread professionally? If so, how much do you charge? I see it from practice :) I went to journalism school and we practiced in classes. (And I tried to report every error in our school newspaper.) And I've helped edit probably a couple thousand pages of books and documentation. Sometimes I do it professionally. I don't know what to charge though as I have charged in the past based on my open source Unix consulting rate. I have also paid for book editing. But I don't know what it broke down to hourly. [clip] p.s. I recently read Shepard's book. Your book is a good supplement to it. What is Shepard's book? This new LyX book has it in referenced. It is Aiming at Amazon. Jeremy C. Reed
Re: How to change Citation Style
KTl wrote: Hello everybody, since I updated from Lyx 1.4.5 to 1.5.1 my citations look different. I used to get numbered citations ( e.g [1] ...) and now I see something like Author et. al (2007) [1]. I used to be able to set the reference style where I included the .bib file (e.g. apsrev), and now it seems I can choose the reference style in each citation. Unfortunately I cannot choose the style I would like to use. So I checked Documents-Preferences-Bibliography and saw that Natbib is selected and what is really unexpected, I cannot change to Default (numerical). Each time I select Default, close the window by pressing OK, Natbib is selected the next time I check this settings. Any suggestions if selecting Defualt (numerical) would solve the problem and how I could convince LyX to accept my selection? Yes, that probably would fix the problem. You could also set Natbib and choose Numerical in the drop-down box. But the problem is you can't select Default. Can you run LyX this from a terminal window and see what error messages you're getting? I'm guessing there's some ill-formed parameter being passed out of the dialog before the Bibliography Engine parameter is read, and that is causing LyX to choke. If you can't run from a window or don't know how, you can send me the file privately, and I'll check it out. Richard -- == Richard G Heck, Jr Professor of Philosophy Brown University http://frege.brown.edu/heck/ == Get my public key from http://sks.keyserver.penguin.de Hash: 0x1DE91F1E66FFBDEC Learn how to sign your email using Thunderbird and GnuPG at: http://dudu.dyn.2-h.org/nist/gpg-enigmail-howto
texhash
Hi, I just installed LyX onto a Mac and got the following error: Cannot run texhash command to update Tex installation. Run Manually. How would I go about doing that? Have I done something wrong during the installation? Thanks, Karen
Re: texhash
Karen Chang wrote: Hi, I just installed LyX onto a Mac and got the following error: Cannot run texhash command to update Tex installation. Run Manually. How would I go about doing that? Have I done something wrong during the installation? Open a terminal window (maybe it has some special Mac name, I don't know) and type texhash, return. But if LyX couldn't run it, I'm doubtful you can, either. Do you have LaTeX installed? If not, you need to install that first before LyX will give you any output. Richard -- == Richard G Heck, Jr Professor of Philosophy Brown University http://frege.brown.edu/heck/ == Get my public key from http://sks.keyserver.penguin.de Hash: 0x1DE91F1E66FFBDEC Learn how to sign your email using Thunderbird and GnuPG at: http://dudu.dyn.2-h.org/nist/gpg-enigmail-howto
Re: A source for document class layouts?
Paul, Yes, it repeats that same error message and reversion to article with your file (and three other things I subsequently tried). Can you explain the proper line for the layout file that would implement the nrc1.sty as a package, as you suggested? One thing that comes to mind, but may be totally irrelevant, is the location of the User directory. I am an administrator on the machine but have a directory of my own: C:\Documents and Settings\dhewitt\Application Data\lyx15 The Administrator one is of course: C:\Documents and Settings\Administrator\Application Data\lyx15 All LyX tells me about the user directory is ~\Application Data\lyx15 Perhaps I am loading in the wrong spot? I am guessing not since it's finding the new class definition. Dave Dave Hewitt wrote: I copied article.layout from the LyX\Resources\layouts directory and renamed it nrc1.layout, then I pasted it into my user layout directory. Following along with Customization - Ch. 5, I altered the second line in the file this way: # \DeclareLaTeXClass[nrc1,nrc1.sty]{article (nrc1)} (the nrc package comes with nrc1.cls, nrc1.sty, nrc2.cls, nrc2.sty, plus a bunch of other files including a PDF user's guide, which probably means something to people that know LaTeX) The PDF manual is actually quite well written, but oddly enough it gives no clue what nrc1.sty and nrc2.sty would be used for. Maybe you can use article.cls and load nrc1.sty as a package?? Anyway, you'll want to use nrc1.cls (one column) or nrc2.cls (two column). So the optional arguments (inside the brackets) above are almost surely wrong. I also tried simply: # \DeclareLaTeXClass{article (nrc1)} This is the way to go (and works for me). I also tried adding various combinations of package names into the brackets of example 1 (as I sort of deduced the User's Guide was telling me to do), but unsurprisingly they didn't work either. I added some Preamble code to the file on one attempt as per the UG, but that didn't help (and I really had no clue what I was doing anyway). Probably a good idea to delete that, then. In no attempt did I alter anything else down in the file. Either way, YES, the document class shows up in the LyX drop-down, but when I choose it, LyX generates an error window with a red 'X' on it and a warning that says The document could not be converted into the document class nrc1 -- I click OK and it reverts to article in the drop-down. This is what happened with two other classes I tried as well. This happens when you create a new document (ctrl-N or File - New) and then switch it to NRC1 using Document - Settings... - Document Class? Odd that it doesn't happen for me. I'm attaching the layout file I kludged (from article.layout), although it should exactly match your most parsimonious attempt. I don't know that it exposes all the bells and whistles of the NRC class (such as journal name), but it doesn't blow up in my face. There's one bit of funkiness I came across. It shouldn't cause LyX to revert to article, but it will cause a minor headache trying to get output. By default, LyX adds \usepackage[T1]{fontenc} to every document. According to the NRC manual, this is a bozo no-no. So you need to go to Tools - Preferences... - Outputs - LaTeX and change TeX encoding from T1 to default. At this point, you have two choices. If all you're ever going to use is the NRC classes, click Save. That gets rid of the encoding line in every LyX document. If you plan to use other classes, though, you're probably going to want to click Apply but not Save. That applies it only to the current session. Unfortunately, that also means you have to remember to do this every time you futz with an NRC document. (Maybe Richard or somebody knows a way to make this document-specific, or to slip it into the layout file. I don't.) One last thing. There are some options for each of the NRC packages, such as 'leqno' for NRC1 (which I assume moves equations numbers from the right margin to the left). If you want to specify any of those for a document, just go to Document - Settings... - Document Class and stuff the options, separated by commas, into the aptly named Options field. No need to mess with the layout file. Let us know if the attached layout file blows up on you. /Paul #% Do not delete the line below; configure depends on this # \DeclareLaTeXClass{article (NRC)} # Article textclass definition file. Taken from initial LyX source code # Author : Matthias Ettrich [EMAIL PROTECTED] # Transposed by Pascal André [EMAIL PROTECTED] # Heavily modifed and enhanced by serveral developers. Format 4 Input stdclass.inc SecNumDepth 3 TocDepth 3 NoStyle Chapter NoStyle Chapter* Style Part Align Left AlignPossible Left TopSep 2 BottomSep 1.5 Font Size Larger EndFont End Style Part* Align Left AlignPossible Left TopSep 2 BottomSep 1.5 Font Size Larger EndFont End - Dave Hewitt
Re: texhash
On Aug 30, 2007, at 2:51 PM, Richard Heck wrote: Karen Chang wrote: Hi, I just installed LyX onto a Mac and got the following error: Cannot run texhash command to update Tex installation. Run Manually. How would I go about doing that? Have I done something wrong during the installation? Open a terminal window (maybe it has some special Mac name, I don't know) and type texhash, return. But if LyX couldn't run it, I'm doubtful you can, either. Do you have LaTeX installed? If not, you need to install that first before LyX will give you any output. On Mac, it's Terminal.app (in /Applications/Utilities/). If you simply run texhash, you'll get some warnings about certain directories not being writable (because you don't have permission). They can safely be ignored or, if you like, you can run sudo texhash from an administrative account and give your administrative password. I agree with Richard: if the LyX installer couldn't run texhash, there's likely something wrong with the TeX installation. (Did you install MacTeX, e.g.? -- http://www.tug.org/mactex/.) Bennett
Re: texhash
Hi Richard / Bennett, I installed MacTex and when I type sudo texhash in the terminal with the admin acct I get: texhash: Updating /usr/local/texlive/2007/../texmf-local/ls-R... texhash: Updating /usr/local/texlive/2007/texmf/ls-R... texhash: Updating /usr/local/texlive/2007/texmf-config/ls-R... texhash: Updating /usr/local/texlive/2007/texmf-dist/ls-R... texhash: Updating /usr/local/texlive/2007/texmf-var/ls-R... texhash: Done. However, when I try to open a .lyx document in LyX, I get the following error: This layout file requested by this document, article.layout, is not usable. This is probably because a LaTeX class or style file required by it is not available. See the Customizaiton documentation for more information. LyX will not be able to produce output. Thanks, Karen On 8/30/07, Bennett Helm [EMAIL PROTECTED] wrote: On Aug 30, 2007, at 2:51 PM, Richard Heck wrote: Karen Chang wrote: Hi, I just installed LyX onto a Mac and got the following error: Cannot run texhash command to update Tex installation. Run Manually. How would I go about doing that? Have I done something wrong during the installation? Open a terminal window (maybe it has some special Mac name, I don't know) and type texhash, return. But if LyX couldn't run it, I'm doubtful you can, either. Do you have LaTeX installed? If not, you need to install that first before LyX will give you any output. On Mac, it's Terminal.app (in /Applications/Utilities/). If you simply run texhash, you'll get some warnings about certain directories not being writable (because you don't have permission). They can safely be ignored or, if you like, you can run sudo texhash from an administrative account and give your administrative password. I agree with Richard: if the LyX installer couldn't run texhash, there's likely something wrong with the TeX installation. (Did you install MacTeX, e.g.? -- http://www.tug.org/mactex/.) Bennett
Re: texhash
On 8/30/07, Karen Chang [EMAIL PROTECTED] wrote: Hi Richard / Bennett, I installed MacTex and when I type sudo texhash in the terminal with the admin acct I get: texhash: Updating /usr/local/texlive/2007/../texmf-local/ls-R... texhash: Updating /usr/local/texlive/2007/texmf/ls-R... texhash: Updating /usr/local/texlive/2007/texmf-config/ls-R... texhash: Updating /usr/local/texlive/2007/texmf-dist/ls-R... texhash: Updating /usr/local/texlive/2007/texmf-var/ls-R... texhash: Done. However, when I try to open a .lyx document in LyX, I get the following error: This layout file requested by this document, article.layout, is not usable. This is probably because a LaTeX class or style file required by it is not available. See the Customizaiton documentation for more information. LyX will not be able to produce output. Thanks, Karen Did you install MacTeX after LyX? If so, you would need to open LyX and reconfigure so that LyX recognizes your newly installed TeX distribution. On Mac I don't remember if it's Tools-Reconfigure or LyX-Reconfigure. Cheers, Bob
Re: texhash
That worked, thanks guys! On 8/30/07, Bob Lounsbury [EMAIL PROTECTED] wrote: On 8/30/07, Karen Chang [EMAIL PROTECTED] wrote: Hi Richard / Bennett, I installed MacTex and when I type sudo texhash in the terminal with the admin acct I get: texhash: Updating /usr/local/texlive/2007/../texmf-local/ls-R... texhash: Updating /usr/local/texlive/2007/texmf/ls-R... texhash: Updating /usr/local/texlive/2007/texmf-config/ls-R... texhash: Updating /usr/local/texlive/2007/texmf-dist/ls-R... texhash: Updating /usr/local/texlive/2007/texmf-var/ls-R... texhash: Done. However, when I try to open a .lyx document in LyX, I get the following error: This layout file requested by this document, article.layout, is not usable. This is probably because a LaTeX class or style file required by it is not available. See the Customizaiton documentation for more information. LyX will not be able to produce output. Thanks, Karen Did you install MacTeX after LyX? If so, you would need to open LyX and reconfigure so that LyX recognizes your newly installed TeX distribution. On Mac I don't remember if it's Tools-Reconfigure or LyX-Reconfigure. Cheers, Bob
Re: texhash
Karen Chang wrote: Hi Richard / Bennett, I installed MacTex and when I type sudo texhash in the terminal with the admin acct I get: texhash: Updating /usr/local/texlive/2007/../texmf-local/ls-R... texhash: Updating /usr/local/texlive/2007/texmf/ls-R... texhash: Updating /usr/local/texlive/2007/texmf-config/ls-R... texhash: Updating /usr/local/texlive/2007/texmf-dist/ls-R... texhash: Updating /usr/local/texlive/2007/texmf-var/ls-R... texhash: Done. However, when I try to open a .lyx document in LyX, I get the following error: This layout file requested by this document, article.layout, is not usable. This is probably because a LaTeX class or style file required by it is not available. See the Customizaiton documentation for more information. LyX will not be able to produce output. Thanks, Karen Did you reconfigure (Tools - Reconfigure) and then restart LyX after running texhash? /Paul
Re: A source for document class layouts?
Dave Hewitt wrote: Paul, Yes, it repeats that same error message and reversion to article with your file (and three other things I subsequently tried). Sorry, but can you say again EXACTLY what error message you are getting? That will at least let me know which error is happening here. If you're having problems even with the simple file Paul sent, then there must be a problem elsewhere in your installation. Can you explain the proper line for the layout file that would implement the nrc1.sty as a package, as you suggested? Let's try this later. One thing that comes to mind, but may be totally irrelevant, is the location of the User directory. I am an administrator on the machine but have a directory of my own: C:\Documents and Settings\dhewitt\Application Data\lyx15 The Administrator one is of course: C:\Documents and Settings\Administrator\Application Data\lyx15 All LyX tells me about the user directory is ~\Application Data\lyx15 Perhaps I am loading in the wrong spot? I am guessing not since it's finding the new class definition. Right: It's finding it, so it's there. That said, you might want to modify the one Paul sent just a touch on the first line---make something a capital, whatever---just so you're sure you're seeing that one. Richard -- == Richard G Heck, Jr Professor of Philosophy Brown University http://frege.brown.edu/heck/ == Get my public key from http://sks.keyserver.penguin.de Hash: 0x1DE91F1E66FFBDEC Learn how to sign your email using Thunderbird and GnuPG at: http://dudu.dyn.2-h.org/nist/gpg-enigmail-howto
Self-publishing with LyX - thanks for the feedback
Dear everyone, Thanks very much to all who have given me comments on the book, both on-list and off. Very much appreciated, and I will make suggested amendments as time goes on. To clarify availability: Printed and download versions available from Lulu: http://www.lulu.com/content/1085870 Download version available from: http://web.aanet.com.au/sage/lyx.pdf Both are now the same, compiled with \usepackage{lmodern}. I apologise to community members who took exception to Lulu's requirements of registration, etc. I never noticed it since I have an account there anyway. And special thanks to the developers of LyX. You guys are terrific! Cheers, Alan
Re: A source for document class layouts?
Dave Hewitt wrote: Yes, it repeats that same error message and reversion to article with your file (and three other things I subsequently tried). Can you explain the proper line for the layout file that would implement the nrc1.sty as a package, as you suggested? As Richard suggested, let's debug this approach first. One thing that comes to mind, but may be totally irrelevant, is the location of the User directory. I am an administrator on the machine but have a directory of my own: C:\Documents and Settings\dhewitt\Application Data\lyx15 The Administrator one is of course: C:\Documents and Settings\Administrator\Application Data\lyx15 All LyX tells me about the user directory is ~\Application Data\lyx15 The tilde is Latin for logged in user. Assuming you're logged in as dhewitt (and not using the local administrator account), the first directory you listed is your home. In any case, if LyX does not see a layout file for nrc1, you won't find it on the drop down list of classes. If it sees a layout file, when you reconfigure it will test whether LaTeX has the class installed. If that test fails, you'll see the NRC class listed on the drop down list, but it will be prefixed with Unavailable. So if it's there and not marked unavailable, then (theoretically) LyX can find the layout file, LaTeX can find the class file, and LyX knows that LaTeX can find the class file. This is a bit of a long shot, but maybe you should try the following: 1. Open LyX and use File - New to start a new document. 2. Save the (empty) document someplace. 3. Go to Document - Settings... - Document Class and confirm that the document is initially article class. (This is the norm, but I think it's possible that you could have changed the default document class to something funky.) 4. Select the NRC class and click Ok. 4. Assuming that LyX snaps at you and switches to article, save that as well, then post the before and after saved documents here. I'd like to try converting them to NRC here just to see what happens. Dave Hewitt Fisheries Science/Crustacean Ecology Aha, this may the culprit. Perhaps LyX just can't resist crabbing at you. /Paul
\newtheorem and \newtheoremstyle
Hi, In my thesis I have to define a couple of terms and I thought about using the amsthm package which offers the \newtheorem and \newtheoremstyle commands to generate environments for theorem-like structures. So I added to my layout file a new style $Definition to my layout file: Counter Name defn End Style $Definition Margin First_Dynamic LatexType Environment LatexName defn LabelSepxx NextNoIndent 1 ParIndent MMM ParSkip 0.8 ItemSep 0.2 TopSep 0.5 BottomSep 0.5 ParSep 0.3 Align Block AlignPossible block, left, center, right LabelType Counter LabelCounterdefn LabelString "Definition @[EMAIL PROTECTED]:" LeftMargin MM RightMargin MM LabelFont FamilySans Shape Up SeriesBold Size Small EndFont Preamble \usepackage{amsthm} \newtheoremstyle{mydefinition}{\topsep}{\topsep}{}{}{\sffamily\bfseries}{:}{1em}{} \theoremstyle{mydefinition} \newtheorem{defn}{Definition}[chapter] EndPreamble End All this works fine so far. However, so far I have not been able to solve two issues, a LyX-related (1.4.5) and a more LaTeX-related: 1) How can I pass the optional title parameter from LyX to the "defn" environment? The "Insert->Short Title" command I usually use for this purpose is always disabled (greyed) when I am editing a definition. Is there a specific flag I can give in the layout definition to enable it? 2) How can I indent the whole thing? The \newtheoremstyle command offers a parameter for first line indentation, but I would like to indent the whole thing by, lets say, 2em. Any idea how to achieve that with theorems? Thanks a lot! Daniel
German-speaking developers and users only
Hallo, in den anhängen des Benutzerhandbuches habe ich einige stellen mit ??? markiert, weil ich nicht wußte, was sie bedeuten. Vielleicht kann mir ja der eine oder andere helfen, die ??? durch text zu ersetzen. Außerdem wäre es nicht schlecht, wenn der eine oder andere sich die deutsche doku zu gemüte führen würde, um leichen oder ungereimtheiten auszumerzen. -- Viele Grüße, Hartmut Bitte folgende Adresse benutzen / Please use the following address: [EMAIL PROTECTED] Hungerhilfe: http://www.thehungersite.com Kampagne gegen den Ausverkauf der Deutschen Bahn: http://www.bahn-fuer-alle.de Das heutige Motto: Give them an inch and they'll want a yard. Give them a yard and they'll want a pool installed.
Re: export--> pdf -> FIXED
Richard Heck wrote: Have you ever attempted to customize the menus of your LyX? Old settings from a previous LyX might confuse the new version. I had exactly this problem. Editing ~/.lyx/preferences and removing the PDF customization lines solved it. Thank you Richard and Helge, I removed the the entries in the # FORMATS SECTION ## in the ./lyx/preference file a Richard has suggested and it works. Again thank for your fast help and have a nice day, - helmut Richard -- Helmut Hauser Institute for Theoretical Computer Sciences Technische Universitaet Graz Inffeldgasse 16b, I A-8010 Graz, Austria --- [EMAIL PROTECTED] Tel: + 43 316 873-5821 Fax: + 43 316 873-5805 http://www.igi.TUGraz.at/helmut/
Re: \newtheorem and \newtheoremstyle
Hi, I got further ahead. I could solve 2) by using the ntheorem package instead of amsthm. 1) is partly solved: Adding a "OptionalArgs 1" line to my style definition enabled the "Insert->Short Title" command in LyX. However, the optional argument is not written out to LaTeX. Is there any way to pass an optional argument (in square brackets) from LyX to the \begin{xxx} of the internally used LaTeX environment? Thanks Daniel Daniel Lohmann schrieb: Hi, In my thesis I have to define a couple of terms and I thought about using the amsthm package which offers the \newtheorem and \newtheoremstyle commands to generate environments for theorem-like structures. So I added to my layout file a new style $Definition to my layout file: Counter Name defn End Style $Definition Margin First_Dynamic LatexType Environment LatexName defn LabelSepxx NextNoIndent 1 ParIndent MMM ParSkip 0.8 ItemSep 0.2 TopSep 0.5 BottomSep 0.5 ParSep 0.3 Align Block AlignPossible block, left, center, right LabelType Counter LabelCounterdefn LabelString "Definition @[EMAIL PROTECTED]:" LeftMargin MM RightMargin MM LabelFont FamilySans Shape Up SeriesBold Size Small EndFont Preamble \usepackage{amsthm} \newtheoremstyle{mydefinition}{\topsep}{\topsep}{}{}{\sffamily\bfseries}{:}{1em}{} \theoremstyle{mydefinition} \newtheorem{defn}{Definition}[chapter] EndPreamble End All this works fine so far. However, so far I have not been able to solve two issues, a LyX-related (1.4.5) and a more LaTeX-related: 1) How can I pass the optional title parameter from LyX to the "defn" environment? The "Insert->Short Title" command I usually use for this purpose is always disabled (greyed) when I am editing a definition. Is there a specific flag I can give in the layout definition to enable it? 2) How can I indent the whole thing? The \newtheoremstyle command offers a parameter for first line indentation, but I would like to indent the whole thing by, lets say, 2em. Any idea how to achieve that with theorems? Thanks a lot! Daniel
Re: qt4 dir?
On Thu, 30 Aug 2007, Martin A. Hansen wrote: > I don't want all the qt crap in my home dir. The resulting ~/lib will just > contain another lib - but still I don't get the path correct. You say "just". Maybe that is part of the problem. Have a look at your config.log output. Maybe it is missing your ~/lib/bin/moc or other QT tool(s)? Jeremy C. Reed
Documentation
Hi, to complete the UserGuide I need explanations/informations about the following items: Tools->Preferences->Colors-> added space markers command inset command inset backgroun command inset frame inset background inset frame collapsable inset text collapsable inset frame graphics background button background frame of button button background under focus LaTeX error caption frame Math math corners math background math line math frame Math macro background top/bottom line Shadow box bottom area previewed snippet Tools->Preferences->Paths-> Backup directory LyXServer pipe PATH prefix Tools->Preferences->Language settings->Language-> Language package Command start Command end Use babel Global Auto begin Auto end Tools->Preferences->Output->Printer-> Adapt output to printer Tools->Preferences->Converter Converter File Cache Tools->Preferences->File formats-> Document format Vector graphics format Format GUI name Shortcut Extension Editor Tools->Preferences->File formats->Copiers-> Format Document->Preferences->Fonts-> Base Size Scale (%) Use true Small Caps Use Old Style Figures -- Viele Grüße, Hartmut Haase Bitte folgende Adresse benutzen / Please use the following address: [EMAIL PROTECTED] Hungerhilfe: http://www.thehungersite.com Kampagne gegen den Ausverkauf der Deutschen Bahn: http://www.bahn-fuer-alle.de Das heutige Motto: Willst du etwas wissen, so frage einen Erfahrenen und keinen Gelehrten.
How to change Citation Style
Hello everybody, since I updated from Lyx 1.4.5 to 1.5.1 my citations look different. I used to get numbered citations ( e.g [1] ...) and now I see something like "Author et. al (2007) [1]". I used to be able to set the reference style where I included the .bib file (e.g. apsrev), and now it seems I can choose the reference style in each citation. Unfortunately I cannot choose the style I would like to use. So I checked Documents->Preferences->Bibliography and saw that "Natbib" is selected and what is really unexpected, I cannot change to "Default (numerical)". Each time I select "Default", close the window by pressing OK, "Natbib" is selected the next time I check this settings. Any suggestions if selecting "Defualt (numerical)" would solve the problem and how I could convince LyX to accept my selection? Best regards and thanks in advance, Kurt P.
Re: qt4 dir?
As far as I can tell the compilation and installation of QT4 should be ok. moc and uic is located at ~/lib/bin Martin On 8/30/07, Jeremy C. Reed <[EMAIL PROTECTED]> wrote: > > On Thu, 30 Aug 2007, Martin A. Hansen wrote: > > > I don't want all the qt crap in my home dir. The resulting ~/lib will > just > > contain another lib - but still I don't get the path correct. > > You say "just". Maybe that is part of the problem. Have a look at your > config.log output. Maybe it is missing your ~/lib/bin/moc or other > QT tool(s)? > > Jeremy C. Reed >
Re: date-insert again
> date-insert command still exists in LyX 1.5.1 and is listed in > http://wiki.lyx.org/LyX/LyxFunctions > it doesn't work for me. Is it my problem (I have a ~amd64 Gentoo install) or > is > more general ? let me know... works on ~x86 gentoo. is Insert->Date working for you ? pavel
Re: Exporting
> The closest I seem to come to that is a file entitled > : estimates.4od with 2 bytes where estimates.lyx is > the orginal file at 13k in LyX and TeX forms. OOo > refuses to open it. what version of tex4ht do you have ? i vaguely remember such problems on linux with old versions of converter, but i'm not sure whether it was importing or exporting to odf. pavel
Re: Documentation
Hartmut Haase schrieb: to complete the UserGuide I need explanations/informations about the following items: ... Some of them are described in the new English Userguide that is in SVN trunk. (Appendix B) regards Uwe
lyxpipe, jabref and windows with LyX 1.5.1
Hi everyone! I've installed Lyx 1.5.1 and JabRef 2.3b (win XP SP1). When I try to insert a citation from JabRef to LyX document, through the direct icon "LyX" in JabRef, an error message appears about LyxPipe. Is the following message (2007-01-01, LyX 1.4.3-5 and JabRef 2.2b) still valid for the LyX 1.5.1??? You cannot use this feature on windows, since the pipe is implemented using UNIX specific functions that are not available on windows. (http://www.mail-archive.com/lyx-users@lists.lyx.org/msg52716.html) It doesn't work either using the "c-k" function (the final dvi document has a "\cite{BLABLAXXX}"). So, if I want to use my biblio.bib with LyX and JabRef (and I want to!) I have first to 'insert' the bibliography in the LyX repertories, and then using the LyX tool "Insert > Citation..." ?? Thanks for your help, Regards, Sara
Re: lyxpipe, jabref and windows with LyX 1.5.1
S. Teinturier wrote: Hi everyone! I've installed Lyx 1.5.1 and JabRef 2.3b (win XP SP1). When I try to insert a citation from JabRef to LyX document, through the direct icon "LyX" in JabRef, an error message appears about LyxPipe. Is the following message (2007-01-01, LyX 1.4.3-5 and JabRef 2.2b) still valid for the LyX 1.5.1??? Yes, unfortunately. Abdel.
Re: \newtheorem and \newtheoremstyle
Daniel Lohmann wrote: Hi, I got further ahead. I could solve 2) by using the ntheorem package instead of amsthm. 1) is partly solved: Adding a "OptionalArgs 1" line to my style definition enabled the "Insert->Short Title" command in LyX. However, the optional argument is not written out to LaTeX. Yes, that's buggy. Is there any way to pass an optional argument (in square brackets) from LyX to the \begin{xxx} of the internally used LaTeX environment? Use ERT at the very beginning, and put the optarg in square brackets. I think that works. If not, then no idea. ;-) rh Thanks Daniel Daniel Lohmann schrieb: Hi, In my thesis I have to define a couple of terms and I thought about using the amsthm package which offers the \newtheorem and \newtheoremstyle commands to generate environments for theorem-like structures. So I added to my layout file a new style $Definition to my layout file: Counter Name defn End Style $Definition Margin First_Dynamic LatexType Environment LatexName defn LabelSepxx NextNoIndent 1 ParIndent MMM ParSkip 0.8 ItemSep 0.2 TopSep 0.5 BottomSep 0.5 ParSep 0.3 Align Block AlignPossible block, left, center, right LabelType Counter LabelCounterdefn LabelString "Definition @[EMAIL PROTECTED]:" LeftMargin MM RightMargin MM LabelFont FamilySans Shape Up SeriesBold Size Small EndFont Preamble \usepackage{amsthm} \newtheoremstyle{mydefinition}{\topsep}{\topsep}{}{}{\sffamily\bfseries}{:}{1em}{} \theoremstyle{mydefinition} \newtheorem{defn}{Definition}[chapter] EndPreamble End All this works fine so far. However, so far I have not been able to solve two issues, a LyX-related (1.4.5) and a more LaTeX-related: 1) How can I pass the optional title parameter from LyX to the "defn" environment? The "Insert->Short Title" command I usually use for this purpose is always disabled (greyed) when I am editing a definition. Is there a specific flag I can give in the layout definition to enable it? 2) How can I indent the whole thing? The \newtheoremstyle command offers a parameter for first line indentation, but I would like to indent the whole thing by, lets say, 2em. Any idea how to achieve that with theorems? Thanks a lot! Daniel -- == Richard G Heck, Jr Professor of Philosophy Brown University http://frege.brown.edu/heck/ == Get my public key from http://sks.keyserver.penguin.de Hash: 0x1DE91F1E66FFBDEC Learn how to sign your email using Thunderbird and GnuPG at: http://dudu.dyn.2-h.org/nist/gpg-enigmail-howto
Re: Lyx on XP crashes when trying to create a new file
Thanks for your continued interest, I can no longer check though since it's working now. I installed the previous version (1.4) and then upgraded to the new version again using the default installer and now everything is working perfectly. Another difference is that I left out a few of the dictionaries and only installed english & dutch (previously I'd also installed spanish, french, italian & german). Thanks for your help! On 8/30/07, Uwe Stöhr <[EMAIL PROTECTED]> wrote: > > > I get the exact same error though (as well as the 'textclass not found' > one) > > Hm, what happens when you open a console and then start LyX with the > command > > lyx -dbg 3 > > Uwe >
Re: Exporting
I have no idea of what version of tex4th is on the machine. Any suggestions on how to check this? I am assuming that the tex4ht was installed when I installed MiKTex 2.5 which I think was about 6 months ago. This is the first LaTeX & LyX installation on the machine that I am aware of (corporate machine that I inherited and everybody seems to use Word here). If I downloaded and installed it myself I don't remember doing so Thanks --- Pavel Sanda <[EMAIL PROTECTED]> wrote: > > The closest I seem to come to that is a file > entitled > > : estimates.4od with 2 bytes where estimates.lyx > is > > the orginal file at 13k in LyX and TeX forms. OOo > > refuses to open it. > > what version of tex4ht do you have ? i vaguely > remember such problems > on linux with old versions of converter, but i'm not > sure whether it > was importing or exporting to odf. > > pavel > Be smarter than spam. See how smart SpamGuard is at giving junk email the boot with the All-new Yahoo! Mail at http://mrd.mail.yahoo.com/try_beta?.intl=ca
Re: Self-publishing with LyX
On Wed, 29 Aug 2007, Typhoon wrote: > But, any feedback appreciated. I read your book (PDF version) just now. Thanks for writing it. Here is my feedback: Ch.4 suggests jpeg -- maybe suggest use png instead since it is lossless Page 28 need a period and space before "Here". Also tell how to make shadowbox there (I have never done it before. I may have missed in your book Insert -> Box and then right click to modify it) 9.2 rewrite slightly to keep interspace discussion together -- don't separate interspace with "There is another common ... " paragraph 9.4 maybe explain "ex" unit better -- example? (Isn't it the size of "X" character?) 11.2.3 For Lulu, I have used pdflatex to create my PDFs fine. I have even used pdftk as the Creator. Lulu printed them fine without complaint. Thanks for teaching me: \raggedbottom Jeremy C. Reed p.s. I recently read Shepard's book. Your book is a good supplement to it. p.p.s. At one time I wanted to publish the official LyX book and I got it formatted for book but it had a lot of improvements needed. If I recall, Uwe was doing a lot of good work on it then. I need to see his new improvements.
Re: date-insert again
--- Pavel Sanda <[EMAIL PROTECTED]> wrote: > > date-insert command still exists in LyX 1.5.1 and > is listed in > > http://wiki.lyx.org/LyX/LyxFunctions > > it doesn't work for me. Is it my problem (I have a > ~amd64 Gentoo install) or is > > more general ? let me know... > > works on ~x86 gentoo. > is Insert->Date working for you ? > > pavel It works okay on Windows XP except I'm getting the American dating format. Get news delivered with the All new Yahoo! Mail. Enjoy RSS feeds right on your Mail page. Start today at http://mrd.mail.yahoo.com/try_beta?.intl=ca
Re: Documentation
Hartmut Haase wrote: Hi, to complete the UserGuide I need explanations/informations about the following items: Tools->Preferences->Colors-> command inset command inset backgroun command inset frame These three all have to do with insets like URL, that don't have any text area associated with them. So put in a URL and change these and you'll see what they do. inset background inset frame Similar, but for general insets. collapsable inset text collapsable inset frame Similar, but for collapsable insets like Footnote. graphics background button background frame of button button background under focus LaTeX error caption frame Math math corners The little corners you see in math mode, surrounding an inset. math background The background for math insets. math line math frame Math macro background Similar but for macros. top/bottom line Shadow box bottom area previewed snippet Tools->Preferences->Paths-> Backup directory Where backups of saved files are stored, if LyX is set to do that. LyXServer pipe The pipe used for inter-process communication, e.g., with JabRef. Probably should link to that part of the manual. PATH prefix Tools->Preferences->Language settings->Language-> Language package Command start Command end Use babel Global Auto begin Auto end Tools->Preferences->Output->Printer-> Adapt output to printer Ack! We had a long talk about this a while ago. See this thread: http://www.mail-archive.com/[EMAIL PROTECTED]/msg119520.html. Tools->Preferences->Converter Converter File Cache Whether to cache (save) the results of conversions. This would mean e.g. that a graphic wouldn't have to be converted every time you open the document: It could just be read from the cache. Tools->Preferences->File formats-> I think all of this is in 3.5 of the (English) Customization manual. I'd leave it there and link to it. If it's not all there, can you update it based on what I'm about to write? Document format Whether this kind of file can contain a document (as opposed to a graphic, or music file, or whatever). Vector graphics format Whether this kind of file format can contain vector graphics (as opposed to raster graphics, etc). Format Whether the file format can be a vector graphics format (as opposed to a raster graphics format) GUI name The name that appears on File>Export, View>, etc. Shortcut The shortcut associated with this format on those same menus. Extension The file extension for this kind of file (pdf, ps, etc). Editor The program you want to use to edit this kind of file (used when you can do that from within LyX). Same goes for Viewer of course. Tools->Preferences->File formats->Copiers-> Format Reference 3.5.2 of the Customization guide. Document->Preferences->Fonts-> You mean Settings. Base Size The font size used for the document, in points. Scale (%) Say you're using 11pt with Palatino for the serif font, and you want to use Helvetica for sans serif. This may look too big at 11pt, so you can scale it down to 95%, so it looks right. Use true Small Caps This means to use an actual small caps font for small caps, as opposed to fake small caps, which you get by scaling the lower case letters down, more or less. Use Old Style Figures Old style figures are numerals, like "3", that descend below the baseline. See http://www.fonts.com/AboutFonts/Articles/fyti/OldstyleFigs.htm. Richard -- == Richard G Heck, Jr Professor of Philosophy Brown University http://frege.brown.edu/heck/ == Get my public key from http://sks.keyserver.penguin.de Hash: 0x1DE91F1E66FFBDEC Learn how to sign your email using Thunderbird and GnuPG at: http://dudu.dyn.2-h.org/nist/gpg-enigmail-howto
Re: Self-publishing with LyX
On Thursday 30 August 2007 10:14, Jeremy C. Reed wrote: [clip] > Page 28 need a period and space before "Here". Jeremy -- how do you see and remember things like that. Do you proofread professionally? If so, how much do you charge? [clip] > p.s. I recently read Shepard's book. Your book is a good supplement to it. What is Shepard's book? Thanks SteveT Steve Litt Author: Universal Troubleshooting Process books and courseware http://www.troubleshooters.com/
Re: Indented paragraph in description list.
On Wednesday 29 August 2007, Paul A. Rubin wrote: > For a more aesthetically pleasing solution, I think you would need > either to redefine the itemize environment or create your own (and then > add you new environment to the layout file). Specification of a value > for \listparindent has to be done in an argument to the begin command > for the list environment, which is why LaTeX turned its nose up at your > attempts. (But at least it did so solemnly.) Thanks for the input, guys. Paul, if I go and try to do what you're suggesting above, I'd have to edit the stdlists.inc file, right? If I look at "Style Description", I notice several options that have the same name as the list parameters like \topsep, \labelsep, etc, though capitalized (TopSep, LabelSep, etc). Am I wrong to think that all I have to do is to include the line: ListParIndent Or is this just absurd? -- Rudi Gaelzer Department of Physics Institute of Physics and Mathematics Federal University of Pelotas BRAZIL Registered linux user # 153741
Re: Self-publishing with LyX
Mostly this is commentary on the default LaTeX settings, but more feedback: - pg. xvi should be truly blank (no need for a folio) --- ditto for xviii - Synch .pdf page numbers w/ those used in the text --- either re- set the page numbering so that roman numerals are used for the pdf page numbering, or since it's only going to be electronically set from an entire file, renumber using Arabic numerals from the beginning --- this latter would mean that Chapter 1 would start on pg. 21 - pg. 1 --- ``If you sent it to a professional publisher, and if it were accepted for publication, it would be edited by a professional editor, made into a book by a professional designer and set into type by a professional typesetter.'' I'd say ``...designed by a professional book designer...'' instead --- in general, they don't make books, only a layout sample and a set of specifications. - pg. 2 --- the quote block has an overfull first line --- set it w/ no indent? - pg. 3 --- _four_ hyphens in a row! Set the quoted material smaller or don't indent it so much - pg. 4 --- I know some professionals who do enjoy indexing - pg. 6 & 7 --- list separated from preceding text --- run chapter (or preceding spread) short or make other adjustment to get at least two lines from pg. 6 onto pg. 7 - pg. 15 --- two word stack on lines 7 and 8 - pgs. 18 & 19 --- don't allow a colon to fall at the bottom of a page, separated from the material it precedes - pg. 24 --- Figure captions are indistinguishable from text --- set them off somehow - pg. 25 --- I strongly disagree w/ the recommendation to resample screen graphics --- see previous discussion on this list - pg. 28 --- use typographer's, not shilling fraction - pg. 28 --- don't break between page number and identifier ``page~ \pageref{whatever} - pg. 29 --- please don't overbox tables --- see the booktabs documentation for a discussion of this and a good toolkit for setting nice tables. - pg. 30 --- please have at least 6 or 7 lines on the last page --- run the chapter short by a line, or the previous spread long to fix this - pg. 41 --- (and elsewhere) don't allow a figure to float on a page like that --- tighten up the preceding text or slightly adjust the figures to make them fit where they fall. Throughout: - use pdftex and the microtype package and hanging punctuation? - clean up the edges of your screen grabs --- the first one has a black line to the left, others don't - spreads don't cross-align --- why not? - don't allow the last line of a paragraph to be only one word, esp. a word shorter than the paragraph indent (e.g., ``it'' on pg. 19) --- don't hyphenate the penultimate line of a paragraph (pg. 21) Using memoir would fix some of the above, but a lot of it would have to be done by hand. William -- William Adams senior graphic designer Fry Communications