rlatex is a ruby script for LaTeX scaffolding. It creates the directory and document hierarchy, keeping everything nice and tidy. Save time and efforts in creating LaTeX documents, use a good standard for every project.
Hooray! v 1.0 is out! Here below you can find its basic (and so far also complete) usage:
$ ruby rlatex.rb new --author "Edoardo Colombo" --title "My ruby latex manager" --sections my_fist_section/subsection1,subsection2 foo
The above command will produce the following:
- a file called
main.tex
with:- author set to Edoardo Colombo
- title set to My ruby latex manager
- a folder named
contents
with inside a file namedmy_first_section.tex
and a file namedfoo.tex
- a folder inside
contents
, namedmy_first_section
for its subsections - two files for the two subsections in
my_first_section.tex
,subsection1.tex
andsubsection2.tex
Other options are:
--language
, set to english as default--date
, set to \today as default
The --sections option allows multiple values, but it cannot preceed the project name.