summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/fixme/fixme.sty
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/tex/latex/fixme/fixme.sty')
-rw-r--r--Master/texmf-dist/tex/latex/fixme/fixme.sty72
1 files changed, 16 insertions, 56 deletions
diff --git a/Master/texmf-dist/tex/latex/fixme/fixme.sty b/Master/texmf-dist/tex/latex/fixme/fixme.sty
index 71e735cc333..d5c646fe8c2 100644
--- a/Master/texmf-dist/tex/latex/fixme/fixme.sty
+++ b/Master/texmf-dist/tex/latex/fixme/fixme.sty
@@ -8,7 +8,7 @@
%%
-%% Copyright (C) 1998-2002, 2004-2007, 2009, 2013 Didier Verna
+%% Copyright (C) 1998-2002, 2004-2007, 2009, 2013, 2017 Didier Verna
%% This file is part of FiXme.
@@ -38,7 +38,7 @@
%% Grave accent \` Left brace \{ Vertical bar \|
%% Right brace \} Tilde \~}
\NeedsTeXFormat{LaTeX2e}
-\ProvidesPackage{fixme}[2013/01/28 v4.2 Collaborative annotations for LaTeX2e]
+\ProvidesPackage{fixme}[2017/01/18 v4.3 Collaborative annotations for LaTeX2e]
\RequirePackage{ifthen}
\RequirePackage{verbatim}
@@ -138,40 +138,6 @@
\@mkboth{\MakeUppercase\@fxlistfixmename}{\MakeUppercase\@fxlistfixmename}}}
\newcommand\@lox@psttc@book{\if@restonecol\twocolumn\fi}
-\newcommand\lox@heading{\float@listhead{\@fxlistfixmename}}
-
-\newcommand\@lox@prtc@scrartcl{%
- \begingroup%
- \lox@heading%
- \setparsizes{0}{0}{\z@\@plus 1fil}\par@updaterelative}
-\let\@lox@psttc@scrartcl\endgroup
-
-\newcommand\@lox@prtc@scrreprt{%
- \begingroup%
- \if@twocolumn
- \@restonecoltrue\onecolumn
- \else
- \@restonecolfalse
- \fi
- \lox@heading%
- \setparsizes{0}{0}{\z@\@plus 1fil}\par@updaterelative}
-\newcommand\@lox@psttc@scrreprt{%
- \if@restonecol\twocolumn\fi
- \endgroup}
-
-\newcommand\@lox@prtc@scrbook{%
- \begingroup%
- \if@twocolumn
- \@restonecoltrue\onecolumn
- \else
- \@restonecolfalse
- \fi
- \lox@heading%
- \setparsizes{0}{0}{\z@\@plus 1fil}\par@updaterelative}
-\newcommand\@lox@psttc@scrbook{%
- \if@restonecol\twocolumn\fi
- \endgroup}
-
\let\lox@final\relax
\newcommand\lox@draft{%
\IfFileExists{\jobname .lox}{%
@@ -240,12 +206,12 @@
\@fxnewface{margin}
\newcommand*\FXLayoutMargin[3]{%
\marginpar[%
- \raggedleft\@fxuseface{margin}\ignorespaces#3 \fxnotename{#1}: #2]{%
+ {\raggedleft\@fxuseface{margin}\ignorespaces#3 \fxnotename{#1}: #2}]{%
\raggedright\@fxuseface{margin}\ignorespaces#3 \fxnotename{#1}: #2}}
\FXRegisterLayout*{margin}{\FXLayoutMargin}
\newcommand*\FXLayoutMarginClue[3]{%
\marginpar[%
- \raggedleft\@fxuseface{margin}\ignorespaces#3 \fxnotename{#1}!]{%
+ {\raggedleft\@fxuseface{margin}\ignorespaces#3 \fxnotename{#1}!}]{%
\raggedright\@fxuseface{margin}\ignorespaces#3 \fxnotename{#1}!}}
\FXRegisterLayout*[margin]{marginclue}{\FXLayoutMarginClue}
\newcommand*\FXLayoutFootnote[3]{%
@@ -253,7 +219,7 @@
\FXRegisterLayout{footnote}{\FXLayoutFootnote}
\@fxnewface{inline}
\newcommand*\FXLayoutInline[3]{%
- {\@fxuseface{inline}\ignorespaces#3 \fxnotename{#1}: #2}}
+ { \@fxuseface{inline}\ignorespaces#3 \fxnotename{#1}: #2}}
\FXRegisterLayout{inline}{\FXLayoutInline}
\newcommand\fixmeindexname{\fixmelogo}
\def\@wrindex#1{%
@@ -707,23 +673,17 @@
\@ifclassloaded{book}{%
\let\@lox@prtc\@lox@prtc@book%
\let\@lox@psttc\@lox@psttc@book}{%
- \@ifclassloaded{scrartcl}{%
- \let\@lox@prtc\@lox@prtc@scrartcl%
- \let\@lox@psttc\@lox@psttc@scrartcl}{%
- \@ifclassloaded{scrreprt}{%
- \let\@lox@prtc\@lox@prtc@scrreprt%
- \let\@lox@psttc\@lox@psttc@scrreprt}{%
- \@ifclassloaded{scrbook}{%
- \let\@lox@prtc\@lox@prtc@scrbook%
- \let\@lox@psttc\@lox@psttc@scrbook}{%
- \@ifclassloaded{amsbook}{%
- \let\lox@draft\lox@draft@ams}{%
- \@ifclassloaded{amsart}{%
- \let\lox@draft\lox@draft@ams}{%
- %% Use the article layout by default.
- \let\@lox@prtc\@lox@prtc@article%
- \let\@lox@psttc\@lox@psttc@article}}}}}}}}
-
+ \@ifclassloaded{amsbook}{%
+ \let\lox@draft\lox@draft@ams}{%
+ \@ifclassloaded{amsart}{%
+ \let\lox@draft\lox@draft@ams}{%
+ %% Use the article layout by default.
+ \let\@lox@prtc\@lox@prtc@article%
+ \let\@lox@psttc\@lox@psttc@article}}}}}
+
+\@ifpackageloaded{tocbasic}{%
+ \addtotoclist[fixme]{lox}%
+ \renewcommand\lox@draft{\listoftoc[\@fxlistfixmename]{lox}}}{}
\ExecuteOptionsX[fx]<%
mode,status,lang,log,note,face,layout,envlayout,targetlayout>{%
mode=singleuser,%