On Thursday 11 December 2003 00:06, Angus Leeming wrote:
> See attached. I'd appreciate it if the LaTeX-savvy would cast an eye
> over this:
>
>  int InsetExternal::latex(Buffer const & buf, ostream & os,
>                          OutputParams const & runparams) const
>  {
> +       if (params_.draft) {
> +               os << "\\fbox{\\ttfamily{}"
> +                  << params_.filename.outputFilename(buf.filePath())
> +                  << "}\n";
> +               return 1;
> +       }
>
> José, how would we do this (or similar) in docbook and linuxdoc?

   I will give a look to it soon, for now
   os << "<filename>" << params_.filename.outputFilename(buf.filePath()) << 
"</filename>\n";

  should be ok.

-- 
José Abílio

LyX and docbook, a perfect match. :-)

Reply via email to