Re: converter

2023-03-24 Thread Herbert Voss




Am 24.03.23 um 19:56 schrieb Patrick Dupre:



why do you need the dvi output?

Because !!!
1) need to get the tex file,
run latex on the file
and
make a dvips -dALLOWPSTRANSPARENCY

This is only option that I have to make it works properly.


My question was _why_ do you need it. Nowadays nearly all documents
can be run with pdflatex/xelatex/lualatex or as plain pdftex/luatex/xetex

Herbert




Herbert
--
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users



--
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: converter

2023-03-24 Thread Patrick Dupre



> Sent: Friday, March 24, 2023 at 7:48 PM
> From: "Herbert Voss" 
> To: lyx-users@lists.lyx.org
> Subject: Re: converter
>
> 
> 
> Am 24.03.23 um 18:05 schrieb Patrick Dupre:
> > Hello,
> >
> >> Can I create a file converter command (File Handling)
> >> latex -> pdf with a triple command
> >> "export latex (plain) $o"; latex $o; dvipdf -d-dALLOWPSTRANSPARENCY $o.dvi
> >> ?
> > I think that I making something wrong
> >   
> > in File Format, I put
> > Format Tkpdf
> > in short name tkpdf
> > in Extension pdf
> >   
> > In converter
> > Latex (plain) -> Tkpdf
> > from format:
> > Latex (plain)
> > to format:
> > Tkpdf
> > Converter:
> > dvipdf   $$i $$o
> 
> why do you need the dvi output?
Because !!!
1) need to get the tex file,
run latex on the file
and
make a dvips -dALLOWPSTRANSPARENCY

This is only option that I have to make it works properly.

> 
> Herbert
> -- 
> lyx-users mailing list
> lyx-users@lists.lyx.org
> http://lists.lyx.org/mailman/listinfo/lyx-users
> 
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: converter

2023-03-24 Thread Herbert Voss




Am 24.03.23 um 18:05 schrieb Patrick Dupre:

Hello,


Can I create a file converter command (File Handling)
latex -> pdf with a triple command
"export latex (plain) $o"; latex $o; dvipdf -d-dALLOWPSTRANSPARENCY $o.dvi
?

I think that I making something wrong
  
in File Format, I put

Format Tkpdf
in short name tkpdf
in Extension pdf
  
In converter

Latex (plain) -> Tkpdf
from format:
Latex (plain)
to format:
Tkpdf
Converter:
dvipdf   $$i $$o


why do you need the dvi output?

Herbert
--
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


converter

2023-03-24 Thread Patrick Dupre
Hello,

> Can I create a file converter command (File Handling)
> latex -> pdf with a triple command
> "export latex (plain) $o"; latex $o; dvipdf -d-dALLOWPSTRANSPARENCY $o.dvi
> ?

I think that I making something wrong
 
in File Format, I put
Format Tkpdf
in short name tkpdf
in Extension pdf
 
In converter
Latex (plain) -> Tkpdf
from format:
Latex (plain)
to format:
Tkpdf
Converter:
dvipdf   $$i $$o
 
 
But neither tex or dvi files are generated.
 
 
In the pdf file I get
%PDF-1.7
%�쏢
%%Invocation: gs -q -P- -dSAFER -dNOPAUSE -dBATCH -sDEVICE=pdfwrite -sstdout=? 
-sOutputFile=? -
5 0 obj
<>
stream
x�+T0�3T0A(5Ieendstream
endobj
6 0 obj
23
 
and
dvips: ! Bad DVI file: first byte not preamble

===
 Patrick DUPRÉ | | email: pdu...@gmx.com
 Laboratoire interdisciplinaire Carnot de Bourgogne
 9 Avenue Alain Savary, BP 47870, 21078 DIJON Cedex FRANCE
 Tel: +33 (0)380395988| | Room# D114A
===

-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: csv2lyx.py throwing an error

2023-03-24 Thread Dr Eberhard W Lisse
Thank you.

el

On 24/03/2023 12:39, José Matos wrote:
> On Thu, 2023-03-23 at 21:44 -0400, Neal Becker wrote:
>> Yes I reported same a week or so back.  Change "ru" to "r"
> 
> Thanks to Neal's report this is already fixed for 2.4.
> 


-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: Success of LyX to dvi depends on file paths

2023-03-24 Thread Paul Stansell
> >Yes, I tried that already.  This is what it shows:
> >
> >This is pdfTeX, Version 3.141592653-2.6-1.40.22 (TeX Live
> >2022/dev/Debian) (preloaded format=latex)
>
> Can pdfTeX even make a .dvi? I thought pdfTeX skips the .dvi step and
> goes right to PDF.
>

Yes, it can.  I can produce a pdf file using "Document > View > PDF
(pdflatex)"


> Anyway, stuff like this is why I use shellscripts to compile my LyX
> files. I think they're called "batch files" or "powerscripts" in
> Windows. Compiling with shellscripts, I'm not beholden to  LyX' current
> settings, and it's a lot easier to debug a shellscript.
>

I'm using Linux.  I've never used shell scripts to process LyX files.
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: csv2lyx.py throwing an error

2023-03-24 Thread José Matos
On Thu, 2023-03-23 at 21:44 -0400, Neal Becker wrote:
> Yes I reported same a week or so back.  Change "ru" to "r"

Thanks to Neal's report this is already fixed for 2.4.

-- 
José Abílio
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: Success of LyX to dvi depends on file paths

2023-03-24 Thread Steve Litt
Paul Stansell said on Fri, 24 Mar 2023 01:56:56 +


>Yes, I tried that already.  This is what it shows:
>
>This is pdfTeX, Version 3.141592653-2.6-1.40.22 (TeX Live
>2022/dev/Debian) (preloaded format=latex)

Can pdfTeX even make a .dvi? I thought pdfTeX skips the .dvi step and
goes right to PDF.

Anyway, stuff like this is why I use shellscripts to compile my LyX
files. I think they're called "batch files" or "powerscripts" in
Windows. Compiling with shellscripts, I'm not beholden to  LyX' current
settings, and it's a lot easier to debug a shellscript.

SteveT

Steve Litt 
Autumn 2022 featured book: Thriving in Tough Times
http://www.troubleshooters.com/bookstore/thrive.htm
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users