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
LaTeX Beginner's Guide LaTeX Cookbook LaTeX TikZ graphics TikZによるLaTeXグラフィックス
User avatar
localghost
Site Moderator
Posts: 9201
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
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
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