How to number a document?
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.
Keyboard shortcuts
Generic
? | Show this help |
---|---|
ESC | Blurs the current field |
Comment Form
r | Focus the comment reply box |
---|---|
^ + ↩ | Submit the comment |
You can use Command ⌘
instead of Control ^
on Mac
Support Staff 1 Posted by Brett on 22 Aug, 2018 05:10 PM
Are you talking about the outline mode?
-Brett
2 Posted by dom on 22 Aug, 2018 05:39 PM
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!
Support Staff 3 Posted by Brett on 23 Aug, 2018 01:46 PM
Right, but are you generating the outline manually using list syntax, or
by using Outline Mode in Marked? If you're generating it manually, you
can control the headings at each level under Preferences->Export. If
using the outline mode, the only options are Decimal and APA format.
-Brett
4 Posted by dom on 23 Aug, 2018 01:54 PM
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:
body {
counter-reset: h1 }
h1 {
counter-reset: h2 }
h2 {
counter-reset: h3 }
h3 {
counter-reset: h4 }
h1:before {
counter-increment: h1; content: counter(h1) ". " }
h2:before {
counter-increment: h2; content: counter(h1) "." counter(h2) ". " }
h3:before {
counter-increment: h3; content: counter(h1) "." counter(h2) "." counter(h3) ". " }
h4:before {
counter-increment: h4; content: counter(h1) "." counter(h2) "." counter(h3) "." counter(h4) ". " }
Support Staff 5 Posted by Brett on 23 Aug, 2018 02:52 PM
The headings in preferences only apply to lists. What you're creating is
not a list, but a CSS-based outline using headres, and it can only ever
use digits (it's directly applying the prefixes, not creating a real
outline).
-Brett
Support Staff 6 Posted by Brett on 23 Aug, 2018 02:55 PM
Also, the CSS you're adding is already part of Marked. From the gear
menu, choose Outline Mode, decimal and it will do the same thing. Still
just a decimal outline, though.
7 Posted by dom on 23 Aug, 2018 02:59 PM
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!