Re: web references
Hi, When you enter a new bibtex entry in Jabref, the url field is under the "General" tab. In plain text bibtex, it is just the "url = {http:// }", found on the rightmost tab (bibtex entry). Whether and how this will show up in the bibliography depends entirely on the bibtex entry type and the bibtex style used and its options. I had the opposite problem, where I liked to keep urls of the papers in Jabref, but did not want them to show up in the written text. I moved them to the doi field, Jabref doesn't care about the difference and still brings them up, and everyone (me) is happy. I hope this is what you meant. Miki "Roberto Gorjão" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Hi, > > I'm trying to use JabRef to manage my references, and all seemed to go > well... till I got to web page references. How may I create my entries so > LyX import URLs? On LyX I'm using an APA article class and apacitex style. > > I'm also having problems with enconding... I've tryed UTF-8 and ISO8859-1, > but diacritics always appear wrong on LyX. > > Thanks for your help! > > Roberto > > -- > Roberto Gorjão > freelance designer and web designer > personal site: www.castelosnoar.com > PORTUGAL / BRAGA / PÓVOA DE LANHOSO > >
Re: improving wrapping or hyphenation of Emphasis and /path/names
Jeremy C. Reed wrote: I have a 210 page book and a 650 page book with many Emphasis (italics) and /path/to/file/names that extend out into my margin. I am using microtype package which seems to work well for formatting. I don't want to manually place a line break before each of these problem words or file names. I want it automated. I don't want anything in my margin (unless maybe in lyxcode block). Any suggestions? I googled for this for over 30 minutes but couldn't find what I am looking for. (It seems like I asked about this before but can't find in my saved email.) Like Richard, I'm bamphoozled by the emphasis part; I've never seen emphasis screw up hyphenation (although I'll confess that I use it sparingly) (and I'm not very observant). In general, there are four parameters that control LaTeX's use of hypenation: \pretolerance, \tolerance, \hyphenpenalty and \exhyphenpenalty. You can google them to try to find details. Futzing with them might cause the emphasized terms to hyphenate, but also might cause excessive hyphenation elsewhere. I'm not sure, but it might be possible to redefine the \emph command to use alternate values of some/all of these parameters just within the emphasized text. Using something like \url should break up the paths, although it also will dictate a font style (tt?) that you may or may not agree with. If \url doesn't do it for you, there's another trick, but it's rather tedious. You can add \newcommand{\fslash}{\discretionary{}{/}{/}} to your preamble and then change every / to \fslash{} (in ERT). That lets LaTeX split a "word" at a forward slash, including the slash at the start of the next line as in ... /start/of/long /path/to/nowhere. HTH, Paul
Re: web references
Roberto Gorjão wrote: I'm trying to use JabRef to manage my references, and all seemed to go well... till I got to web page references. How may I create my entries so LyX import URLs? On LyX I'm using an APA article class and apacitex style. The apacite user manual contains some discussion of listing URLs (specifically, whether line breaks are handled to APA specifications, and the relative merits of \href v. \url). You might also want to look at http://www.tex.ac.uk/cgi-bin/texfaq2html?label=citeURL for a suggestion about how/where to list web pages. /Paul
Re: LyX for Literary Studies
hi, > Hello all, I'm a long-time LaTeX user but new to LyX. I am currently > working on a package to convert Word-using literature scholars to open > formats and the benefits of TeX. Specifically, I am trying to > find/write a sensible GUI to the ledmac package for typesetting > critical editions. I have some C experience and would be willing to i'm playing in last weeks with the idea to write support for ledpar package. the main problem is too little spare time for exploring everything around (ledmac/ledpar, lyx code, etc...). but it may be possible to merge our efforts if you want to. (?) > work with the code but I'm hoping there's an easier way. I would > appreciate if anyone could help with two problems: > > First is facing-page translations. I would like to just display them > in LyX as a special table environment, and specify a way to export > them to LaTeX. The LaTeX command looks like > >\translatedPoem{ ... original ... }{ ... translation ... } > > Any chance of this working, or should I just write a script to convert > the exported file? How much would it take to add a button to LyX and > have it run: export LaTeX > conversion script > XeTeX resulting file > > open result? if you will progress anyhow on this feel free to contact me for debugging etc. maybe some lyx wiki page to discuss further details would be possible. good luck pavel
Re: web references
Roberto Gorjão wrote: I'm also having problems with enconding... I've tryed UTF-8 and ISO8859-1, but diacritics always appear wrong on LyX. The critical thing is that the encoding match the encoding of the output LaTeX file. Other people will have the details. 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: web references
Roberto Gorjão wrote: Hi, I'm trying to use JabRef to manage my references, and all seemed to go well... till I got to web page references. How may I create my entries so LyX import URLs? On LyX I'm using an APA article class and apacitex style. I'm not sure what you mean. If you want the reference to be a url, just put: \url{http://whatever.com/wherever.pdf}, and don't forget to \usepackage{url} in the preamble. Which field you use for this will depend upon the details fo the apacitex style, which I've not used. It may also be that apacitex isn't really set up to do web references---or, again, there may be a special entry type (other than article, book, etc) to use for this. If so, you can define your own entry types in JabRef, if it's not already there. 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
web references
Hi, I'm trying to use JabRef to manage my references, and all seemed to go well... till I got to web page references. How may I create my entries so LyX import URLs? On LyX I'm using an APA article class and apacitex style. I'm also having problems with enconding... I've tryed UTF-8 and ISO8859-1, but diacritics always appear wrong on LyX. Thanks for your help! Roberto -- Roberto Gorjão freelance designer and web designer personal site: www.castelosnoar.com PORTUGAL / BRAGA / PÓVOA DE LANHOSO
Re: improving wrapping or hyphenation of Emphasis and /path/names
Jeremy C. Reed wrote: I have a 210 page book and a 650 page book with many Emphasis (italics) and /path/to/file/names that extend out into my margin. I think you could probably use \url for the filenames. I'm not sure what the problem with \emph would be. Does that really interfere with hyphenation? If what you mean is that you're doing \emph{/path/to/file/names}, though, then that's different, and I'm not sure how to address it, since \url would make them typewriter-style. But maybe that can be configured. rh -- == 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
improving wrapping or hyphenation of Emphasis and /path/names
I have a 210 page book and a 650 page book with many Emphasis (italics) and /path/to/file/names that extend out into my margin. I am using microtype package which seems to work well for formatting. I don't want to manually place a line break before each of these problem words or file names. I want it automated. I don't want anything in my margin (unless maybe in lyxcode block). Any suggestions? I googled for this for over 30 minutes but couldn't find what I am looking for. (It seems like I asked about this before but can't find in my saved email.) Jeremy C. Reed
Re: Rotating text
> See from reading some archived mail that I can > rotate tables. What > about single lines & blocks of text? You can rotate text. Marcelo ¡Sé un mejor fotógrafo! Perfeccioná tu técnica y encontrá las mejores fotos. Visitá http://ar.yahoo.com/promos/mejorfotografo.html
Re: Rotating text
Dawn & Marie Perry schrieb: See from reading some archived mail that I can rotate tables. What about single lines & blocks of text? This is possible with LaTeX-commands. Have a look at section 22.15 in this manual http://wiki.lyx.org/uploads/LyX/LyXMathebefehle/LyXMathebefehle-3-09.pdf (it is in German, but you'll understand the LaTeX-commands and their results.) regards Uwe
Re: Figure Wrap won't print
Helge Hafting schrieb: This is a latex bug or weakness. The float wrap is implemented using the latex package "floatflt". Unfortunately, it doesn't always work. The wrapped stuff sometimes disappear if it gets too near the page boundary, or particularly if it gets tangled up with document sectioning. For more infos and workarounds about wrap floats, have a look at the EmbeddedObjects manual of LyX. regards Uwe
Re: What is this? latex error iso-8859-7.def
Declan O'Byrne wrote: I have this error, which prevents my document from doing anything. The same document worked fine with lyx 1.5.1 on Ubuntu 7.04. Now I'm running Ubuntu 7.10. I wonder if the problem is related to texlive, and whether there is some package I should add? Is the error that the file is missing? (It's got something to do with encoding the Greek alphabet.) Run 'kpsewhich iso-8859-7.def'. On my system, it's sitting in /tex/latex/greek/. If yours is missing, you can find it on CTAN (for instance, at http://www.tug.org/texlive/devsrc/Master/texmf-dist/tex/latex/greek/). I'm not a texlive user, but I assume you can install a package the normal way (plop the file in the right place and run texhash). /Paul
Re: MS Word to LyX?
On Tue, 4 Sep 2007, Steve Litt wrote: > I don't spoze there's an rtf to LaTeX converter that doesn't require Word > or .Net? ftp://ftp.dante.de/pub/tex/support/rtf2latex/ Or export to HTML and then run "tidy" for it. And then HTML to LaTeX with: http://html2latex.sourceforge.net/ Then import into LyX. (I see that LyX has an File -> Import -> HTML but I don't use it.) I have used these a lot. But it still takes a lot to clean up. (And I haven't used the styles yet.) I often just use vi to search and replace in the new LyX file and then reload in LyX when ready to start working on it. Jeremy C. Reed
LyX to produce Help documentation ?
Hello, I'm new to LyX, and have to say that is a very impressive piece of software. Congrats to the LyX Team. It there available a \documentclass specifically intended to create Help files like a Reference Guide where the TOC use 'keywords' instead of numbers. Currently I'm getting .html help docs by exporting from LyX to LaTeX plain and from here to .html with the latex2html utility. But I'm looking for a couple more of features like: * TOC using 'keywords' not chapter/sections numbers * Hyperlink between keywords Thanks in advance for any help. best regards Teo Fonrouge
Re: APA layout
Roberto Gorjão wrote: I'm using apa.layout to style my papers, but it seems to miss several of the APA style specifications, namely headings' specifications (cf.: http://en.wikipedia.org/wiki/APA_style#Headings). Is there any other layout already developed that follows APA specifications more closely? Are you saying that what shows up in the LyX GUI violates some of the APA style guidelines, or are you saying that the final output (DVI, PDF, ...) violates the guidelines? The layout file only controls what you see in the GUI. If the final output is off, you'll need a different LaTeX document class (or maybe provide some optional settings to the class you are using). /Paul
APA layout
Hi, I'm using apa.layout to style my papers, but it seems to miss several of the APA style specifications, namely headings' specifications (cf.: http://en.wikipedia.org/wiki/APA_style#Headings). Is there any other layout already developed that follows APA specifications more closely? Thanks! Roberto -- Roberto Gorjão freelance designer and web designer personal site: www.castelosnoar.com PORTUGAL / BRAGA / PÓVOA DE LANHOSO
Re: MS Word to LyX?
On Sep 4, 2007, at 2:07 PM, Steve Litt wrote: I have another idea. I could write a series of Word macros to find styles and write their names as tags within the text. Then export as text, write a Ruby parser, and convert to LyX. Only thing is, I don't know if I can write the word macros to do that. Any of you know of online documentation on writing fairly complex word macros? I've got MS Word 97 IIRC. Actually, it's fairly simple. Here's a bit of WordBASIC which I found very useful when doing something similar: http://groups.google.com/group/adobe.scripting.indesign/msg/ 4da089d8e1739be1' If you handle special characters and character styles by search- replacing them first, then apply the above code suitably adapted to your needs I believe you'll be all set. William -- William Adams senior graphic designer Fry Communications
Re: Preferred way to write "c++"
Neal Becker wrote: > Sorry, I meant typeset the word: "c++". http://tug.org/TeXnik/mainFAQ.cgi?file=misc/misc#cpp Georg
Re: MS Word to LyX?
Steve Litt wrote: > Is there a way to transfer an MS Word document to LyX, preserving the > paragraph and character styles in the document? I don't care how messed up > it looks after transfer -- I can tweak the layout file to suit my needs, > but I'd prefer not to lose styles. > > Anyone know how to do that? Translate it to .sxw with OOo and then use http://www.hj-gym.dk/~hj/writer2latex/ in clean mode. It works pretty well on structured documents, and you can even define your own mappings for different styles. This procedure probably requires some tweaking of writer2latex, but should give pretty good results. After that import the .tex file in LyX (might need some tweaking of the syntax.default file as well). Georg
Re: MS Word to LyX?
On Tuesday 04 September 2007 13:34, Steve Litt wrote: > On Tuesday 04 September 2007 12:45, John Kane wrote: > > Word-to-LaTex will give you a LaTeX file that you > > might then able to import to LyX > > http://kebrt.webz.cz/programs/word-to-latex/index.html > > . I suspect the results will be VERY ugly. > > This looks like what I need. Oops, maybe not. I just read the specifications -- it's a Windows based program requiring Word 2002 (I have Word 97 on Windows 98) and .Net 1.1 or .Net 2.0 (I have neither, and don't want to take the time to install them because I no longer use Windows). I don't spoze there's an rtf to LaTeX converter that doesn't require Word or .Net? But somebody here might be able to do the conversion for you, and send you the result. I have another idea. I could write a series of Word macros to find styles and write their names as tags within the text. Then export as text, write a Ruby parser, and convert to LyX. Only thing is, I don't know if I can write the word macros to do that. Any of you know of online documentation on writing fairly complex word macros? I've got MS Word 97 IIRC. What if you export the Word document to HTML? Do you get some CSS with it? Those may encode your styles, and then you can write your simple script. Or some HTML->LaTeX converter might do it for you. Richard
Re: significantly broken
Lance W. Haverkamp wrote: Unnstalled 1.3.7 reinstalled 1.5.1, no change Uninstalled 1.5.1 reinstalled 1.3.7 no change; error messages worded slightly differently, but still largely non-functional beyond the most basic commands. Try running LyX from a terminal, and then running "Reconfigure" when you get into LyX (if it doesn't try to reconfigure itself). You should get some information on what LaTeX classes are or are not being found. You may also want to check your TeX installation. Also... on 09/04/2007 10:23 AM Lance W. Haverkamp said the following: Something appears to be significantly broken: Some of the example documents can't even open without reporting an error. I'm running a Dapper-based MEPIS Linux system. Dapper includes 1.3.7. I have also installed the Dapper version 1.5.1, from the LyX servers (which installed without errors). Opening the example article docbook_article.lyx results in: Warning: Document class not available The layout file requested by this document, docbook.layout, is not usable. This is probably because a LaTeX class or style file required by it is not available. See the Customization documentation for more information. LyX will not be able to produce output. This isn't terribly surprising. I don't think I have the docbook styles needed to produce output with this document either. Try opening the user guide or something like that. Or try creating a blank document with the basic article class. And you might also try seeing if LaTeX will compile a simple document manually. Attempting to view (DVI) chessgame.lyx results in the following error message: An empty output file was generated followed by: Lamda.sty not found You may just not have Lamda.sty. It's not included with all basic TeX installations. Richard
Re: MS Word to LyX?
On Tuesday 04 September 2007 13:35, you wrote: > On Tuesday 04 September 2007, Steve Litt wrote: > > Hi all, > > > > My 1999 classic, "Rapid Learning: Secret Weapon of the Successful > > Technologist" was written in MS Word. It was a styles based document. Now > > I want to make a second edition. > > > > I tried to work on it in OpenOffice, but OpenOffice is terrible. > > > > Is there a way to transfer an MS Word document to LyX, preserving the > > paragraph and character styles in the document? I don't care how messed > > up it looks after transfer -- I can tweak the layout file to suit my > > needs, but I'd prefer not to lose styles. > > > > Anyone know how to do that? > > Steve, > > I've struggled with this kind of conversion -- both ways -- for years. Here > are a few possibilities, none of them pleasant: > > 1. Use the MS Word import in Lyx, which uses wvCleanLatex. >This sometimes works -- but does not seem to retain styles, That's a showstopper >and loads >the preamble with a whole lot of junk which make it hard to get the >format to what you want. That's no big deal, but the dropping of styles is a showstopper. > > 2. Export from OpenOffice to LaTeX 2e, then import into Lyx. >I've often had to do quite a bit of editing the LaTeX before Lyx will >load the file, and the result in Lyx is often horrible, and sometimes >unusable. I get things like whole paragraphs of text changed to Math > mode, with no spaces between words. But with some documents it works well. I have no math mode stuff in this document, so no problem. However, my experience with MS Word to OO Writer is it drops the styles. Anyone else know anything about this? If I *can* preserve the styles, this would probably be what I want. I can blow off any junk placed in it. > > 3. Copy blocks of text in OpenOffice and Paste External Selection in Lyx. >This sometimes works quite well, but I'd hate to do it for a large >document. It's about 90,000 words :-) > > 4. Export from OpenOffice as text, then import it as paragraphs into Lyx. >You'll have to go through the exported file with a text editor to make >sure you have an empty line between paragraphs, and have to go through >the Lyx document to assign a style to each paragraph -- but at least you >have a clean preamble and nothing totally messed up. This is the way >I usually end up making the conversion. Ug! I have another idea. I could write a series of Word macros to find styles and write their names as tags within the text. Then export as text, write a Ruby parser, and convert to LyX. Only thing is, I don't know if I can write the word macros to do that. Any of you know of online documentation on writing fairly complex word macros? I've got MS Word 97 IIRC. Thanks SteveT Steve Litt Author: Universal Troubleshooting Process books and courseware http://www.troubleshooters.com/
Re: MS Word to LyX?
On 9/4/07, Steve Litt <[EMAIL PROTECTED]> wrote: > I don't spoze there's an rtf to LaTeX converter that doesn't require Word > or .Net? There is latex2rtf and rtf2latex. Don't know if it preserves any styles. It's available on Linux. Bob
Re: MS Word to LyX?
On 9/4/07, Steve Litt <[EMAIL PROTECTED]> wrote: > On Tuesday 04 September 2007 13:34, Steve Litt wrote: > > On Tuesday 04 September 2007 12:45, John Kane wrote: > > > Word-to-LaTex will give you a LaTeX file that you > > > might then able to import to LyX > > > http://kebrt.webz.cz/programs/word-to-latex/index.html > > > . I suspect the results will be VERY ugly. > > > > This looks like what I need. > > Oops, maybe not. I just read the specifications -- it's a Windows based > program requiring Word 2002 (I have Word 97 on Windows 98) and .Net 1.1 > or .Net 2.0 (I have neither, and don't want to take the time to install them > because I no longer use Windows). > > I don't spoze there's an rtf to LaTeX converter that doesn't require Word > or .Net? There are more suggestions in the FAQ section of the wiki which may be useful: http://wiki.lyx.org/FAQ/Compatibility Best wishes, Oisin Feeley
Re: MS Word to LyX?
On Tuesday 04 September 2007 13:34, Steve Litt wrote: > On Tuesday 04 September 2007 12:45, John Kane wrote: > > Word-to-LaTex will give you a LaTeX file that you > > might then able to import to LyX > > http://kebrt.webz.cz/programs/word-to-latex/index.html > > . I suspect the results will be VERY ugly. > > This looks like what I need. Oops, maybe not. I just read the specifications -- it's a Windows based program requiring Word 2002 (I have Word 97 on Windows 98) and .Net 1.1 or .Net 2.0 (I have neither, and don't want to take the time to install them because I no longer use Windows). I don't spoze there's an rtf to LaTeX converter that doesn't require Word or .Net? Thanks SteveT Steve Litt Author: Universal Troubleshooting Process books and courseware http://www.troubleshooters.com/
Re: MS Word to LyX?
On Tuesday 04 September 2007 12:45, John Kane wrote: > Word-to-LaTex will give you a LaTeX file that you > might then able to import to LyX > http://kebrt.webz.cz/programs/word-to-latex/index.html > . I suspect the results will be VERY ugly. This looks like what I need. No matter how ugly the output, I can massage it back into health. If it doesn't convert from LaTeX to LyX, I can convert word to XML instead, parse the XML and convert it to LyX. The documentation says it preserves both paragraph and character styles, and allows you to specify placeholder names for equivalent environments, which I can later code. > > Actually OOo is usually fine. It's Word's practice of > mangling styles that seems to mess it up. :) Even on brand new OO files, styles are extremely problematic. If OO were the last content authoring system on earth, I'd be tempted to go back to pen and paper. So thank you all for creating LyX! SteveT
Re: significantly broken
Unnstalled 1.3.7 reinstalled 1.5.1, no change Uninstalled 1.5.1 reinstalled 1.3.7 no change; error messages worded slightly differently, but still largely non-functional beyond the most basic commands. on 09/04/2007 10:23 AM Lance W. Haverkamp said the following: > Something appears to be significantly broken: > > Some of the example documents can't even open without reporting an error. > > I'm running a Dapper-based MEPIS Linux system. Dapper includes 1.3.7. > I have also installed the Dapper version 1.5.1, from the LyX servers > (which installed without errors). > > Opening the example article docbook_article.lyx results in: > > Warning: Document class not available > > The layout file requested by this document, > docbook.layout, > is not usable. This is probably because a LaTeX > class or style file required by it is not > available. See the Customization documentation > for more information. > LyX will not be able to produce output. > > > Attempting to view (DVI) chessgame.lyx results in the following error > message: > > An empty output file was generated > followed by: > Lamda.sty not found > > Some simpler files do print OK. > > > Does the Dapper 1.5.1 version include all the dependencies? Or at > least does it list the dependencies so they can be installed from the Repos? > > > > > > -- Thanks! Lance W. Haverkamp [EMAIL PROTECTED] Contact & encryption info: http://thehaverkamps.net/?Lance:Contact_Me <>< <>< <><
Re: LyX for Literary Studies
[EMAIL PROTECTED] wrote: For Ledmac, you don't insert a footnote at the end of a sentence but apply it to a range of the text. I doubt it is possible to do it in LyX with insets. Or only in a clumsy way. Oh, I see, this is more of a challenge. It'd be possible, though, to define two charstyles, one to do the edtext and then another to do the right kind of footnote. The issue is getting the braces around that next footnote, which I guess is the second argument to the \edtext command---though LyX doesn't actually need to know that. Doing the braces would take a little bit of programming, I think, but not much. That's a LITTLE clumsy, but not too terribly bad. LyX is challenged when it comes to multiple argument commands. Richard
Re: MS Word to LyX?
Word-to-LaTex will give you a LaTeX file that you might then able to import to LyX http://kebrt.webz.cz/programs/word-to-latex/index.html . I suspect the results will be VERY ugly. Actually OOo is usually fine. It's Word's practice of mangling styles that seems to mess it up. :) --- Steve Litt <[EMAIL PROTECTED]> wrote: > Hi all, > > My 1999 classic, "Rapid Learning: Secret Weapon of > the Successful > Technologist" was written in MS Word. It was a > styles based document. Now I > want to make a second edition. > > I tried to work on it in OpenOffice, but OpenOffice > is terrible. > > Is there a way to transfer an MS Word document to > LyX, preserving the > paragraph and character styles in the document? I > don't care how messed up it > looks after transfer -- I can tweak the layout file > to suit my needs, but I'd > prefer not to lose styles. > > Anyone know how to do that? > > Thanks > > SteveT > > Steve Litt > Author: Universal Troubleshooting Process books and > courseware > http://www.troubleshooters.com/ > 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: PracTex Journal: Issue 2007-3: New Issue Contents Notification (fwd)
Appreciated! Cheers, Sam
MS Word to LyX?
Hi all, My 1999 classic, "Rapid Learning: Secret Weapon of the Successful Technologist" was written in MS Word. It was a styles based document. Now I want to make a second edition. I tried to work on it in OpenOffice, but OpenOffice is terrible. Is there a way to transfer an MS Word document to LyX, preserving the paragraph and character styles in the document? I don't care how messed up it looks after transfer -- I can tweak the layout file to suit my needs, but I'd prefer not to lose styles. Anyone know how to do that? Thanks SteveT Steve Litt Author: Universal Troubleshooting Process books and courseware http://www.troubleshooters.com/
significantly broken
Something appears to be significantly broken: Some of the example documents can't even open without reporting an error. I'm running a Dapper-based MEPIS Linux system. Dapper includes 1.3.7. I have also installed the Dapper version 1.5.1, from the LyX servers (which installed without errors). Opening the example article docbook_article.lyx results in: Warning: Document class not available The layout file requested by this document, docbook.layout, is not usable. This is probably because a LaTeX class or style file required by it is not available. See the Customization documentation for more information. LyX will not be able to produce output. Attempting to view (DVI) chessgame.lyx results in the following error message: An empty output file was generated followed by: Lamda.sty not found Some simpler files do print OK. Does the Dapper 1.5.1 version include all the dependencies? Or at least does it list the dependencies so they can be installed from the Repos? -- Thanks! Lance W. Haverkamp [EMAIL PROTECTED] Contact & encryption info: http://thehaverkamps.net/?Lance:Contact_Me <>< <>< <><
Re: Bug with background color of LyX notes?
On 9/4/07, Paul Smith <[EMAIL PROTECTED]> wrote: > > > Go for it. But I won't be surprised if it's a long wait before a > > > developer gets around to that one. > > > > Have we told you that we accept patches? ;-) > > > > Not that every patch goes in directly but a patch is a nice start. :-) > > Unfortunately, I know nothing about patches, and the best I can do is > to file an enhancement request at bugzilla (and I am going to do it). Done: http://bugzilla.lyx.org/show_bug.cgi?id=4200 Paul
Re: Preferred way to write "c++"
Alan Isaac wrote: > On Tue, 04 Sep 2007, Neal Becker wrote: >> Simple question. What is a good way to typeset 'c++'? > > http://www.ctan.org/tex-archive/macros/latex/contrib/listings/ > Sorry, I meant typeset the word: "c++".
Re: Figure Wrap won't print
on 09/04/2007 03:53 AM Helge Hafting said the following: > Lance W. Haverkamp wrote: >> In both 1.3.7 & 1.5.1 I've been unable to get a Figure Float Wrap to >> appear in either DVI or a print-out. It's visible to me--I can see >> both the graphic & the text in LyX. > What you can do is: > Try making the wrapped stuff smaller. Both narrower and > shorter. This usually helps. Sometimes making it wider > helps too. With less text beside your wrapped stuff, > you push the next (sub)section further down and away > from the wrapped region. > > Make sure that the only stuff that will get next to the > wrap is ordinary text. OK...what am I supposed to be changing the size of? The only things I see are config windows called "Graphics" OR "Text Wrap Settings". I have changed all kinds of things in both those windows and see *absolutely no change whatsoever* in the LyX window appearance of the float box, graphic nor text (using 1.5.1). Is something suppose to be changing that I can see? The red (float?) box automatically goes full (column?) width and I see no way to adjust that. Also, the text always starts at the bottom of the graphic--like "justified to bottom". How do I get the text to start at the top of the graphic so it actually has something to wrap around? -- Thanks! Lance W. Haverkamp [EMAIL PROTECTED] Contact & encryption info: http://thehaverkamps.net/?Lance:Contact_Me <>< <>< <><
Re: Bug with background color of LyX notes?
On 9/4/07, José Matos <[EMAIL PROTECTED]> wrote: > > Go for it. But I won't be surprised if it's a long wait before a > > developer gets around to that one. > > Have we told you that we accept patches? ;-) > > Not that every patch goes in directly but a patch is a nice start. :-) Unfortunately, I know nothing about patches, and the best I can do is to file an enhancement request at bugzilla (and I am going to do it). Paul
Re: Preferred way to write "c++"
On Tue, 04 Sep 2007, Neal Becker wrote: > Simple question. What is a good way to typeset 'c++'? http://www.ctan.org/tex-archive/macros/latex/contrib/listings/ hth, Alan Isaac
Re: Bug with background color of LyX notes?
On Tuesday 04 September 2007 15:54:58 Paul A. Rubin wrote: > Go for it. But I won't be surprised if it's a long wait before a > developer gets around to that one. Have we told you that we accept patches? ;-) Not that every patch goes in directly but a patch is a nice start. :-) > /Paul -- José Abílio
Re: Bug with background color of LyX notes?
Paul Smith wrote: I have just noticed that one can select the math mode background color. However, unless one selects the same background color for normal text and for LyX notes, one cannot avoid the reported problem. I agree that this is not a bug, but an enhancement could be introduced to give the user the possibility of choosing the background color of math mode in LyX notes. Go for it. But I won't be surprised if it's a long wait before a developer gets around to that one. /Paul
Preferred way to write "c++"
Simple question. What is a good way to typeset 'c++'?
Re: Bug with background color of LyX notes?
On 8/31/07, Paul A. Rubin <[EMAIL PROTECTED]> wrote: > > I have found what I think is a bug: > > > > 1. change the background color of LyX to white; > > Yuck! Hard on the eyes. > > > > 2. inside a LyX note, insert something in math mode. > > > > One gets white background for the piece of the LyX note in math mode > > instead of yellow. Do you confirm this bug? > > > > I can confirm it, but I'm not sure it's a bug. With the default > background color, I still get a white background for the math-in-a-note > inset. I have just noticed that one can select the math mode background color. However, unless one selects the same background color for normal text and for LyX notes, one cannot avoid the reported problem. I agree that this is not a bug, but an enhancement could be introduced to give the user the possibility of choosing the background color of math mode in LyX notes. Paul
Re: Backspace immediately after math box
Andre Poenitz <[EMAIL PROTECTED]> writes: > Well, not really. Within math if the cursor is behind an 'complex inset' > that ordinarily would be removed by backspace we first select the inset > and only the second backspace actually deletes it. It has been like that > for a while and I think people rather like it. We could do the same > outside math. I am not sure this feature is very useful. We have undo, after all. JMarc
Re: Figure Wrap won't print
Lance W. Haverkamp wrote: In both 1.3.7 & 1.5.1 I've been unable to get a Figure Float Wrap to appear in either DVI or a print-out. It's visible to me--I can see both the graphic & the text in LyX. Floated images work fine, but as soon as I try to wrap text, the entire float becomes invisible to DVI & Post Script. In fact, if there's nothing else on the page, DVI complains that I sent it a blank page! This is a latex bug or weakness. The float wrap is implemented using the latex package "floatflt". Unfortunately, it doesn't always work. The wrapped stuff sometimes disappear if it gets too near the page boundary, or particularly if it gets tangled up with document sectioning. This is why I rarely use it. Even if it works at first, later editing of the document may move the page boundary and suddenly - no float. Latex doesn't complain loudly about this, and so LyX don't notice. (It'd be so much better if latex simply failed to produce output in this case, at least nobody would print without their wrapped stuff.) Possible fixes: 1. Fix the floatflt latex package. This is outside what most LyX developers can/will do. 2. Have LyX produce the effect using some other package instead - but which one would that be, that don't have such problems? 3. Make a new package - probably just as hard as (1). 4. Remove the feature because it doesn't work well. Unfortunately, some people want it and are willing to put up with the problems. What you can do is: Try making the wrapped stuff smaller. Both narrower and shorter. This usually helps. Sometimes making it wider helps too. With less text beside your wrapped stuff, you push the next (sub)section further down and away from the wrapped region. Make sure that the only stuff that will get next to the wrap is ordinary text. You may also want to explore other options. The multicol package can be used to put a figure in one column and text in the other, for example. This instead have the problem of doing some layout manually, i.e. you have to decide exactly what text should go beside your figure. It is no longer "floating" in any sense. But at least this always works - no surprisingly missing stuff. Helge Hafting
Re: Backspace immediately after math box
David Pokorny wrote: Thanks for the lively discussion :) This is actually a somewhat common problem for me, and I understand the value of asking that new users acclimate to a new interface, but in this particular instance, I have to disagree: First, the current behavior is a small (but important) violation of the principle of least astonishment: in all other office applications, typing a backspace either has a small effect or it deletes the current selection. I have also never observed the behavior of "typing a backspace selects something" in any other office application. Backspace selecting something is perhaps a LyX specific thing. This is so you can see what will be deleted if you go on - that is not necessarily obvious inside a math inset. Math is not structured as linearly as text. Getting a selection this way takes away the deletion surprise, because the user knows that backspace will delete a selection. Second, the canonical workaround (typing a left arrow key) is a burden since it means the user has to move his/her right hand to the arrow keys. This constitutes an interruption to the flow of typing if the user finishes a formula, types a few words outside a formula, then decides to rework the formula. Personally this is a very common activity, but I would hazard a guess that any user who is, say, typing up marginally legible class notes, would be in this position moderately frequently. The issue is not the time saved (which is trivial) but rather the necessary interruption of flow. So the argument is that the following change to the behavior of the backspace key is both easier to learn for new users and more useful for all users: * Both inside and outside math, typing a backspace when the cursor is adjacent to the right hand side of an inset moves the cursor to the last position of the left-adjacent inset; typing a backspace has an effect identical to typing the left arrow key. I don't like "backspace as left arrow". Backspace is for deleting. And "any other word processor" will indeed delete a large chunk of non-selected stuff, if the thing to the left of the cursor happens to be a large image. Or perhaps a table. So, backspace deleting an image in LyX is no surprise at all. Having backspace delete other _clearly defined_ entities, like boxes, minipages, footnotes etc. is also easy to understand. These things all have a border, they are clearly "big things" placed into the text. Now formulas may not be so clearly differentiated from text, especially simple inline ones like "x+ay=4z" So I understand the surprise here, and there are many ways of "fixing" the surprise. Some ideas: 1. Have backspace jump into the formula and just delete the last character there. Downside - it is now harder to delete an entire formula. 2a.Have backspace against a formula act the way backspace works inside formulas. That is, select what will be deleted first, then delete on the next press. This makes LyX more self-consistent. Formula editing will work the same even if the cursor comes in from outside. Yes - this is different from what other word processors do, but LyX is sort of famous for having a better math editor than the others anyway. b.One can then discuss if this "select before deleting" policy should be extended to cover footnotes and such too. c.Having to press backspace twice can be avoided in the case of repeated backspacing. When backspacing _into_ the place immediately after a formula (or behind anythin else where we might want to use the selection trick), perform the selection immediately. I.e. don't wait till the user hit backspace again. We know this won't upset any existing selection, the user just pressed backspace so any earlier selection is gone already. This gives "one deletion per backspace" as well as an indication of what will go next time. It could even work in normal text, if one wants consistency all the way. 3. Put a border around any formula, so it will be clearer that the formula is a deletable entity similiar to a footnote, box or table. The downside is that this breaks up reading a page with lots of inline math. Not good, as LyX is supposed to be good for math editing. To the positive argument that users get used to the existing behavior in practice, I would agree that it is possible for users to get used to this behavior, but I would add the normative argument that users should not have to adapt to accommodate a behavior that is (even marginally) astonishing. We don't want unnecessary surprises. But if a different way of working is more efficient, then it is better. To the argument that such behavior would be superfluous since it would mean that there are two keys that perform the same action, consider the identical behavior of the space key and the right arrow when the cursor is in the last position of a math inset. Or the identical behavior of the down arrow key and the tab key when in the cursor
Figure Wrap won't print
In both 1.3.7 & 1.5.1 I've been unable to get a Figure Float Wrap to appear in either DVI or a print-out. It's visible to me--I can see both the graphic & the text in LyX. Floated images work fine, but as soon as I try to wrap text, the entire float becomes invisible to DVI & Post Script. In fact, if there's nothing else on the page, DVI complains that I sent it a blank page! Console error is as follows: Error: Bad bounding box in Type 3 glyph Warning: Output is empty I have no idea what a bounding box is & didn't do anything identified as such. What's the trick? Using MEPIS Linux 6.5 based on Ubuntu Dapper LyX versions both 1.3.7 & 1.5.1 had same results -- Thanks! Lance W. Haverkamp [EMAIL PROTECTED] Contact & encryption info: http://thehaverkamps.net/?Lance:Contact_Me <>< <>< <><