Hi Lex,

The head of my AsciiDoc file looks like this:

Assignment Title
============
:Course: Course Name
:Tutor: Tutor's Name
:Student: Leslie I'Anson
:Date: November 2011

I also have a config file, named asciidoc.conf, in my working
directory that contains the following:

*[+docinfo]
 {'course':''}
 {'tutor':''}
 {'student':''}

*[+header]
 <span id="course">{course}</span>
 <span id="tutor">{tutor}</span>
 <span id="student">{student}</span>

As you can see, I've tried only to include the differences so as not
to have to reproduce the entire header section, which of course is
incorrect because there is no positioning information, i.e. AsciiDoc
does not know where to insert these lines, so it simply appends them
to the header section.

Therefore my question is, am I going about this correct way and is the
solution simply to reproduce the entire header section, including the
three additional lines above, in my config file?

Thank you for your help it's much appreciated,
Leslie



On 14 November 2011 21:18, Lex Trotman <[email protected]> wrote:
> On Tue, Nov 15, 2011 at 2:40 AM, Leslie I'Anson <[email protected]> wrote:
>> Hi all,
>>
>> I’m currently writing up my coursework in AsciiDoc format and would
>> like to extend the document meta-data, contained within the document
>> header, to include the course title and tutor’s name, etc.  After
>> reading the relevant section of the AsciiDoc user guide (8.2.1.
>> Additional document header information) [1], I’ve made several
>> attempts at this all of which have failed to some degree.   Therefore,
>> I was hoping that someone would be so kind as to offer me an example,
>> including associated configuration files, suitable for HTML5 output.
>
> Hi,
>
> Since you actually didn't provide any information on what you did I
> can't tell you what is wrong.
>
> Some hints:
>
> 1. did you set the docinfo attribute
> 2. did you name the docinfo file correctly
> 3. did you write the docinfo file in correct HTML
>
> Cheers
> Lex
>
>>
>> Thank you in advance,
>> Leslie
>>
>> [1] http://www.methods.co.nz/asciidoc/userguide.html#X95
>>
>> --
>> 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.
>>
>>
>
> --
> 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.
>
>

-- 
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.

Reply via email to