diff options
author | Karl Berry <karl@freefriends.org> | 2016-05-18 21:57:41 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2016-05-18 21:57:41 +0000 |
commit | 2e8400bc38c68786ce9ee092191ae7360954edee (patch) | |
tree | 3a4d806527d710a1687c86473aa0e15708dcc304 /Master/texmf-dist/doc/latex/biblatex-fiwi/example-biblatex-fiwi-xindy.tex | |
parent | 218d2dbac55aeda0805fba814e4bf8faed08bb4d (diff) |
biblatex-fiwi (18may16)
git-svn-id: svn://tug.org/texlive/trunk@41240 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc/latex/biblatex-fiwi/example-biblatex-fiwi-xindy.tex')
-rw-r--r-- | Master/texmf-dist/doc/latex/biblatex-fiwi/example-biblatex-fiwi-xindy.tex | 124 |
1 files changed, 124 insertions, 0 deletions
diff --git a/Master/texmf-dist/doc/latex/biblatex-fiwi/example-biblatex-fiwi-xindy.tex b/Master/texmf-dist/doc/latex/biblatex-fiwi/example-biblatex-fiwi-xindy.tex new file mode 100644 index 00000000000..d933f6985a4 --- /dev/null +++ b/Master/texmf-dist/doc/latex/biblatex-fiwi/example-biblatex-fiwi-xindy.tex @@ -0,0 +1,124 @@ +%!TEX TS-program = lualatex +% !BIB TS-program = biber + +\documentclass[a4paper]{scrartcl} +\RequirePackage{luatex85} +\usepackage{fontspec} +\setmainfont[Extension=.otf,UprightFont= CharterITCStd-Regular, +Path = /Users/simi/FontExplorerX/C/Charter ITC Std/, +BoldFont = *-Bold, +ItalicFont = *-Italic, +BoldItalicFont = *-BoldItalic, + Ligatures = TeX] + {Charter ITC Std} +\setsansfont[Extension=.ttf,UprightFont=nimbus-sans-l_regular,BoldFont=nimbus-sans-l_bold,Path=/Users/simi/FontExplorerX/N/Nimbus Sans L/]{Nimbus Sans L} +\setmonofont[]{Courier New} +\newfontfamily\cyrillicfont[Extension=.ttf, + UprightFont= LinLibertine_Re-4.4.1, + Path=/Users/simi/FontExplorerX/L/Linux Libertine/] + {Linux Libertine} +%\usepackage[base]{babel} +\usepackage{polyglossia} +\setdefaultlanguage[latesthyphen,spelling=new,babelshorthands=true]{german} +\setotherlanguage{russian} +\usepackage{graphicx} +\usepackage{btxdockit} +\usepackage[german=guillemets]{csquotes} +\usepackage[citestyle=fiwi,bibstyle=fiwi,dashed,backend=biber,xindy=true]{biblatex} +\newbibmacro*{altscript:cyrillic-font}[1]{% +{\cyrillicfont{\textsc{#1}}}} +\ExecuteBibliographyOptions{bibencoding=utf8} +\ExecuteBibliographyOptions{backref=false} + + +%Index +\RequirePackage{filecontents} + +\begin{filecontents*}{dissff.xdy} +(define-location-class "arabic-page-numbers" ("arabic-numbers") :min-range-length 1) +(markup-range :class "arabic-page-numbers" :close "\,f." :length 1 :ignore-end) +(markup-range :class "arabic-page-numbers" :close "\,ff." :length 2 :ignore-end) +(markup-range :sep "--") + +(markup-index :open "\begin{theindex} + \RaggedRight + ~n" + :close "~n~n\end{theindex}~n" + :tree) + +(markup-letter-group :open-head "~n\letterGroup{" + :close-head "}{}~n") + +(markup-letter-group :open-head "~n\letterGroup{1--9}{" + :close-head "}~n" + :group "default") +\end{filecontents*} +\begin{filecontents*}{diss.xdy} +(merge-rule "altscript\:(.*)-font(.*)" "\2" :eregexp :again) + +(merge-rule "\\film\{(.*)" "\1~b2" :eregexp :again) +(merge-rule "\\film \{(.*)" "\1~b2" :eregexp :again) +(merge-rule "\\film \{(.*)" "\1~b2" :eregexp :again) + +(merge-rule "\\textsc\{(.*)" "\1~b2" :eregexp :again) +(merge-rule "\\textsc\ \{(.*)" "\1~b2" :eregexp :again) + +(merge-rule "\\emph \{(.*)" "\1~b1" :eregexp :again) +(merge-rule "\\emph\{(.*)" "\1~b1" :eregexp :again) +(merge-rule "\\emph \{(.*)" "\1~b1" :eregexp :again) + +(merge-rule "The (.*)" "\1~,The" :again) +(merge-rule "La (.*)" "\1~,La" :again) +(merge-rule "Le (.*)" "\1~,Le" :again) +(merge-rule "Die (.*)" "\1~,Die" :again) +(merge-rule "Der (.*)" "\1~,Der" :again) +(merge-rule "Das (.*)" "\1~,Das" :again) +(merge-rule "von (.*)" "\1~,von" :again) +(merge-rule "Un (.*)" "\1~,Un" :again) +(merge-rule "A (.*)" "\1~,A" :again) + +(merge-rule "\\textcyr \{(.*)\}/(.*)" "\2" :again) +(merge-rule "\\textcyr \{(.*)\}\\addslash (.*)" "\2" :again) +(merge-rule "\\textcyr\{(.*)\}\\addslash (.*)" "\2" :again) +(merge-rule "\\textcyr\{(.*)\}\}/(.*)" "\2" :again) +(sort-rule "Ž" "z") +\end{filecontents*} +\usepackage{imakeidx} +%\def\xindyopt{-M diss -M texindy -M dissff -L german-din} +\def\xindyopt{-C utf8 -M diss -M texindy -M dissff} + +\makeindex[program=truexindy,options=\xindyopt] +\indexsetup{firstpagestyle=empty,% +headers={Index}{Index}} +\newcommand\letterGroup[2]{% + \par + \textbf{#1}% + \par\nopagebreak + } + +\ExecuteBibliographyOptions{bibencoding=utf8} +\addbibresource{examples.bib} +\fullcitefilm + + + +\begin{document} +\title{biblatex-fiwi}\subtitle{Beispiele für den Einsatz von xindy und alternatetitle}\date{}\maketitle +\noindent Dieses Dokument zeigt die Darstellungsweise von \sty{biblatex-fiwi} mit der Option \opt{xindy} und dem Feld \bibfield{alternatetitle}.\\ \\ + +\noindent Zuerst zitieren wir ein paar Filme: \citefilm{Haller.D:1965}, \citefilm{Liebeneiner.W:1952}, \citefilm{Bradley.D:1960}, \citefilm{Coppola.F:1972a}, \citefilm{Kaufman.P:1978}, \citefilm{Siegel.D:1956} und \citefilm{Menzies.W:1953}. + +Dann zitieren wir einen Filmtitel mit alternativem russischen Titel: \citefilm{Protazanov.Y:1924}. + +Man beachte, dass bei wiederholten Zitaten nur der Filmtitel ausgegeben wird: \citefilm{Haller.D:1965}, \citefilm{Liebeneiner.W:1952}. Bei Filmen mit identischem Titel wird aber weiterhin das Jahr ausgegeben: \citefilm{Kaufman.P:1978}, \citefilm{Siegel.D:1956}. + +Dann folgen verschiedene Fernsehserien- und sendungen: \citefilm{Ball.A:2003a}, \citeepisode{Reardon.J:1994a}, \citefilm{Newton:2012a}, \citefilm{Wuergel.H:2012d} und \citefilm{Wuergel.H:2012b}. + +Dann einen Haufen Texte: \textcite{sklovskij.v:1969a} \textcite{Spiegel.S:2010c}, \textcite{Muller.A:2010a}, \textcite{Wells.H:1908}, \textcite{Spiegel.S:2007b}, \textcite{Lukian.1981}, \textcite{Kepler.J:1993}, \textcite{Coleridge:1983a}, \textcite{vonMatt.P:2002}, \textcite{Keitz.U:2004a}, \textcite{Wells.HG:1980}, \textcite{Ackerman.Strickland:1981}, \textcite{Anderson.P:1971a}, \textcite{Gaudreault.A:1993}, \textcite{Poe.E:1982c}, \textcite{Poe.E:1999a}, \textcite{Parrinder.P:1980}, \textcite{Wells.H:1980*2}, \textcite{James.H:2004a}, \textcite{James.H:2007a}, \textcite{Hedeler.W:2005a}, \textcite{Ballhausen.T:2009a}, \textcite{Zymner.R:2003a}, \textcite{Zymner.R:2011a}, \textcite{Nelmes.J:2011b}, \textcite{Kuhn.A:1990*2,Blish.J:1973a,Dureau.Y:2005a}, \textcite{Todorov.T:1992}, \textcite{Bordwell.D:2004a} und \textcite{Kirchner.A:2008a}. + +\defbibheading{film}{\addsec{Filmographie}} + +\printbibliography[nottype=movie] +\printbibliography[type=movie,sorting=title,heading=film] +\printindex +\end{document}
\ No newline at end of file |