I wan't to use latex to allow users to generate PDF-Reports on the fly. The problem is that a part of the document gets filled with information from the user-side. What I'm looking for is an environment in which every symbol can be used without escaping it. I just stumbled over this limitation when using a hashtag and the micro-symbol (µ) from the user side. The hashtag can be somehow handled, but not the micro-symbol.
As an alternative I could imagine using a tool which converts the special symbols to the escaped latex-pendents.
It's quite similar to this question, but there is no solution for the micro-symbol.
Would be great if someone could give me a hint!
EDIT: Here is an example for a template. The values in the %% will be replaced with some content from the user-side (for example "12.54µm").
\documentclass[12pt,a4paper]{article}
% Imports
\usepackage[utf8]{inputenc}
...
\begin{document}
\section{%USERTITLE%}
%USERDESCRIPTION1%: %USERVALUE1%
%USERDESCRIPTION2%: %USERVALUE2%
%USERDESCRIPTION3%: %USERVALUE3%
...
\end {document}
\AtBeginDocument{\catcode`\%=12 }? – Manuel Sep 01 '15 at 14:09inputenc+ (newunicodecharor\DeclareUnicodeChar) orsiunitx+\SI{12.54}{\micro\metre}you would solve that. – Manuel Sep 01 '15 at 15:32