diagrams wrong instant preview (in Spanish)
To write diagrams with amscd, the commands \CD and @>>> are used; but in Spanish, the characters '@>>>' give conflicts and LaTeX errors with some defaults options worked by spanish.ldf (babel). Using the command \deactivatequoting, offered by such spanish/babel package, before the diagram, the file compiles right and the output is correct, but the instant preview in LyX is not it. E. g., the diagram A@>>>B@>>>C, shows O.K. in the output, such as A--->B--->C but in LyX display only the character A is showed. (Moreover, for the same file - the problem is present too changing the language file in English, - the problem continues opening the Spanish file in LyX with LANG=en, - the problem disappear opening the English file in LyX with LANG=en) (lyx-1.5-3 on Ubuntu GNU/Linux ) Do you know a solution for this, if possible? Thanks in advance. Ignacio García
key bindings
Hi, For some reason, the C-S-space and C-space bindings on my lyx 1.5.3 (windows) are still used by Windows and not by lyx. I am using the default (cua) bind file. I can't write like this. What can I do to remedy this? Where is the problem? Thanks miki
Re: Instant Preview isn't working (LyX 1.6.0svn)
On Sat, 23 Feb 2008 11:13:53 +0100 "Dominik Böhm" <[EMAIL PROTECTED]> wrote: [snip ...] > > I have two other request aswell: > > 1. Is it possible to generate previews for ERT-insets? It would be great if > we could configure single insets to be rendered as preview. I am asking, as That would have to be on a per ERT basis otherwise related ERTs would cause problems. For example I define in my header (easier this way when I make a lot of changes with what to export, for exercises and such) \newcommand{\ignore}[1]{} and then in two ERTs \ignore{ and } How would this be handled for instant previews of ERTs? > the support for trees in LyX is not the best, yet. I print some trees using > something like > > \Tree { & && \K{+} \B{dll} \B{drr} \\ > &\K{$\cdot$}\B{dl}\B{dr}&& & &\K{$\cdot$} \B{dl} > \B{dr} \\ > \K{2} & & \K{$a$} && \K{3} & & \K{$\mathcircumflex$} > \B{dl} \B{dr} \\ > & & && & \K{$b$} > && \K{2}} > > And have to render my >100 pages document each time to have a look if I > entered anything correctly (what I usually don't in the first approach). > > 2. Is it possible to mark a part of my file to be collapsible and > expandable? I would like to have my header (which now is not in an external > file) on top of my file but collapsed. I am looking for the "region-feature" > in visual studio. There you can define regions that become collapsible. I > think that would be a great feature! > There was a talk about this some time back with regards to outlines. I don't remember the reasons for not implementing it at the time. > Thanks again, have a nice weekend and best regards > Dominik
Re: key bindings
On Sun, Feb 24, 2008 at 01:42:28PM +0200, Miki Dovrat wrote: > Hi, > > For some reason, the C-S-space and C-space bindings on my lyx 1.5.3 > (windows) are still used by Windows and not by lyx. > > I am using the default (cua) bind file. Is the key actually deliverd to LyX or is Windows 'eating' it without passing it to the aplication? > I can't write like this. What can I do to remedy this? > Where is the problem? An unusual order for questions... Andre'
Re: Instant Preview isn't working (LyX 1.6.0svn)
On Sun, Feb 24, 2008 at 12:55 PM, Micha <[EMAIL PROTECTED]> wrote: > > > 1. Is it possible to generate previews for ERT-insets? It would be great > if > > we could configure single insets to be rendered as preview. I am asking, > as > > That would have to be on a per ERT basis otherwise related ERTs would > cause > problems. Yes, that's clear. It's not possible to generate previews from all kind of ERTs. I have for instance a lot of configuration stuff in previews. But instant previews for selected ERTs would be a really great feature. Maybe this should be implemented by some new kind of inset that inherits from ERT and adds only the preview functionality. Thus, there would be no need for an extra ERT-inset configuration dialog.
[ANNOUNCE]: LyX 1.5.4 is released
Public release of LyX version 1.5.4 We are pleased to announce the release of LyX 1.5.4. This is a maintenance release. Besides the usual stability improvements and fixes, this release comes with major improvements in the handling of Chinese, Korean and Japanese (CJK) languages and scripts, and introduces some minor new features (such as a character count option). While this release continues the stable 1.5.x series, work on the next major release, 1.6.0, is proceeding. A first alpha version of LyX 1.6.0 will be released later this week for those who like the bleeding edge experience. Notwithstanding this, expect one or two more 1.5.x versions to be released, of which the last one will be able to read the 1.6 format. All users, especially CJK users, are encouraged to upgrade to this version. Caveat: We were forced to switch from the LaTeX package 'floatflt' to 'wrapfig' for wrap figure floats due to a license problem that limited the availability of the former package. In general, this should improve your documents containing wrap figures, however, it is possible that the look and positioning of the floats changes due to the package change. If you have documents with wrap floats, please make a backup before upgrading and check the output. A detailed list of changes is appended below, remaining known problems are listed in the file RELEASE-NOTES. In case you are wondering what LyX is, here is what http://www.lyx.org/ has to say on the subject: LyX is a document processor that encourages an approach to writing based on the structure of your documents, not their appearance. It is released under a Free Software / Open Source license. LyX is for people that write and want their writing to look great, right out of the box. No more endless tinkering with formatting details, 'finger painting' font attributes or futzing around with page boundaries. You just write. In the background, Prof. Knuth's legendary TeX typesetting engine makes you look good. On screen, LyX looks like any word processor; its printed output -- or richly cross-referenced PDF, just as readily produced -- looks like nothing else. Gone are the days of industrially bland .docs, all looking similarly not-quite-right, yet coming out unpredictably different on different printer drivers. Gone are the crashes 'eating' your dissertation the evening before going to press. LyX is stable and fully featured. It is a multi-platform, fully internationalized application running natively on Unix/Linux, the Macintosh and modern Windows platforms. You can download LyX 1.5.4 here (the .bz2 are compressed with bzip2, which yields smaller files): ftp://ftp.lyx.org/pub/lyx/stable/lyx-1.5.4.tar.gz ftp://ftp.lyx.org/pub/lyx/stable/lyx-1.5.4.tar.bz2 ftp://ftp.devel.lyx.org/pub/lyx/lyx-1.5.4.tar.gz ftp://ftp.devel.lyx.org/pub/lyx/lyx-1.5.4.tar.bz2 and it should propagate shortly to the following mirrors (which will also host the .bz2 versions): ftp://ftp.lip6.fr/pub/lyx/stable/lyx-1.5.4.tar.gz http://lyx.cybermirror.org/stable/lyx-1.5.4.tar.gz ftp://gd.tuwien.ac.at/publishing/tex/lyx/stable/lyx-1.5.4.tar.gz ftp://ftp.ntua.gr/pub/X11/LyX/stable/lyx-1.5.4.tar.gz http://sunsite.icm.edu.pl/pub/unix/editors/lyx/stable/lyx-1.5.4.tar.gz http://lyx.mirror.fr/stable/lyx-1.5.4.tar.gz Prebuilt binaries (rpms for Linux distributions, Mac OS X and Windows installers) should soon be available at ftp://ftp.lyx.org/pub/lyx/bin/1.5.4/ If you already have the LyX 1.5.2 sources, you may want to apply one of the following patches instead ftp://ftp.lyx.org/pub/lyx/stable/patch-1.5.4.gz ftp://ftp.lyx.org/pub/lyx/stable/patch-1.5.4.bz2 Note that this patch will not produce valid LyX/Mac sources, since some binary files have been added for this release. If you find what you think is a bug in LyX 1.5.4, you may either e-mail the LyX developers' mailing list (lyx-devel lists.lyx.org), or open a bug report at http://bugzilla.lyx.org If you're having trouble using the new version of LyX, or have a question, first check out http://www.lyx.org/help/. If you can't find the answer there, e-mail the LyX users' list (lyx-users lists.lyx.org). Enjoy! The LyX team. What's new in version 1.5.4? ** Updates: *** * DOCUMENTATION AND LOCALIZATION - New manual "LyX's detailed math manual" available in English, French, and German. It includes the content of the example file "mathed.lyx", which is no more shipped separately. - New section "Floats Side by Side" in the EmbeddedObjects manual. - New Spanish translation of the FAQ manual and the mathed example file. - New Japanese splash LyX file. - Updated French and Spanish Introduction manual. - Updated German, French, and Spanish Tutorial manual. - Updated German User's Guide manual. - New Russian tr
Included figure doesn't get refreshed after editing
Dear all, when I include a figure into LyX (in my case a svg file), LyX loads the file perfectly and exporting the document to pdf also works great. But, when I right click the figure and click Edit, change the image in inkscape and return LyX doesn't recognize the changes. In other words, the preview image doesn't get updated and the pdf export doesn't change either (not even if I change some other things in my document). Closing my document and opening it again doesn't trigger a new conversion run of the image. The only way to refresh the figure is restarting LyX. And again the question: is that a bug or are my settings wrong? (Btw, LyX 1.6.0svn) Thanks and best regards Dominik
Re: Admonition paragraphs
Steve Litt wrote: The following is part of my layout file for "Learn Vim Tonight: Use the Worlds Most Productive Editor Tomorrow". Note that these snippits don't include Preamble/endpreamble. Thanks, I'll have a play with this. I'm grapplig with what I thought would be a simple table at the moment. ;-) Still have to see if I can get happy with code listings. In general, can I assume that I can 'call out' to manually written LaTeX code wherever I need to? James
Re: Admonition paragraphs
On Sunday 24 February 2008 11:04, James Mansion wrote: > Steve Litt wrote: > > The following is part of my layout file for "Learn Vim Tonight: Use the > > Worlds Most Productive Editor Tomorrow". Note that these snippits don't > > include Preamble/endpreamble. > > Thanks, I'll have a play with this. I'm grapplig with what I thought > would be a simple table at the moment. ;-) > > Still have to see if I can get happy with code listings. > > In general, can I assume that I can 'call out' to manually written LaTeX > code wherever I need to? Hi James, I'm not sure what you're asking. Could you please rephrase the question? Thanks SteveT
Re: Admonition paragraphs
James Mansion wrote: Steve Litt wrote: The following is part of my layout file for "Learn Vim Tonight: Use the Worlds Most Productive Editor Tomorrow". Note that these snippits don't include Preamble/endpreamble. Thanks, I'll have a play with this. I'm grapplig with what I thought would be a simple table at the moment. ;-) Still have to see if I can get happy with code listings. In general, can I assume that I can 'call out' to manually written LaTeX code wherever I need to? Yes. Just put it in ERT. rh
Re: key bindings
Miki Dovrat wrote: Hi, For some reason, the C-S-space and C-space bindings on my lyx 1.5.3 (windows) are still used by Windows and not by lyx. I am using the default (cua) bind file. I can't write like this. What can I do to remedy this? Where is the problem? Thanks miki Miki, 1. What is Windows using them for? That might point to the problem. 2. Does this continue after a reboot? 3. You might try killing any unnecessary background processes, one by one, until either the problem reverses itself or you run out of things to kill. /Paul
Character styles in 1.5
Hi all, I just looked in LyX 1.5.3 under the Insert menu for Insert->Character_styles and couldn't find it. I searched all of the menu system and for some reason couldn't find it (maybe I missed something?). My document's layout file defines several special character styles, and the layout is chooseable from the document class field of the document settings dialog box, but I could find no way to invoke my special character styles. How do I invoke my character styles? The documentation didn't help. Thanks SteveT Steve Litt Books written in LyX: Troubleshooting Techniques of the Successful Technologist Twenty Eight Tales of Troubleshooting Troubleshooting: Just the Facts
Re: Character styles in 1.5
On Sun, Feb 24, 2008 at 7:38 PM, Steve Litt <[EMAIL PROTECTED]> wrote: > I just looked in LyX 1.5.3 under the Insert menu for > Insert->Character_styles > and couldn't find it. I searched all of the menu system and for some > reason > couldn't find it (maybe I missed something?). Check the "Edit => Text Style" menu. There you should be able to select your custom char styles.
Re: Character styles in 1.5
Steve Litt wrote: Hi all, I just looked in LyX 1.5.3 under the Insert menu for Insert->Character_styles and couldn't find it. I searched all of the menu system and for some reason couldn't find it (maybe I missed something?). My document's layout file defines several special character styles, and the layout is chooseable from the document class field of the document settings dialog box, but I could find no way to invoke my special character styles. How do I invoke my character styles? I think they're supposed to show up under Edit -> Text Style. The documentation didn't help. No argument there. /Paul
LyX 1.5.3 character style documentation problem
Hi all, The documents under the help menu for 1.5.3 use the phrase "character style" in two very different contexts, creating confusion. One or the other should be called something else. Some parts discuss what I mean by a character style -- a custom style that can be applied, over and over again, to pieces of text. Other parts of the docs discuss something more like fine tuning, where you apply typefaces, shapes and weights to pieces of text on an individual basis. IMHO the latter is a very poor way to organize a document. For instance, in the userguide, this section from 3.6.1 appears to discuss the custom style applied many places: "Many modern typesetting and markup languages have begun to move towards specifying character styles rather than specifying a particular font. For example, instead of changing to an italicized version of the current font to emphasize text, you use an ``emphasized style'' instead. This concept fits in perfectly with LyX. In LyX, you do things based on contexts, rather than focusing on typesetting details." Section 3.6.3 discusses the Emph and Noun buttons as character styles. They may be, but they're not user created character styles. Then 3.6.4 discusses the text style dialog as a "character style" (first sentence of the section), and goes on to discuss fine tuning, and finally admonishes not to overuse fonts, which although true sounds like it might be an admonishment not to overuse user defined character styles, which is IMHO very false. Section 5.3.6 of the Customization document discusses character styles as I generally define them -- user defined and applicable to any text. Perhaps in future documentation versions we should call what I call character styles as "user defined character styles", stuff from the buttons (emph and noun) as LyX-provided character styles, and stuff from the text style dialog as "text fine tuning". That way the documentation will be much clearer to newbie and expert alike. Thanks SteveT Steve Litt Books written in LyX: Troubleshooting Techniques of the Successful Technologist Twenty Eight Tales of Troubleshooting Troubleshooting: Just the Facts
Re: LyX 1.5.3 character style documentation problem
U guys want me to write a very short doc, for the LyX Project to include in the HELP menu, about character styles? SteveT On Sunday 24 February 2008 13:57, Steve Litt wrote: > Hi all, > > The documents under the help menu for 1.5.3 use the phrase "character > style" in two very different contexts, creating confusion. One or the other > should be called something else. > > Some parts discuss what I mean by a character style -- a custom style that > can be applied, over and over again, to pieces of text. Other parts of the > docs discuss something more like fine tuning, where you apply typefaces, > shapes and weights to pieces of text on an individual basis. IMHO the > latter is a very poor way to organize a document. > > For instance, in the userguide, this section from 3.6.1 appears to discuss > the custom style applied many places: > > "Many modern typesetting and markup languages have begun to move towards > specifying character styles rather than specifying a particular font. For > example, instead of changing to an italicized version of the current font > to emphasize text, you use an ``emphasized style'' instead. This concept > fits in perfectly with LyX. In LyX, you do things based on contexts, rather > than focusing on typesetting details." > > Section 3.6.3 discusses the Emph and Noun buttons as character styles. They > may be, but they're not user created character styles. Then 3.6.4 discusses > the text style dialog as a "character style" (first sentence of the > section), and goes on to discuss fine tuning, and finally admonishes not to > overuse fonts, which although true sounds like it might be an admonishment > not to overuse user defined character styles, which is IMHO very false. > > Section 5.3.6 of the Customization document discusses character styles as I > generally define them -- user defined and applicable to any text. > > Perhaps in future documentation versions we should call what I call > character styles as "user defined character styles", stuff from the buttons > (emph and noun) as LyX-provided character styles, and stuff from the text > style dialog as "text fine tuning". That way the documentation will be much > clearer to newbie and expert alike. > > Thanks > > SteveT > > Steve Litt > Books written in LyX: > Troubleshooting Techniques of the Successful Technologist > Twenty Eight Tales of Troubleshooting > Troubleshooting: Just the Facts
Re: LyX 1.5.3 character style documentation problem
Steve Litt wrote: Hi all, The documents under the help menu for 1.5.3 use the phrase "character style" in two very different contexts, creating confusion. One or the other should be called something else. This seems right. Some parts discuss what I mean by a character style -- a custom style that can be applied, over and over again, to pieces of text. Other parts of the docs discuss something more like fine tuning, where you apply typefaces, shapes and weights to pieces of text on an individual basis. IMHO the latter is a very poor way to organize a document. That's also right. Section 3.6.3 discusses the Emph and Noun buttons as character styles. They may be, but they're not user created character styles. In 1.6, the distinction between user-defined and non-user-defined styles will begin to evaporate a bit. Some things, like \emph, will continue to be hard-coded, and \emph isn't a character style at all. But there will be a lot of other character styles---which we now basically understand to mean "semantic markup"---that will be contained in layout files of one sort or another and so will be, if not user-defined, then user customizable. Then 3.6.4 discusses the text style dialog as a "character style" (first sentence of the section), and goes on to discuss fine tuning, and finally admonishes not to overuse fonts, which although true sounds like it might be an admonishment not to overuse user defined character styles, which is IMHO very false. That all needs to be changed. Using the text style dialog is precisely NOT using character styles. Section 5.3.6 of the Customization document discusses character styles as I generally define them -- user defined and applicable to any text. Perhaps in future documentation versions we should call what I call character styles as "user defined character styles", stuff from the buttons (emph and noun) as LyX-provided character styles, and stuff from the text style dialog as "text fine tuning". That way the documentation will be much clearer to newbie and expert alike. We'll need to check the 1.6 docs, but to some extent this has been fixed with a change of terminology. What used to be called "character styles" are now more generally "flex insets". rh
Otl2LyX shellscript
Hi all, Several months ago I submitted an awk script to convert from VimOutliner to LyX. Now I'm starting to do more of my authoring in VimOutliner before converting to LyX, and within VimOutliner I represent emphasis by either !emphasize one word or !{emphasize all these words}. In order to turn those into character styles, I've created this shellscript: #!/bin/bash #cat junk.jnk | sed -e 's/[[:space:]]!../___/g; h; i\shunk' tmpfile=mktemp cat > $tmpfile ex $tmpfile \ -c"%s/!{\([^}]\+\)}/\r\rbegin_inset CharStyle MyEmph\rshow_label false\rstatus inlined\r\rbegin_layout Standard\r\1\rend_layout\r\rend_inset\r\r/g" \ -c"%s/!{/bangsign_brace/" \ -c"%s/\(\s\)!\(\S\+\)/\1\r\rbegin_inset CharStyle MyEmph\rshow_label false\rstatus inlined\r\rbegin_layout Standard\r\2\rend_layout\r\rend_inset\r\r/g" \ -c"%s/bangsign_brace/!{/" \ -c"wq!" # -c"%s/\(\s\)!\(\S\+\)/\1>>>\2<< body.lyx Vim body.lyx shell.lyx I hope this helps someone :-) SteveT SteveT Steve Litt Books written in LyX: Troubleshooting Techniques of the Successful Technologist Twenty Eight Tales of Troubleshooting Troubleshooting: Just the Facts
Re: Otl2LyX shellscript
Steve Litt wrote: I'm not good enough at sed to do the parsing in sed, so I used ex (the back end engine editor for Vim). My script has two failings: 1) On single word emphasis, it emphasizes any trailing punctuation. I had trouble with structures like [^;,.] so couldn't do that. What about \b? i.e., word boundaries? 2) On multiword emphasis, it works only if the opening and closing braces are on the same line. Otherwise it leaves them as is so that they can be manually fixed within LyX. Certainly in perl you could do this, by using the s modifier. rh
Re: LyX 1.5.3 character style documentation problem
On Sunday 24 February 2008 14:27, rgheck wrote: > Steve Litt wrote: > > Perhaps in future documentation versions we should call what I call > > character styles as "user defined character styles", stuff from the > > buttons (emph and noun) as LyX-provided character styles, and stuff from > > the text style dialog as "text fine tuning". That way the documentation > > will be much clearer to newbie and expert alike. > > We'll need to check the 1.6 docs, but to some extent this has been fixed > with a change of terminology. What used to be called "character styles" > are now more generally "flex insets". > > rh Do you know if I'm able to download and compile 1.6.0 with a --with-version-suffix=1.6.0 so I could independently run my 1.4.2, 1.5.3, and 1.6.0? Of course, I'll need to get Mandriva 2008 to do compile 1.6.0 :-) SteveT Steve Litt Author: Universal Troubleshooting Process books and courseware http://www.troubleshooters.com/
Re: LyX 1.5.3 character style documentation problem
Steve Litt wrote: U guys want me to write a very short doc, for the LyX Project to include in the HELP menu, about character styles? I think the better thing to do would be to update the existing documentation, in particular, to rationalize section 3.6 so that it is clearer about what "character styles" really are, as opposed to "finger painting". In particular, section 3.6.4 needs serious attention, as you already pointed out; and some reference needs to be made here to the ability for users really to define their own character styles. That can of course cross-reference section 5.3.6 of the Customization manual. As I said in a different message, all of this will be a bit more sensible in 1.6, where it will also be easier to use custom styles, due to the introduction of layout modules. rh
Re: LyX 1.5.3 character style documentation problem
Steve Litt wrote: On Sunday 24 February 2008 14:27, rgheck wrote: Steve Litt wrote: Perhaps in future documentation versions we should call what I call character styles as "user defined character styles", stuff from the buttons (emph and noun) as LyX-provided character styles, and stuff from the text style dialog as "text fine tuning". That way the documentation will be much clearer to newbie and expert alike. We'll need to check the 1.6 docs, but to some extent this has been fixed with a change of terminology. What used to be called "character styles" are now more generally "flex insets". Do you know if I'm able to download and compile 1.6.0 with a --with-version-suffix=1.6.0 so I could independently run my 1.4.2, 1.5.3, and 1.6.0? The simplest thing to do is: Either install it somewhere else, or just run it "in place" without installing, if you just want to check it out. (It's pre-alpha at the moment, so not necessarily recommended for actual work, though there are people using it for that.) You will want to make sure that you use a different user directory for 1.6, so write a trivial shell script such as: /cvs/lyx16/src/lyx -userdir /home/slitt/.lyx16/ and use it to start 1.6. The preferences format can differ from version to version, so you should also do something like this, too, if you're using both 1.4 and 1.5. rh
[ANNOUNCE]: LyX 1.5.4 is released
Thanks for all the hard work! I am especially pleased to see the spacing memoir-compatibility issue resolved. Eran
Re: [ANNOUNCE]: LyX 1.5.4 is released
On Sunday 24 February 2008 13:20:44 Jürgen Spitzmüller wrote: > Public release of LyX version 1.5.4 > Thanks for all the hard work. Compiled and running well on Kubuntu 7.10. -- http://www.unmusic.co.uk - about me, writing, music, gender, geek sitcom Previous three articles: Linux for mother - http://www.linux.com/feature/125799 IBM refuse to open source OS/2 - http://www.osnews.com/story/19298/ iPhone: I don't want one - http://www.osnews.com/story.php/18959/
Figure references 1.5.3: Danger Will Robinson
Hi all, Here are two small LyX files. The only difference is that in bug2.lyx the labels come last inside the floats, whereas in bug.lyx the labels come first. bug2.lyx works (after a couple view->pdf, but bug.lyx never works (at least on my 1.5.3). I'm attaching the files and the two images they use, so that you all can be aware of this little gotcha. Or, if it's only happening on my system, maybe we can exploit the differences to find out why. Thanks SteveT Steve Litt Books written in LyX: Troubleshooting Techniques of the Successful Technologist Twenty Eight Tales of Troubleshooting Troubleshooting: Just the Facts littbug153.tgz Description: application/tgz
Re: Figure references 1.5.3: Danger Will Robinson
On Sunday 24 February 2008 17:35, Steve Litt wrote: > Hi all, > > Here are two small LyX files. The only difference is that in bug2.lyx the > labels come last inside the floats, whereas in bug.lyx the labels come > first. bug2.lyx works (after a couple view->pdf, but bug.lyx never works > (at least on my 1.5.3). I'm attaching the files and the two images they > use, so that you all can be aware of this little gotcha. > > Or, if it's only happening on my system, maybe we can exploit the > differences to find out why. > > Thanks > Steve, I get the same results as you with these examples, though I'm using 1.5.1 rather than 1.5.3. But I always put the label inside the caption of the float, and have never had this problem. As the caption is what is actually numbered, I think that is the logical place to put the label. A few minutes ago I completed a 66 page document with 235 figures, almost all of them labeled and cross-referenced, and while I have not done a final proof-read I do not think I have an error in any of those references. Les
Re: Figure references 1.5.3: Danger Will Robinson
On Sunday 24 February 2008 18:44, Les Denham wrote: > On Sunday 24 February 2008 17:35, Steve Litt wrote: > > Hi all, > > > > Here are two small LyX files. The only difference is that in bug2.lyx the > > labels come last inside the floats, whereas in bug.lyx the labels come > > first. bug2.lyx works (after a couple view->pdf, but bug.lyx never works > > (at least on my 1.5.3). I'm attaching the files and the two images they > > use, so that you all can be aware of this little gotcha. > > > > Or, if it's only happening on my system, maybe we can exploit the > > differences to find out why. > > > > Thanks > > Steve, > > I get the same results as you with these examples, though I'm using 1.5.1 > rather than 1.5.3. > > But I always put the label inside the caption of the float, and have never > had this problem. As the caption is what is actually numbered, I think > that is the logical place to put the label. > > A few minutes ago I completed a 66 page document with 235 figures, almost > all of them labeled and cross-referenced, and while I have not done a final > proof-read I do not think I have an error in any of those references. > > Les Aha! I never even thought of putting it inside the caption (should it be at the beginning or end of caption?). Whatever the final answer, it should be documented. Thanks SteveT Steve Litt Books written in LyX: Troubleshooting Techniques of the Successful Technologist Twenty Eight Tales of Troubleshooting Troubleshooting: Just the Facts
Re: Figure references 1.5.3: Danger Will Robinson
On Sunday 24 February 2008 18:06, Steve Litt wrote: > Aha! I never even thought of putting it inside the caption (should it be at > the beginning or end of caption?). Whatever the final answer, it should be > documented. Steve, I don't know whether it is explicitly documented, but if you look at the documentation for floats (4.3.2.1 in UserGuide.lyx for 1.5.1) and examine how the labels are placed in the floats, you will see they are in the captions, at the beginning. I doubt if putting them elsewhere in the caption would make any difference, but when you click on the label icon, the default name of the label is based on the first few words after the cursor. Doing this in your example gives "The-Rapid-Learning" as the label for the first figure, and "The-Terminology-learning" for the second figure. The default is close to what you want in many cases. If there was a particular word or phrase later in the caption you wanted in the label you could insert the label in front of it, and I'm sure it would work fine. Les
footnotes problem, .rtf import, view source on 1.5.3
Hi, I'm converting some documents into LyX. As a side-note, I can't get .rtf import to work but can seem to import latex files. It would be easier if I could import .rtf files. Anyway, the problem is that once imported, I need to re-configure the footnotes. When I create a footnote and copy and paste the contents into the new blank footnote, it formats it with a blank line in the footnotes footer between the footnote number and the text of the footnote. Same thing happens when I select the text and then use a footnote command. In viewing the source I see the problem is the {flushleft} paragraph command at the beginning of the footnote. I can't delete this from view source. And in fact another problem is that when I put the cursor in another paragraph, the view source insists on giving me the old paragraph that is no longer selected. Seems like a bug. So the only way I've been able to get rid of the blank line between the footnote number and its contents is to completely re-type the footnote into a new footnote inset. This isn't as bad as re-typing the whole document certainly. But it is a bit of a pain when there are more than a few footnotes in a doc. One work-around would be if there a way I can edit the source from within LyX. Can I? Or better, is there a way I can select and create footnotes from existing text without it creating this formatting problem that causes me to completely re-type? In summary, I'm mentioning a few problems here: Main one is: 1) creating a footnote from existing text causing unusable formatting. Also: 2) being able to import .rtf files 3) Getting view source to view the paragraph in which the cursor resides as the User Guide says it will. 4) editing source from within LyX. Help / insights on any of the above appreciated. thanks, jamie faunt
copyright symbol on mac
Hi, I know I can use ERT \copyright to get a copyright symbol on a mac LyX 1.5.3. I used to be able to get it with a keystroke combination in linux. Does anyone know a keystroke for the copyright symbol that would work on a mac? thanks, jamie faunt
Re: copyright symbol on mac
On Feb 24, 2008, at 8:56 PM, [EMAIL PROTECTED] wrote: Hi, I know I can use ERT \copyright to get a copyright symbol on a mac LyX 1.5.3. I used to be able to get it with a keystroke combination in linux. Does anyone know a keystroke for the copyright symbol that would work on a mac? g Bennett
Re: footnotes problem, .rtf import, view source on 1.5.3
On Feb 24, 2008, at 9:13 PM, [EMAIL PROTECTED] wrote: ... In summary, I'm mentioning a few problems here: Main one is: 1) creating a footnote from existing text causing unusable formatting. I'm not following your description of this problem. Is the problem that when you copy and paste, LyX is copying the paragraph formatting? -- If so, you can edit the formatting by selecting Edit > Paragraph Settings 2) being able to import .rtf files I've found it's easiest to convert .rtf to .tex, then edit the .tex file to clean it up, removing all the excess formatting with simple search and replace, and then import into LyX. 3) Getting view source to view the paragraph in which the cursor resides as the User Guide says it will. It seems like this problem arises when the "Automatic update" option is unchecked; this indeed seems to be a bug. The workaround is to check that option, and everything should work as expected -- at least it does for me. 4) editing source from within LyX. This is not currently possible. Bennett
Re: footnotes problem, .rtf import, view source on 1.5.3
Quoting Bennett Helm <[EMAIL PROTECTED]>: On Feb 24, 2008, at 9:13 PM, [EMAIL PROTECTED] wrote: ... In summary, I'm mentioning a few problems here: Main one is: 1) creating a footnote from existing text causing unusable formatting. I'm not following your description of this problem. Is the problem that when you copy and paste, LyX is copying the paragraph formatting? -- If so, you can edit the formatting by selecting Edit > Paragraph Settings I've tried to fix it with Edit > Paragraph by selecting just the footnote text as well as the whole paragraph. Doesn't solve it -- presumably because it doesn't have an option to undo the formatting -- I can only choose, left, right, justified or centered. The problem is that when I create a new footnote and paste text into it from elsewhere, (OR if I select text and execute footnote -- either way) it adds a whole blank line between the footnote number and the footnote text in the dvi or ps view of the footnote footer. Seems that in earlier versions of LyX this was never a problem. Now the only way I can do it is to completely re-type the footnote contents. 2) being able to import .rtf files I've found it's easiest to convert .rtf to .tex, then edit the .tex file to clean it up, removing all the excess formatting with simple search and replace, and then import into LyX. thanks -- I'll try that. 3) Getting view source to view the paragraph in which the cursor resides as the User Guide says it will. It seems like this problem arises when the "Automatic update" option is unchecked; this indeed seems to be a bug. The workaround is to check that option, and everything should work as expected -- at least it does for me. Yes -- you're right -- this solves it. Thanks! Thanks also for the keystroke for copyright. That works. :-) jamie faunt