Hello Emmanuel,

The filter tricks Paul told you will work when not using --no-headers,
so you've got the default txt2tags generated headers. Then smart
filters (postproc) can change the code to your needs.

But as you're using your customized headers, txt2tags leaves to you
the task to fill them.

Since you're already automating things with make, there's a solution I
can think of now. Do use something similar to templates. Put a special
string in your header.html file, like _DOC_TITLE:

--------------------------------
<html>
<head><title>_DOC_TITLE</title></head>
<body>
--------------------------------

Then create a simple table of "filename.t2t - Document Title" in your
Makefile, using sed to insert the correct title on header.html
(substituting _DOC_TITLE), depending on the filename.

Tell us if that worked!
Bye


On Wed, Feb 4, 2009 at 05:36, Emmanuel Godard
<emmanuel.god...@cmi.univ-mrs.fr> wrote:
> Hi everybody,
>
> is there an easy way to customize headers (actually, headers and top of
> the body). There is the --no-headers option so it is possible to
> concatenate with a customized header afterwards. But doing so, txt2tags
> cannot conveniently set the content for the title tag (eg <title> in
> (x)html).
>
> Any idea? trick?
>
> Emmanuel
>
>
>
> ------------------------------------------------------------------------------
> Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM)
> software. With Adobe AIR, Ajax developers can use existing skills and code to
> build responsive, highly engaging applications that combine the power of local
> resources and data with the reach of the web. Download the Adobe AIR SDK and
> Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com
> _______________________________________________
> txt2tags-list mailing list
> https://lists.sourceforge.net/lists/listinfo/txt2tags-list
>



-- 
Aurélio Marinho Jargas
www.aurelio.net

------------------------------------------------------------------------------
Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM)
software. With Adobe AIR, Ajax developers can use existing skills and code to
build responsive, highly engaging applications that combine the power of local
resources and data with the reach of the web. Download the Adobe AIR SDK and
Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com
_______________________________________________
txt2tags-list mailing list
https://lists.sourceforge.net/lists/listinfo/txt2tags-list

Reply via email to