Skip to content

Commit

Permalink
docs: refine
Browse files Browse the repository at this point in the history
  • Loading branch information
LogCreative committed Jul 7, 2023
1 parent b6d1428 commit 1db79a7
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions source/pretbg.dtx
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@
% \TemplateKey{stroke-linewidth}{length}{stroke linewidth of the progressbar}{1pt}
% \TemplateSemantics A progressbar style to indicate the page progress compared
% with the total page number, which requires two \TeX{} runs to make the output
% correct.\\
% correct. If only one run is processed, the progress will always be 100\%.\\
% \previewtest[3]{progressbar}
% \begin{macrocode}
%<*progressbar>
Expand Down Expand Up @@ -305,10 +305,9 @@
% \paragraph{\pkg{progressbar} style.}
% This style is based on \pkg{pretbg-block} style. The fill is set to false.
% Only uses stroke-length to indicate the progress. The progress is calculated
% by \cs{thepage}/\cs{PreviousTotalPages}. \cs{PreviousTotalPages} requires
% two runs to get the correct output from the aux file, if only one run is
% processed, this macro will expand to 0 where this style will always set the
% progress to 100\%.
% by \cs{thepage}/\cs{PreviousTotalPages}. \cs{PreviousTotalPages} defined in
% \file{ltshipout.dtx} requires two runs to get the correct output from the aux
% file.
% \begin{macrocode}
%<*progressbar>
%<@@=pretbg_progressbar>
Expand Down

0 comments on commit 1db79a7

Please sign in to comment.