OthersMaking a Script to run on a Source File

Information and discussion about other LaTeX editors not listed above
Post Reply
Onor
Posts: 17
Joined: Mon Aug 01, 2011 9:30 am

Making a Script to run on a Source File

Post by Onor »

Hello I would like to make a script in linux to run a .tex file.

I wont to have a hole file latex and also each chapter apart.
How can I do that?

Thank you

Code: Select all

\documentclass[11pt,english]{article}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage{babel}
\usepackage{blindtext}

\begin{document}
\include{ch1}
\include{ch2}
\include{ch3}
...
\end{document}

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

Learn LaTeX easily with newest books:

The LaTeX Beginner's Guide: 2nd edition and perfect for students writing a thesis

The LaTeX Cookbook: 2nd edition full of practical examples for mathematics, physics, chemistry, and more

LaTeX Graphics with TikZ: the first book about TikZ for perfect drawings in your LaTeX thesis

User avatar
localghost
Site Moderator
Posts: 9202
Joined: Fri Feb 02, 2007 12:06 pm

Re: Making a Script to run on a Source File

Post by localghost »

Why do think that you would need a script for this job?


Thorsten
Onor
Posts: 17
Joined: Mon Aug 01, 2011 9:30 am

Making a Script to run on a Source File

Post by Onor »

What I wont to do is to have a script which from a .tex me one pdf wich is hole .tex and also to be able to have the chapters to translate them into xml with this commend.

Code: Select all

latexml --output=~/cool  file.tex
Post Reply