Re: \bind-files (Mac, 1.6)
Nick Bell wrote: To try to put them back I put \bind-file mac Err that's the problem - it should be \bind_file mac not \bind-file mac. ~Nick
Change names of TOC? Bibliography?
Does anyone know how to change the name of this section? In Lyx report(koma-script) it prints out by default as Contents. Can I make it read Table of Contents ? Also, can I change the default name of the Bibliography as well? I tried adding the following to the preamble, but it doesn't seem to have an effect: \renewcommand{\bibname}{List of References} I am using the 'bibtotoc' option in the arguments to the document class. What's the difference between this and using the following ERT TEX code? \addcontentsline{toc}{chapter}{\bibname} With the hyperref package, the bibliography is hyperlinked to the TOC entry, but if I use the bookmarks menu on the left in Acrobat, clicking on Bibliography takes me to the title page of my document instead! Alex
Re: Lyx 1.6.0: icons on toolbar
- Mail Original - De: alain didierjean [EMAIL PROTECTED] À: lyx-users lyx-users@lists.lyx.org Envoyé: Samedi 15 Novembre 2008 18:13:08 GMT +01:00 Amsterdam / Berlin / Berne / Rome / Stockholm / Vienne Objet: Lyx 1.6.0: icons on toolbar I Just downloaded the gentto package for lyx 1.6.0 : it compliles OK and seems nice, but display toolbars with text (in french), not icons. It's almost unusable. How do I get the icons back ? a utility ? a complie option ? I fi go back to v.1.5.6, I get the icons all right... SOLVED by emerge --update --newuse --deep --resume world I'll never know what was wrong... -- ~adj~
Re: LyX 1.6.0. breaks down all the time
Benno Bühler wrote: Hi, I just changed from LyX 1.5.6 to 1.6.0 and I really like the new features of the program…but: Somehow LyX crashes all the time. For example when I am opening MS Outlook?!? Yep, this has happened to me with all beta/RC versions too (for me, it was more excel, but I could trigger it with other soft as well). Unfortunately, there is no easy reproducible way to reproduce it on demand... Maybe it has to do something with the installer? Previously, I used the alternative installer, to install LyX 1.6.0. (Windows XP) I used the standard installer. No, as I wrote above, I had this bug with all RC and betas, which were the alternative installers. This bug seems to be affecting both build families... How can I access the log-file of the crashes? There pops up a window of LyX, saying that I found a bug. But I cannot fully read or copy/paste the text. IIRC, Windows XP saves them somewhere in your Local Settings\Temp directory. Or somewhere around. Best regards, Olivier. PS: This bug was reported on devel-ML by Edwin Leuven under the title lyx rc3 crashing all the time. I also mentioned it here on October 24th in a thread about RC4 on the user list. Regards Benno
Change names of TOC? Bibliography?
Does anyone know how to change the name of this section? In Lyx report(koma-script) it prints out by default as Contents. Can I make it read Table of Contents ? Also, to change the default name of the Bibliography I tried adding the following to the preamble, but it doesn't seem to have an effect: \renewcommand{\bibname}{List of References} If I add this as ERT code right before the Bibliography in my LyX document, the name is now changed in the PDF output. How come? Also, I noticed how when compiling my LyX document oftentimes only one Latex run is completed instead of two! In these cases, although I have the 'intoc' option for my document, the Nomenclature does not appear in the TOC, although I can see the entry when opening the .toc file manually. Another funny thing, the same times when the Nomenclature doesn't appear in the contents, the compiled PDF file also doesn't open automatically as it should after being created. Instead, I have to look for it in the temp directory and open it manually !!! I am using the 'bibtotoc' option in the arguments to the document class. (The bibliography appears in the Contents, even when the nomenclature doesn't!) What's the difference between this and using the following ERT TEX code? \addcontentsline{toc}{chapter}{\bibname} With the hyperref package, the bibliography is hyperlinked to the TOC entry, but if I use the bookmarks menu on the left in Acrobat, clicking on Bibliography takes me to the title page of my document instead! Alex
Re: LyX 1.6.0. breaks down all the time
Olivier Ripoll [EMAIL PROTECTED] writes: Yep, this has happened to me with all beta/RC versions too (for me, it was more excel, but I could trigger it with other soft as well). Unfortunately, there is no easy reproducible way to reproduce it on demand... It would be nice to obtain a backtrace for that, but I do not know how to do that in windows. The two causes I can think of are: - clipboard: LyX hold the clipboard, and it loses it when another application launches - a focus problem JMarc
Re: \bind-files (Mac, 1.6)
Nick Bell [EMAIL PROTECTED] writes: To try to put them back I put \bind-file mac It is \bind_file. But it is easier to use the new shortcut editor, I guess. JMarc
Re: LyX 1.6.0. breaks down all the time
Olivier Ripoll [EMAIL PROTECTED] writes: Benno Bühler wrote: How can I access the log-file of the crashes? There pops up a window of LyX, saying that I found a bug. But I cannot fully read or copy/paste the text. IIRC, Windows XP saves them somewhere in your Local Settings\Temp directory. Or somewhere around. To copy/paste the log of the crash from the window saying you found a bug (though I don't know how helpful that text is), you need to right-click in that window and you can then Copy to Clipboard. Go to a text editor and paste the contents! Alex
Re: LyX 1.6.0. breaks down all the time
Jean-Marc Lasgouttes wrote: Olivier Ripoll [EMAIL PROTECTED] writes: Yep, this has happened to me with all beta/RC versions too (for me, it was more excel, but I could trigger it with other soft as well). Unfortunately, there is no easy reproducible way to reproduce it on demand... It would be nice to obtain a backtrace for that, but I do not know how to do that in windows. The two causes I can think of are: - clipboard: LyX hold the clipboard, and it loses it when another application launches Bingo! 100% reproducible crash (3 out of 3) if I start excel after having copied something in LyX. 100% no-crash if (2 out of 2) if I open excel with LyX open and have yet not copied anything in LyX. 100% no-crash (2 out of 2) if I copy something in LyX, then copy something in another application, then start excel. That's a nice workaround for the short term. I also explains why I was only seeing this bug in long sessions of LyX, not in short ones (when trying to have a reproducible pattern for bugzilla). PS: Yes, 7 tests is not very good statistically, but I guess that is enough). - a focus problem JMarc Should I open a bugzilla report or are you doing it? Many thanks and best regards, Olivier
Print list of notes
Dear all, Is there anyway in which I can print a list of notes, preferably with page references? Many thanks ~Nick
Open a New Window in read-only mode?
Is it possible to open a new window in read-only mode, on a lyx file that is r/w please? I want to refer to previous sections of a document in read-only mode in a new window, so I can keep a consistent format for new sections written later in the same document. TIA Keith Roberts - Websites: http://www.php-debuggers.net http://www.karsites.net http://www.raised-from-the-dead.org.uk Where will you spend Eternity? http://www.fellowshiptractleague.org/tracts/images/PDF/tract_130.pdf All email addresses are challenge-response protected with TMDA [http://tmda.net] -
TOC in fullscreen
When entering full screen mode I sometimes get the table of contents panel on the right. It is sporadic. Anyone experience this?
Re: TOC in fullscreen
Ivan Werning wrote: When entering full screen mode I sometimes get the table of contents panel on the right. It is sporadic. Anyone experience this? Yes, on my Mac. Haven't seen it on Windows. ~Nick
Re: Print list of notes
Nick Bell wrote: Dear all, Is there anyway in which I can print a list of notes, preferably with page references? Many thanks ~Nick What kind of notes ? footnotes, endnotes, to-do notes Cheers, Charles -- http://www.kde-france.org
re: Change names of TOC? Bibliography?
Does anyone know how to change the name of this section? In Lyx report(koma-script) it prints out by default as Contents. Can I make it read Table of Contents ? yes Also, to change the default name of the Bibliography I tried adding the following to the preamble, but it doesn't seem to have an effect: \renewcommand{\bibname}{List of References} If I add this as ERT code right before the Bibliography in my LyX document, the name is now changed in the PDF output. How come? use this \renewcommand*{\bibname}{List of References} I am using the 'bibtotoc' option in the arguments to the document class. (The bibliography appears in the Contents, even when the nomenclature doesn't!) What's the difference between this and using the following ERT TEX code? \addcontentsline{toc}{chapter}{\bibname} if you just care for the bib to show up in the TOC, its the same; if you are depending on other things like hyperref it will lead to different outcomes With the hyperref package, the bibliography is hyperlinked to the TOC entry, but if I use the bookmarks menu on the left in Acrobat, clicking on Bibliography takes me to the title page of my document instead! it should work, either you check your preferences or you could workaround with setting up a hypertarget around your bibliography like this: \hypertarget{YOURLABELNAME}{} \pdfbookmark[0]{Bookmarkname}{YOURLABELNAME} but then you will probably have to replace your bibtotoc option with KOMA by the addcontentsline command Alex cheers, peerlynt Pt! Schon vom neuen WEB.DE MultiMessenger gehört? Der kann`s mit allen: http://www.produkte.web.de/messenger/?did=3123
Re: lyx2lyx script broken (1.6.0 on Vista)
Uwe Stöhr wrote: Dominik Waßenhoven schrieb: On the Vista machine, I had no Python installed and the lyx2lyx script failed. I now installed Microsoft's VC++ redistributable package, as suggested by Paul Rubin, and now the lyx2lyx script works. So I think there is a problem with the python.exe and/or python26.dll which are in the bin directory of LyX 1.6. But I also had no Python installed on this Vista machine, only installed LyX using my installer and it worked. I also got feedback that it works for others too. It appears the bundled Python requires a particular release of Microsoft's C runtime. There are approximately a zillion releases of the MSVC runtime, all mutually incompatible. For years, Microsoft handled this by changing the name of the MSVC runtime DLLs with each release. More recently, when someone decided it'd be good to have more incompatible runtime versions than would fit in a single MSVC release cycle, they invented the Side by Side versioning method, which has the advantages of being a black box, completely different from previous Windows DLL versioning mechanisms, and entirely mysterious, opaque, and frustrating for users. Side-by-Side sticks various releases of the MSVC runtime in directories under %windir%\winsxs. Product installers are supposed to include the MSVC redistributable package for the particular MSVC version they need, which will get installed in Side-by-Side if it's not already present. Probably, people who don't have problems with the minimal Python included with Uwe's installer already have the necessary MSVC redistributable on their machine from some other product installation. The fix would be to include the appropriate MSVC redistributable in Uwe's LyX installer. Note that it may have to be updated any time the Python binaries are updated, since they might be linked with a different MSVC version. Sure makes SVR4 shared object versioning look good, doesn't it? -- Michael Wojcik Micro Focus Rhetoric Writing, Michigan State University
Steps towards a portable LyX installation on Windows
Hi All I made quite good progress producing a portable LyX installation based on LyX 1.6.0. What would be the best place to post the instructions? I think wiki.lyx.org may be suitable, but it looks a bit disorganised at the moment, and it seems that only developers have access anyway (?). I used texlive 2008 as my tex installation, which already provides some portability. I follow the same basic approach as tl-portable.bat, but add the necessary environment variables for LyX, convert and ghostscript. Apart from one problem between the bundled convert and the bundled ghoscript, this works really well. Regards, Thomas
Re: Open a New Window in read-only mode?
Keith Roberts [EMAIL PROTECTED] schrieb: Is it possible to open a new window in read-only mode, on a lyx file that is r/w please? I want to refer to previous sections of a document in read-only mode in a new window, so I can keep a consistent format for new sections written later in the same document. I do not know of a straightforward way to achieve this. Depending on what exactly you intend, there are two ways that spring to my mind: a) ViewPDF (or ViewPS): the output is read-only of course. b) open the file in a second lyx process, started as a different user with read-only rights for this file. Günter
Re: Idiot's guide to creating a new style - or inset?
Steve Litt wrote: On Sunday 16 November 2008 03:43:04 pm rgheck wrote: Yes, that's what you need. Try something like this: #\DeclareLyXModule{TextSuperSub} #DescriptionBegin #Adds an endnote inset, in addition to footnotes. You will need to add #\theendnotes in ERT where you want the endnotes to appear. #DescriptionEnd Format 11 InsetLayout Custom:Superscript LyXTypecustom LatexNametextsuperscript LatexTypecommand Decoration classic Font SizeSmall EndFont MultiPar false LabelStringsuper End and something similar for subscripts. Save it to textsupersub.module in your LyX layouts directory and reconfigure. You can tweak it as you wish. Hi Richard, What's the difference bettween InsetLayout, CharacterStyle and Environment? When would you use InsetLayout over one of the others? InsetLayout is new in 1.6. It incorporates the old charstyle (LyXType charstyle) and also these new custom insets, which look like footnotes but do anything you like. Of course, textsuperscript could (and probably should) be a charstyle. What is the Decoration LyX property (set to classic in your example)? This makes the inset look like a footnote: with a little button. There are other choices, too: minimalistic (no button) and, uh, can't remember. rh
Re: Idiot's guide to creating a new style - or inset?
Nick Bell wrote: rgheck wrote: #\DeclareLyXModule{TextSuperSub} #DescriptionBegin #Adds an endnote inset, in addition to footnotes. You will need to add #\theendnotes in ERT where you want the endnotes to appear. #DescriptionEnd Format 11 InsetLayout Custom:Superscript LyXTypecustom LatexNametextsuperscript LatexTypecommand Decoration classic Font SizeSmall EndFont MultiPar false LabelStringsuper End That works brilliantly, thanks. Now how do I get the inset label to be equal to the parameter (e.g. XYZ in \textsuperscript{XYZ})? Or should I be using a user defined char style (??) ? The label can't be modified. You could try a charstyle. You could also try Decoration minimalistic. rh ~Nick
Re: LyX 1.6.0. breaks down all the time
I can reproduce the recipe from Olivier. I had reported that in this bug entry: http://bugzilla.lyx.org/show_bug.cgi?id=5472 Still I do not know if we can call this a bug or a nice anti-Microsoft feature :-D Cheers, Nicolás Alex wrote: Olivier Ripoll [EMAIL PROTECTED] writes: Benno Bühler wrote: How can I access the log-file of the crashes? There pops up a window of LyX, saying that I found a bug. But I cannot fully read or copy/paste the text. IIRC, Windows XP saves them somewhere in your Local Settings\Temp directory. Or somewhere around. To copy/paste the log of the crash from the window saying you found a bug (though I don't know how helpful that text is), you need to right-click in that window and you can then Copy to Clipboard. Go to a text editor and paste the contents! Alex
Re: Steps towards a portable LyX installation on Windows
Thomas Steffen wrote: I used texlive 2008 as my tex installation, which already provides some portability. I follow the same basic approach as tl-portable.bat, but add the necessary environment variables for LyX, convert and ghostscript. Apart from one problem between the bundled convert and the bundled ghoscript, this works really well. The standard installer already bundles Ghostscript and ImageMagick in a portable way (no registry keys need to be modified). Joost
Re: lyx2lyx script broken (1.6.0 on Vista)
Michael Wojcik wrote: Uwe Stöhr wrote: Dominik Waßenhoven schrieb: On the Vista machine, I had no Python installed and the lyx2lyx script failed. I now installed Microsoft's VC++ redistributable package, as suggested by Paul Rubin, and now the lyx2lyx script works. So I think there is a problem with the python.exe and/or python26.dll which are in the bin directory of LyX 1.6. But I also had no Python installed on this Vista machine, only installed LyX using my installer and it worked. I also got feedback that it works for others too. It appears the bundled Python requires a particular release of Microsoft's C runtime. There are approximately a zillion releases of the MSVC runtime, all mutually incompatible. For years, Microsoft handled this by changing the name of the MSVC runtime DLLs with each release. More recently, when someone decided it'd be good to have more incompatible runtime versions than would fit in a single MSVC release cycle, they invented the Side by Side versioning method, which has the advantages of being a black box, completely different from previous Windows DLL versioning mechanisms, and entirely mysterious, opaque, and frustrating for users. Side-by-Side sticks various releases of the MSVC runtime in directories under %windir%\winsxs. Product installers are supposed to include the MSVC redistributable package for the particular MSVC version they need, which will get installed in Side-by-Side if it's not already present. Probably, people who don't have problems with the minimal Python included with Uwe's installer already have the necessary MSVC redistributable on their machine from some other product installation. The fix would be to include the appropriate MSVC redistributable in Uwe's LyX installer. Note that it may have to be updated any time the Python binaries are updated, since they might be linked with a different MSVC version. Sure makes SVR4 shared object versioning look good, doesn't it? I wonder if disk manufacturers are paying M$ to do this? I've got about 54MB of crap in %windir%\winsxs, with multiple versions of each set of files. Presumably there's no way for Windoze to know that something depending on an older version can use the newer version, so old versions never go away. Kind of like that half gigabyte (and counting) of patch files that never gets deleted.
Re: Open a New Window in read-only mode?
Keith Roberts wrote: Is it possible to open a new window in read-only mode, on a lyx file that is r/w please? I want to refer to previous sections of a document in read-only mode in a new window, so I can keep a consistent format for new sections written later in the same document. TIA Keith Roberts With LyX 1.6.0, you can open the doc and then use View - Split View into Left and Right Half (or View - Split View into Upper and Lower Half) to get two views on the same document. AFAIK neither is read-only, but hopefully you can restrain yourself from editing one of them. :-) /Paul
Re: Steps towards a portable LyX installation on Windows
On Mon, Nov 17, 2008 at 4:03 PM, Joost Verburg [EMAIL PROTECTED] wrote: The standard installer already bundles Ghostscript and ImageMagick in a portable way (no registry keys need to be modified). That sounds interesting. I know that LyXLauncher does some magic, but I was not able to figure out what it was. Is there any way to check what LyXLauncher does to the environment? Anyway, I have managed to put my experience down in the Wiki at http://wiki.lyx.org/Windows/PortableInstallation . It is certainly not easy or painless, but I think a few small changes could improve the process significantly. Maybe the issues I had are bugs? The first problem I had was related to the path. Ghostscript was not really happy, and for some reason convert would not find ghostscript. I had to do the following changes to get previews and eps-pdf conversion working (the first three lines may or may not be necessary, I did not test them individually): path %LYX_DIR%python;%path% path %LYX_DIR%bin;%path% path %LYX_DIR%imagemagick;%path% set GS_DIR=%LYX_DIR%ghostscript\ path %GS_DIR%bin;%path% set GS_LIB=%GS_DIR%lib;%GS_DIR%fonts;%GS_DIR%Resource The other issue was that convert would not recognise ghostscript. I read that @PSdelegate@ in delegates.xml relies on registry keys, and indeed replacing it with gswin32c.exe solved the issue. This was necessary to get previews working for eps files. Finally I keep getting an error message from reconfigure about chklatex.ltx, which caused by the platex check. It seems like the PLATEX variable is empty, and it calls the argument instead if cmdOutput(PLATEX + ' chklatex.ltx').find('pLaTeX2e') != -1: which is not recognised as an executable or an association. And then there is a problem with TeX Live 2008. The new portable function tl-portable.bat is very nice, but unfortunately it is so inflexible that it can only start a console, and not another program. Changing this may be easy, but it would require some advanced batch language tricks, which is not my specialty. Regards, Thomas
Re: lyx2lyx script broken (1.6.0 on Vista)
On Mon, Nov 17, 2008 at 11:07:05AM -0500, Paul A. Rubin wrote: I wonder if disk manufacturers are paying M$ to do this? I've got about 54MB of crap in %windir%\winsxs, with multiple versions of each set of files. Presumably there's no way for Windoze to know that something depending on an older version can use the newer version, so old versions never go away. In fact that's actually the most sensible behaviour since there are only very few cases where a new version indeed can replace an older one without any existing or imagined problem. In particular that would mean not only source and binary but also behavioural compatibility including keeping buggy behaviour. When you factor in that application also can depend on runtime characteristics even optimizations might have to be ruled out, so there's really not much left what could be done in a newer version... Andre'
Re: Print list of notes
Charles de Miramon wrote: Nick Bell wrote: Is there anyway in which I can print a list of notes, preferably with page references? What kind of notes ? footnotes, endnotes, to-do notes Lyx Notes Thanks Nick
hfill
Hello, Where is the hfill insert in lyx 1.6 ? My binding doesn't work anymore ! Philippe Camus
Re: Idiot's guide to creating a new style - or inset?
Richard Heck wrote the following on 17/11/2008: The label can't be modified. You could try a charstyle. You could also try Decoration minimalistic. Charstyle works well, but I suppose I can't set the style of the displayed label to super/subscript can I? (That would probably be a bit WYSIWYG). I've got more or less what I want with $_{\text{XYZ}}$ command sequences bound to keys. Thanks, Nick
Re: hfill
[EMAIL PROTECTED] wrote: Where is the hfill insert in lyx 1.6 ? Insert Formatting Horizontal space My binding doesn't work anymore ! space-insert hfill Regards, Dominik.-
Query on printing with 'screens'
Hi all: I'm a Lyx user in Goa, and hope you won't mind me intruding. Every time I go in for a book, to be printed via offset, my printer has a problem. He takes the PDF file and attempts to do crazy things like importing it into Windows/Corel Draw, etc. He says the photos won't print because they don't have a screen. Query: * Is he right? * Is there some way of putting a screen on the photos? LyX takes TeX commands, so maybe if there's one I could use it. Earlier, he was struggling to find how to print the file laterally inverted (mirror image), and we found the command after some search. Best, FN PS: A cc'd reply to me would be highly appreciated... -- FN * Independent Journalist http://fn.goa-india.org Blog: http://fredericknoronha.wordpress.com Tech links from South Asia: http://twitter.com/fn M: +91-9822122436 P: +91-832-2409490
Lyx 1.6 on ubuntu 8.04
Has anyone installed 1.6 on Ubuntu 8.04? Its available for Jaunty (as pointed out elsewhere on this forum), but not sure of the risks that may be involved. I currently have 1.5.5 installed via the Ubuntu repository, should I uninstall this before installing 1.6, or is it a bad idea to install 1.6 before its officially available for 8.04. I am new to Linux, and still finding my feet with it. Thanks for any advice. Graham
Re: Open a New Window in read-only mode?
Thanks Guenter. I want to view the lyx source code itself, so I can use that as a pattern for more sections. Keith On Mon, 17 Nov 2008, Guenter Milde wrote: To: lyx-users@lists.lyx.org From: Guenter Milde [EMAIL PROTECTED] Subject: Re: Open a New Window in read-only mode? Keith Roberts [EMAIL PROTECTED] schrieb: Is it possible to open a new window in read-only mode, on a lyx file that is r/w please? I want to refer to previous sections of a document in read-only mode in a new window, so I can keep a consistent format for new sections written later in the same document. I do not know of a straightforward way to achieve this. Depending on what exactly you intend, there are two ways that spring to my mind: a) ViewPDF (or ViewPS): the output is read-only of course. b) open the file in a second lyx process, started as a different user with read-only rights for this file. Günter
Re: Open a New Window in read-only mode?
Thanks Paul. That sounds feasable. I did edit the document in both windows! Maybe there could be an option in preferences to set the second or more window(s) to read-only mode? That will stop anyone from accidently editing the document in the other opened windows. Keith On Mon, 17 Nov 2008, Paul A. Rubin wrote: To: lyx-users@lists.lyx.org From: Paul A. Rubin [EMAIL PROTECTED] Subject: Re: Open a New Window in read-only mode? Keith Roberts wrote: Is it possible to open a new window in read-only mode, on a lyx file that is r/w please? I want to refer to previous sections of a document in read-only mode in a new window, so I can keep a consistent format for new sections written later in the same document. TIA Keith Roberts With LyX 1.6.0, you can open the doc and then use View - Split View into Left and Right Half (or View - Split View into Upper and Lower Half) to get two views on the same document. AFAIK neither is read-only, but hopefully you can restrain yourself from editing one of them. :-) /Paul
Re: Query on printing with 'screens'
Unknown wrote: Every time I go in for a book, to be printed via offset, my printer has a problem. He takes the PDF file and attempts to do crazy things like importing it into Windows/Corel Draw, etc. Hmm... He says the photos won't print because they don't have a screen. Can you (or he) be more precise what you mean with a screen (at least I have never heard of it, and a quick Goolge search did not bring anything up). Is it some printers' jargon, or a bad translation? Anyhow, you could also try to give him a postscript file (created via latex+dvips), or create the pdf from postscript with Acrobat's Distiller (with the Prepress Profile), or with Ghostscript (also there you have Zillions of options, for example to not compress the images). Or, if you have only a few figures, do not include the figures in the PDF (just leave white space), and let the printer set in the pictures in his application. HTH, Konrad
Re: Query on printing with 'screens'
Konrad Hofbauer wrote: Unknown wrote: He says the photos won't print because they don't have a screen. Is it some printers' jargon, or a bad translation? The first. See: http://www.adobe.com/studio/print/pdf/prepress_terms.pdf Can't help you much here, sorry. (But then, it is really the printer who should know how to do the color separation.) /Konrad
Re: Steps towards a portable LyX installation on Windows
Thomas Steffen [EMAIL PROTECTED] wrote in message That sounds interesting. I know that LyXLauncher does some magic, but I was not able to figure out what it was. Is there any way to check what LyXLauncher does to the environment? Try Sandboxie http://www.sandboxie.com/ Hth
Re: Configure Lyx, R, Sweave on OS X
On 14 Nov 2008, at 15:52, mikeandkatedunbar wrote: On 14 Nov 2008, at 14:50, Philippe Grosjean wrote: mikeandkatedunbar wrote: I am trying to get up and running with Lyx and R, using Sweave I have achieved this on my Windows XP PC at work with MikTex. Great. HOWEVER On my Mac (OSX 10.4.7 with MacTex 2008 installed) I have come up against a “brick wall” Lyx 1.6 is installed and I can generate dvi files from simple example .lyx files R 2.8 is installed, I am up to the stage where R CMD Sweave foo.Rnw works, as does Latex foo.tex kpsewhich Sweave.sty confirms that Latex can find Sweave.sty I have followed the instructions in http://cran.r-project.org/contrib/extra/lyx/INSTALL and copied files to the relevant locations into \users\me\Library\Application Support\Lyx-1.6 And reconfigured / restarted Lyx But whenever I open a test file such as http://cran.r-project.org/contrib/extra/lyx/Sweave-test-1.lyx I get the same old message “The layout file requested by this document, literate- article.layout, is not usable. This is probably because a LaTeX class or style file required by it is not available. ” This does not appear to be a problem with Sweave.sty (at least, not directly). It is your literate-article.layout which cannot be found, is corrupted, or is incompatible with the new LyX 1.6 version. Have you tried with LyX 1.5.7? It seems like Lyx cannot find Sweave.sty, event though Latex can find it. I'm at my wits end, so any advice on how to troubleshoot this would be very much appreciated. While I'm quite familiar with R, Lyx is very new to me. Regards Mike Best, Philippe Grosjean YES, I installed LyX 1.5.7, copied the layouts across and it works fine. Thanks so much. I guess there could be a problem with Lyx 1.6.0 and the Lyx customisation files from Gregor Gorjanc, at least on OS X - I didn't have the problems with 1.6.0 on Windows. regards Mike Just to finally put an end to this, the problem was caused by how I'd grabbed the layout files from cran. I had right clicked on them in Safari and saved them to the desktop, then copied to the layouts folder. This wasn't correct, I think I had effectively saved links to the files on CRAN, not the files themselves. When I grabbed the layout files by ftp, everything was working OK, both in lyx 1.5.7 and 1.6.0. Thanks once again for the advice. Mike
Re: Query on printing with 'screens'
2008/11/17 Konrad Hofbauer [EMAIL PROTECTED]: Konrad Hofbauer wrote: Unknown wrote: He says the photos won't print because they don't have a screen. Is it some printers' jargon, or a bad translation? The first. See: http://www.adobe.com/studio/print/pdf/prepress_terms.pdf Can't help you much here, sorry. (But then, it is really the printer who should know how to do the color separation.) I now understand :-) But it seems they use very archaic methods of preparing for print. Normally rasterization process in separation or bw printing is currently done automatically these days when film or plate is prepared to photoset (I don't know proper term in English for naświetlarka). Such process you describe I remember from ages of old Ventura under Windows 3.1, when every picture has to have LPI and raster angles defined separately. -- Manveru jabber: [EMAIL PROTECTED] gg: 1624001 http://www.manveru.pl
Re: lyx-1.6.0 fedora updates
On Saturday 15 November 2008 20:05:03 Rex Dieter wrote: Pending some polish to the update text, the push request will be soonish. See: https://admin.fedoraproject.org/updates/lyx-1.6.0-1.fc8 https://admin.fedoraproject.org/updates/lyx-1.6.0-1.fc9 Feedback welcome. It should be noticed that if the feedback is positive those packages are the same that will appear in the updates. So if you want to contribute to either LyX and Fedora then test those packages. Note that judging from the behaviour in F-10 (to be) and from the reports regarding LyX 1.6.0 on this list it should just work, even so it would be nice to have feedback from Fedora users. The links that Rex left allow to retrieve the generated rpms and to leave a comment regarding the package. If you have any problems to test the packages please feel free to ask for further details. -- Rex -- José Abílio
Problem with pdf-view in Lyx 1.6.0
Hello, I installed Lyx 1.6.0 now and - congratulations: it is really good. But I have some problems with pdf-view, that I had not with Lyx 1.5.6. I'm shure, someone can help me and tell me, what to do: The view of the help-files intro.lyx and tutorial.lyx is ok. Problem with help-file userguide.lyx: on the first latex-running appears the latex-mistake-window: LaTeX Error: File `wasysym.sty' not found. \usepackage {makeidx} *** (cannot \read from terminal in nonstop modes) Problem with help-file extended.lyx: on the first latex-running appears the latex-mistake-window: LaTeX Error: File `caption.sty' not found. ..., tableposition=top]{caption}[2004/07/16] *** (cannot \read from terminal in nonstop modes) Problem with help-file embeddedobjects.lyx: on the first latex-running appears the latex-mistake-window: 1. Font U/psy/m/n/12=psyr at 12.0pt not loadable: Metric (TFM) file not found. {\Pifont{psy}} I wasn't able to read the size data for this font, so I will ignore the font specification. [Wizards can fix TFM files using TFtoPL/PLtoTF.] You might try inserting a different font spec; e.g., type `I\fontsame font id=substitute font name'. 2. LaTeX Error: File `caption.sty' not found. ..., tableposition=top]{caption}[2004/07/16] *** (cannot \read from terminal in nonstop modes) I don't know, whether there are other problems with other lyx-files. Might be an incomplete lyx-installation the reason for this? Or what could it be? -- Mit freundlichen Grüßen Matthias Schmidt mailto:[EMAIL PROTECTED] Diese Nachricht ist mit Norton Internet Security geprüft ___ Der frühe Vogel fängt den Wurm. Hier gelangen Sie zum neuen Yahoo! Mail: http://mail.yahoo.de
Re: Steps towards a portable LyX installation on Windows
Thomas Steffen wrote: The other issue was that convert would not recognise ghostscript. I read that @PSdelegate@ in delegates.xml relies on registry keys, and indeed replacing it with gswin32c.exe solved the issue. This was necessary to get previews working for eps files. The build-in ImageMagick does not rely on registry keys but uses the environment variables set by LyXLauncher (see the source for details) to get the location of the Ghostscript directories. Note that not only @PSdelegate@ is relevant but also the font directory etc. Joost
Re: lyx2lyx script broken (1.6.0 on Vista)
Andre Poenitz [EMAIL PROTECTED] writes: In fact that's actually the most sensible behaviour since there are only very few cases where a new version indeed can replace an older one without any existing or imagined problem. What's wrong with static linking? At least it goes away when the application goes away. JMarc
Re: avoiding indentation within footnotes and adding vertical space under headings
Thanks. I found a simple way to add extra space after headings with the insert vertical space (protected) command. Regarding the footnotes I tried \usepackage[para]{footmisc} and \usepackage[hang, flushmargin]{footmisc} both failed with lyx 1.6. but works fine with lyx 1.5.6. The problem is that lyx 1.5.6 don't want to open files created with lyx 1.6. Excuse me. I must to say \usepackage[flushmargin]{footmisc} instead \usepackage[para]{footmisc} Currently I have this in my preamble in a work fine with lyx 1.6.0 and no have any problem. I installed lyx 1.5.7 and I can open files created with lyx 1.6.0. I think that you have a specific problem in your computer. Regards Marcelo Yahoo! Cocina Recetas prácticas y comida saludable http://ar.mujer.yahoo.com/cocina/
Re: Print list of notes
Nick Bell wrote: Charles de Miramon wrote: Nick Bell wrote: Is there anyway in which I can print a list of notes, preferably with page references? What kind of notes ? footnotes, endnotes, to-do notes Lyx Notes Note, there's no simple way. But if you switch them all to comments, then they get output as \begin{comment}...\end{comment}, and then you can arrange to print them as you like. rh
Re: Print list of notes
rgheck wrote: Nick Bell wrote: Charles de Miramon wrote: Nick Bell wrote: Is there anyway in which I can print a list of notes, preferably with page references? What kind of notes ? footnotes, endnotes, to-do notes Lyx Notes Note, there's no simple way. But if you switch them all to comments, then they get output as \begin{comment}...\end{comment}, and then you can arrange to print them as you like. Oh, and to do that, you can use this command: notes-mutate Note Comment in the minibuffer. rh
Re: Print list of notes
rgheck wrote: rgheck wrote: Nick Bell wrote: Charles de Miramon wrote: Nick Bell wrote: Is there anyway in which I can print a list of notes, preferably with page references? What kind of notes ? footnotes, endnotes, to-do notes Lyx Notes Note, there's no simple way. But if you switch them all to comments, then they get output as \begin{comment}...\end{comment}, and then you can arrange to print them as you like. Oh, and to do that, you can use this command: notes-mutate Note Comment in the minibuffer. rh Thanks for that, but how do I print a list of comments? Nick
Re: Problem with pdf-view in Lyx 1.6.0
Matthias Schmidt wrote: Hello, I installed Lyx 1.6.0 now and - congratulations: it is really good. But I have some problems with pdf-view, that I had not with Lyx 1.5.6. I'm shure, someone can help me and tell me, what to do: The view of the help-files intro.lyx and tutorial.lyx is ok. Problem with help-file userguide.lyx: on the first latex-running appears the latex-mistake-window: LaTeX Error: File `wasysym.sty' not found. Under Mandriva, wasysym.sty is in /usr/share/texmf/tex/latex/wasysm Perhaps you also need to clickon the Use AMS maths... package under Lyx documents settings menu option. Hopefully you can avoid have to download wasysym.sty from CPAN. I hope this helps. \usepackage {makeidx} *** (cannot \read from terminal in nonstop modes) Problem with help-file extended.lyx: on the first latex-running appears the latex-mistake-window: LaTeX Error: File `caption.sty' not found. ..., tableposition=top]{caption}[2004/07/16] *** (cannot \read from terminal in nonstop modes) Problem with help-file embeddedobjects.lyx: on the first latex-running appears the latex-mistake-window: 1. Font U/psy/m/n/12=psyr at 12.0pt not loadable: Metric (TFM) file not found. {\Pifont{psy}} I wasn't able to read the size data for this font, so I will ignore the font specification. [Wizards can fix TFM files using TFtoPL/PLtoTF.] You might try inserting a different font spec; e.g., type `I\fontsame font id=substitute font name'. 2. LaTeX Error: File `caption.sty' not found. ..., tableposition=top]{caption}[2004/07/16] *** (cannot \read from terminal in nonstop modes) I don't know, whether there are other problems with other lyx-files. Might be an incomplete lyx-installation the reason for this? Or what could it be? Yes it could be since 1.6.0 has just been released. If you are new to Lyx I'd wait and see if anyone else has the same problem. I'm using an earlier version of Lyx. Regards, Donald
Re: Lyx 1.6 on ubuntu 8.04
On Mon, 2008-11-17 at 17:56 +, Graham Smith wrote: Has anyone installed 1.6 on Ubuntu 8.04? Its available for Jaunty (as pointed out elsewhere on this forum), but not sure of the risks that may be involved. Yes I did successfully install 1.6 from source. I just follow from this thread http://www.mail-archive.com/lyx-users@lists.lyx.org/msg65444.html I currently have 1.5.5 installed via the Ubuntu repository, should I uninstall this before installing 1.6, or is it a bad idea to install 1.6 before its officially available for 8.04. No i did not uninstall the version 1.5.5 as I am still using it for a reason. It works parallel with version 1.6 I use the following commands after downloading the source 1.6 ./configure --with-version-suffix=-1.6.0 make sudo make install I am new to Linux, and still finding my feet with it. Thanks for any advice. Graham
Re: Lyx 1.6 on ubuntu 8.04
Waluyo On Mon, 2008-11-17 at 17:56 +, Graham Smith wrote: Has anyone installed 1.6 on Ubuntu 8.04? Its available for Jaunty (as pointed out elsewhere on this forum), but not sure of the risks that may be involved. Yes I did successfully install 1.6 from source. I just follow from this thread http://www.mail-archive.com/lyx-users@lists.lyx.org/msg65444.html Thanks, that is really useful. Graham
can't use in hebrew under lyx
When I use the (quote) in hebrew under lyx I get the following error: LaTeX Error: Command \textquotedbl unavailable in encoding LHE. I have to change language to english in order to insert the symbol. Is there a problem with my setup or is this a problem with lyx? Thanks
Re: \bind-files (Mac, 1.6)
Nick Bell wrote: To try to put them back I put \bind-file mac Err that's the problem - it should be \bind_file mac not \bind-file mac. ~Nick
Change names of TOC? Bibliography?
Does anyone know how to change the name of this section? In Lyx report(koma-script) it prints out by default as Contents. Can I make it read Table of Contents ? Also, can I change the default name of the Bibliography as well? I tried adding the following to the preamble, but it doesn't seem to have an effect: \renewcommand{\bibname}{List of References} I am using the 'bibtotoc' option in the arguments to the document class. What's the difference between this and using the following ERT TEX code? \addcontentsline{toc}{chapter}{\bibname} With the hyperref package, the bibliography is hyperlinked to the TOC entry, but if I use the bookmarks menu on the left in Acrobat, clicking on Bibliography takes me to the title page of my document instead! Alex
Re: Lyx 1.6.0: icons on toolbar
- Mail Original - De: alain didierjean [EMAIL PROTECTED] À: lyx-users lyx-users@lists.lyx.org Envoyé: Samedi 15 Novembre 2008 18:13:08 GMT +01:00 Amsterdam / Berlin / Berne / Rome / Stockholm / Vienne Objet: Lyx 1.6.0: icons on toolbar I Just downloaded the gentto package for lyx 1.6.0 : it compliles OK and seems nice, but display toolbars with text (in french), not icons. It's almost unusable. How do I get the icons back ? a utility ? a complie option ? I fi go back to v.1.5.6, I get the icons all right... SOLVED by emerge --update --newuse --deep --resume world I'll never know what was wrong... -- ~adj~
Re: LyX 1.6.0. breaks down all the time
Benno Bühler wrote: Hi, I just changed from LyX 1.5.6 to 1.6.0 and I really like the new features of the program…but: Somehow LyX crashes all the time. For example when I am opening MS Outlook?!? Yep, this has happened to me with all beta/RC versions too (for me, it was more excel, but I could trigger it with other soft as well). Unfortunately, there is no easy reproducible way to reproduce it on demand... Maybe it has to do something with the installer? Previously, I used the alternative installer, to install LyX 1.6.0. (Windows XP) I used the standard installer. No, as I wrote above, I had this bug with all RC and betas, which were the alternative installers. This bug seems to be affecting both build families... How can I access the log-file of the crashes? There pops up a window of LyX, saying that I found a bug. But I cannot fully read or copy/paste the text. IIRC, Windows XP saves them somewhere in your Local Settings\Temp directory. Or somewhere around. Best regards, Olivier. PS: This bug was reported on devel-ML by Edwin Leuven under the title lyx rc3 crashing all the time. I also mentioned it here on October 24th in a thread about RC4 on the user list. Regards Benno
Change names of TOC? Bibliography?
Does anyone know how to change the name of this section? In Lyx report(koma-script) it prints out by default as Contents. Can I make it read Table of Contents ? Also, to change the default name of the Bibliography I tried adding the following to the preamble, but it doesn't seem to have an effect: \renewcommand{\bibname}{List of References} If I add this as ERT code right before the Bibliography in my LyX document, the name is now changed in the PDF output. How come? Also, I noticed how when compiling my LyX document oftentimes only one Latex run is completed instead of two! In these cases, although I have the 'intoc' option for my document, the Nomenclature does not appear in the TOC, although I can see the entry when opening the .toc file manually. Another funny thing, the same times when the Nomenclature doesn't appear in the contents, the compiled PDF file also doesn't open automatically as it should after being created. Instead, I have to look for it in the temp directory and open it manually !!! I am using the 'bibtotoc' option in the arguments to the document class. (The bibliography appears in the Contents, even when the nomenclature doesn't!) What's the difference between this and using the following ERT TEX code? \addcontentsline{toc}{chapter}{\bibname} With the hyperref package, the bibliography is hyperlinked to the TOC entry, but if I use the bookmarks menu on the left in Acrobat, clicking on Bibliography takes me to the title page of my document instead! Alex
Re: LyX 1.6.0. breaks down all the time
Olivier Ripoll [EMAIL PROTECTED] writes: Yep, this has happened to me with all beta/RC versions too (for me, it was more excel, but I could trigger it with other soft as well). Unfortunately, there is no easy reproducible way to reproduce it on demand... It would be nice to obtain a backtrace for that, but I do not know how to do that in windows. The two causes I can think of are: - clipboard: LyX hold the clipboard, and it loses it when another application launches - a focus problem JMarc
Re: \bind-files (Mac, 1.6)
Nick Bell [EMAIL PROTECTED] writes: To try to put them back I put \bind-file mac It is \bind_file. But it is easier to use the new shortcut editor, I guess. JMarc
Re: LyX 1.6.0. breaks down all the time
Olivier Ripoll [EMAIL PROTECTED] writes: Benno Bühler wrote: How can I access the log-file of the crashes? There pops up a window of LyX, saying that I found a bug. But I cannot fully read or copy/paste the text. IIRC, Windows XP saves them somewhere in your Local Settings\Temp directory. Or somewhere around. To copy/paste the log of the crash from the window saying you found a bug (though I don't know how helpful that text is), you need to right-click in that window and you can then Copy to Clipboard. Go to a text editor and paste the contents! Alex
Re: LyX 1.6.0. breaks down all the time
Jean-Marc Lasgouttes wrote: Olivier Ripoll [EMAIL PROTECTED] writes: Yep, this has happened to me with all beta/RC versions too (for me, it was more excel, but I could trigger it with other soft as well). Unfortunately, there is no easy reproducible way to reproduce it on demand... It would be nice to obtain a backtrace for that, but I do not know how to do that in windows. The two causes I can think of are: - clipboard: LyX hold the clipboard, and it loses it when another application launches Bingo! 100% reproducible crash (3 out of 3) if I start excel after having copied something in LyX. 100% no-crash if (2 out of 2) if I open excel with LyX open and have yet not copied anything in LyX. 100% no-crash (2 out of 2) if I copy something in LyX, then copy something in another application, then start excel. That's a nice workaround for the short term. I also explains why I was only seeing this bug in long sessions of LyX, not in short ones (when trying to have a reproducible pattern for bugzilla). PS: Yes, 7 tests is not very good statistically, but I guess that is enough). - a focus problem JMarc Should I open a bugzilla report or are you doing it? Many thanks and best regards, Olivier
Print list of notes
Dear all, Is there anyway in which I can print a list of notes, preferably with page references? Many thanks ~Nick
Open a New Window in read-only mode?
Is it possible to open a new window in read-only mode, on a lyx file that is r/w please? I want to refer to previous sections of a document in read-only mode in a new window, so I can keep a consistent format for new sections written later in the same document. TIA Keith Roberts - Websites: http://www.php-debuggers.net http://www.karsites.net http://www.raised-from-the-dead.org.uk Where will you spend Eternity? http://www.fellowshiptractleague.org/tracts/images/PDF/tract_130.pdf All email addresses are challenge-response protected with TMDA [http://tmda.net] -
TOC in fullscreen
When entering full screen mode I sometimes get the table of contents panel on the right. It is sporadic. Anyone experience this?
Re: TOC in fullscreen
Ivan Werning wrote: When entering full screen mode I sometimes get the table of contents panel on the right. It is sporadic. Anyone experience this? Yes, on my Mac. Haven't seen it on Windows. ~Nick
Re: Print list of notes
Nick Bell wrote: Dear all, Is there anyway in which I can print a list of notes, preferably with page references? Many thanks ~Nick What kind of notes ? footnotes, endnotes, to-do notes Cheers, Charles -- http://www.kde-france.org
re: Change names of TOC? Bibliography?
Does anyone know how to change the name of this section? In Lyx report(koma-script) it prints out by default as Contents. Can I make it read Table of Contents ? yes Also, to change the default name of the Bibliography I tried adding the following to the preamble, but it doesn't seem to have an effect: \renewcommand{\bibname}{List of References} If I add this as ERT code right before the Bibliography in my LyX document, the name is now changed in the PDF output. How come? use this \renewcommand*{\bibname}{List of References} I am using the 'bibtotoc' option in the arguments to the document class. (The bibliography appears in the Contents, even when the nomenclature doesn't!) What's the difference between this and using the following ERT TEX code? \addcontentsline{toc}{chapter}{\bibname} if you just care for the bib to show up in the TOC, its the same; if you are depending on other things like hyperref it will lead to different outcomes With the hyperref package, the bibliography is hyperlinked to the TOC entry, but if I use the bookmarks menu on the left in Acrobat, clicking on Bibliography takes me to the title page of my document instead! it should work, either you check your preferences or you could workaround with setting up a hypertarget around your bibliography like this: \hypertarget{YOURLABELNAME}{} \pdfbookmark[0]{Bookmarkname}{YOURLABELNAME} but then you will probably have to replace your bibtotoc option with KOMA by the addcontentsline command Alex cheers, peerlynt Pt! Schon vom neuen WEB.DE MultiMessenger gehört? Der kann`s mit allen: http://www.produkte.web.de/messenger/?did=3123
Re: lyx2lyx script broken (1.6.0 on Vista)
Uwe Stöhr wrote: Dominik Waßenhoven schrieb: On the Vista machine, I had no Python installed and the lyx2lyx script failed. I now installed Microsoft's VC++ redistributable package, as suggested by Paul Rubin, and now the lyx2lyx script works. So I think there is a problem with the python.exe and/or python26.dll which are in the bin directory of LyX 1.6. But I also had no Python installed on this Vista machine, only installed LyX using my installer and it worked. I also got feedback that it works for others too. It appears the bundled Python requires a particular release of Microsoft's C runtime. There are approximately a zillion releases of the MSVC runtime, all mutually incompatible. For years, Microsoft handled this by changing the name of the MSVC runtime DLLs with each release. More recently, when someone decided it'd be good to have more incompatible runtime versions than would fit in a single MSVC release cycle, they invented the Side by Side versioning method, which has the advantages of being a black box, completely different from previous Windows DLL versioning mechanisms, and entirely mysterious, opaque, and frustrating for users. Side-by-Side sticks various releases of the MSVC runtime in directories under %windir%\winsxs. Product installers are supposed to include the MSVC redistributable package for the particular MSVC version they need, which will get installed in Side-by-Side if it's not already present. Probably, people who don't have problems with the minimal Python included with Uwe's installer already have the necessary MSVC redistributable on their machine from some other product installation. The fix would be to include the appropriate MSVC redistributable in Uwe's LyX installer. Note that it may have to be updated any time the Python binaries are updated, since they might be linked with a different MSVC version. Sure makes SVR4 shared object versioning look good, doesn't it? -- Michael Wojcik Micro Focus Rhetoric Writing, Michigan State University
Steps towards a portable LyX installation on Windows
Hi All I made quite good progress producing a portable LyX installation based on LyX 1.6.0. What would be the best place to post the instructions? I think wiki.lyx.org may be suitable, but it looks a bit disorganised at the moment, and it seems that only developers have access anyway (?). I used texlive 2008 as my tex installation, which already provides some portability. I follow the same basic approach as tl-portable.bat, but add the necessary environment variables for LyX, convert and ghostscript. Apart from one problem between the bundled convert and the bundled ghoscript, this works really well. Regards, Thomas
Re: Open a New Window in read-only mode?
Keith Roberts [EMAIL PROTECTED] schrieb: Is it possible to open a new window in read-only mode, on a lyx file that is r/w please? I want to refer to previous sections of a document in read-only mode in a new window, so I can keep a consistent format for new sections written later in the same document. I do not know of a straightforward way to achieve this. Depending on what exactly you intend, there are two ways that spring to my mind: a) ViewPDF (or ViewPS): the output is read-only of course. b) open the file in a second lyx process, started as a different user with read-only rights for this file. Günter
Re: Idiot's guide to creating a new style - or inset?
Steve Litt wrote: On Sunday 16 November 2008 03:43:04 pm rgheck wrote: Yes, that's what you need. Try something like this: #\DeclareLyXModule{TextSuperSub} #DescriptionBegin #Adds an endnote inset, in addition to footnotes. You will need to add #\theendnotes in ERT where you want the endnotes to appear. #DescriptionEnd Format 11 InsetLayout Custom:Superscript LyXTypecustom LatexNametextsuperscript LatexTypecommand Decoration classic Font SizeSmall EndFont MultiPar false LabelStringsuper End and something similar for subscripts. Save it to textsupersub.module in your LyX layouts directory and reconfigure. You can tweak it as you wish. Hi Richard, What's the difference bettween InsetLayout, CharacterStyle and Environment? When would you use InsetLayout over one of the others? InsetLayout is new in 1.6. It incorporates the old charstyle (LyXType charstyle) and also these new custom insets, which look like footnotes but do anything you like. Of course, textsuperscript could (and probably should) be a charstyle. What is the Decoration LyX property (set to classic in your example)? This makes the inset look like a footnote: with a little button. There are other choices, too: minimalistic (no button) and, uh, can't remember. rh
Re: Idiot's guide to creating a new style - or inset?
Nick Bell wrote: rgheck wrote: #\DeclareLyXModule{TextSuperSub} #DescriptionBegin #Adds an endnote inset, in addition to footnotes. You will need to add #\theendnotes in ERT where you want the endnotes to appear. #DescriptionEnd Format 11 InsetLayout Custom:Superscript LyXTypecustom LatexNametextsuperscript LatexTypecommand Decoration classic Font SizeSmall EndFont MultiPar false LabelStringsuper End That works brilliantly, thanks. Now how do I get the inset label to be equal to the parameter (e.g. XYZ in \textsuperscript{XYZ})? Or should I be using a user defined char style (??) ? The label can't be modified. You could try a charstyle. You could also try Decoration minimalistic. rh ~Nick
Re: LyX 1.6.0. breaks down all the time
I can reproduce the recipe from Olivier. I had reported that in this bug entry: http://bugzilla.lyx.org/show_bug.cgi?id=5472 Still I do not know if we can call this a bug or a nice anti-Microsoft feature :-D Cheers, Nicolás Alex wrote: Olivier Ripoll [EMAIL PROTECTED] writes: Benno Bühler wrote: How can I access the log-file of the crashes? There pops up a window of LyX, saying that I found a bug. But I cannot fully read or copy/paste the text. IIRC, Windows XP saves them somewhere in your Local Settings\Temp directory. Or somewhere around. To copy/paste the log of the crash from the window saying you found a bug (though I don't know how helpful that text is), you need to right-click in that window and you can then Copy to Clipboard. Go to a text editor and paste the contents! Alex
Re: Steps towards a portable LyX installation on Windows
Thomas Steffen wrote: I used texlive 2008 as my tex installation, which already provides some portability. I follow the same basic approach as tl-portable.bat, but add the necessary environment variables for LyX, convert and ghostscript. Apart from one problem between the bundled convert and the bundled ghoscript, this works really well. The standard installer already bundles Ghostscript and ImageMagick in a portable way (no registry keys need to be modified). Joost
Re: lyx2lyx script broken (1.6.0 on Vista)
Michael Wojcik wrote: Uwe Stöhr wrote: Dominik Waßenhoven schrieb: On the Vista machine, I had no Python installed and the lyx2lyx script failed. I now installed Microsoft's VC++ redistributable package, as suggested by Paul Rubin, and now the lyx2lyx script works. So I think there is a problem with the python.exe and/or python26.dll which are in the bin directory of LyX 1.6. But I also had no Python installed on this Vista machine, only installed LyX using my installer and it worked. I also got feedback that it works for others too. It appears the bundled Python requires a particular release of Microsoft's C runtime. There are approximately a zillion releases of the MSVC runtime, all mutually incompatible. For years, Microsoft handled this by changing the name of the MSVC runtime DLLs with each release. More recently, when someone decided it'd be good to have more incompatible runtime versions than would fit in a single MSVC release cycle, they invented the Side by Side versioning method, which has the advantages of being a black box, completely different from previous Windows DLL versioning mechanisms, and entirely mysterious, opaque, and frustrating for users. Side-by-Side sticks various releases of the MSVC runtime in directories under %windir%\winsxs. Product installers are supposed to include the MSVC redistributable package for the particular MSVC version they need, which will get installed in Side-by-Side if it's not already present. Probably, people who don't have problems with the minimal Python included with Uwe's installer already have the necessary MSVC redistributable on their machine from some other product installation. The fix would be to include the appropriate MSVC redistributable in Uwe's LyX installer. Note that it may have to be updated any time the Python binaries are updated, since they might be linked with a different MSVC version. Sure makes SVR4 shared object versioning look good, doesn't it? I wonder if disk manufacturers are paying M$ to do this? I've got about 54MB of crap in %windir%\winsxs, with multiple versions of each set of files. Presumably there's no way for Windoze to know that something depending on an older version can use the newer version, so old versions never go away. Kind of like that half gigabyte (and counting) of patch files that never gets deleted.
Re: Open a New Window in read-only mode?
Keith Roberts wrote: Is it possible to open a new window in read-only mode, on a lyx file that is r/w please? I want to refer to previous sections of a document in read-only mode in a new window, so I can keep a consistent format for new sections written later in the same document. TIA Keith Roberts With LyX 1.6.0, you can open the doc and then use View - Split View into Left and Right Half (or View - Split View into Upper and Lower Half) to get two views on the same document. AFAIK neither is read-only, but hopefully you can restrain yourself from editing one of them. :-) /Paul
Re: Steps towards a portable LyX installation on Windows
On Mon, Nov 17, 2008 at 4:03 PM, Joost Verburg [EMAIL PROTECTED] wrote: The standard installer already bundles Ghostscript and ImageMagick in a portable way (no registry keys need to be modified). That sounds interesting. I know that LyXLauncher does some magic, but I was not able to figure out what it was. Is there any way to check what LyXLauncher does to the environment? Anyway, I have managed to put my experience down in the Wiki at http://wiki.lyx.org/Windows/PortableInstallation . It is certainly not easy or painless, but I think a few small changes could improve the process significantly. Maybe the issues I had are bugs? The first problem I had was related to the path. Ghostscript was not really happy, and for some reason convert would not find ghostscript. I had to do the following changes to get previews and eps-pdf conversion working (the first three lines may or may not be necessary, I did not test them individually): path %LYX_DIR%python;%path% path %LYX_DIR%bin;%path% path %LYX_DIR%imagemagick;%path% set GS_DIR=%LYX_DIR%ghostscript\ path %GS_DIR%bin;%path% set GS_LIB=%GS_DIR%lib;%GS_DIR%fonts;%GS_DIR%Resource The other issue was that convert would not recognise ghostscript. I read that @PSdelegate@ in delegates.xml relies on registry keys, and indeed replacing it with gswin32c.exe solved the issue. This was necessary to get previews working for eps files. Finally I keep getting an error message from reconfigure about chklatex.ltx, which caused by the platex check. It seems like the PLATEX variable is empty, and it calls the argument instead if cmdOutput(PLATEX + ' chklatex.ltx').find('pLaTeX2e') != -1: which is not recognised as an executable or an association. And then there is a problem with TeX Live 2008. The new portable function tl-portable.bat is very nice, but unfortunately it is so inflexible that it can only start a console, and not another program. Changing this may be easy, but it would require some advanced batch language tricks, which is not my specialty. Regards, Thomas
Re: lyx2lyx script broken (1.6.0 on Vista)
On Mon, Nov 17, 2008 at 11:07:05AM -0500, Paul A. Rubin wrote: I wonder if disk manufacturers are paying M$ to do this? I've got about 54MB of crap in %windir%\winsxs, with multiple versions of each set of files. Presumably there's no way for Windoze to know that something depending on an older version can use the newer version, so old versions never go away. In fact that's actually the most sensible behaviour since there are only very few cases where a new version indeed can replace an older one without any existing or imagined problem. In particular that would mean not only source and binary but also behavioural compatibility including keeping buggy behaviour. When you factor in that application also can depend on runtime characteristics even optimizations might have to be ruled out, so there's really not much left what could be done in a newer version... Andre'
Re: Print list of notes
Charles de Miramon wrote: Nick Bell wrote: Is there anyway in which I can print a list of notes, preferably with page references? What kind of notes ? footnotes, endnotes, to-do notes Lyx Notes Thanks Nick
hfill
Hello, Where is the hfill insert in lyx 1.6 ? My binding doesn't work anymore ! Philippe Camus
Re: Idiot's guide to creating a new style - or inset?
Richard Heck wrote the following on 17/11/2008: The label can't be modified. You could try a charstyle. You could also try Decoration minimalistic. Charstyle works well, but I suppose I can't set the style of the displayed label to super/subscript can I? (That would probably be a bit WYSIWYG). I've got more or less what I want with $_{\text{XYZ}}$ command sequences bound to keys. Thanks, Nick
Re: hfill
[EMAIL PROTECTED] wrote: Where is the hfill insert in lyx 1.6 ? Insert Formatting Horizontal space My binding doesn't work anymore ! space-insert hfill Regards, Dominik.-
Query on printing with 'screens'
Hi all: I'm a Lyx user in Goa, and hope you won't mind me intruding. Every time I go in for a book, to be printed via offset, my printer has a problem. He takes the PDF file and attempts to do crazy things like importing it into Windows/Corel Draw, etc. He says the photos won't print because they don't have a screen. Query: * Is he right? * Is there some way of putting a screen on the photos? LyX takes TeX commands, so maybe if there's one I could use it. Earlier, he was struggling to find how to print the file laterally inverted (mirror image), and we found the command after some search. Best, FN PS: A cc'd reply to me would be highly appreciated... -- FN * Independent Journalist http://fn.goa-india.org Blog: http://fredericknoronha.wordpress.com Tech links from South Asia: http://twitter.com/fn M: +91-9822122436 P: +91-832-2409490
Lyx 1.6 on ubuntu 8.04
Has anyone installed 1.6 on Ubuntu 8.04? Its available for Jaunty (as pointed out elsewhere on this forum), but not sure of the risks that may be involved. I currently have 1.5.5 installed via the Ubuntu repository, should I uninstall this before installing 1.6, or is it a bad idea to install 1.6 before its officially available for 8.04. I am new to Linux, and still finding my feet with it. Thanks for any advice. Graham
Re: Open a New Window in read-only mode?
Thanks Guenter. I want to view the lyx source code itself, so I can use that as a pattern for more sections. Keith On Mon, 17 Nov 2008, Guenter Milde wrote: To: lyx-users@lists.lyx.org From: Guenter Milde [EMAIL PROTECTED] Subject: Re: Open a New Window in read-only mode? Keith Roberts [EMAIL PROTECTED] schrieb: Is it possible to open a new window in read-only mode, on a lyx file that is r/w please? I want to refer to previous sections of a document in read-only mode in a new window, so I can keep a consistent format for new sections written later in the same document. I do not know of a straightforward way to achieve this. Depending on what exactly you intend, there are two ways that spring to my mind: a) ViewPDF (or ViewPS): the output is read-only of course. b) open the file in a second lyx process, started as a different user with read-only rights for this file. Günter
Re: Open a New Window in read-only mode?
Thanks Paul. That sounds feasable. I did edit the document in both windows! Maybe there could be an option in preferences to set the second or more window(s) to read-only mode? That will stop anyone from accidently editing the document in the other opened windows. Keith On Mon, 17 Nov 2008, Paul A. Rubin wrote: To: lyx-users@lists.lyx.org From: Paul A. Rubin [EMAIL PROTECTED] Subject: Re: Open a New Window in read-only mode? Keith Roberts wrote: Is it possible to open a new window in read-only mode, on a lyx file that is r/w please? I want to refer to previous sections of a document in read-only mode in a new window, so I can keep a consistent format for new sections written later in the same document. TIA Keith Roberts With LyX 1.6.0, you can open the doc and then use View - Split View into Left and Right Half (or View - Split View into Upper and Lower Half) to get two views on the same document. AFAIK neither is read-only, but hopefully you can restrain yourself from editing one of them. :-) /Paul
Re: Query on printing with 'screens'
Unknown wrote: Every time I go in for a book, to be printed via offset, my printer has a problem. He takes the PDF file and attempts to do crazy things like importing it into Windows/Corel Draw, etc. Hmm... He says the photos won't print because they don't have a screen. Can you (or he) be more precise what you mean with a screen (at least I have never heard of it, and a quick Goolge search did not bring anything up). Is it some printers' jargon, or a bad translation? Anyhow, you could also try to give him a postscript file (created via latex+dvips), or create the pdf from postscript with Acrobat's Distiller (with the Prepress Profile), or with Ghostscript (also there you have Zillions of options, for example to not compress the images). Or, if you have only a few figures, do not include the figures in the PDF (just leave white space), and let the printer set in the pictures in his application. HTH, Konrad
Re: Query on printing with 'screens'
Konrad Hofbauer wrote: Unknown wrote: He says the photos won't print because they don't have a screen. Is it some printers' jargon, or a bad translation? The first. See: http://www.adobe.com/studio/print/pdf/prepress_terms.pdf Can't help you much here, sorry. (But then, it is really the printer who should know how to do the color separation.) /Konrad
Re: Steps towards a portable LyX installation on Windows
Thomas Steffen [EMAIL PROTECTED] wrote in message That sounds interesting. I know that LyXLauncher does some magic, but I was not able to figure out what it was. Is there any way to check what LyXLauncher does to the environment? Try Sandboxie http://www.sandboxie.com/ Hth
Re: Configure Lyx, R, Sweave on OS X
On 14 Nov 2008, at 15:52, mikeandkatedunbar wrote: On 14 Nov 2008, at 14:50, Philippe Grosjean wrote: mikeandkatedunbar wrote: I am trying to get up and running with Lyx and R, using Sweave I have achieved this on my Windows XP PC at work with MikTex. Great. HOWEVER On my Mac (OSX 10.4.7 with MacTex 2008 installed) I have come up against a “brick wall” Lyx 1.6 is installed and I can generate dvi files from simple example .lyx files R 2.8 is installed, I am up to the stage where R CMD Sweave foo.Rnw works, as does Latex foo.tex kpsewhich Sweave.sty confirms that Latex can find Sweave.sty I have followed the instructions in http://cran.r-project.org/contrib/extra/lyx/INSTALL and copied files to the relevant locations into \users\me\Library\Application Support\Lyx-1.6 And reconfigured / restarted Lyx But whenever I open a test file such as http://cran.r-project.org/contrib/extra/lyx/Sweave-test-1.lyx I get the same old message “The layout file requested by this document, literate- article.layout, is not usable. This is probably because a LaTeX class or style file required by it is not available. ” This does not appear to be a problem with Sweave.sty (at least, not directly). It is your literate-article.layout which cannot be found, is corrupted, or is incompatible with the new LyX 1.6 version. Have you tried with LyX 1.5.7? It seems like Lyx cannot find Sweave.sty, event though Latex can find it. I'm at my wits end, so any advice on how to troubleshoot this would be very much appreciated. While I'm quite familiar with R, Lyx is very new to me. Regards Mike Best, Philippe Grosjean YES, I installed LyX 1.5.7, copied the layouts across and it works fine. Thanks so much. I guess there could be a problem with Lyx 1.6.0 and the Lyx customisation files from Gregor Gorjanc, at least on OS X - I didn't have the problems with 1.6.0 on Windows. regards Mike Just to finally put an end to this, the problem was caused by how I'd grabbed the layout files from cran. I had right clicked on them in Safari and saved them to the desktop, then copied to the layouts folder. This wasn't correct, I think I had effectively saved links to the files on CRAN, not the files themselves. When I grabbed the layout files by ftp, everything was working OK, both in lyx 1.5.7 and 1.6.0. Thanks once again for the advice. Mike
Re: Query on printing with 'screens'
2008/11/17 Konrad Hofbauer [EMAIL PROTECTED]: Konrad Hofbauer wrote: Unknown wrote: He says the photos won't print because they don't have a screen. Is it some printers' jargon, or a bad translation? The first. See: http://www.adobe.com/studio/print/pdf/prepress_terms.pdf Can't help you much here, sorry. (But then, it is really the printer who should know how to do the color separation.) I now understand :-) But it seems they use very archaic methods of preparing for print. Normally rasterization process in separation or bw printing is currently done automatically these days when film or plate is prepared to photoset (I don't know proper term in English for naświetlarka). Such process you describe I remember from ages of old Ventura under Windows 3.1, when every picture has to have LPI and raster angles defined separately. -- Manveru jabber: [EMAIL PROTECTED] gg: 1624001 http://www.manveru.pl
Re: lyx-1.6.0 fedora updates
On Saturday 15 November 2008 20:05:03 Rex Dieter wrote: Pending some polish to the update text, the push request will be soonish. See: https://admin.fedoraproject.org/updates/lyx-1.6.0-1.fc8 https://admin.fedoraproject.org/updates/lyx-1.6.0-1.fc9 Feedback welcome. It should be noticed that if the feedback is positive those packages are the same that will appear in the updates. So if you want to contribute to either LyX and Fedora then test those packages. Note that judging from the behaviour in F-10 (to be) and from the reports regarding LyX 1.6.0 on this list it should just work, even so it would be nice to have feedback from Fedora users. The links that Rex left allow to retrieve the generated rpms and to leave a comment regarding the package. If you have any problems to test the packages please feel free to ask for further details. -- Rex -- José Abílio
Problem with pdf-view in Lyx 1.6.0
Hello, I installed Lyx 1.6.0 now and - congratulations: it is really good. But I have some problems with pdf-view, that I had not with Lyx 1.5.6. I'm shure, someone can help me and tell me, what to do: The view of the help-files intro.lyx and tutorial.lyx is ok. Problem with help-file userguide.lyx: on the first latex-running appears the latex-mistake-window: LaTeX Error: File `wasysym.sty' not found. \usepackage {makeidx} *** (cannot \read from terminal in nonstop modes) Problem with help-file extended.lyx: on the first latex-running appears the latex-mistake-window: LaTeX Error: File `caption.sty' not found. ..., tableposition=top]{caption}[2004/07/16] *** (cannot \read from terminal in nonstop modes) Problem with help-file embeddedobjects.lyx: on the first latex-running appears the latex-mistake-window: 1. Font U/psy/m/n/12=psyr at 12.0pt not loadable: Metric (TFM) file not found. {\Pifont{psy}} I wasn't able to read the size data for this font, so I will ignore the font specification. [Wizards can fix TFM files using TFtoPL/PLtoTF.] You might try inserting a different font spec; e.g., type `I\fontsame font id=substitute font name'. 2. LaTeX Error: File `caption.sty' not found. ..., tableposition=top]{caption}[2004/07/16] *** (cannot \read from terminal in nonstop modes) I don't know, whether there are other problems with other lyx-files. Might be an incomplete lyx-installation the reason for this? Or what could it be? -- Mit freundlichen Grüßen Matthias Schmidt mailto:[EMAIL PROTECTED] Diese Nachricht ist mit Norton Internet Security geprüft ___ Der frühe Vogel fängt den Wurm. Hier gelangen Sie zum neuen Yahoo! Mail: http://mail.yahoo.de
Re: Steps towards a portable LyX installation on Windows
Thomas Steffen wrote: The other issue was that convert would not recognise ghostscript. I read that @PSdelegate@ in delegates.xml relies on registry keys, and indeed replacing it with gswin32c.exe solved the issue. This was necessary to get previews working for eps files. The build-in ImageMagick does not rely on registry keys but uses the environment variables set by LyXLauncher (see the source for details) to get the location of the Ghostscript directories. Note that not only @PSdelegate@ is relevant but also the font directory etc. Joost
Re: lyx2lyx script broken (1.6.0 on Vista)
Andre Poenitz [EMAIL PROTECTED] writes: In fact that's actually the most sensible behaviour since there are only very few cases where a new version indeed can replace an older one without any existing or imagined problem. What's wrong with static linking? At least it goes away when the application goes away. JMarc
Re: avoiding indentation within footnotes and adding vertical space under headings
Thanks. I found a simple way to add extra space after headings with the insert vertical space (protected) command. Regarding the footnotes I tried \usepackage[para]{footmisc} and \usepackage[hang, flushmargin]{footmisc} both failed with lyx 1.6. but works fine with lyx 1.5.6. The problem is that lyx 1.5.6 don't want to open files created with lyx 1.6. Excuse me. I must to say \usepackage[flushmargin]{footmisc} instead \usepackage[para]{footmisc} Currently I have this in my preamble in a work fine with lyx 1.6.0 and no have any problem. I installed lyx 1.5.7 and I can open files created with lyx 1.6.0. I think that you have a specific problem in your computer. Regards Marcelo Yahoo! Cocina Recetas prácticas y comida saludable http://ar.mujer.yahoo.com/cocina/
Re: Print list of notes
Nick Bell wrote: Charles de Miramon wrote: Nick Bell wrote: Is there anyway in which I can print a list of notes, preferably with page references? What kind of notes ? footnotes, endnotes, to-do notes Lyx Notes Note, there's no simple way. But if you switch them all to comments, then they get output as \begin{comment}...\end{comment}, and then you can arrange to print them as you like. rh
Re: Print list of notes
rgheck wrote: Nick Bell wrote: Charles de Miramon wrote: Nick Bell wrote: Is there anyway in which I can print a list of notes, preferably with page references? What kind of notes ? footnotes, endnotes, to-do notes Lyx Notes Note, there's no simple way. But if you switch them all to comments, then they get output as \begin{comment}...\end{comment}, and then you can arrange to print them as you like. Oh, and to do that, you can use this command: notes-mutate Note Comment in the minibuffer. rh
Re: Print list of notes
rgheck wrote: rgheck wrote: Nick Bell wrote: Charles de Miramon wrote: Nick Bell wrote: Is there anyway in which I can print a list of notes, preferably with page references? What kind of notes ? footnotes, endnotes, to-do notes Lyx Notes Note, there's no simple way. But if you switch them all to comments, then they get output as \begin{comment}...\end{comment}, and then you can arrange to print them as you like. Oh, and to do that, you can use this command: notes-mutate Note Comment in the minibuffer. rh Thanks for that, but how do I print a list of comments? Nick
Re: Problem with pdf-view in Lyx 1.6.0
Matthias Schmidt wrote: Hello, I installed Lyx 1.6.0 now and - congratulations: it is really good. But I have some problems with pdf-view, that I had not with Lyx 1.5.6. I'm shure, someone can help me and tell me, what to do: The view of the help-files intro.lyx and tutorial.lyx is ok. Problem with help-file userguide.lyx: on the first latex-running appears the latex-mistake-window: LaTeX Error: File `wasysym.sty' not found. Under Mandriva, wasysym.sty is in /usr/share/texmf/tex/latex/wasysm Perhaps you also need to clickon the Use AMS maths... package under Lyx documents settings menu option. Hopefully you can avoid have to download wasysym.sty from CPAN. I hope this helps. \usepackage {makeidx} *** (cannot \read from terminal in nonstop modes) Problem with help-file extended.lyx: on the first latex-running appears the latex-mistake-window: LaTeX Error: File `caption.sty' not found. ..., tableposition=top]{caption}[2004/07/16] *** (cannot \read from terminal in nonstop modes) Problem with help-file embeddedobjects.lyx: on the first latex-running appears the latex-mistake-window: 1. Font U/psy/m/n/12=psyr at 12.0pt not loadable: Metric (TFM) file not found. {\Pifont{psy}} I wasn't able to read the size data for this font, so I will ignore the font specification. [Wizards can fix TFM files using TFtoPL/PLtoTF.] You might try inserting a different font spec; e.g., type `I\fontsame font id=substitute font name'. 2. LaTeX Error: File `caption.sty' not found. ..., tableposition=top]{caption}[2004/07/16] *** (cannot \read from terminal in nonstop modes) I don't know, whether there are other problems with other lyx-files. Might be an incomplete lyx-installation the reason for this? Or what could it be? Yes it could be since 1.6.0 has just been released. If you are new to Lyx I'd wait and see if anyone else has the same problem. I'm using an earlier version of Lyx. Regards, Donald
Re: Lyx 1.6 on ubuntu 8.04
On Mon, 2008-11-17 at 17:56 +, Graham Smith wrote: Has anyone installed 1.6 on Ubuntu 8.04? Its available for Jaunty (as pointed out elsewhere on this forum), but not sure of the risks that may be involved. Yes I did successfully install 1.6 from source. I just follow from this thread http://www.mail-archive.com/lyx-users@lists.lyx.org/msg65444.html I currently have 1.5.5 installed via the Ubuntu repository, should I uninstall this before installing 1.6, or is it a bad idea to install 1.6 before its officially available for 8.04. No i did not uninstall the version 1.5.5 as I am still using it for a reason. It works parallel with version 1.6 I use the following commands after downloading the source 1.6 ./configure --with-version-suffix=-1.6.0 make sudo make install I am new to Linux, and still finding my feet with it. Thanks for any advice. Graham