tag:support.markedapp.com,2011-09-11:/discussions/questions/9146-how-to-number-a-documentMarked: Discussion 2018-08-23T14:59:02Ztag:support.markedapp.com,2011-09-11:Comment/459478022018-08-22T14:21:19Z2018-08-22T14:21:20ZHow to number a document?<div><p>Hi everyone! I would like to be able to organize my documents using this numbered outline : I, 1, 2, 3; II, 1, 2, 3. How could I do that? And do I need to download a css file? Thanks for your help.</p></div>domtag:support.markedapp.com,2011-09-11:Comment/459478022018-08-22T17:10:51Z2018-08-22T17:10:51ZHow to number a document?<div><p>Are you talking about the outline mode?</p>
<p>-Brett</p></div>Bretttag:support.markedapp.com,2011-09-11:Comment/459478022018-08-22T17:39:21Z2018-08-22T17:39:23ZHow to number a document?<div><p>No, I'm talking about the final compiling: for the moment, I obtain a very nice numbered outline (1, 1.1, 1.2, and so on) when I print the whole. And I'd like to be able to obtain a numbered outline that I could also print as I use to have with Latex : (I, 1, 1.1, 1.1.1...). Is that possible? By the way, Marked is a very nice tool!</p></div>domtag:support.markedapp.com,2011-09-11:Comment/459478022018-08-23T13:46:44Z2018-08-23T13:46:44ZHow to number a document?<div><p>Right, but are you generating the outline manually using list syntax, or<br>
by using Outline Mode in Marked? If you're generating it manually, you<br>
can control the headings at each level under Preferences->Export. If<br>
using the outline mode, the only options are Decimal and APA format.</p>
<p>-Brett</p></div>Bretttag:support.markedapp.com,2011-09-11:Comment/459478022018-08-23T13:54:39Z2018-08-23T13:54:40ZHow to number a document?<div><p>Unfortunately, even when I set the headings under Preferences and export, my pdf is only numbered as: 1., 1.1., 1.1.1 and not as I, 1., 1.1., and so on. But, maybe the problem is in relation with the custom css I use? This is this css that I found here:<br>
body {<br>
counter-reset: h1 }</p>
<p>h1 {<br>
counter-reset: h2 }</p>
<p>h2 {<br>
counter-reset: h3 }</p>
<p>h3 {<br>
counter-reset: h4 }</p>
<p>h1:before {<br>
counter-increment: h1; content: counter(h1) ". " }</p>
<p>h2:before {<br>
counter-increment: h2; content: counter(h1) "." counter(h2) ". " }</p>
<p>h3:before {<br>
counter-increment: h3; content: counter(h1) "." counter(h2) "." counter(h3) ". " }</p>
<p>h4:before {<br>
counter-increment: h4; content: counter(h1) "." counter(h2) "." counter(h3) "." counter(h4) ". " }</p></div>domtag:support.markedapp.com,2011-09-11:Comment/459478022018-08-23T14:52:39Z2018-08-23T14:52:39ZHow to number a document?<div><p>The headings in preferences only apply to lists. What you're creating is<br>
not a list, but a CSS-based outline using headres, and it can only ever<br>
use digits (it's directly applying the prefixes, not creating a real<br>
outline).</p>
<p>-Brett</p></div>Bretttag:support.markedapp.com,2011-09-11:Comment/459478022018-08-23T14:55:30Z2018-08-23T14:55:30ZHow to number a document?<div><p>Also, the CSS you're adding is already part of Marked. From the gear<br>
menu, choose Outline Mode, decimal and it will do the same thing. Still<br>
just a decimal outline, though.</p></div>Bretttag:support.markedapp.com,2011-09-11:Comment/459478022018-08-23T14:59:01Z2018-08-23T14:59:01ZHow to number a document?<div><p>Okay. I didn't know that. If Marked could provide this feature, which is very useful when you use a Tex editor and can separate the sections of your document with roman parts, it would be great! No matter, Marked 2 is a very very nice tool and I'm going to buy it. Felicitation to your work!</p></div>dom