Re: [patch] Windows: Add clean_dvi support to configure.py

2006-05-26 Thread Georg Baum
Joost Verburg wrote: > The current installers use dvi2. Is there a way to call it dvi2 but make > it non-viewable? Only with hardcoding. I am really not sure what to do here, so Jean-Marc should tell ;-) Georg

Re: [patch] Windows: Add clean_dvi support to configure.py

2006-05-25 Thread Joost Verburg
Georg Baum wrote: What does Uwes installer do? The main reason for chosing the "dvi2" name was that this name was used by Angus' scripts. If we change it now we may break existing configurations (i.e. somebody modified the latex converter). The current installers use dvi2. Is there a way to c

Re: [patch] Windows: Add clean_dvi support to configure.py

2006-05-25 Thread Georg Baum
Am Donnerstag, 25. Mai 2006 17:45 schrieb Joost Verburg: > Thanks for committing this. I'm still not sure about DraftDVI being > viewable. Actually in 1.5 it is not viewable because it does not have the 'document' flag. I did not yet have the time to search for the document that makes clean_dvi

Re: [patch] Windows: Add clean_dvi support to configure.py

2006-05-25 Thread Joost Verburg
Georg Baum wrote: Jean-Marc, I think this one should go in. Shall I do it? I will send a revised version of my "autoview-logic" patch after this one is in, because it conflicts with this one. I really think that the "autoview-logic" patch should go in 1.4.2. Thanks for committing this. I'm stil

Re: [patch] Windows: Add clean_dvi support to configure.py

2006-05-24 Thread Jean-Marc Lasgouttes
> "Angus" == Angus Leeming <[EMAIL PROTECTED]> writes: Angus> What is the final "latex" entry in the converter \converter It is a special flag telling to use the internal latex machinery. MJarc

Re: [patch] Windows: Add clean_dvi support to configure.py

2006-05-24 Thread Angus Leeming
Enrico Forestieri <[EMAIL PROTECTED]> writes: > > What is the final "latex" entry in the converter > > \converter latex dvi2 "%%" "latex" > That's the extra flag thing. Thanks, Enrico. Angus

Re: [patch] Windows: Add clean_dvi support to configure.py

2006-05-24 Thread Enrico Forestieri
On Wed, May 24, 2006 at 10:09:04AM +, Angus Leeming wrote: > What is the final "latex" entry in the converter > \converter latex dvi2 "%%" "latex" That's the extra flag thing. -- Enrico

Re: [patch] Windows: Add clean_dvi support to configure.py

