Überarbeitungsverlauf[Zurück]
Klicke auf Einblenden/Ausblenden von Überarbeitungen 5
Formatierungsfehler beseitigt

20 Sep '13, 12:27

saputello's gravatar image

saputello
11.1k174365

Hier ein einfaches Beispiel, wie man Zitate aus zwei Dateien exportieren kann und dann wieder in die Datei einlesen kann, man könnte also eine Zitatenliste aus mehreren Dateien zusammenstellen. Datei1 (extquote.tex) \documentclass[a4paper]{scrreprt} \usepackage[latin9]{inputenc} \usepackage[T1]{fontenc} \usepackage[ngerman]{babel} \usepackage{blindtext,extquote} \begin{document} test \extquote{Das ist ein Zitat} test \extquote{Das ist ein Zitat} \theextquotes{extquote} \end{document} Datei2 (extqoute2.tex) \documentclass[a4paper]{scrreprt} \usepackage[latin9]{inputenc} \usepackage[T1]{fontenc} \usepackage[ngerman]{babel} \usepackage{blindtext,extquote} \begin{document} test \extquote{Das ist ein Zitat aus einer anderen Datei} \theextquotes{extquote} \theextquotes{extquote2} \end{document} Datei3 (extquote.sty) \newwrite\extquotes \immediate\openout\extquotes=\jobname.qot \newcommand{\extquote}[1]{\begin{quote}#1\end{quote}\immediate\write\extquotes{ \newcommand{\extquote}[1]{\begin{quote}#1\end{quote}\immediate\write\extquotes{% \noexpand\begin{quote}Zitiert in: \jobname.tex #1\noexpand\end{quote}}} \newcommand{\theextquotes}[1]{ \newcommand{\theextquotes}[1]{% \immediate\closeout\extquotes \input #1.qot }
Klicke auf Einblenden/Ausblenden von Überarbeitungen 4
Tippfehler !

19 Sep '13, 23:09

ctansearch's gravatar image

ctansearch
(ausgesetzt)

Hier ein einfaches Beispiel, wie man Zitate aus zwei Dateien exportieren kann und dann wieder in die Datei einlesen kann, man könnte also eine Zitatenliste aus mehreren Dateien zusammenstellen. Datei1 (extquote.tex) \documentclass[a4paper]{scrreprt} \usepackage[latin9]{inputenc} \usepackage[T1]{fontenc} \usepackage[ngerman]{babel} \usepackage{blindtext,extqoute} \usepackage{blindtext,extquote} \begin{document} test \extquote{Das ist ein Zitat} test \extquote{Das ist ein Zitat} \theextquotes{extquote} \end{document} Datei2 (extqoute2.tex) \documentclass[a4paper]{scrreprt} \usepackage[latin9]{inputenc} \usepackage[T1]{fontenc} \usepackage[ngerman]{babel} \usepackage{blindtext,extqoute} \usepackage{blindtext,extquote} \begin{document} test \extquote{Das ist ein Zitat aus einer anderen Datei} \theextquotes{extquote} \theextquotes{extquote2} \end{document} Datei3 (extquote.sty) \newwrite\extquotes \immediate\openout\extquotes=\jobname.qot \newcommand{\extquote}[1]{\begin{quote}#1\end{quote}\immediate\write\extquotes{ \noexpand\begin{quote}Zitiert in: \jobname.tex #1\noexpand\end{quote}}} \newcommand{\theextquotes}[1]{ \immediate\closeout\extquotes \input #1.qot }
Klicke auf Einblenden/Ausblenden von Überarbeitungen 3

19 Sep '13, 12:45

ctansearch's gravatar image

ctansearch
(ausgesetzt)

Klicke auf Einblenden/Ausblenden von Überarbeitungen 2

19 Sep '13, 12:45

ctansearch's gravatar image

ctansearch
(ausgesetzt)

Klicke auf Einblenden/Ausblenden von Überarbeitungen 1

19 Sep '13, 12:44

ctansearch's gravatar image

ctansearch
(ausgesetzt)