cvs: peardoc /en/package/structures/structures-bibtex exporting.xml intro.xml warnings.xml
| From: | Elmar Pitschke | Date: | Wed, 03 Jan 2007 15:46:26 +0000 |
| Subject: | cvs: peardoc /en/package/structures/structures-bibtex exporting.xml intro.xml warnings.xml | ||
| Groups: | php.pear.doc | ||
| Request: | Send a blank email to pear-doc+get-9205@lists.php.net to get a copy of this message | ||
hugoki Wed Jan 3 15:46:26 2007 UTC
Modified files:
/peardoc/en/package/structures/structures-bibtex exporting.xml
intro.xml
warnings.xml
Log:
- Documentation for Release 0.3
http://cvs.php.net/viewvc.cgi/peardoc/en/package/structures/structures-bibtex/exporting.xml?r1=1.1&r2=1.2&diff_format=u
Index: peardoc/en/package/structures/structures-bibtex/exporting.xml
diff -u peardoc/en/package/structures/structures-bibtex/exporting.xml:1.1
peardoc/en/package/structures/structures-bibtex/exporting.xml:1.2
--- peardoc/en/package/structures/structures-bibtex/exporting.xml:1.1 Fri Jul 28 17:43:38 2006
+++ peardoc/en/package/structures/structures-bibtex/exporting.xml Wed Jan 3 15:46:26 2007
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1" ?>
-<!-- $Revision: 1.1 $ -->
+<!-- $Revision: 1.2 $ -->
<refentry id="package.structures.structures-bibtex.exporting">
<refnamediv>
<refname>Exporting</refname>
@@ -33,6 +33,23 @@
</para>
</refsect1>
+ <refsect1 id="package.structures.structures-bibtex.exporting.author">
+ <title>Author</title>
+ <para>
+ The default is to export the name of the author in this format: "VON LAST, JR,
FIRST". The corresponding placeholder will be substituted. The placeholders have to be
uppercase. The format string is defined in the class variable authorstring. Changing the ouput of
the author in the entries to this format "FIRST LAST" can be done like this:
+ <example>
+ <title>Changing author format</title>
+ <programlisting role="php">
+ <![CDATA[
+require_once 'Structures/BibTex.php';
+$bibtex = new Structures_BibTex();
+$bibtex->authorstring = 'FIRST LAST';
+ ]]>
+ </programlisting>
+ </example>
+ </para>
+ </refsect1>
+
<refsect1 id="package.structures.structures-bibtex.exporting.bibtex">
<title>BibTeX</title>
<para>
http://cvs.php.net/viewvc.cgi/peardoc/en/package/structures/structures-bibtex/intro.xml?r1=1.6&r2=1.7&diff_format=u
Index: peardoc/en/package/structures/structures-bibtex/intro.xml
diff -u peardoc/en/package/structures/structures-bibtex/intro.xml:1.6
peardoc/en/package/structures/structures-bibtex/intro.xml:1.7
--- peardoc/en/package/structures/structures-bibtex/intro.xml:1.6 Wed Sep 27 20:14:15 2006
+++ peardoc/en/package/structures/structures-bibtex/intro.xml Wed Jan 3 15:46:26 2007
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1" ?>
-<!-- $Revision: 1.6 $ -->
+<!-- $Revision: 1.7 $ -->
<refentry id="package.structures.structures-bibtex.intro">
<refnamediv>
<refname>Introduction</refname>
@@ -74,6 +74,11 @@
<parameter>wordWrapCut (default: 0)</parameter> If set to zero the
line will we wrapped at the next possible space, if set to one the line will be wrapped exactly
after the given amount of characters.
</para>
</listitem>
+ <listitem>
+ <para>
+ <parameter>removeCurlyBraces (default: false)</parameter> If set to
true Curly Braces will be removed.
+ </para>
+ </listitem>
</itemizedlist>
Example of setting options in the constructor:
<example>
http://cvs.php.net/viewvc.cgi/peardoc/en/package/structures/structures-bibtex/warnings.xml?r1=1.4&r2=1.5&diff_format=u
Index: peardoc/en/package/structures/structures-bibtex/warnings.xml
diff -u peardoc/en/package/structures/structures-bibtex/warnings.xml:1.4
peardoc/en/package/structures/structures-bibtex/warnings.xml:1.5
--- peardoc/en/package/structures/structures-bibtex/warnings.xml:1.4 Sun Aug 6 07:55:07 2006
+++ peardoc/en/package/structures/structures-bibtex/warnings.xml Wed Jan 3 15:46:26 2007
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1" ?>
-<!-- $Revision: 1.4 $ -->
+<!-- $Revision: 1.5 $ -->
<refentry id="package.structures.structures-bibtex.warnings">
<refnamediv>
<refname>Warnings</refname>
@@ -103,6 +103,11 @@
The following Warnings are known:
<itemizedlist>
<listitem>
+ <para>
+ <parameter>WARNING_MISSING_END_BRACE</parameter> - This warning is
generated when the end brace in an entry is missing. Take this warning seriously!
+ </para>
+ </listitem>
+ <listitem>
<para>
<parameter>WARNING_AT_IN_BRACES</parameter> - A Value is delimited by Braces.
Then inside a @ is not allowed.
</para>
@@ -118,15 +123,30 @@
</para>
</listitem>
<listitem>
- <para>
- <parameter>WARNING_MULTIPLE_ENTRIES</parameter> - Every entry is identified by a
unique string. This warning is created if there are at least two entries with the same
identification.
- </para>
+ <para>
+ <parameter>WARNING_MULTIPLE_ENTRIES</parameter> - Every entry is identified
by a unique string. This warning is created if there are at least two entries with the same
identification.
+ </para>
</listitem>
<listitem>
<para>
<parameter>WARNING_LINE_WAS_NOT_CONVERTED</parameter> - This warning is
created if during exporting (for example in RTF or HTML) one entry was ignored because of no
matching data in the entry. At least one of the following entries have to exist in the entry to get
converted: title, journal, year or authors.
</para>
</listitem>
+ <listitem>
+ <para>
+ <parameter>STRING_ENTRY_NOT_YET_SUPPORTED</parameter> - BibTex defines some
special entry types, String is one of them and is used to define abbreviations. This is not yet
supported by Structres_BibTex.
+ </para>
+ </listitem>
+ <listitem>
+ <para>
+ <parameter>PREAMBLE_ENTRY_NOT_YET_SUPPORTED</parameter> - BibTex defines
some special entry types, Preamble is one of them and is used to define formatted code. This is not
yet supported by Structres_BibTex.
+ </para>
+ </listitem>
+ <listitem>
+ <para>
+ <parameter>WARNING_NOT_ALLOWED_TYPE</parameter> - BibTex allows to define
own types. This warning is genereated when a type was detected which is not part of the standard
types. The allowed or standard type are defined in the class variable allowedTypes as array.
+ </para>
+ </listitem>
</itemizedlist>
</para>
</refsect1>