-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On 19/09/12 11:45, Jürgen Spitzmüller wrote:
> Rainer M Krug wrote:
>> Hi
>>
>> I have a document which contains todo items I would like to format \todo
>> items not in
>>
>> div.flex_todo_inline_ { font-family: monospace; } div.flex_todo_margin_ {
>> font-family:
>> monospace; }
>>
>> as defined in the resulting xhtml, but formated as e.g. bold and in red.
>>
>> How can I define these formats so that they are automatically used, or do I
>> have to do this
>> manually?
>
> In the todosalternate module, you can define the XHTML output of the insets
> via the HTMLStyle
> tag. I.e., add something such as the following to the respective style
> definitions:
>
> HTMLStyle div.flex_todo_inline_ { border: 2px solid black; padding: 1ex;
> margin: 1ex;
> background-color: #F0F0F0; font-weight: bold; font-family: serif;
> font-variant: normal;
> font-style: normal; } EndHTMLStyle
>
> (not tested)
And works like a charm
May I suggest to add this to the todosalternate module layout?
Thanks,
Rainer
>
> HTH Jürgen
>
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://www.enigmail.net/
iEYEARECAAYFAlBZnowACgkQoYgNqgF2egqA9QCfSaXBjbFtPG/whSz8n4hn4jzT
+0kAn2ewRD8TpMBBF7//wxFKuqjSJxxB
=2JOp
-----END PGP SIGNATURE-----