Empty \item
Hello, If you are in an enumerate environment what is the recommended way for creating an \item element with no content? You may need it to have a sub enumerate environment start at the same line as the previous \item element starts in the outer enumerate. I could prevent the empty \item from disappearing by putting an empty ERT box after it. But there may be a more elegant way for doing it. Regards, Máté<>
Re: ERT boxes
Hi, You are right, I can change the ERT font, and I can make collapsed all my ETR boxes. But on the one hand I prefer to be ETRs opened, and on the other hand it doesn't change the fact that opened ERTs have improper height. As for the user guide, in LyX 1.6 it seems to be different: http://screencast.com/t/L1ppd1sZd0g. I couldn't find the Inline state beyond the Collapsed and Open. Moreover, Left-clicking on an Open ERT box doesn't close it. Regards, Máté - Original Message - From: Konrad Hofbauer To: lyx-users@lists.lyx.org Cc: LyX users Sent: Monday, October 20, 2008 7:10 AM Subject: Re: ERT boxes Máté Salát wrote: > You can see the enormous place that the ert boxes take. It is relative huge even compared to the other box types, e.g. the references. This is in the UserGuide (sec. 6.9.1): The box itself can be displayed in three different styles: Inline, Collapsed, and Open. To change the style, right-click on the box and use the appearing dialog. Left-clicking on the box will switch between Collapsed and Open. You can also press Ctrl-I to change it to inline. /Konrad
ETR boxes
Hello, I have a small suggestion that would improve the look of lyx documents. On my screen it seems like this: http://screencast.com/t/PVX7vb98. You can see the enormous place that the ert boxes take. It is relative huge even compared to the other box types, e.g. the references. It could be disturbing if you need to use a lot of ert-s, or these are the only elements in your document that damage the look of it. I think it would be worth changing the size of the ert box, and maybe also changing the ert font type. Regards, Máté
Re: Loading Babel with parameter
Hi, Thanks Günter and JMarc, you are right, magyar is passed to babel as well. I didn't know it. Regards, Máté - Original Message - From: G Milde To: lyx-users@lists.lyx.org Sent: Thursday, September 25, 2008 9:32 AM Subject: Re: Loading Babel with parameter Máté Salát <[EMAIL PROTECTED]> schrieb: > From: Marcelo Acu=F1a=20 > > You know that LyX adds \usepackage{babel} to the end of > > the preamble of the tex file by default. How can it changed > > to \usepackage[magyar]{babel} to load the Hungarian one? >put magyar in options of documents Or set the language with the Document>Settings>Language Dialogue. > If I set the language in the document options then it appears only among = > the options of \documentclass. The \begin{document} remains without = > option. Look at it here: http://screencast.com/t/ZQuXO1sXqQ. Options in \documentclass are passed to all packages loaded with \usepackage, to this should work. You can, however untick the "[x] Global" box in Tools>Preferences>Language settings>Language. Downside: other packages (like index generators) will not pick up the language setting. Günter
Re: Loading Babel with parameter
Hi, If I set the language in the document options then it appears only among the options of \documentclass. The \begin{document} remains without option. Look at it here: http://screencast.com/t/ZQuXO1sXqQ. Regards, Máté - Original Message - From: Marcelo Acuña To: lyx-users@lists.lyx.org ; Máté Salát Sent: Thursday, September 25, 2008 12:38 AM Subject: Re: Loading Babel with parameter > You know that LyX adds \usepackage{babel} to the end of > the preamble of the tex file by default. How can it changed > to \usepackage[magyar]{babel} to load the Hungarian one? > > Regards, Máté put magyar in options of documents Marcelo Yahoo! Cocina Recetas prácticas y comida saludable http://ar.mujer.yahoo.com/cocina/
Loading Babel with parameter
Hi, You know that LyX adds \usepackage{babel} to the end of the preamble of the tex file by default. How can it changed to \usepackage[magyar]{babel} to load the Hungarian one? Regards, Máté
Re: Unknown software exception (1.6.0rc2)
Hi Paul, It happens in every document. I did that you said. I executed "lyx.exe -dbg any", opened a new document, typed a letter m, selected it and copied it. Look at the results attached and on this snapshot http://screencast.com/t/yTT8amgh. Máté - Original Message - From: Paul A. Rubin To: lyx-users@lists.lyx.org Sent: Thursday, September 11, 2008 9:54 PM Subject: Re: Unknown software exception (1.6.0rc2) Máté Salát wrote: > Hello, > > > > I tried to use LyX 1.6.0rc2, but it break down after mostly every usage > of copy and cut even it is performed by short key or by the toolbar > button. Before the shut down of LyX the attached window turns up, always > with the same numbers. > > > > I'm in a trouble now, because it prevent me from using LyX and doing my > work. > > > > Máté > > > > Máté, Does this happen in every document, or at least in new documents, or only in one particular document? You could try running lyx from a command shell with the option -debug any. That will spew all sorts of messages in to the command window, all but the last of which can be ignored. The question is whether you get any informative messages right before the crash. What you posted elsewhere about uninstalling looked to have been thorough enough. If there is a conflict with another program, though, reinstalling LyX likely will not fix it. :-( Booting into safe mode was a good idea, but even in safe mode you may have things running in the background that could be problematic. You might try safe mode again and, before starting LyX, check for background processes (with Task Manager or Process Explorer), and kill any that you don't absolutely need. /Paul Microsoft Windows XP [verziószám: 5.1.2600] (C) Copyright 1985-2001 Microsoft Corp. C:\Program Files\LyX 1.6.0rc2\bin>lyx.exe -help Usage: lyx [ command line switches ] [ name.lyx ... ] Command line switches (case sensitive): -help summarize LyX usage -userdir dir set user directory to dir -sysdir dirset system directory to dir -geometry WxH+X+Y set geometry of the main window -dbg feature[,feature]... select the features to debug. Type `lyx -dbg' to see the list of features -x [--execute] command where command is a lyx command. -e [--export] fmt where fmt is the export format of choice. Look on Tools->Preferences->File formats->Format to get an idea which parameters should be passed. -i [--import] fmt file.xxx where fmt is the import format of choice and file.xxx is the file to be imported. -versionsummarize version and build info Check the LyX man page for more details. C:\Program Files\LyX 1.6.0rc2\bin>lyx.exe -dbg List of supported debug flags: 0 none No debugging message 1 info General information 2 init Program initialisation 4 key Keyboard events handling 8 gui GUI handling 16 parser Lyxlex grammar parser 32lyxrc Configuration files reading 64kbmap Custom keyboard definition 128latex LaTeX generation/execution 256 mathed Math editor 512 font Font handling 1024 tclass Textclass files reading 2048lyxvc Version control 4096lyxserver External control interface 8192 undo Undo/Redo mechanism 16384 action User commands 32768 lyxlex The LyX Lexxer 65536 depend Dependency information 131072 insets LyX Insets 262144files Files used by LyX 524288 workarea Workarea events 1048576insettext Insettext/tabular messages 2097152 graphics Graphics conversion and loading 4194304 changes Change tracking 8388608 external External template/inset messages 16777216 painting RowPainter profiling 33554432scrolling scrolling debugging 67108864 macros Math macros 134217728 rtl RTL/Bidi 268435456 locale Locale/Internationalisation 536870912selection Selection copy/paste mechanism 2147483648debug Developers' general debug messages 4294967295 any All debugging messages C:\Program Files\LyX 1.6.0rc2\bin>lyx.exe -dbg any ... ... ... ... ... ... ... D:\LyXSVN\lyx-devel\src\CoordCache.cpp(53): InsetCache contains: D:\LyXSVN\lyx-devel\src\BufferView.cpp(2171): *** START DRAWING *** D:\LyXSVN\lyx-devel\src\TextMetrics.cp
Re: Unknown software exception (1.6.0rc2)
I understand you related to Windows - Linux. But now I have to solve it on Windows. I used the own uninstall process of LyX. and I checked that all LyX related folders disappeared from C:\Program Files and C:\Documents and Settings\salat\Application Data. Can I make it more effective? Thanks your help. At the latest my next windows reinstall should fix the problem. But I hope it sooner. Máté - Original Message - From: rgheck To: Máté Salát Cc: lyx-users@lists.lyx.org ; Uwe Stöhr Sent: Thursday, September 11, 2008 6:38 PM Subject: Re: Unknown software exception (1.6.0rc2) Máté Salát wrote: > I did what you said, but starting LyX from cmd has the same result > when I start it by a shortcut. > > I removed all LyX versions and put back the > LyX-16rc2-4-08-AltInstaller-Small.exe, but it hasn't helped. > > Do you have any further idea I can try with 1.6? > Well, I don't do Windows (and your experience is part of the reason why). But you should probably make sure that everything is being removed. I'm guessing that some stuff isn't being removed, and so you're not really getting a full reinstall. Richard
Re: Unknown software exception (1.6.0rc2)
I did what you said, but starting LyX from cmd has the same result when I start it by a shortcut. I removed all LyX versions and put back the LyX-16rc2-4-08-AltInstaller-Small.exe, but it hasn't helped. Do you have any further idea I can try with 1.6? Máté - Original Message - From: rgheck To: Máté Salát Cc: lyx-users@lists.lyx.org Sent: Thursday, September 11, 2008 4:53 PM Subject: Re: Unknown software exception (1.6.0rc2) Máté Salát wrote: > Sorry, sorry that I've left out some important information. > > I use win xp. It happens not each time when I use ctrl+c, but about 2 times from every 3. It doesn't depend on if it's text or math. It happens in old documents and in new ones as well. > > In fact I use LyX 1.6 for quite a long time, and it worked fine. Maybe something has changed on my system since than, I don't know. > > I tried to restart Windows in safe mode, and that time LyX was lot more stable, but I was able to produce the same error. > > I'm going to reinstall LyX 1.6 now. How can I run LyX from a terminal? > > Figure out where LyX 1.6 is. Somewhere like: c:\program files\lyx\lyx.exe, but I don;t know for sure. Start>Run Command. Enter "cmd.exe" (I think). Then you get a terminal. Then type c:\program files\lyx\lyx.exe, or whatever it is. Richard
Re: Unknown software exception (1.6.0rc2)
Sorry, sorry that I've left out some important information. I use win xp. It happens not each time when I use ctrl+c, but about 2 times from every 3. It doesn't depend on if it's text or math. It happens in old documents and in new ones as well. In fact I use LyX 1.6 for quite a long time, and it worked fine. Maybe something has changed on my system since than, I don't know. I tried to restart Windows in safe mode, and that time LyX was lot more stable, but I was able to produce the same error. I'm going to reinstall LyX 1.6 now. How can I run LyX from a terminal? Máté - Original Message - From: rgheck To: Máté Salát Cc: lyx-users@lists.lyx.org Sent: Thursday, September 11, 2008 3:28 PM Subject: Re: Unknown software exception (1.6.0rc2) Máté Salát wrote: > > Hello, > > > > I tried to use LyX 1.6.0rc2, but it break down after mostly every > usage of copy and cut even it is performed by short key or by the > toolbar button. Before the shut down of LyX the attached window turns > up, always with the same numbers. > > > This is on Windows or what? Are there particular things you are trying to copy? Info from a table or just ordinary text? Or math? Or what? Try running LyX from a terminal. You ought to get a lot more information, if it is indeed LyX that is causing the problem. > I'm in a trouble now, because it prevent me from using LyX and doing > my work. > > > I assume you've tried uninstalling and reinstalling? If so, you may need to revert to 1.5 for a while. You can use the lyx2lyx program, which can be run from outside LyX, to convert your files into a format that 1.5 can read. Since I don't know your platform, I don't know where the program is located, but on my system, I'd need to open a terminal and do this: python /usr/local/share/lyx/lyx2lyx/lyx2lyx -t 276 myfile.lyx > myfile.15.lyx Richard
Unknown software exception (1.6.0rc2)
Hello, I tried to use LyX 1.6.0rc2, but it break down after mostly every usage of copy and cut even it is performed by short key or by the toolbar button. Before the shut down of LyX the attached window turns up, always with the same numbers. I'm in a trouble now, because it prevent me from using LyX and doing my work. Máté <>
Re: Command disabled
I've reported it: http://bugzilla.lyx.org/show_bug.cgi?id=5109. Máté - Original Message - From: rgheck To: Máté Salát Cc: Rich Shepard ; lyx-users@lists.lyx.org Sent: Saturday, August 02, 2008 12:37 AM Subject: Re: Command disabled Máté Salát wrote: > By the way, I have another problem around hotkeys. I've created the \bind "M-8" "math-delim ( )" hotkey. I realized that after each starting of LyX it doesn't consider the first usage of Alt+8, it does only the further ones. It has been annoying me for a long time. But now I tried to set up this hotkey using the Shortcut Configuration dialog. It made visible the difference between the first and the rest presses of Alt+8. > > To see it, go to modify the shortcut of some function just after starting LyX. When the Shortcut field is active press Alt+8 several times. First "Alt+?" appears but after it always "Alt+8" comes. I tried this on several computers with WinXP. All have the same problem. > > I'll see if I can get someone to look at this. Can you post it at bugzilla, so it doesn't get lost? rh
Re: Command disabled
Thanks, Rich. You are right. I changed the bookmark hotkeys, and the disabled message doesn't appeare any more. By the way, I have another problem around hotkeys. I've created the \bind "M-8" "math-delim ( )" hotkey. I realized that after each starting of LyX it doesn't consider the first usage of Alt+8, it does only the further ones. It has been annoying me for a long time. But now I tried to set up this hotkey using the Shortcut Configuration dialog. It made visible the difference between the first and the rest presses of Alt+8. To see it, go to modify the shortcut of some function just after starting LyX. When the Shortcut field is active press Alt+8 several times. First "Alt+?" appears but after it always "Alt+8" comes. I tried this on several computers with WinXP. All have the same problem. Máté ----- Original Message - From: rgheck To: Máté Salát Cc: Rich Shepard ; lyx-users@lists.lyx.org Sent: Friday, August 01, 2008 6:52 PM Subject: Re: Command disabled Máté Salát wrote: > Rich, > > Actually I've specified the hotkey Ctrl+8 but I haven't specified the others like Ctrl+1, Crtl+2, ... > But as I said the reaction of LyX even for Ctrl+1 and Ctrl+8 is the same "Command disabled" text. > > Anyway, I use WinXP and LyX 1.6.0beta4 (Fri, Jul 11, 2008). If I want to specify a new hotkey I use the Shortcut Configuration dialog (http://wiki.lyx.org/LyX/NewInLyX16#toc20). The hotkeys made here by the user are stored in "C:\Documents and Settings\username\Application Data\lyx16\bind\user.bind". For example one line in it is: \bind "C-8" "math-delim ( )" > > The issue may be that these are already declared, here: # # bookmarks # \bind "C-~S-1""bookmark-goto 1" \bind "C-~S-2""bookmark-goto 2" \bind "C-~S-3""bookmark-goto 3" \bind "C-~S-4""bookmark-goto 4" \bind "C-~S-5""bookmark-goto 5" \bind "C-~S-6""bookmark-goto 6" \bind "C-~S-7""bookmark-goto 7" \bind "C-~S-8""bookmark-goto 8" \bind "C-~S-9""bookmark-goto 9" \bind "C-M-~S-1""bookmark-save 1" \bind "C-M-~S-2""bookmark-save 2" \bind "C-M-~S-3""bookmark-save 3" \bind "C-M-~S-4""bookmark-save 4" \bind "C-M-~S-5""bookmark-save 5" \bind "C-M-~S-6""bookmark-save 6" \bind "C-M-~S-7""bookmark-save 7" \bind "C-M-~S-8""bookmark-save 8" \bind "C-M-~S-9""bookmark-save 9" The ~S thing means to ignore shift state. So you're getting the disabled thing because the bookmark doesn't exist. If you want, you could redefine these to require shift: \bind "C-S-1""bookmark-goto 1" and then define C-1 etc as you wish. rh
Re: Command disabled
Rich, Actually I've specified the hotkey Ctrl+8 but I haven't specified the others like Ctrl+1, Crtl+2, ... But as I said the reaction of LyX even for Ctrl+1 and Ctrl+8 is the same "Command disabled" text. Anyway, I use WinXP and LyX 1.6.0beta4 (Fri, Jul 11, 2008). If I want to specify a new hotkey I use the Shortcut Configuration dialog (http://wiki.lyx.org/LyX/NewInLyX16#toc20). The hotkeys made here by the user are stored in "C:\Documents and Settings\username\Application Data\lyx16\bind\user.bind". For example one line in it is: \bind "C-8" "math-delim ( )" What do you mean by the hotkey's long form? Máté - Original Message - From: Rich Shepard To: lyx-users@lists.lyx.org Sent: Friday, August 01, 2008 5:24 PM Subject: Re: Command disabled On Fri, 1 Aug 2008, Máté Salát wrote: > For pressing Ctrl+ LyX says "Command disabled" on > the status line, independently of the existence of such a hotkey. > > What does this message mean? I wanted to set up some custom hotkeys > including these. Máté, Did you specify the hotkey and its long form in your bind file? Mine is in ~/.lyx/bind/mybind, and it's a derivative of the emacs.bind file. Rich -- Richard B. Shepard, Ph.D. | IntegrityCredibility Applied Ecosystem Services, Inc.|Innovation <http://www.appl-ecosys.com> Voice: 503-667-4517 Fax: 503-667-8863
Command disabled
Hello, For pressing Ctrl+ LyX says "Command disabled" on the status line, independently of the existence of such a hotkey. What does this message mean? I wanted to set up some custom hotkeys including these. Cheers, Máté
Re: Theorem environments in LyX 1.6
Thanks Paul for suggesting the makecmds package. Actually it's solved my problem. Just all \renewenvironment commands should be replaced by \makeenvironment ones. But from the viewpoint of LyX your suggestions make sense, and maybe should be considered by the authors. Cheers, Máté - Original Message - From: Paul A. Rubin To: lyx-users@lists.lyx.org Sent: Sunday, July 13, 2008 5:05 PM Subject: Re: Theorem environments in LyX 1.6 Máté Salát wrote: > There is an issue with the translation of the labels of the AMS theorem module described at http://wiki.lyx.org/LyX/I18nLabels. > > The problem is that you can not place the items >\newtheorem{NewName_e}{NewLabel_e} >\renewenvironment{OrigName_e}{\begin{NewName_e}}{\end{NewName_e}} > for all the environments (e = cor, lem, prop, ...), but you can only place them for those environments that are actually used in the lyx document. For example the attached LyX file can not be compiled for this reason. > > This issue makes complicated the creation and development of documents because you have to adjust the preamble to the present set of the used environments all the time. > Even when a new environment appears you have to remember to translate the new environment, or when an environment disappears totally you need remove the related part to be able to compile the document. It also prevent you from using the same preamble file for different documents. > > Maybe the renewenvironment command should be put behind a condition "if the environment OrigName_e exists than..." but I don't know how to implement this. > > Cheers, Máté I think you can load the makecmds package and then use \provideenvironment to conditionally define each environment you are going to rename. That said, I suspect there is a better approach. I'm a English(US)-only user, so I'm speculating, but my guess is that most people who want to translate the AMS environment names either want to use the translated names in all their documents, or in a good portion of their documents (the rest likely remaining in English?). So making them put the translations in the preamble each time they are using their native language is inefficient. The efficient solution is to do the translations once, in the AMS layout files, and if necessary create two sets of AMS layouts (one for language A, one for language B). The user then picks either "article (AMS)" or "article (AMS-Klingon)" from the document class list. There are a set of AMS layout files on the wiki in German (I think provided by Georg Baum), but they're from LyX 1.3, and we've since made some changes to the layouts. The layouts will undergo another major change in LyX 1.6, when they will become modules. So my suggestion is that either (a) we start a page on the wiki where people can post/download translations or (b) we provide a script that the user can run locally that will prompt the user for translations of the names and generate a new set of layouts. (Actually, a third approach would be a script that let you upload a list of translated terms and then generated the AMS files and put them on the wiki for general distribution. Assuming we could trust the users to provide non-scatological translations ...) You might want to post this either on the wiki feature poll or in bugzilla as an enhancement request. I'd do it myself, but since I'm deeply monolingual, it's not something I need. Neither solution would be particularly difficult, though. /Paul
Theorem environments in LyX 1.6
There is an issue with the translation of the labels of the AMS theorem module described at http://wiki.lyx.org/LyX/I18nLabels. The problem is that you can not place the items \newtheorem{NewName_e}{NewLabel_e} \renewenvironment{OrigName_e}{\begin{NewName_e}}{\end{NewName_e}} for all the environments (e = cor, lem, prop, ...), but you can only place them for those environments that are actually used in the lyx document. For example the attached LyX file can not be compiled for this reason. This issue makes complicated the creation and development of documents because you have to adjust the preamble to the present set of the used environments all the time. Even when a new environment appears you have to remember to translate the new environment, or when an environment disappears totally you need remove the related part to be able to compile the document. It also prevent you from using the same preamble file for different documents. Maybe the renewenvironment command should be put behind a condition "if the environment OrigName_e exists than..." but I don't know how to implement this. Cheers, Máté Corollary.lyx Description: application/lyx
Theorem environments in LyX 1.6
There is an issue with the translation of the labels of the AMS theorem module described at http://wiki.lyx.org/LyX/I18nLabels. The problem is that you can not place the items \newtheorem{NewName_e}{NewLabel_e} \renewenvironment{OrigName_e}{\begin{NewName_e}}{\end{NewName_e}} for all the environments (e = cor, lem, prop, ...), but you can only place them for those environments that are actually used in the lyx document. For example the attached LyX file can not be compiled for this reason. This issue makes complicated the creation and development of documents because you have to adjust the preamble to the present set of the used environments all the time. Even when a new environment appears you have to remember to translate the new environment, or when an environment disappears totally you need remove the related part to be able to compile the document. It also prevent you from using the same preamble file for different documents. Maybe the renewenvironment command should be put behind a condition "if the environment OrigName_e exists than..." but I don't know how to implement this. Cheers, Máté
Re: Nested environments
You are right. It's the solution. Thanks. Máté - Original Message - From: Richard heck To: Steve Litt Cc: lyx-users@lists.lyx.org Sent: Saturday, June 07, 2008 3:20 AM Subject: Re: Nested environments Steve Litt wrote: > On Friday 06 June 2008 16:37, Máté Salát wrote: > >> Is it supported in LyX 1.6 to use nested environments? For example one may >> need to use an itemize environment during a long proof inside the proof >> environment (using the Theorem module). How can he carry out this? >> >> regards, Máté >> > > Wouldn't that be nice! LaTeX supports nested environments -- it would be great > if LyX could too. > > This is what environment depth is all about. rh
Nested environments
Is it supported in LyX 1.6 to use nested environments? For example one may need to use an itemize environment during a long proof inside the proof environment (using the Theorem module). How can he carry out this? regards, Máté
Re: Paragraph break before display formula
I've reported it. (http://bugzilla.lyx.org/show_bug.cgi?id=4930) Máté - Original Message - From: rgheck To: Máté Salát Cc: LyX users Sent: Friday, June 06, 2008 7:03 PM Subject: Re: Paragraph break before display formula Máté Salát wrote: > Hello, > > If I have a display formula in a text, it can not be seen whether there is a paragraph break before the display formula or not. (A paragraph break after a display formula is seen by the indent of the next paragraph.) > > Can the paragraph breaks be displayed? > > I've noticed this before, too. I don't know a way to display them, but we should make it possible. Please file a bug report. rh
Paragraph break before display formula
Hello, If I have a display formula in a text, it can not be seen whether there is a paragraph break before the display formula or not. (A paragraph break after a display formula is seen by the indent of the next paragraph.) Can the paragraph breaks be displayed? Thanks, Máté
Theorem environments in LyX 1.6
Hello, I've added the "Theorems (AMS)" module in the Document Preferences to my lyx document. 1. Is it possible to create an itemize environment inside a thm environment? 2. In the preamble "\newtheorem{thm}{Theorem}" appears automatically. How is it possible to change "Theorem" to the adequate word in my language? Thanks, Máté
LyX: Load backup?
Hi, Could you tell me on what exactly depends whether the "LyX: Load backup?" window (http://screencast.com/t/L7WjfBgfRjj) appears when opening a lyx file? When does the #.LYX# file stay near the original file after closing it? It seems to be a bit random for me. Cheers, Máté
Re: SVG to PDF
Hi, Nobody has any idea about LyX converters? I try again hoping to get a respond. What does LyX when it converts an images? Where the input images are copied, and what is the exact form of the line inkscape --file=$$i --export-area-drawing --without-gui --export-pdf=$$o line substituted the input and output path? My problem is that if I execute it myself then the result differs from the LyX converted one (also in the white space and the missing raster image). Thanks, Máté - Original Message - From: Máté Salát To: lyx-users@lists.lyx.org Sent: Thursday, May 15, 2008 9:58 PM Subject: Re: SVG to PDF Hi, I made some further test on the conversation method of LyX 1.5.5, and I found it's behavior very strange. The point is that I copied the SVG -> PDF converter line from the Preferences: inkscape --file=$$i --export-area-drawing --without-gui --export-pdf=$$o I replaced the $$ elements with my file names: inkscape --file=C:\GombSokszog.svg --export-area-drawing --without-gui --export-pdf=C:\GombSokszog.pdf I opened the Run dialog of Windows, pasted it, executed it. The result was what is expected, the C:\GombSokszog.png was included in the PDF file as well as the other things. So the converter of Inkscape seems to be good. If I compile my LyX file then LyX copies the C:\GombSokszog.svg to the temporary directory (...\lyx_tmpdir2684a05928\lyx_tmpbuf0) but it doesn't copy the PNG file. A PDF file also appears in the temporary directory, but the PNG image is missing from the PDF. Copying the PNG file into the temporary directory before compiling the LyX file doesn't help. What is happening here? Why Inkscape doesn't find the PNG file at the moment of converting the SVG? All the mensioned files are in the folder http://zaradek.hu/svg/files/. Cheers, Máté - Original Message - From: Máté Salát To: Uwe Stöhr Cc: lyx-users@lists.lyx.org Sent: Wednesday, May 14, 2008 7:03 PM Subject: Re: SVG to PDF Thanks, I did what you told me. It works now, in LyX Preferences SVG converters appeared using Inkscape. I have a problem with SVGs containing raster picture. I made a capture to explain the case: http://zaradek.hu/svg/Linked_image_not_found.png. I use Inkscape to put captions made by LaTeX onto the 3D raster picture. I put it into LyX but the raster image is missing from the LyX window and (after compiling the LyX file) from the PDF as well. It would be great to fix this problem. The other thing I noticed (but it's not relevant for me) is that if I open the SVG file from LyX then the toolbar of Inkscape collapses, the button images aren't shown up: http://zaradek.hu/svg/Crashed_toolbar.png. Cheers, Máté - Original Message - From: Uwe Stöhr To: Máté Salát Cc: lyx-users@lists.lyx.org Sent: Tuesday, May 13, 2008 2:13 PM Subject: Re: SVG to PDF Máté Salát schrieb: > I use LyX and Inkscape on Win XP. I compile my documents exclusively with pdflatex. > If I insert an SVG image into my LyX document and compile it then the automatic > conversation gives a wrong sized image with wide white border on the bottom and on > the right side. So it won't be centered on the page and so on. If I open the SVG in > Inkscape and save it in PDF then I get the Image with the right size. The mentioned > files are at http://zaradek.hu/svg. When you install LyX using this installer: http://wiki.lyx.org/Windows/LyXWinInstaller Inkscape is used to convert the SVG to PDF as you want it. The whitespace problem you described was a bug in ImageMagick (that also appears for PDF and PS images). To get a fixed version: - uninstall the Existing ImageMagick (if you have it installed) - reinstall LyX 1.5.5 using the obove mentioned installer that delivers the latest ImageMagick regards Uwe
Re: SVG to PDF
Hi, I made some further test on the conversation method of LyX 1.5.5, and I found it's behavior very strange. The point is that I copied the SVG -> PDF converter line from the Preferences: inkscape --file=$$i --export-area-drawing --without-gui --export-pdf=$$o I replaced the $$ elements with my file names: inkscape --file=C:\GombSokszog.svg --export-area-drawing --without-gui --export-pdf=C:\GombSokszog.pdf I opened the Run dialog of Windows, pasted it, executed it. The result was what is expected, the C:\GombSokszog.png was included in the PDF file as well as the other things. So the converter of Inkscape seems to be good. If I compile my LyX file then LyX copies the C:\GombSokszog.svg to the temporary directory (...\lyx_tmpdir2684a05928\lyx_tmpbuf0) but it doesn't copy the PNG file. A PDF file also appears in the temporary directory, but the PNG image is missing from the PDF. Copying the PNG file into the temporary directory before compiling the LyX file doesn't help. What is happening here? Why Inkscape doesn't find the PNG file at the moment of converting the SVG? All the mensioned files are in the folder http://zaradek.hu/svg/files/. Cheers, Máté - Original Message ----- From: Máté Salát To: Uwe Stöhr Cc: lyx-users@lists.lyx.org Sent: Wednesday, May 14, 2008 7:03 PM Subject: Re: SVG to PDF Thanks, I did what you told me. It works now, in LyX Preferences SVG converters appeared using Inkscape. I have a problem with SVGs containing raster picture. I made a capture to explain the case: http://zaradek.hu/svg/Linked_image_not_found.png. I use Inkscape to put captions made by LaTeX onto the 3D raster picture. I put it into LyX but the raster image is missing from the LyX window and (after compiling the LyX file) from the PDF as well. It would be great to fix this problem. The other thing I noticed (but it's not relevant for me) is that if I open the SVG file from LyX then the toolbar of Inkscape collapses, the button images aren't shown up: http://zaradek.hu/svg/Crashed_toolbar.png. Cheers, Máté - Original Message ----- From: Uwe Stöhr To: Máté Salát Cc: lyx-users@lists.lyx.org Sent: Tuesday, May 13, 2008 2:13 PM Subject: Re: SVG to PDF Máté Salát schrieb: > I use LyX and Inkscape on Win XP. I compile my documents exclusively with pdflatex. > If I insert an SVG image into my LyX document and compile it then the automatic > conversation gives a wrong sized image with wide white border on the bottom and on > the right side. So it won't be centered on the page and so on. If I open the SVG in > Inkscape and save it in PDF then I get the Image with the right size. The mentioned > files are at http://zaradek.hu/svg. When you install LyX using this installer: http://wiki.lyx.org/Windows/LyXWinInstaller Inkscape is used to convert the SVG to PDF as you want it. The whitespace problem you described was a bug in ImageMagick (that also appears for PDF and PS images). To get a fixed version: - uninstall the Existing ImageMagick (if you have it installed) - reinstall LyX 1.5.5 using the obove mentioned installer that delivers the latest ImageMagick regards Uwe
Re: SVG to PDF
Thanks, I did what you told me. It works now, in LyX Preferences SVG converters appeared using Inkscape. I have a problem with SVGs containing raster picture. I made a capture to explain the case: http://zaradek.hu/svg/Linked_image_not_found.png. I use Inkscape to put captions made by LaTeX onto the 3D raster picture. I put it into LyX but the raster image is missing from the LyX window and (after compiling the LyX file) from the PDF as well. It would be great to fix this problem. The other thing I noticed (but it's not relevant for me) is that if I open the SVG file from LyX then the toolbar of Inkscape collapses, the button images aren't shown up: http://zaradek.hu/svg/Crashed_toolbar.png. Cheers, Máté - Original Message - From: Uwe Stöhr To: Máté Salát Cc: lyx-users@lists.lyx.org Sent: Tuesday, May 13, 2008 2:13 PM Subject: Re: SVG to PDF Máté Salát schrieb: > I use LyX and Inkscape on Win XP. I compile my documents exclusively with pdflatex. > If I insert an SVG image into my LyX document and compile it then the automatic > conversation gives a wrong sized image with wide white border on the bottom and on > the right side. So it won't be centered on the page and so on. If I open the SVG in > Inkscape and save it in PDF then I get the Image with the right size. The mentioned > files are at http://zaradek.hu/svg. When you install LyX using this installer: http://wiki.lyx.org/Windows/LyXWinInstaller Inkscape is used to convert the SVG to PDF as you want it. The whitespace problem you described was a bug in ImageMagick (that also appears for PDF and PS images). To get a fixed version: - uninstall the Existing ImageMagick (if you have it installed) - reinstall LyX 1.5.5 using the obove mentioned installer that delivers the latest ImageMagick regards Uwe
Aspell setup problem
Hi, The most recent Windows installer of LyX always breaks down during the downloading the Hungarian Aspell at this point: http://www.screencast.com/users/salatmate/folders/Jing/media/ead56eaa-d47a-46e3-a2b1-5fd51a2be18a Cheers, Máté