I am generating a LaTeX file, and I got some very long commands containing Windows path, which do not break at line end. For instance, I can have a line like this :
This is a \texttt{very\textbackslash{}long\textbackslash{}command\textbackslash{}that\textbackslash{}will\textbackslash{}not\textbackslash{}break\textbackslash{}at\textbackslash{}textbackslash{}the\textbackslash{}end\textbackslash{}of\textbackslash{}the\textbackslash{}line}.
Is there any way to set the \textbackslash{} (but the question would hold for any character) as a potential hyphenation point ? The generation is automated, so I cannot add a \- manually, which I would do normally.
\textbackslashis a macro. Do you actually mean the macro\textbackslashor rather\? – cgnieder Sep 22 '15 at 07:59/to be an hyphenation point. So yes, in this case, I mean\textbackslashSorry for being bad at explaining ^^ – Sep 22 '15 at 08:01LaTeXcode is generated via Pandoc, from an HTML source, so I have to work with that :) – Sep 22 '15 at 08:13