From: Scott Kostyshak Date: Sat, 5 Jan 2019 21:45:44 +0000 (-0500) Subject: Bibliography.lyx: remove preamble and master doc X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=229742c53622d0a4681334d36eabceda572a60f1;p=features.git Bibliography.lyx: remove preamble and master doc The preamble is not used since this document should only be compiled from documents that include it. Similarly, setting the master document is not useful. --- diff --git a/lib/examples/thesis/Bibliography.lyx b/lib/examples/thesis/Bibliography.lyx index 1223eba413..e38fa97e4c 100644 --- a/lib/examples/thesis/Bibliography.lyx +++ b/lib/examples/thesis/Bibliography.lyx @@ -5,64 +5,8 @@ \save_transient_properties true \origin /systemlyxdir/examples/thesis/ \textclass scrbook -\begin_preamble -% in case somebody want to have the label "Equation" -%\renewcommand{\eqref}[1]{Equation~(\negthinspace\autoref{#1})} - -% that links to image floats jumps to the beginning -% of the float and not to its caption -\usepackage[figure]{hypcap} - -% the pages of the TOC is numbered roman -% and a pdf-bookmark for the TOC is added -\let\myTOC\tableofcontents -\renewcommand\tableofcontents{% - \frontmatter - \pdfbookmark[1]{\contentsname}{} - \myTOC - \mainmatter } - -% makes caption labels bold -% for more info about these settings, see -% https://ctan.org/tex-archive/macros/latex/contrib/koma-script/doc/scrguien.pdf -\setkomafont{captionlabel}{\bfseries} -\setcapindent{1em} - -% enables calculations -\usepackage{calc} - -% fancy page header/footer settings -% for more information see section 9 of -% ftp://www.ctan.org/pub/tex-archive/macros/latex2e/contrib/fancyhdr/fancyhdr.pdf -\renewcommand{\chaptermark}[1]{\markboth{#1}{#1}} -\renewcommand{\sectionmark}[1]{\markright{\thesection\ #1}} - -% increases the bottom float placement fraction -\renewcommand{\bottomfraction}{0.5} - -% avoids that floats are placed above its sections -\let\mySection\section\renewcommand{\section}{\suppressfloats[t]\mySection} - -% increases link area for cross-references and autoname them -% if you change the document language to e.g. French -% you must change "extrasenglish" to "extrasfrench" -% if you uncomment the following lines, you cannot use the reference version Ref+Text in LyX -%\AtBeginDocument{% -% \renewcommand{\ref}[1]{\autoref{#1}} -%} -%\def\refnamechanges{% -% \renewcommand*{\equationautorefname}[1]{} -% \renewcommand{\sectionautorefname}{sec.\negthinspace} -% \renewcommand{\subsectionautorefname}{sec.\negthinspace} -% \renewcommand{\subsubsectionautorefname}{sec.\negthinspace} -% \renewcommand{\figureautorefname}{Fig.\negthinspace} -% \renewcommand{\tableautorefname}{Tab.\negthinspace} -%} -%\@ifpackageloaded{babel}{\addto\extrasenglish{\refnamechanges}}{\refnamechanges} -\end_preamble \options intoc,bibliography=totoc,index=totoc,BCOR10mm,captions=tableheading,titlepage \use_default_options true -\master thesis.lyx \begin_modules customHeadersFooters \end_modules