~ubuntu-branches/ubuntu/precise/publican/precise

« back to all changes in this revision

Viewing changes to Users_Guide/pot/Conditionaltagging.pot

  • Committer: Bazaar Package Importer
  • Author(s): Raphaël Hertzog
  • Date: 2010-04-14 08:57:30 UTC
  • mfrom: (1.1.1 upstream) (2.1.1 sid)
  • Revision ID: james.westby@ubuntu.com-20100414085730-pnt4hw9bt7hinmvs
Tags: 1.6.2-1
* New upstream release.
* Fix watch file to cope with the new upstream download URL.
* Update dependencies and build-dependencies to better match the
  information in Build.PL.
* Use dh_lintian to install lintian overrides instead of custom rule
* Drop Users_Guide/Makefile from debian/publican.examples, it's no
  longer provided.
* Fix location of Users' Guide in doc-base file.
* Switch to source format 3.0 (quilt)
* Add patch fix-typo-in-doc to correct a typo in POD documentation.
* Remove lintian overrides as they are all unused.
* Add myself to Uploaders.
* Update Standards-Version to 3.8.4 (no change needed)
* Update upstream URL to match the new canonical name
* Do not compress examples files.
* Ensure clean removes all files left-over by the build. Drop unneeded
  backup of publican.cfg (it's no longer modified by the build).
* Install users guide with override_dh_installdocs instead of
  override_dh_auto_install.
* Ensure the build succeed when running with DEB_BUILD_OPTS=nocheck by
  creating the files that we copy as examples.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
2
 
# AUTHOR <EMAIL@ADDRESS>, YEAR.
3
 
#
4
 
msgid ""
5
 
msgstr ""
6
 
"Project-Id-Version: 0\n"
7
 
"POT-Creation-Date: 2009-08-03T00:24:46\n"
8
 
"PO-Revision-Date: 2009-08-03T00:24:46\n"
9
 
"Last-Translator: Automatically generated\n"
10
 
"Language-Team: None\n"
11
 
"MIME-Version: 1.0\n"
12
 
"Content-Type: application/x-publican; charset=UTF-8\n"
13
 
"Content-Transfer-Encoding: 8bit\n"
14
 
 
15
 
#. Tag: title
16
 
#, no-c-format
17
 
msgid "Conditional Tagging"
18
 
msgstr ""
19
 
 
20
 
#. Tag: para
21
 
#, no-c-format
22
 
msgid "In some cases you may need to maintain multiple versions of a book; for example, a HOWTO guide for product FOO can have an upstream version and an enterprise version, with very subtle differences between them."
23
 
msgstr ""
24
 
 
25
 
#. Tag: para
26
 
#, no-c-format
27
 
msgid "Publican makes it easy to manage differences between multiple versions of a book by allowing you to simply use one source for all versions. <firstterm>Conditional tagging</firstterm> allows you to make sure that version-specific content only appears in the correct version; i.e. &#34;conditionalizing content&#34;."
28
 
msgstr ""
29
 
 
30
 
#. Tag: para
31
 
#, no-c-format
32
 
msgid "To conditionalize content in a book, use the tag attribute <command>condition</command>. For example, let&#39;s say the book <citetitle>How To Use Product Foo</citetitle> has an &#34;upstream&#34;, &#34;enterprise&#34;, and &#34;beta&#34; version:"
33
 
msgstr ""
34
 
 
35
 
#. Tag: para
36
 
#, no-c-format
37
 
msgid "To build a specific version (thereby capturing all content conditionalized for that version), use <command>make</command> parameter <command>CONDITION=&#34;<replaceable>version</replaceable>&#34; <replaceable>format</replaceable></command>. Using the same example for the book <citetitle>How To Use Product Foo</citetitle>, you can build the &#34;upstream&#34; version of the book in pdf using:"
38
 
msgstr ""
39
 
 
40
 
#. Tag: para
41
 
#, no-c-format
42
 
msgid "This will capture all tags that use <command>condition=&#34;upstream&#34;</command> and build <citetitle>How To Use Product Foo</citetitle> in PDF format."
43
 
msgstr ""
44
 
 
45
 
#. Tag: title
46
 
#, no-c-format
47
 
msgid "Note"
48
 
msgstr ""
49
 
 
50
 
#. Tag: para
51
 
#, no-c-format
52
 
msgid "You can conditionalize content as per the <command>BRAND</command> setting. To do so, add the following line to <filename>Makefile</filename>:"
53
 
msgstr ""
54
 
 
55
 
#. Tag: para
56
 
#, no-c-format
57
 
msgid "In this manner, <command>make CONDITION=&#34;brand1&#34; pdf-en-US</command> will build the book in PDF <emphasis>and</emphasis> capture all tags that use the <command>condition=&#34;brand1&#34;</command> attribute."
58
 
msgstr ""
59
 
 
60
 
#. Tag: para
61
 
#, no-c-format
62
 
msgid "Further, if an <command>&#60;xref&#62;</command> points to content that is not going to be included in the build due to conditional tagging, the build will fail. For example, <command>make CONDITION=&#34;upstream&#34; pdf-en-US</command> will fail if the book has the tag <command>&#60;xref linkend=&#34;betasection&#34;</command> pointing to <command>&#60;section id=&#34;betasection&#34; CONDITION=&#34;beta&#34;&#62;</command>."
63
 
msgstr ""
64