Re: Second level before the first level headline?

David Goodger <[email protected]>
Newsgroups gmane.text.docutils.user
Message-ID <CABiJP=LuxMNNmvv6thJjAoEyqxhwNBy2Mk2uVoV3te-kYM=PMw@mail.gmail.com>
On Sat, May 24, 2014 at 5:29 AM, Matěj Cepl <[email protected]> wrote:
> On 20/05/14 18:29, David Goodger wrote:
>>> I would simply put an artificial Part 0 header into the
>>> text to solve this issue.  For example this one should work::
>>>
>>>   ----------------------------------------
>>>   PART 0. — PEPATORY NOTE AND INTRODUCTION
>>>   ----------------------------------------
>>
>> I agree. That header could then be styled and processed specially.
>
> How can I do that? The ideal would be some kind of equivalent of
> 'display: none' class (just for ePub is possible).

Use the "class" directive before the header to assign a class to a
section. After that, it's a matter of CSS or equivalent.

-- 
David Goodger <http://python.net/~goodger>

------------------------------------------------------------------------------
The best possible search technologies are now affordable for all companies.
Download your FREE open source Enterprise Search Engine today!
Our experts will assist you in its installation for $59/mo, no commitment.
Test it for FREE on our Cloud platform anytime!
http://pubads.g.doubleclick.net/gampad/clk?id=145328191&iu=/4140/ostg.clktrk
_______________________________________________
Docutils-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/docutils-users

Please use "Reply All" to reply to the list.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.