diff options
author | Josselin Mouette <joss@debian.org> | 2003-10-09 18:21:49 +0000 |
---|---|---|
committer | Josselin Mouette <joss@debian.org> | 2003-10-09 18:21:49 +0000 |
commit | 75839218d18a7fad2f7e84cb995724763f7cae11 (patch) | |
tree | 11b340dee230d9b270b8e64066d3b287b251d747 /fc-list | |
parent | f077d662c001468eb2aa1261549accd9ff3de401 (diff) |
Replace fc-cache and fc-list manpages with more detailed, SGML versions.
Diffstat (limited to 'fc-list')
-rw-r--r-- | fc-list/.cvsignore | 1 | ||||
-rw-r--r-- | fc-list/Makefile.am | 24 | ||||
-rw-r--r-- | fc-list/fc-list.1 | 37 | ||||
-rw-r--r-- | fc-list/fc-list.sgml | 165 |
4 files changed, 189 insertions, 38 deletions
diff --git a/fc-list/.cvsignore b/fc-list/.cvsignore index 7073c7ae..ed422b72 100644 --- a/fc-list/.cvsignore +++ b/fc-list/.cvsignore @@ -3,3 +3,4 @@ Makefile Makefile.in fc-list +fc-list.1 diff --git a/fc-list/Makefile.am b/fc-list/Makefile.am index b050a3fe..6975361d 100644 --- a/fc-list/Makefile.am +++ b/fc-list/Makefile.am @@ -21,12 +21,34 @@ # TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR # PERFORMANCE OF THIS SOFTWARE. +DOC2MAN = docbook2man + +SGML = fc-list.sgml + bin_PROGRAMS=fc-list man_MANS=fc-list.1 INCLUDES=$(FREETYPE_CFLAGS) -EXTRA_DIST=$(man_MANS) +EXTRA_DIST=$(SGML) fc_list_LDADD = ../src/libfontconfig.la + + +if USEDOCBOOK + +.sgml.1: + $(RM) $@ + $(DOC2MAN) $*.sgml + $(RM) manpage.refs manpage.links + +all-local: $(man_MANS) + +clean-local: + $(RM) $(man_MANS) + +else +all-local: +clean-local: +endif diff --git a/fc-list/fc-list.1 b/fc-list/fc-list.1 deleted file mode 100644 index 4efa37ce..00000000 --- a/fc-list/fc-list.1 +++ /dev/null @@ -1,37 +0,0 @@ -.\" -.\" Copyright © 2002 Keith Packard -.\" -.\" Permission to use, copy, modify, distribute, and sell this software and its -.\" documentation for any purpose is hereby granted without fee, provided that -.\" the above copyright notice appear in all copies and that both that -.\" copyright notice and this permission notice appear in supporting -.\" documentation, and that the name of Keith Packard not be used in -.\" advertising or publicity pertaining to distribution of the software without -.\" specific, written prior permission. Keith Packard makes no -.\" representations about the suitability of this software for any purpose. It -.\" is provided "as is" without express or implied warranty. -.\" -.\" KEITH PACKARD DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, -.\" INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO -.\" EVENT SHALL KEITH PACKARD BE LIABLE FOR ANY SPECIAL, INDIRECT OR -.\" CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, -.\" DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER -.\" TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR -.\" PERFORMANCE OF THIS SOFTWARE. -.\" -.\" -.\" $RCSId: xc/programs/fc-list/fc-list.man,v 1.3 2001/02/09 03:47:56 tsi Exp $ -.\" -.TH FC-LIST 1 __vendorversion__ -.SH NAME -fc-list \- list available fonts -.SH SYNOPSIS -.B "fc-list" -.RI [-vV?] [--verbose] [--version] [ font-pattern ] { element ... } -.SH DESCRIPTION -If font pattern is not given, -.I fc-list -lists all available faces and styles in the current font configuration. -If elements are provided, list only those elements of each matching pattern. -.SH "SEE ALSO" -fontconfig(3) diff --git a/fc-list/fc-list.sgml b/fc-list/fc-list.sgml new file mode 100644 index 00000000..9162e244 --- /dev/null +++ b/fc-list/fc-list.sgml @@ -0,0 +1,165 @@ +<!doctype refentry PUBLIC "-//OASIS//DTD DocBook V4.1//EN" [ + +<!-- Process this file with docbook-to-man to generate an nroff manual + page: `docbook-to-man manpage.sgml > manpage.1'. You may view + the manual page with: `docbook-to-man manpage.sgml | nroff -man | + less'. A typical entry in a Makefile or Makefile.am is: + +manpage.1: manpage.sgml + docbook-to-man $< > $@ + + + The docbook-to-man binary is found in the docbook-to-man package. + Please remember that if you create the nroff version in one of the + debian/rules file targets (such as build), you will need to include + docbook-to-man in your Build-Depends control field. + + --> + + <!-- Fill in your name for FIRSTNAME and SURNAME. --> + <!ENTITY dhfirstname "<firstname>Josselin</firstname>"> + <!ENTITY dhsurname "<surname>Mouette</surname>"> + <!-- Please adjust the date whenever revising the manpage. --> + <!ENTITY dhdate "<date>Sep 16, 2003</date>"> + <!-- SECTION should be 1-8, maybe w/ subsection other parameters are + allowed: see man(7), man(1). --> + <!ENTITY dhsection "<manvolnum>1</manvolnum>"> + <!ENTITY dhemail "<email>joss@debian.org</email>"> + <!ENTITY dhusername "Josselin Mouette"> + <!ENTITY dhucpackage "<refentrytitle>fc-list</refentrytitle>"> + <!ENTITY dhpackage "fc-list"> + + <!ENTITY debian "<productname>Debian</productname>"> + <!ENTITY gnu "<acronym>GNU</acronym>"> + <!ENTITY gpl "&gnu; <acronym>GPL</acronym>"> +]> + +<refentry> + <refentryinfo> + <address> + &dhemail; + </address> + <author> + &dhfirstname; + &dhsurname; + </author> + <copyright> + <year>2003</year> + <holder>&dhusername;</holder> + </copyright> + &dhdate; + </refentryinfo> + <refmeta> + &dhucpackage; + + &dhsection; + </refmeta> + <refnamediv> + <refname>&dhpackage;</refname> + + <refpurpose>list available fonts</refpurpose> + </refnamediv> + <refsynopsisdiv> + <cmdsynopsis> + <command>&dhpackage;</command> + + <arg><option>-vV?</option></arg> + <arg><option>--verbose</option></arg> + <arg><option>--version</option></arg> + <arg><option>--help</option></arg> + <arg><option><replaceable>pattern</replaceable></option></arg> + <arg><option><replaceable>element</replaceable></option></arg> + + </cmdsynopsis> + </refsynopsisdiv> + <refsect1> + <title>DESCRIPTION</title> + + <para><command>&dhpackage;</command> lists fonts and styles + available on the system for applications using fontconfig.</para> + + </refsect1> + <refsect1> + <title>OPTIONS</title> + + <para>This program follows the usual &gnu; command line syntax, + with long options starting with two dashes (`-'). A summary of + options is included below.</para> + + <variablelist> + <varlistentry> + <term><option>-v</option> + <option>--verbose</option> + </term> + <listitem> + <para>Display status information while busy.</para> + </listitem> + </varlistentry> + <varlistentry> + <term><option>-?</option> + <option>--help</option> + </term> + <listitem> + <para>Show summary of options.</para> + </listitem> + </varlistentry> + <varlistentry> + <term><option>-V</option> + <option>--version</option> + </term> + <listitem> + <para>Show version of the program and exit.</para> + </listitem> + </varlistentry> + <varlistentry> + <term><option><replaceable>pattern</replaceable></option> + </term> + <listitem> + <para>If this argument is set, only fonts matching + <replaceable>pattern</replaceable> are displayed.</para> + </listitem> + </varlistentry> + <varlistentry> + <term><option><replaceable>element</replaceable></option> + </term> + <listitem> + <para>If set, the <replaceable>element</replaceable> property + is displayed for matching fonts.</para> + </listitem> + </varlistentry> + </variablelist> + </refsect1> + <refsect1> + <title>SEE ALSO</title> + + <para><command>fc-cache</command> (1).</para> + + <para>The fontconfig user's guide, in HTML format: + <filename>/usr/share/doc/fontconfig/fontconfig-user.html</filename>.</para> + + </refsect1> + <refsect1> + <title>AUTHOR</title> + + <para>This manual page was written by Keith Packard + <email>keithp@keithp.com</email> and &dhusername; &dhemail;.</para> + + </refsect1> +</refentry> + +<!-- Keep this comment at the end of the file +Local variables: +mode: sgml +sgml-omittag:t +sgml-shorttag:t +sgml-minimize-attributes:nil +sgml-always-quote-attributes:t +sgml-indent-step:2 +sgml-indent-data:t +sgml-parent-document:nil +sgml-default-dtd-file:nil +sgml-exposed-tags:nil +sgml-local-catalogs:nil +sgml-local-ecat-files:nil +End: +--> |