I’m travelling, but make a new thread or a PM and we’ll see what we can do
I can make a PM, no problem
In your trying out on the Typst web app, have you started from any fiction book package or just from a basic template?
Ian (@nontroppo) will be much more help than me in setting up the Scrivener compiler and any Scrivener styles you need. I can certainly help with setting up your template on the web app, which will need to be downloaded to be inserted as the front matter in your Scrivener project.
Mark
I used a blank project if that helps.
So have you tried setting any heading styles and table of contents (“Outline” in Typst terminology)?
I have, but it uses the academic style (ex: 1, 1.1
), and not the style I want to.
What style is it you want, and how many levels of heading will you need?
It’s this:
CHAPTER ONE - TITLE
(for #1 headings)
and SCENE 1: TITLE
(for ## 2 headings)
Ok. I’ll have a look tomorrow to see if I can set that up for you. To be clear “CHAPTER ONE” etc. in all caps, but the title in normal “Title Case”; “SCENE ONE” and the following title in all caps.
How about font and size? Spacing above and below?
PS I see you changed it while I was typing. Everything in all caps. Ok
Font size for both should be 14 points, line spacing 1.5
Ok. I meant do you want extra spacing above the titles, and between title and paragraph?
Not really; the default looks fine.
That’s great. I’ll see what I can do starting tomorrow. I’m going to call it a day now (midnight here in the UK,)
Mark
Great! It’s 8PM here so I’ll keep experimenting.
Hi,
I’m afraid I’m not much further forward with working on your problem, as other matters intervened yesterday. What I have ascertained though, which is pertinent to using the Typst web-app is that there is no numbering
using ONE, TWO etc. The web app can only number using Arabic, Roman (upper and lower case), alphabetic (upper and lower case), and a whole range of other script number systems.
While Scrivener can output text numbers like ONE, TWO etc., whether that can combine with Typst numbering of headers is not something I know.
I’ve just downloaded the @nontroppo’s new version of his project template, so I’ll check what he uses there, but as his needs are academic, almost certainly he uses Typst’s numbering systems. On the other hand, as he is a far more competent in programming the Scrivener compile system than I am, he might be able to find a solution.
Mark
As an aside, I’ve split most of this conversation off to a new thread (here), to keep the original bug report clean.
It’s all good. Hopefully @nontroppo can shed some light on this.
Thanks very much, Amber!
Right, so numbering in Typst indeed does not have a number-word format. The simplest solution is to use Scrivener to generate titles, which uses the <$W> placeholder for uppercase word numbering. If you really wanted Typst to do this then we can make a function to do this (an indexed list so input 5 and get FIVE back). But I don’t see the need to reinvent the wheel and also this should make outputs to other formats consistent.
What other formatting conventions do you need, and I can make a quick Scrivener project for this.
I uploaded an example .md
file that shows how my outline titles should look (below).
Outline Example.md (1.5 KB)