WinEdtlatex+dvips in one click ... ?

Information and discussion about WinEdt, a commercial integrated LaTeX environment for Windows
M.A
Posts: 58
Joined: Sun Nov 30, 2008 10:42 am

latex+dvips in one click ... ?

Post by M.A »

Hello,

Is it possible in WinEdt to add a button that performs several compiling operations consecutively by a single click.. ?
example: latex and dvips in one click or latex+dvips+ ps2pdf in once.

I noticed that TeXnicCenter has this feature.

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org
LaTeX Beginner's Guide LaTeX Cookbook LaTeX TikZ graphics TikZによるLaTeXグラフィックス
M.A
Posts: 58
Joined: Sun Nov 30, 2008 10:42 am

Re: latex+dvips in one click ... ?

Post by M.A »

:shock:
It is a very simple question, can it be done or not ??!
fatra2
Posts: 126
Joined: Fri May 01, 2009 1:43 pm

Re: latex+dvips in one click ... ?

Post by fatra2 »

Hi there,

It is a very simple question. The answer can be very simple to: Yes. Everything can be done with computer. You can even make them fly, if you feel like it.

The real question is how simple is it. For this you should give a little bit more explanation on what your intentions are, and if you are ready for some serious reprogramming. Otherwise, why do you even want to have everything into a single click. When writing with LaTeX, you should concentrate on the content of your text, and let the program take care of the rest. As a matter of fact, your aim should be to compile your text as rarely as possible.

With a bit more information on your intention, we can try to help you further.

Cheers
User avatar
frabjous
Posts: 2064
Joined: Fri Mar 06, 2009 12:20 am

latex+dvips in one click ... ?

Post by frabjous »

fatra2 wrote:Hi there,

When writing with LaTeX, you should concentrate on the content of your text, and let the program take care of the rest. As a matter of fact, your aim should be to compile your text as rarely as possible.
No offense, but that sounds like terrible advice. If you write for days without compiling, and there are compilation errors, it's far more difficult to find them than if you identify and fix compilation errors as they come up, so that if you get a new one, you know it must be contained in the changes since last compilation.
With a bit more information on your intention, we can try to help you further.
His intention is perfectly clear. Personally, I haven't used WinEdt, so I don't know the answer, I'm afraid. I'm surprised no one else does.
josephwright
Site Moderator
Posts: 814
Joined: Tue Jul 01, 2008 2:19 pm

Re: latex+dvips in one click ... ?

Post by josephwright »

It's certainly do-able, but from memory you have to fiddle with the scripts WinEdt uses for compilation. These changed relatively recently: which WinEdt version do you use? By the way, you might be best asking on the WinEdt mailing list: there are some very experienced users there, and I'm not sure they look here that often.
Joseph Wright
M.A
Posts: 58
Joined: Sun Nov 30, 2008 10:42 am

latex+dvips in one click ... ?

Post by M.A »

Thanks for the responses,
For this you should give a little bit more explanation on what your intentions are
I compile the document to ps frequently (like every 5 minutes) because if not, the errors will accumulate and it's annoying to fix them, as frabjous commented.
which WinEdt version do you use?
I use v5.6.
I will follow your advice and ask on the mailing lists if I didn't find the answer here.
josephwright
Site Moderator
Posts: 814
Joined: Tue Jul 01, 2008 2:19 pm

Re: latex+dvips in one click ... ?

Post by josephwright »

One obvious question: do you need to go via DVI? Direct pdfLaTeX compilation is favoured by a lot of people (including me).
Joseph Wright
M.A
Posts: 58
Joined: Sun Nov 30, 2008 10:42 am

Re: latex+dvips in one click ... ?

Post by M.A »

Yes, because I frequently use PSTricks and eps figures.
User avatar
localghost
Site Moderator
Posts: 9201
Joined: Fri Feb 02, 2007 12:06 pm

latex+dvips in one click ... ?

Post by localghost »

fatra2 wrote:[...] It is a very simple question. The answer can be very simple to: Yes. Everything can be done with computer. You can even make them fly, if you feel like it. [...]
This comment fits better in a forum about philosophy but not in a LaTeX forum where practical advice is needed. Next time you should think thoroughly about your answer. I leave the rest uncommented.
M.A wrote:[...] Is it possible in WinEdt to add a button that performs several compiling operations consecutively by a single click.. ? [...]
Perhaps the FAQ of the WinEdt Community can be helpful [1]. These guys should have a solution. But as an alternative you could use the auto-pst-pdf package and compile directly with pdflatex. But then you have to call the (MiKTeX) compiler with an additional switch.

Code: Select all

pdflatex --enable-write18 filename.tex
This enables the compiler to execute external programs. Add the switch to the setup of your PDF build profile in WinEdt.

[1] WinEdt.org -- Help & Documentation -- FAQ: 3.5 User interface


Best regards
Thorsten¹
How to make a "Minimal Example"
Board Rules
Avoidable Mistakes[/size]

¹ System: openSUSE 42.2 (Linux 4.4.52), TeX Live 2016 (vanilla), TeXworks 0.6.1
M.A
Posts: 58
Joined: Sun Nov 30, 2008 10:42 am

Re: latex+dvips in one click ... ?

Post by M.A »

Thanks localghost, I will investigate the option you have suggested.

Regards,
Post Reply