Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

#321 mp (MetaPost) edit latex header

open
nobody
None
5
2013-02-10
2012-01-26
Torben Menke
No

Moin!
It would be cool if it would be possible to adjust the header of the metapost terminal output. I would like to add some \usepackage lines, like \usepackage{amsmath} and some more. At present I am using a perl script that I start via gnuplot's system command, but this solution is not suitable for most users I guess.

at present the header is
% BEGPRE
verbatimtex
\documentclass{article}
\usepackage[latin1]{inputenc}
\usepackage[T1]{fontenc}
\usepackage{textcomp}
\usepackage{mathptmx}
\usepackage[scaled=.92]{helvet}
\usepackage{courier}
\usepackage{latexsym}
\begin{document}
etex
% ENDPRE

\usepackage[latin1]{inputenc} is bad for unix system where \usepackage[utf8]{inputenc} is needed for umlaute.

Greetings
Torben

Discussion