2006-05-24 Thread Angus Leeming
Joost Verburg <[EMAIL PROTECTED]> writes: > +if checkProg('DVI to DTL converter', ['dv2dt']) != ['', 'none'] and checkProg('DTL to DVI converter', > ['dt2dv']) != ['', 'none']: > + converter_entry = r'''\converter latex dvi2 "%%" "latex" > +\converter dvi2 dvi "python $$s/scripts/clean_dv

Re: [patch] Windows: Add clean_dvi support to configure.py

2006-05-24 Thread Jean-Marc Lasgouttes
> "Georg" == Georg Baum <[EMAIL PROTECTED]> writes: Georg> Jean-Marc, I think this one should go in. Shall I do it? I will Georg> send a revised version of my "autoview-logic" patch after this Georg> one is in, because it conflicts with this one. I really think Georg> that the "autoview-logic"

Re: [patch] Windows: Add clean_dvi support to configure.py

2006-05-24 Thread Georg Baum
Joost Verburg wrote: > Angus Leeming wrote: >> Looks good. One quibble: the usual way to test if running on Windows is: >> >>if os.name == 'nt': >> >> Works irrespective of Windows flavour, apparently. > > OK. I changed that in the attached patch, makes no difference but looks > better. Je

Re: [patch] Windows: Add clean_dvi support to configure.py

2006-05-23 Thread Joost Verburg
Angus Leeming wrote: Looks good. One quibble: the usual way to test if running on Windows is: if os.name == 'nt': Works irrespective of Windows flavour, apparently. OK. I changed that in the attached patch, makes no difference but looks better. Joost Index: lib/configure.py

Re: [patch] Windows: Add clean_dvi support to configure.py

2006-05-23 Thread Angus Leeming
Joost Verburg <[EMAIL PROTECTED]> writes: > > Jean-Marc Lasgouttes wrote: > > Note that clean_dvi is not very useful without dt2dv and dv2dt... > > Isn't there a risk of producing a non-functional distribution? > > The attached patch (against 1.4) fixes this by adding a check for dv2dt > and dt

Re: [patch] Windows: Add clean_dvi support to configure.py

2006-05-23 Thread Joost Verburg
Jean-Marc Lasgouttes wrote: Note that clean_dvi is not very useful without dt2dv and dv2dt... Isn't there a risk of producing a non-functional distribution? The attached patch (against 1.4) fixes this by adding a check for dv2dt and dt2dv before setting up clean_dvi. Joost Index: lib/configu

Re: [patch] Windows: Add clean_dvi support to configure.py

2006-05-22 Thread Angus Leeming
JMarc> Note that clean_dvi is not very useful without dt2dv and dv2dt... JMarc> Isn't there a risk of producing a non-functional distribution? Georg> Good question. The answer is yes, so we need to add a check. development/Win32/packaging/dtl contains a slightly modified version of the CTAN packa

Re: [patch] Windows: Add clean_dvi support to configure.py

2006-05-22 Thread Georg Baum
Jean-Marc Lasgouttes wrote: > Note that clean_dvi is not very useful without dt2dv and dv2dt... > Isn't there a risk of producing a non-functional distribution? Good question. The answer is yes, so we need to add a check. Georg

Re: [patch] Windows: Add clean_dvi support to configure.py

2006-05-22 Thread Jean-Marc Lasgouttes
> "Georg" == Georg Baum <[EMAIL PROTECTED]> writes: Georg> Then clean_dvi script could also be used on other platforms Georg> than windows. I think that it should be included in the main Georg> distribution if configure.py knows about it. Therefore I moved Georg> it in lib/scripts and adjusted

Re: [patch] Windows: Add clean_dvi support to configure.py

2006-05-21 Thread Joost Verburg
Georg Baum wrote: I think it should be viewable, because clean_dvi.py sometimes fails (IIRC with some hyperref constructs). I've never had any problems with hyperref and clean_dvi. Can you try to reproduce it? In my opinion a DraftDVI menu item is very confusing. Joost

Re: [patch] Windows: Add clean_dvi support to configure.py

2006-05-21 Thread Georg Baum
Am Sonntag, 21. Mai 2006 15:06 schrieb Joost Verburg: > DraftDVI is not intended to be viewed, so there should be no associated > viewer. I think it should be viewable, because clean_dvi.py sometimes fails (IIRC with some hyperref constructs). Georg

Re: [patch] Windows: Add clean_dvi support to configure.py

2006-05-21 Thread Joost Verburg
Georg Baum wrote: - The name of the draft dvi format needs to be dvi2. The number at the end marks it as child format of dvi, and it inherits the dvi viewer setting. DraftDVI is not intended to be viewed, so there should be no associated viewer. The others things in your patch work fine. Jo

Re: [patch] Windows: Add clean_dvi support to configure.py

2006-05-21 Thread Georg Baum
Am Sonntag, 21. Mai 2006 11:36 schrieb Joost Verburg: > Thanks. Do you also have a patch for 1.4? I have no 1.5 tree to test. Here it is. Only one hunk in configure.py is different. Gorg Index: lib/configure.py === --- lib/configur

Re: [patch] Windows: Add clean_dvi support to configure.py

2006-05-21 Thread Joost Verburg
Some remarks: - The name of the draft dvi format needs to be dvi2. The number at the end marks it as child format of dvi, and it inherits the dvi viewer setting. - I adjusted the test a bit so that we don't need to list the latex programs twice Then clean_dvi script could also be used on other

Re: [patch] Windows: Add clean_dvi support to configure.py

2006-05-21 Thread Georg Baum
Am Sonntag, 21. Mai 2006 09:56 schrieb Joost Verburg: > Enrico Forestieri wrote: > >> The attached patch against 1.4 adds support for clean_dvi to the new > >> configure.py script, so images in paths with spaces that are included in > >> preamble or ERT work again. > > > > This is also relevant

Re: [patch] Windows: Add clean_dvi support to configure.py

2006-05-21 Thread Joost Verburg
Enrico Forestieri wrote: The attached patch against 1.4 adds support for clean_dvi to the new configure.py script, so images in paths with spaces that are included in preamble or ERT work again. This is also relevant for cygwin, so please check also for sys.platform == 'cygwin' Updated patch

Re: [patch] Windows: Add clean_dvi support to configure.py

2006-05-20 Thread Enrico Forestieri
On Sat, May 20, 2006 at 09:56:58PM +0200, Joost Verburg wrote: > Hi, > > The attached patch against 1.4 adds support for clean_dvi to the new > configure.py script, so images in paths with spaces that are included in > preamble or ERT work again. This is also relevant for cygwin, so please che

[patch] Windows: Add clean_dvi support to configure.py

2006-05-20 Thread Joost Verburg
Hi, The attached patch against 1.4 adds support for clean_dvi to the new configure.py script, so images in paths with spaces that are included in preamble or ERT work again. Joost Index: lib/configure.py === --- lib/configure.py