Re: Exporting to LyX Archive (.tar.gz) ?

2011-09-15 Thread Tommaso Cucinotta
Il 16/09/2011 01:07, Richard Heck ha scritto: On 09/15/2011 06:45 PM, Tommaso Cucinotta wrote: What is the intended invocation of the lyxpak.py script ? It's supposed to produce a tar.gz or zip file that contains both the LyX file and all associated files, too, e.g., images, and even some LaTeX

Re: SEGFAULT while exporting

2011-09-15 Thread Tommaso Cucinotta
Il 15/09/2011 03:54, Richard Heck ha scritto: I get an assertion at line 192 of RenderPreview.cpp. I take it the problem is that, without a GUI, we do not have a PreviewLoader, which is what I use to create math images. I'll have to figure out what to do about this. The attached patch gets rid

Re: Exporting to LyX Archive (.tar.gz) ?

2011-09-15 Thread Richard Heck
On 09/15/2011 06:45 PM, Tommaso Cucinotta wrote: > Hi, > > what is the exporting to a LyX archive supposed to produce ? > > I get this error (trunk): > > tommaso@mobiletom:~/lyx-trunk-ws/lyx-trunk$ ./src/lyx > lib/doc/EmbeddedObjects.lyx > Menus.cpp(693): Menu warning: menu entries "Interruzione di

Re: #7774: Index entries are truncated in the Outline panel (List of Indexes). But they shouldn't be.

2011-09-15 Thread Jack Lyon
> FYI, the limit was introduced to keep LyX from wasting huge amounts of time calculating the TOC entries. This had been a real problem, previously, with branches. Oh, I see. Thanks for the information. I doubt that most people will use really long index entries, but often entries start out th

Exporting to LyX Archive (.tar.gz) ?

2011-09-15 Thread Tommaso Cucinotta
Hi, what is the exporting to a LyX archive supposed to produce ? I get this error (trunk): tommaso@mobiletom:~/lyx-trunk-ws/lyx-trunk$ ./src/lyx lib/doc/EmbeddedObjects.lyx Menus.cpp(693): Menu warning: menu entries "Interruzione di pagina|I" and "Visible Space|i" share the same shortcut. Tr

Re: Output file-name when exporting from command-line.

2011-09-15 Thread Julien Rioux
On 15/09/2011 9:52 PM, Tommaso Cucinotta wrote: If what you'd like is an additional option/argument for specifying the output folder for additional contents such as images, included files, bibliography, etc., then we could add that later on. That's an interesting idea in itself. What I was get

Re: #7774: Index entries are truncated in the Outline panel (List of Indexes). But they shouldn't be.

2011-09-15 Thread Jack Lyon
> Sure, I'll be happy to fix the problem. Wonderful! Thank you! > Some kind of limit is a good idea, though, I think. You think 255 characters are enough? Sure. That should be just fine. Thanks again! Best wishes, Jack Lyon On 9/15/2011 4:00 PM, LyX Ticket Tracker wrote: #7774: Index entr

Re: #7775: Change the description of index entries in the Outline panel

2011-09-15 Thread Jack Lyon
Thank you! Every little bit helps. Now how about ticket 7774? That's the critical one. On 9/15/2011 3:50 PM, LyX Ticket Tracker wrote: #7775: Change the description of index entries in the Outline panel +--- Reporter:

Re: partial xhtml commit breaks compilation on trunk

2011-09-15 Thread Richard Heck
On 09/15/2011 05:39 PM, Tommaso Cucinotta wrote: > tommaso@mobiletom:~/lyx-trunk-ws/lyx-trunk$ svn up > U src/Buffer.cpp > Aggiornato alla revisione 39680. > > $ make > [...] > make[4]: ingresso nella directory > "/home/tommaso/lyx-trunk-ws/lyx-trunk/src" > CXX Buffer.o > Buffer.cpp: In member func

partial xhtml commit breaks compilation on trunk

2011-09-15 Thread Tommaso Cucinotta
tommaso@mobiletom:~/lyx-trunk-ws/lyx-trunk$ svn up U src/Buffer.cpp Aggiornato alla revisione 39680. $ make [...] make[4]: ingresso nella directory "/home/tommaso/lyx-trunk-ws/lyx-trunk/src" CXX Buffer.o Buffer.cpp: In member function ‘void lyx::Buffer::writeLyXHTMLSource(lyx::odocstream&, const

Re: LyX & odg drawings

2011-09-15 Thread Tommaso Cucinotta
I just updated the libreoffice2eps.py Python Script. AFAICS, this should be platform-independent. Can Windows folks give it a try ? If you run it like this: python libreoffice2eps.py input.odg output.eps with arbitrary pathnames as input.odg and output.eps, including pathnames with spaces

Re: LyX & odg drawings

2011-09-15 Thread Tommaso Cucinotta
I just updated the libreoffice2eps.py Python Script. AFAICS, this should be platform-independent. Can Windows folks give it a try ? If you run it like this: python libreoffice2eps.py input.odg output.eps with arbitrary pathnames as input.odg and output.eps, including pathnames with spaces

Re: Multiple extensions and backward compatibility ?

2011-09-15 Thread Julien Rioux
On 15/09/2011 10:15 PM, Richard Heck wrote: On 09/15/2011 03:58 PM, Tommaso Cucinotta wrote: Il 15/09/2011 14:08, Richard Heck ha scritto: Are you using the same user directory for trunk and branch? I have to confess I never cared about this, however once I believed that the system-wide lyx

Re: Multiple extensions and backward compatibility ?

2011-09-15 Thread Richard Heck
On 09/15/2011 03:58 PM, Tommaso Cucinotta wrote: > Il 15/09/2011 14:08, Richard Heck ha scritto: > >> Are you using the same user directory for trunk and branch? > > I have to confess I never cared about this, however once I believed > that the system-wide lyx was using ~/.lyx, whilst the svn versi

Re: Multiple extensions and backward compatibility ?

2011-09-15 Thread Tommaso Cucinotta
Il 15/09/2011 14:08, Richard Heck ha scritto: On 09/15/2011 05:31 AM, Tommaso Cucinotta wrote: Hi, I just noticed I cannot start anymore the system-provided LyX on my Ubuntu 11.04. It say "Cannot read the configuration file". AFAICGuess, this might be due to the new multi-format-extension pat

Re: Output file-name when exporting from command-line.

2011-09-15 Thread Tommaso Cucinotta
Il 15/09/2011 15:13, Julien Rioux ha scritto: Let's say I have a document, where all my figures are in ../images and I want to export latex to out/latex and xhtml to out/xhtml and have my images in out/images: out/images <-- image files out/latex <-- latex source out/xhtml <-- xhtml source Ho

Re: (more on) document language changing

2011-09-15 Thread Liviu Andronic
On Thu, Sep 15, 2011 at 6:52 PM, PhilipPirrip wrote: > Thank you, Liviu. > In fact, there's already a bug report #7681 related to the same thing (as i > see it), and I thought it would be more convenient to have some discussion > here. Now I'm confused :) > #7681 is a bug report for one special ca

