Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 20 additions & 4 deletions bookmark.dtx
Original file line number Diff line number Diff line change
Expand Up @@ -234,6 +234,15 @@
% of color specifications can be used.
% \end{description}
%
% \paragraph{Text option.}
%
% \begin{description}
% \item[\xoption{text}:] Text of the outline entry.
% \end{description}
% The text is usually provided by a sectioning command.
% It can be overridden by using \cs{bookmarksetupnext} with the
% \xoption{text} option before the sectioning command.
%
% \subsubsection{Action options}
%
% \begin{description}
Expand Down Expand Up @@ -412,12 +421,8 @@
% \xoption{rawaction},
% \xoption{uri},
% \xoption{view},
% \end{quote}
% Additionally the following key is available:
% \begin{quote}
% \xoption{text}
% \end{quote}
% It returns the text of the outline entry.
%
% \paragraph{Option setting.}
% Inside the hook an option can be set using \cs{bookmarksetup}.
Expand Down Expand Up @@ -1488,6 +1493,14 @@
% \end{macrocode}
% \end{macro}
%
% \subsubsection{Option \xoption{text}}
%
% \begin{macrocode}
\define@key{BKM}{text}{%
\def\bookmark@text{#1}%
}
% \end{macrocode}
%
% \subsubsection{Options for source file location}
%
% \begin{macrocode}
Expand Down Expand Up @@ -3308,6 +3321,9 @@
% \item Removed the now outdated frozen drivers.
% \item Removed the dependency to ltxcmds.
% \end{Version}
% \begin{Version}{Unreleased}
% \item Added option \xoption{text}.
% \end{Version}
% \end{History}
%
% \PrintIndex
Expand Down