summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/source/latex/oberdiek/flags.dtx
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2012-05-02 21:50:45 +0000
committerKarl Berry <karl@freefriends.org>2012-05-02 21:50:45 +0000
commitaa1776c78dfdb456e2228fbceaa886e64e36174c (patch)
tree7967af7f0f2079a632809a813221918af16ba8cc /Master/texmf-dist/source/latex/oberdiek/flags.dtx
parenta86d14742b305868a1c2b1f33f1263a6b7d0e03d (diff)
oberdiek (1may12)
git-svn-id: svn://tug.org/texlive/trunk@26177 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/source/latex/oberdiek/flags.dtx')
-rw-r--r--Master/texmf-dist/source/latex/oberdiek/flags.dtx74
1 files changed, 59 insertions, 15 deletions
diff --git a/Master/texmf-dist/source/latex/oberdiek/flags.dtx b/Master/texmf-dist/source/latex/oberdiek/flags.dtx
index 4e54289f5df..d0f5aaec49c 100644
--- a/Master/texmf-dist/source/latex/oberdiek/flags.dtx
+++ b/Master/texmf-dist/source/latex/oberdiek/flags.dtx
@@ -1,11 +1,12 @@
% \iffalse meta-comment
-%
+%
% File: flags.dtx
% Version: 2007/09/30 v0.4
-%
+% Info: Setting/clearing of flags in bit fields
+%
% Copyright (C) 2007 by
% Heiko Oberdiek <heiko.oberdiek at googlemail.com>
-%
+%
% This work may be distributed and/or modified under the
% conditions of the LaTeX Project Public License, either
% version 1.3c of this license or (at your option) any later
@@ -15,19 +16,19 @@
% http://www.latex-project.org/lppl.txt
% and version 1.3 or later is part of all distributions of
% LaTeX version 2005/12/01 or later.
-%
+%
% This work has the LPPL maintenance status "maintained".
-%
+%
% This Current Maintainer of this work is Heiko Oberdiek.
-%
+%
% This work consists of the main source file flags.dtx
% and the derived files
% flags.sty, flags.pdf, flags.ins, flags.drv.
-%
+%
% Distribution:
% CTAN:macros/latex/contrib/oberdiek/flags.dtx
% CTAN:macros/latex/contrib/oberdiek/flags.pdf
-%
+%
% Unpacking:
% (a) If flags.ins is present:
% tex flags.ins
@@ -36,7 +37,7 @@
% (c) If you insist on using LaTeX
% latex \let\install=y\input{flags.dtx}
% (quote the arguments according to the demands of your shell)
-%
+%
% Documentation:
% (a) If flags.drv is present:
% latex flags.drv
@@ -46,14 +47,14 @@
% if available. Here you can specify further options, e.g.
% use A4 as paper format:
% \PassOptionsToClass{a4paper}{article}
-%
+%
% Programm calls to get the documentation (example):
% pdflatex flags.dtx
% makeindex -s gind.ist flags.idx
% pdflatex flags.dtx
% makeindex -s gind.ist flags.idx
% pdflatex flags.dtx
-%
+%
% Installation:
% TDS:tex/latex/oberdiek/flags.sty
% TDS:doc/latex/oberdiek/flags.pdf
@@ -74,7 +75,7 @@
\input docstrip.tex
\Msg{************************************************************************}
\Msg{* Installation}
-\Msg{* Package: flags 2007/09/30 v0.4 Flag setting in bit fields (HO)}
+\Msg{* Package: flags 2007/09/30 v0.4 Setting/clearing of flags in bit fields (HO)}
\Msg{************************************************************************}
\keepsilent
@@ -117,6 +118,10 @@ and the derived files
\file{flags.drv}{\from{flags.dtx}{driver}}%
\usedir{tex/latex/oberdiek}%
\file{flags.sty}{\from{flags.dtx}{package}}%
+ \nopreamble
+ \nopostamble
+ \usedir{source/latex/oberdiek/catalogue}%
+ \file{flags.xml}{\from{flags.dtx}{catalogue}}%
}
\catcode32=13\relax% active space
@@ -143,9 +148,9 @@ and the derived files
%<*driver>
\NeedsTeXFormat{LaTeX2e}
\ProvidesFile{flags.drv}%
- [2007/09/30 v0.4 Flag setting in bit fields (HO)]%
+ [2007/09/30 v0.4 Setting/clearing of flags in bit fields (HO)]%
\documentclass{ltxdoc}
-\usepackage{holtxdoc}[2011/02/04]
+\usepackage{holtxdoc}[2011/11/22]
\begin{document}
\DocInput{flags.dtx}%
\end{document}
@@ -266,7 +271,7 @@ and the derived files
%<*package>
\NeedsTeXFormat{LaTeX2e}
\ProvidesPackage{flags}%
- [2007/09/30 v0.4 Flag setting in bit fields (HO)]%
+ [2007/09/30 v0.4 Setting/clearing of flags in bit fields (HO)]%
% \end{macrocode}
%
% \begin{macrocode}
@@ -641,6 +646,45 @@ and the derived files
%\end{verbatim}
% \end{quote}
%
+% \section{Catalogue}
+%
+% The following XML file can be used as source for the
+% \href{http://mirror.ctan.org/help/Catalogue/catalogue.html}{\TeX\ Catalogue}.
+% The elements \texttt{caption} and \texttt{description} are imported
+% from the original XML file from the Catalogue.
+% The name of the XML file in the Catalogue is \xfile{flags.xml}.
+% \begin{macrocode}
+%<*catalogue>
+<?xml version='1.0' encoding='us-ascii'?>
+<!DOCTYPE entry SYSTEM 'catalogue.dtd'>
+<entry datestamp='$Date$' modifier='$Author$' id='flags'>
+ <name>flags</name>
+ <caption>Setting and clearing of flags in bit fields.</caption>
+ <authorref id='auth:oberdiek'/>
+ <copyright owner='Heiko Oberdiek' year='2007'/>
+ <license type='lppl1.3'/>
+ <version number='0.4'/>
+ <description>
+ This package allows the setting and clearing
+ of flags in bit fields and converts the bit field into a
+ decimal number. Currently the bit field is limited to 31 bits.
+ <p/>
+ It is now deprecated because of new more powerful
+ package <xref refid='bitset'>bitset</xref>.
+ <p/>
+ The package is part of the <xref refid='oberdiek'>oberdiek</xref>
+ bundle.
+ </description>
+ <documentation details='Package documentation'
+ href='ctan:/macros/latex/contrib/oberdiek/flags.pdf'/>
+ <ctan file='true' path='/macros/latex/contrib/oberdiek/flags.dtx'/>
+ <miktex location='oberdiek'/>
+ <texlive location='oberdiek'/>
+ <install path='/macros/latex/contrib/oberdiek/oberdiek.tds.zip'/>
+</entry>
+%</catalogue>
+% \end{macrocode}
+%
% \begin{History}
% \begin{Version}{2007/02/18 v0.1}
% \item