diff options
author | Karl Berry <karl@freefriends.org> | 2017-01-19 01:24:18 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2017-01-19 01:24:18 +0000 |
commit | ac0f6f57a4e17efee246ed3cc7bd721fb9f14e15 (patch) | |
tree | f673216ea83f42d5ad5746bdc67af15f37ad9add /Master/texmf-dist/tex/latex/fixme/fixme.sty | |
parent | b448d3abc4ab3e3dc86002fa988ae4bfd8196c39 (diff) |
fixme (18jan17)
git-svn-id: svn://tug.org/texlive/trunk@42991 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/fixme/fixme.sty')
-rw-r--r-- | Master/texmf-dist/tex/latex/fixme/fixme.sty | 72 |
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,% |