Page 1 of 1

Exporting from Scrivener to Mellel

Posted: Sat Feb 13, 2021 1:44 am
by kamransoomro84
I often write academic papers work some maths and tables. I’d like to reliably export my final document to mellel for formatting. What is the best way to do this?

Re: Exporting from Scrivener to Mellel

Posted: Sun Feb 14, 2021 9:27 am
Dear kamransoomro84,
I hope it would be useful information for you.
With Scrivener your writing form are some maths and tables.
( I am afraid this maths format is not the custom to use for myself.)
[[Using MathType With Scrivener | Literature and Latte]]
[[Math Notation - Literature and Latte]]
[[Scrivener 3 and MathType 7 - Literature and Latte]]

Scrivener : export > OPML file (Export entire binder : Title and Text)
With Mellel , you can open this opml file directly.
(set in pdf math is dropped out)
Exp. pdf is
[ \int^{b}_{a} f(x) dx = \lim_{n \to \infty} \sum^{n-1}_{i=0} f(x_{i}) \Delta x ]
I test it by experiment, this morning.
Under : Mac OSX Mojave 10.14.6 Scrivener ver.3.2.2 Mellel 5.0.5r5
It will be not very helpful for you, I am afraid.

Or Compile ... : Pandoc ---> Microsoft Word (.docx) is useful even using Japanese language.
But Compile : Microsoft Word (.docx) brought garbage Japanese characters.
( It is not known exactly how and which compiling, yet.)
How do you feel it?
Thx and regards, WAKAMATSU kunimitsu from Japan

Re: Exporting from Scrivener to Mellel

Posted: Sun Feb 14, 2021 9:17 pm
by DavidH
I haven’t tried anything fancy along these lines myself, but I suspect the best way to handle it would be RTF export and import, since Scrivener handles text as RTF internally.

I assume the math you speak of consists of mathematical formulas turned out by MathType or some similar palette based equation editor (which no longer work in new versions of the Mac system) or a LaTex based math editor (like the free LaTexiT) that turns out pdf formula images that can be inserted into word processor text. And I assume the tables you speak of are simple tables generated in Scrivener itself using its Insert command. If these assumptions are correct, your best bet would be to

(a) Use Scrivener’s Compile command to export your project or selected parts of it as an RTF file.

(b) Use Mellel’s Import command to import that RTF file into Mellel. (File > Import > RTF)

The tables should now be simple unformatted Mellel tables and the formulas should now be inline pdf graphics.

You’ll probably need to double click on each of the formulas to set a suitable negative value for Vertical Position. Otherwise the bottom edge of the formula will line up with the baseline of the text, and the formula will be too high up. Once you’ve found the right Vertical Position value for one formula by experiment, you can use the same for all the others.

Scrivener has some special new capabilities for making direct use of MultiMarkdown and LaTex directly in the body of a Scrivener document. If you’ve used those capabilities to make tables and formulas in Scrivener, I don’t think there’s any easy way to get the results into Mellel. In that case you’d be better off doing your final editing elsewhere.