No Joy.
I have cut and pasted the "test" versions of my input and output
files.
Any possibility there is some kind of other artifact on my system ?
I am currently working in a clean directory - the files below, plus a
Makefile so I do not have to keep arguments straight.
I started with the ubuntu 10.10 asciidoc package.
I am currently using asciidoc from the git repository.
But the results have been the same.
.PHONY: a2x
a2x:
/usr/local/bin/a2x -v -v -L -a toc! -f docbook article.txt
article.txt:
---------------------------------------------------
The Article Title
=================
:author: David H. Lynch_Jr.
:email: [email protected]
:revdate: July 28, 2011
:revnumber: 1.0.1
include:defs.inc
This is a test {company} continues
[abstract]
Example Abstract
----------------
more testing {company} continues
The First Section
-----------------
even more testing {company} continues.
defs.inc:
-----------------------------------------------
:company:DLA Systems
article.xml
----------------------------------------------
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE article PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" "http://
www.oasis-open.org/docbook/xml/4.5/docbookx.dtd">
<?asciidoc-numbered?>
<article lang="en">
<articleinfo>
<title>The Article Title</title>
<date>July 28, 2011</date>
<author>
<firstname>David</firstname>
<othername>H.</othername>
<surname>Lynch Jr.</surname>
<email>[email protected]</email>
</author>
<authorinitials>DHL</authorinitials>
<revhistory><revision><revnumber>1.0.1</revnumber><date>July 28, 2011</
date><authorinitials>DHL</authorinitials></revision></revhistory>
</articleinfo>
<simpara>include:defs.inc</simpara>
<simpara></simpara>
<abstract id="_example_abstract">
<simpara></simpara>
</abstract>
<section id="_the_first_section">
<title>The First Section</title>
<simpara></simpara>
</section>
</article>
On Jul 29, 10:15 pm, Lex Trotman <[email protected]> wrote:
> On 30 July 2011 12:02, dhlii <[email protected]> wrote:
>
> > I have eliminated the other two includes, they were present to see if
> > the location of the include within the file made any difference.
> > I have switched back and forth between the macro and attribute form of
> > include.
> > Including permutations of the macro form
> > :include:defs.inc
> > :include::defs.inc
> > :include::defs.inc[]
>
> Try without the leading :
>
> Cheers
> Lex
--
You received this message because you are subscribed to the Google Groups
"asciidoc" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/asciidoc?hl=en.