Skip to content

Windows application that generates UI forms from customizable LaTeX templates, and outputs pdf files.

License

Notifications You must be signed in to change notification settings

ompemi/dokugen-latex

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

dokugen-latex

C# application based on .NET platorm to facilitate the generation of pdfs based on LaTeX source files.

Context

This project was done back in 2007, in order to help my friends to create their CVs without bothering me.

I was maintaining several LaTeX-based CVs because of the cool design... until Dokugen came out. They could modify LaTeX source code without knowing.

Objectives

  • Generate any kind of LaTeX document where you can predefine its input text fields
  • Be able to generate your own LaTeX templates for letters, cvs, etc.
  • Separate the content from the presentation
  • Generate automatically UI, so that a person without any knowledge of LaTeX can get a PDF with the template that the community (me, ha!) has prepared
  • Be able to save the state of your work, so that you can maintein your own documents.

Install

The installer for Windows has packaged all the requeriments: Dokugen, MikTex and .NET 2.0 framework. The standalone application is here.

Overview

Input

A LaTeX file with the Dokugen symbols that will generate the input text fields to be filled by the user. There are some examples here

An example for a curriculum vitae template (full grammar):

\documentclass[11pt,a4paper]{moderncv}
\moderncvtheme[blue]{classic}  
\usepackage[latin1]{inputenc}  
\usepackage[scale=0.8]{geometry}
\recomputelengths               

%=========TEMPLATE==============%
$Titulo principal:1:1:title$
$Nombre completo:1:1:firstname$
%===================================%

\begin{document}
\maketitle

%==========TEMPLATE=============%
[Formacion Academica]
$Ano,Titulo,Institucion,Ciudad,Nivel/Nota,Descripcion*:1:3:cventry$

[Experiencia]
$Ano,Nombre Trabajo,Funcion,Ciudad,Otros,Descripcion*:1:4:cventry$

[Idiomas]
$Idioma,Nivel,Comentarios*:1:3:cvlanguage$

[Intereses]
$Titulo,Descripcion*:1:5:cvline$
%===================================%
\end{document}

Output

Once you select the template, Dokugen generates automatically this user interface:

img1

After the user finishes to input his text, he can output the pdf:

img1

Screenshots

The cool logo comes from alvivi:

img1 img2 img3

Sample pdfs generated by Dokugen, compiled from Latex source code:

img4

img5

img6

About

Windows application that generates UI forms from customizable LaTeX templates, and outputs pdf files.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published