1
<?xml version='1.0' encoding='utf-8' ?>
2
<!DOCTYPE important PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
5
<title>xrefs and conditional tagging</title>
7
If an <sgmltag><xref></sgmltag> points to content not included in the build due to conditional tagging, the build will fail. For example, with <command>condition: upstream</command> set in the <filename>publican.cfg</filename> file, <command>publican build --formats=pdf --langs=en-US</command> will fail if the book has the tag <sgmltag><xref linkend="betasection"></sgmltag> pointing to <sgmltag><section id="betasection" condition="beta"></sgmltag>.