Hi Thomas

Apologies for not getting back to you sooner.

Thomas Pasch wrote:
> Dear Stuart,
> 
> Example article for lout, file `ex1.txt`.
> Also attached: the correct lout form,
> file `ex1_.lout`.
> 
> But at the moment @BeginSubSections,
> @EndSubSections and @BeginSubAppendices,
> @EndSubAppendices are missing in my backend.
> 
> Hope the problem now become a little clearer
> to all.

Off the top of my head (aside from hacking the code) the easiest 
solution would be to explicitly include the missing directives by 
defining block macros to generate the output e.g:

BeginSubSection::[]

Not very helpful I know but AsciiDoc is designed to work with SGML/XML 
markups so when you try to deal with non XML/SGML markups things get 
really tricky. Benjamin Klum is in the process of creating a LaTeX 
backend (non SGML/XML) for AsciiDoc (he's almost there), hopefully this 
will be included in the next AsciiDoc release and -- the techniques he's 
used may be helpful.


> 
> Cheers,
> 
> Thomas
> 
> 
> 
> 
> ------------------------------------------------------------------------
> 
> 
> Section
> -------
> First paragraph first section.
> 
> Second paragraph first section.
> 
> SubSection
> ~~~~~~~~~~
> Fist paragraph first subsection.
> Section level has changed, thus we
> need @BeginSubSections before 
> @SubSection @Begin.
> 
> Second paragraph first subsection.
> 
> SubSection2
> ~~~~~~~~~~~
> Fist paragraph second subsection.
> Section level has *not* changed, thus 
> *no* @BeginSubSections here.
> 
> Second paragraph second subsection.
> We are leaving level 2 now, thus we
> need @EndSubSections after 
> @End @SubSection.
> 
> Appendix A
> ----------
> First paragraph first appendix.
> 
> Second paragraph first appendix.
> 
> SubSection
> ~~~~~~~~~~
> Fist paragraph first appendix subsection.
> Section level has changed, thus we
> need @BeginSubAppendices before 
> @SubAppendix @Begin.
> 
> Second paragraph first appendix subsection.
> We are leaving level 2 now, thus we
> need @EndSubAppendices after 
> @End @SubAppendix.
> 
> 
> 
> 
> ------------------------------------------------------------------------
> 
> @SysInclude { tbl }
> @SysInclude { eq }
> 
> @SysInclude { report }
> @Report
> //
> @Section
>     @Title { Section }
>     
> @Begin @PP
> First paragraph first [EMAIL PROTECTED]
> 
> Second paragraph first [EMAIL PROTECTED]
> 
> @BeginSubSections
> @SubSection
>     @Title { SubSection }
>     
> @Begin @PP
> Fist paragraph first subsection.
> Section level has changed, thus we
> need @Char at BeginSubSections before
> @Char at SubSection @Char at [EMAIL PROTECTED]
> 
> Second paragraph first [EMAIL PROTECTED]
> 
> @End @SubSection
> @SubSection
>     @Title { SubSection2 }
>     
> @Begin @PP
> Fist paragraph second [EMAIL PROTECTED]
> 
> Second paragraph second subsection.
> We are leaving level 2 now, thus we
> need @Char at EndSubSections after
> @Char at End @Char at [EMAIL PROTECTED]
> 
> @End @SubSection
> @EndSubSections
> @End @Section
> @Appendix
>     @Title { Appendix A }
>     
> @Begin @PP
> First paragraph first [EMAIL PROTECTED]
> 
> Second paragraph first [EMAIL PROTECTED]
> 
> @BeginSubAppendices
> @SubAppendix
>     @Title { SubSection }
>     
> @Begin @PP
> Fist paragraph first appendix subsection.
> Section level has changed, thus we
> need @Char at BeginSubAppendices before
> @Char at SubAppendix @Char at [EMAIL PROTECTED]
> 
> Second paragraph first appendix subsection.
> We are leaving level 2 now, thus we
> need @Char at EndSubAppendices after
> @Char at End @Char at [EMAIL PROTECTED]
> 
> @End @SubAppendix
> @EndSubAppendices
> @End @Appendix
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> Asciidoc-discuss mailing list
> Asciidoc-discuss@metaperl.com
> http://metaperl.com/cgi-bin/mailman/listinfo/asciidoc-discuss

Cheers, Stuart

_______________________________________________
Asciidoc-discuss mailing list
Asciidoc-discuss@metaperl.com
http://metaperl.com/cgi-bin/mailman/listinfo/asciidoc-discuss

Reply via email to