diff options
author | Karl Berry <karl@freefriends.org> | 2007-04-24 23:55:24 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2007-04-24 23:55:24 +0000 |
commit | c65c25c59074eaa09621f4fd782362b2c5227e32 (patch) | |
tree | 70d64612457606868bfbc0f31af7dc82dde56ab5 /Master/texmf-dist/doc/latex/fmtcount/manual.html | |
parent | 0f300547ff60c57ac58422c1d92660da8bf5efb0 (diff) |
fmtcount 1.09 (24apr07)
git-svn-id: svn://tug.org/texlive/trunk@4182 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc/latex/fmtcount/manual.html')
-rw-r--r-- | Master/texmf-dist/doc/latex/fmtcount/manual.html | 148 |
1 files changed, 120 insertions, 28 deletions
diff --git a/Master/texmf-dist/doc/latex/fmtcount/manual.html b/Master/texmf-dist/doc/latex/fmtcount/manual.html index d8ae7bd7712..c1cbfa97cc8 100644 --- a/Master/texmf-dist/doc/latex/fmtcount/manual.html +++ b/Master/texmf-dist/doc/latex/fmtcount/manual.html @@ -7,8 +7,8 @@ original version by: Nikos Drakos, CBLU, University of Leeds Jens Lippmann, Marek Rouchal, Martin Wilck and others --> <HTML> <HEAD> -<TITLE>fmtcount.sty v1.06: Displaying the Values of LaTeX Counters</TITLE> -<META NAME="description" CONTENT="fmtcount.sty v1.06: Displaying the Values of LaTeX Counters"> +<TITLE>fmtcount.sty v1.09: Displaying the Values of LaTeX Counters</TITLE> +<META NAME="description" CONTENT="fmtcount.sty v1.09: Displaying the Values of LaTeX Counters"> <META NAME="keywords" CONTENT="manual"> <META NAME="resource-type" CONTENT="document"> <META NAME="distribution" CONTENT="global"> @@ -32,10 +32,10 @@ original version by: Nikos Drakos, CBLU, University of Leeds <P> - <H1 ALIGN="CENTER">fmtcount.sty v1.06: Displaying the Values of + <H1 ALIGN="CENTER">fmtcount.sty v1.09: Displaying the Values of LaTeX Counters</H1> <P ALIGN="CENTER"><STRONG>Nicola L.C. Talbot</STRONG></P> -<P ALIGN="CENTER"><STRONG>6 January 2007</STRONG></P> +<P ALIGN="CENTER"><STRONG>21st April 2007</STRONG></P> <BR> <H2><A NAME="SECTION00010000000000000000"> @@ -44,25 +44,25 @@ Contents</A> <!--Table of Contents--> <UL> -<LI><A NAME="tex2html18" - HREF="manual.html#SECTION00020000000000000000">Introduction</A> <LI><A NAME="tex2html19" - HREF="manual.html#SECTION00030000000000000000">Installation</A> + HREF="manual.html#SECTION00020000000000000000">Introduction</A> <LI><A NAME="tex2html20" - HREF="manual.html#SECTION00040000000000000000">Available Commands</A> + HREF="manual.html#SECTION00030000000000000000">Installation</A> <LI><A NAME="tex2html21" - HREF="manual.html#SECTION00050000000000000000">Package Options</A> + HREF="manual.html#SECTION00040000000000000000">Available Commands</A> <LI><A NAME="tex2html22" - HREF="manual.html#SECTION00060000000000000000">Multilingual Support</A> + HREF="manual.html#SECTION00050000000000000000">Package Options</A> <LI><A NAME="tex2html23" - HREF="manual.html#SECTION00070000000000000000">Configuration File fmtcount.cfg</A> + HREF="manual.html#SECTION00060000000000000000">Multilingual Support</A> <LI><A NAME="tex2html24" - HREF="manual.html#SECTION00080000000000000000">LaTeX2HTML style</A> + HREF="manual.html#SECTION00070000000000000000">Configuration File fmtcount.cfg</A> <LI><A NAME="tex2html25" - HREF="manual.html#SECTION00090000000000000000">Acknowledgements</A> + HREF="manual.html#SECTION00080000000000000000">LaTeX2HTML style</A> <LI><A NAME="tex2html26" - HREF="manual.html#SECTION000100000000000000000">Troubleshooting</A> + HREF="manual.html#SECTION00090000000000000000">Acknowledgements</A> <LI><A NAME="tex2html27" + HREF="manual.html#SECTION000100000000000000000">Troubleshooting</A> +<LI><A NAME="tex2html28" HREF="manual.html#SECTION000110000000000000000">Contact Details</A> </UL> <!--End of Table of Contents--> @@ -139,11 +139,20 @@ The macro <code>\numberstring{</code><I>counter</I><code>}</code> will print the <code>\numberstring</code>, but with initial letters in uppercase. For example, <code>\Numberstring{section}</code> will produce: Three. +The macro <code>\NUMBERstring{</code><I>counter</I><code>}</code> does the same +as <code>\numberstring</code>, but converted to upper case. Note that +<code>\MakeUppercase{\NUMBERstring{</code><I>counter</I><code>}}</code> doesn't +work, due to the way that <code>\MakeUppercase</code> expands its +argument<A NAME="tex2html4" + HREF="#foot288"><SUP>1</SUP></A>. + <P> -The macros <code>\numberstringnum</code> and -<code>\Numberstringnum</code> work like -<code>\numberstring</code> and -<code>\Numberstring</code>, respectively, but take an actual number +The macros <code>\numberstringnum</code>, +<code>\Numberstringnum</code> and +<code>\NUMBERstringnum</code> work like +<code>\numberstring</code>, +<code>\Numberstring</code> and +<code>\NUMBERstring</code>, respectively, but take an actual number rather than a counter as the argument. For example: <code>\Numberstringnum{105}</code> will produce: One Hundred and Five. @@ -154,16 +163,92 @@ The macro <code>\ordinalstring{</code><I>counter</I><code>}</code> will print th The macro <code>\Ordinalstring{</code><I>counter</I><code>}</code> does the same as <code>\ordinalstring</code>, but with initial letters in uppercase. For example, <code>\Ordinalstring{section}</code> will produce: Third. + + The macro <code>\ORDINALstring{</code><I>counter</I><code>}</code> does the same as +<code>\ordinalstring</code>, but with all words in upper case (see previous +note about <TT>\MakeUppercase</TT>). <P> -The macros <code>\ordinalstringnum</code> and -<code>\Ordinalstringnum</code> work like -<code>\Ordinalstring</code> and -<code>\Ordinalstring</code>, respectively, but take an actual number +The macros <code>\ordinalstringnum</code>, +<code>\Ordinalstringnum</code> and <TT>\ORDINALstringnum</TT> work like +<code>\ordinalstring</code>, +<code>\Ordinalstring</code> and <TT>\ORDINALstring</TT>, respectively, but take an actual number rather than a counter as the argument. For example, <code>\ordinalstringnum{3}</code> will produce: third. <P> +As from version 1.09, textual representations can be stored for +later use. This overcomes the problems encountered when you +attempt to use one of the above commands in <TT>\edef</TT>. + +<P> +Each of the following commands takes a label as the first argument, +the other arguments are as the analogous commands above. These +commands do not display anything, but store the textual +representation. This can later be retrieved using +<TT>\FMCuse</TT>{<I>label</I>}. +Note: with <TT>\storeordinal</TT> and <TT>\storeordinalnum</TT>, the +only bit that doesn't get expanded is <TT>\fmtord</TT>. So, for +example, <code>\storeordinalnum{mylabel}{3}</code> will be stored as +<code>3\relax \fmtord{rd}</code>. + +<P> + +<TT>\storeordinal</TT>{<I>label</I>}{<I>counter</I>}[<I>gender</I>] + +<P> + +<TT>\storeordinalstring</TT>{<I>label</I>}{<I>counter</I>}[<I>gender</I>] + +<P> + +<TT>\storeOrdinalstring</TT>{<I>label</I>}{<I>counter</I>}[<I>gender</I>] + +<P> + +<TT>\storeORDINALstring</TT>{<I>label</I>}{<I>counter</I>}[<I>gender</I>] + +<P> + +<TT>\storenumberstring</TT>{<I>label</I>}{<I>counter</I>}[<I>gender</I>] + +<P> + +<TT>\storeNumberstring</TT>{<I>label</I>}{<I>counter</I>}[<I>gender</I>] + +<P> + +<TT>\storeNUMBERstring</TT>{<I>label</I>}{<I>counter</I>}[<I>gender</I>] + +<P> + +<TT>\storeordinalnum</TT>{<I>label</I>}{<I>number</I>}[<I>gender</I>] + +<P> + +<TT>\storeordinalstring</TT>{<I>label</I>}{<I>number</I>}[<I>gender</I>] + +<P> + +<TT>\storeOrdinalstringnum</TT>{<I>label</I>}{<I>number</I>}[<I>gender</I>] + +<P> + +<TT>\storeORDINALstringnum</TT>{<I>label</I>}{<I>number</I>}[<I>gender</I>] + +<P> + +<TT>\storenumberstring</TT>{<I>label</I>}{<I>number</I>}[<I>gender</I>] + +<P> + +<TT>\storeNumberstring</TT>{<I>label</I>}{<I>number</I>}[<I>gender</I>] + +<P> + +<TT>\storeNUMBERstring</TT>{<I>label</I>}{<I>number</I>}[<I>gender</I>] + +<P> The macro <code>\binary{</code><I>counter</I><code>}</code> will print the value of <I>counter</I> as a binary number. E.g. <code>\binary{section}</code> will produce: 11. The declaration @@ -306,8 +391,8 @@ Version 1.02 of the <TT>fmtcount</TT> package now has limited multilingual support. The following languages are implemented: English, Spanish, Portuguese, French, French (Swiss) and French (Belgian). The package checks to see if the -command <code>\date</code><I>language</I> is defined<A NAME="tex2html4" - HREF="#foot192"><SUP>1</SUP></A>, and will +command <code>\date</code><I>language</I> is defined<A NAME="tex2html5" + HREF="#foot289"><SUP>2</SUP></A>, and will load the code for those languages. The commands <code>\ordinal</code>, <code>\ordinalstring</code> and <code>\numberstring</code> (and their variants) will then be formatted in the currently @@ -418,7 +503,7 @@ Troubleshooting</A> </H1> <P> -There is a FAQ available at: <TT><A NAME="tex2html5" +There is a FAQ available at: <TT><A NAME="tex2html6" HREF="http://theoval.cmp.uea.ac.uk/~nlct/latex/packages/faq/">http://theoval.cmp.uea.ac.uk/~nlct/latex/packages/faq/</A></TT>. <P> @@ -435,12 +520,19 @@ University of East Anglia Norwich. NR4 7TJ. <BR> United Kingdom. -<BR> <TT><A NAME="tex2html6" +<BR> <TT><A NAME="tex2html7" HREF="http://theoval.cmp.uea.ac.uk/~nlct/">http://theoval.cmp.uea.ac.uk/~nlct/</A></TT> <BR><HR><H4>Footnotes</H4> <DL> -<DT><A NAME="foot192">... defined</A><A +<DT><A NAME="foot288">... +argument</A><A HREF="manual.html#tex2html4"><SUP>1</SUP></A></DT> +<DD>See all the various postings to +<TT>comp.text.tex</TT> about <TT>\MakeUppercase</TT> + +</DD> +<DT><A NAME="foot289">... defined</A><A + HREF="manual.html#tex2html5"><SUP>2</SUP></A></DT> <DD>this will be true if you have loaded <TT>babel</TT> @@ -451,7 +543,7 @@ will be true if you have loaded <TT>babel</TT> <A href=http://theoval.cmp.uea.ac.uk/~nlct/>Nicola L. C. Talbot</A>. <A HREF=http://www.cmp.uea.ac.uk/>School of Computing Sciences</A>. <A HREF=http://www.uea.ac.uk/>University of East Anglia.</A> -Last Modified: 2007-01-06 +Last Modified: 2007-04-21 </ADDRESS> </BODY> </HTML> |