{smcl}
{.-}
help for {cmd:maketex} {right:(Antoine Terracol)}
{.-}
{title:Creates a TeXable file from the {it:using} file.} (Unix or Windows only, sorry)


{title:Syntax}
{p 8 27}
{cmd:maketex} {it:using} , [{cmdab:class:(string)}] [{cmdab:classopt:ions(string)}] [{cmdab:pack:ages(string)}] [{cmdab:tit:le(string)}] [{cmdab:auth:or(string)}] [{cmdab:date:(string)}] 


{title:Description}

{p}
{cmd:maketex} creates a TeXable file from the {it:using} file, enclosing it between a preamble and \end{document}. Preamble can be customized using available options. The file is saved as a {it:.tex} file, whatever its name was.


{title:Options}

{p}
The [{cmdab:class:(string)}] option defines the {it:documentclass} (default is {it:article}).

{p}
The [{cmdab:classopt:ions(string)}] option defines the {it:documentclass} options (default is empty).

{p}
The [{cmdab:pack:ages(string)}] option defines the packages to be loaded. Packages must be separated by a blank space. {p_end}

{p}
Typing {it:packages(longtable float)} will result in : {p_end}
{p}
\usepackage{longtable}{p_end}
{p}\usepackage{float}{p_end}

{p}
Packages options can be specified by listing them (separated by commas) before the package itself ; package options and package name must be separated by a colon : {p_end}
{p}
Typing {it:packages(latin1:inputenc french,english:babel)} will result in : {p_end}
{p}
\usepackage[latin1]{inputenc}{p_end}
{p}\usepackage[french,english]{babel}{p_end}

{p}
Also, typing {it:packages(english:babel,varioref)} will result in : {p_end} 
\usepackage[english]{babel,varioref}

{p}
The [{cmdab:tit:le(string)}], [{cmdab:auth:or(string)}] and [{cmdab:date:(string)}]  options define the {it:\title{}}  ,  {it:\author{}} and {it:\date{}} LaTeX fields (the {it:\maketitle} statement is automatically added).


{p}
When the file is saved, {cmd:maketex} displays "file {it:filename} saved". The content of {it:filename} can be viewed by clicking on it.

{title:Examples}

{p 8 16}{inp:. maketex using myfile} {p_end}

{p 8 16}{inp:. maketex using myfile ,pack(longtable)} {p_end}

{p 8 16}{inp:. maketex using myfile ,pack(T1:fontenc) title(this is a title)}{p_end}


{title:Also see}

{p 10 21}
help for {help outtex}, {help sutex} {help dotex}, {help outtable} if installed
{p_end}

{.-}

Questions, comments and bug-reports can be sent to terracol@univ-paris1.fr
{.-}
