当我做C-c C-e l,向LaTeX出口一个Org文档时,它就产生了一份带有特定序言的文件。 我不想使用我所选择的序言。 我想用以下序言:
% Don t forget to qpdf --linearize the final copy
RequirePackage[l2tabu,orthodox]{nag}% Old habits die hard. All the same, there are commands, classes and packages which are outdated and superseded. nag provides routines to warn the user about the use of those.
immediatewrite18{sh ./vc}
input{vc}% Version control macros (for VCDateISO in date) http://www.ctan.org/pkg/vc
documentclass[a4paper,12pt]{article}% pt? doublepage?
%usepackage{geometry}
usepackage[utf8]{inputenc}
usepackage[T1]{fontenc}
usepackage{lmodern}% Latin Modern (derivate of Knuth s CM)
usepackage{fixltx2e}% extsubscript and bugfixes for LaTeX
usepackage{microtype}
usepackage[strict=true]{csquotes}% Context-sensistive quotes. enquote "" enquote* . Use the integrated commands extcquote and lockcquote rather than biblatex internal commands to get contex sensistive quotes for them too. s/babel/autostyle in new version.
usepackage[bookmarks,pdfborder={0 0 0}]{hyperref}% links and pdfinfo. MUST BE LOADED LAST!
hypersetup{% Setup for hyperref
pdftitle = {[Title from #+TITLE]},
pdfauthor = {[Author from #+AUTHOR]}
}
我知道,你可以操纵每个档案上使用哪些包裹:手册》所述,但我希望这一序言用于所有档案,除非......)另有说明。 序言
- deactivated packages (such as
geometry
above) - packages loaded by
RequirePackage
input
macrosimmediatewrite18
macros- comments after
usepackage
macros - a
hypersetup
macro that recognizes#+TITLE
and#+AUTHOR
from Org-mode files