WinEdtCreate a macro

Information and discussion about WinEdt, a commercial integrated LaTeX environment for Windows
Post Reply
totote
Posts: 2
Joined: Fri Dec 05, 2008 6:24 pm

Create a macro

Post by totote »

Hi. this might be a silly question but I would appreciate some help. Lets say I have a main file "mythesis.tex" and I include there several chapters. so lets say i'm writing in chapter.tex and then want to compile to see how the dvi looks like, i have to go to the mythesis.tex window and then compile from there, say with the built in macro Latex (F5). what I'd like to know is how to create a macro that even if my active window is chapter.tex i can press say F12 and mythesis.tex will be compiled. the thing is that i'm tired of moving through the windows each time i want to compile.
thanks for hour help

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org
LaTeX Beginner's Guide LaTeX Cookbook LaTeX TikZ graphics TikZによるLaTeXグラフィックス
balf
Posts: 158
Joined: Sat Jan 12, 2008 1:11 am

Re: Create a macro

Post by balf »

Create a project and declare mythesis.tex as main file ("project" menu).

B.A.
totote
Posts: 2
Joined: Fri Dec 05, 2008 6:24 pm

Re: Create a macro

Post by totote »

thanks a lot. worked nicely
s0198362
Posts: 9
Joined: Sun Dec 21, 2008 10:23 pm

Re: Create a macro

Post by s0198362 »

Thanks as well. Latexing chapters rather than the project by mistake was bugging me chronically.
Post Reply