LaTeX Code
I like LaTeX and the chance to give others some Code ... but Publii only copy the first line from Code. WHY???
With Line Number, but COPY Button work here:
\documentclass[DIV=9,BCOR=0mm,parskip=half,paper=a4,pagesize=automedia]{scrartcl}
\usepackage{dejavu}
\usepackage[ngerman]{babel}
\usepackage[T1]{fontenc}
\usepackage{textcomp}
\usepackage{inputenc} %[utf8]
\title{\glqq Hallo Welt\grqq}
\author{anonymous}
\begin{document}
\maketitle
\end{document}
Enthält die Lösung für Publii - ein bischen Handarbeit aber dann funktioniert der Button.
Der HTML CODE in Publii's WYSIWYG Editor must look like this:
<pre><code class="language-latex"><span class="token>\documentclass[DIV=9,BCOR=0mm,parskip=half,paper=a4,pagesize=automedia]{scrartcl}</span>
<span class="token">\usepackage{dejavu}</span>
<span class="token">\usepackage[ngerman]{babel}</span>
<span class="token">\usepackage[T1]{fontenc}</span>
<span class="token">\usepackage{textcomp}</span>
<span class="token">\usepackage{inputenc} %[utf8]</span>
<span class="token">\title{\glqq Hallo Welt\grqq}</span>
<span class="token">\author{anonymous}</span>
<span class="token">\begin{document}</span>
<span class="token">\maketitle</span>
<span class="token">\end{document}</span>
</code></pre>
Hier funktioniert dann der COPY Button:
\documentclass[DIV=9,BCOR=0mm,parskip=half,paper=a4,pagesize=automedia]{scrartcl}
\usepackage{dejavu}
\usepackage[ngerman]{babel}
\usepackage[T1]{fontenc}
\usepackage{textcomp}
\usepackage{inputenc} %[utf8]
\title{\glqq Hallo Welt\grqq}
\author{anonymous}
\begin{document}
\maketitle
\end{document}
Danke!
Auch nachträgliches Anschalten der Zeilennummer funktioniert nun.
\documentclass[DIV=9,BCOR=0mm,parskip=half,paper=a4,pagesize=automedia]{scrartcl}
\usepackage{dejavu}
\usepackage[ngerman]{babel}
\usepackage[T1]{fontenc}
\usepackage{textcomp}
\usepackage{inputenc} %[utf8]
\title{\glqq Hallo Welt\grqq}
\author{anonymous}
\begin{document}
\maketitle
\end{document}
Kommentar