Re: (more on) document language changing

2011-09-15 Thread Julien Rioux
On 15/09/2011 6:52 PM, PhilipPirrip wrote: Thank you, Liviu. In fact, there's already a bug report #7681 related to the same thing (as i see it), and I thought it would be more convenient to have some discussion here. Now I'm confused :) #7681 is a bug report for one special case, but the same ha

Re: (more on) document language changing

2011-09-15 Thread Jürgen Spitzmüller
PhilipPirrip wrote: > #7681 is a bug report for one special case, but the same happens in many > others. > #7681 is marked as "fixedintrunk" "fixedinbranch", and I'm not sure how > much attention it can get as such, nor if I'm allowed to change the > keywords. > Should I expand the report at the

Re: (more on) document language changing

2011-09-15 Thread PhilipPirrip
Thank you, Liviu. In fact, there's already a bug report #7681 related to the same thing (as i see it), and I thought it would be more convenient to have some discussion here. Now I'm confused :) #7681 is a bug report for one special case, but the same happens in many others. #7681 is marked as

Re: (more on) document language changing

2011-09-15 Thread Liviu Andronic
Hello I'm acutely interested in a fix to this issue, but unfortunately I couldn't help you with any guidance for the code. I believe that you didn't get many answers because your e-mail contained a lot of specifics, but didn't clearly state the issue at the beginning. I would suggest that you sear

Re: (more on) document language changing

2011-09-15 Thread PhilipPirrip
No one to answer? It's really hard to work with this bug (feature?) in multilingual documents.

Re: Multiple extensions and backward compatibility ?

2011-09-15 Thread Julien Rioux
On 15/09/2011 11:31 AM, Tommaso Cucinotta wrote: Hi, I just noticed I cannot start anymore the system-provided LyX on my Ubuntu 11.04. It say "Cannot read the configuration file". AFAICGuess, this might be due to the new multi-format-extension patch. The problem is that I cannot start LyX anym

Re: Output file-name when exporting from command-line.

2011-09-15 Thread Julien Rioux
On 15/09/2011 12:33 AM, Tommaso Cucinotta wrote: I guess we have to live with this. What happens with the current code, actually? Do we output e.g. .eps files to parent directories? Yes, I just tried: a.fig nested/source.lyx (including a.fig) and, after the export, we get: nested/s

Re: LyX 2.0.1 Released

2011-09-15 Thread Liviu Andronic
Hello Stephan On Wed, Sep 7, 2011 at 1:13 PM, Stephan Witt wrote: > Am 07.09.2011 um 12:30 schrieb Liviu Andronic: >> I'm curious as to why this is needed? > > This is not on purpose... it's the current behavior because there is no > standard for the location of the hunspell dictionaries. You ma

Re: Multiple extensions and backward compatibility ?

2011-09-15 Thread Richard Heck
On 09/15/2011 05:31 AM, Tommaso Cucinotta wrote: > Hi, > > I just noticed I cannot start anymore the system-provided LyX on my > Ubuntu 11.04. > > It say "Cannot read the configuration file". > > AFAICGuess, this might be due to the new multi-format-extension patch. > The problem is that I cannot s

Re: SEGFAULT while exporting

2011-09-15 Thread Richard Heck
On 09/15/2011 04:19 AM, Tommaso Cucinotta wrote: > Il 15/09/2011 03:54, Richard Heck ha scritto: >> On 09/14/2011 09:21 PM, Tommaso Cucinotta wrote: >>> One last remark: I just found a SEGFAULT while exporting, that was >>> there already before my last export patch: >>> >> I get an assertion at lin

Multiple extensions and backward compatibility ?

2011-09-15 Thread Tommaso Cucinotta
Hi, I just noticed I cannot start anymore the system-provided LyX on my Ubuntu 11.04. It say "Cannot read the configuration file". AFAICGuess, this might be due to the new multi-format-extension patch. The problem is that I cannot start LyX anymore, so I cannot reconfigure (of course I can

Re: SEGFAULT while exporting

2011-09-15 Thread Tommaso Cucinotta
Il 15/09/2011 03:54, Richard Heck ha scritto: On 09/14/2011 09:21 PM, Tommaso Cucinotta wrote: One last remark: I just found a SEGFAULT while exporting, that was there already before my last export patch: I get an assertion at line 192 of RenderPreview.cpp. I take it the problem is that, witho