You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
60 lines
1.5 KiB
60 lines
1.5 KiB
diff -u pandoc-1.9.2/templates/default.latex\~ pandoc-1.9.2/templates/default.latex
|
|
--- pandoc-1.9.2/templates/default.latex~ 2012-04-06 05:13:56.000000000 +0900
|
|
+++ pandoc-1.9.2/templates/default.latex 2012-04-25 13:20:25.024947625 +0900
|
|
@@ -1,6 +1,7 @@
|
|
\documentclass[$if(fontsize)$$fontsize$,$endif$$if(lang)$$lang$,$endif$]{$documentclass$}
|
|
\usepackage{amssymb,amsmath}
|
|
-\usepackage{ifxetex,ifluatex}
|
|
+%\usepackage{ifxetex,ifluatex}
|
|
+\usepackage{ifxetex}
|
|
\ifxetex
|
|
\usepackage{fontspec,xltxtra,xunicode}
|
|
\defaultfontfeatures{Mapping=tex-text,Scale=MatchLowercase}
|
|
@@ -18,28 +19,28 @@
|
|
\setmathfont{$mathfont$}
|
|
$endif$
|
|
\else
|
|
- \ifluatex
|
|
- \usepackage{fontspec}
|
|
- \defaultfontfeatures{Mapping=tex-text,Scale=MatchLowercase}
|
|
- \newcommand{\euro}{€}
|
|
-$if(mainfont)$
|
|
- \setmainfont{$mainfont$}
|
|
-$endif$
|
|
-$if(sansfont)$
|
|
- \setsansfont{$sansfont$}
|
|
-$endif$
|
|
-$if(monofont)$
|
|
- \setmonofont{$monofont$}
|
|
-$endif$
|
|
-$if(mathfont)$
|
|
- \setmathfont{$mathfont$}
|
|
-$endif$
|
|
- \else
|
|
+% \ifluatex
|
|
+% \usepackage{fontspec}
|
|
+% \defaultfontfeatures{Mapping=tex-text,Scale=MatchLowercase}
|
|
+% \newcommand{\euro}{€}
|
|
+%$if(mainfont)$
|
|
+% \setmainfont{$mainfont$}
|
|
+%$endif$
|
|
+%$if(sansfont)$
|
|
+% \setsansfont{$sansfont$}
|
|
+%$endif$
|
|
+%$if(monofont)$
|
|
+% \setmonofont{$monofont$}
|
|
+%$endif$
|
|
+%$if(mathfont)$
|
|
+% \setmathfont{$mathfont$}
|
|
+%$endif$
|
|
+% \else
|
|
\usepackage[utf8]{inputenc}
|
|
$if(euro)$
|
|
\usepackage{eurosym}
|
|
$endif$
|
|
- \fi
|
|
+% \fi
|
|
\fi
|
|
$if(geometry)$
|
|
\usepackage[$for(geometry)$$geometry$$sep$,$endfor$]{geometry}
|