Why is it impossible to compile a file with headings that work in MS Word?

Pi
Pincolino
Posts: 8
Joined: Mon Nov 12, 2018 6:52 pm
Platform: Mac

Sat Nov 17, 2018 8:48 am Post

I tried everything now, but nothing works.
I want to compile a file to .docx with headings that I can see in my table of contents in Word. I used the format "heading 1" provided by Scrivener, I even tried to import headings from a Word file. But it won't show me the headings in Word. I found this topic:
http://www.literatureandlatte.com/forum ... hp?t=50215
I used the file and now it works. But I want to change the format of the headings. If I do so it fails again. Honestly, this is such an easy task, isn't it? You format your "heading" as heading and that's it. I don't understand why it shows me in Word only a text with a certain font size and style, bold or whatever - but not a heading.
I need those headings to upload the file later on to an online editor which will convert my file into an eBook. So the only option I have at the moment is formatting every heading in Word and then upload the file. It's manageable, of course. But I must admit it drives me crazy not to be able to do that straight out from Scrivener.

Any help would be much appreciated!

Pi
Pincolino
Posts: 8
Joined: Mon Nov 12, 2018 6:52 pm
Platform: Mac

Sat Nov 17, 2018 9:28 am Post

I will try to explain what I did: I use Scrivener in German so please bear with me.
First, I go to Compile and in the Panel you can see I created may own "Style" called Manuskript. All I need is a heading (that works) and the text of the chapter - that's it.

Then I double click on "Manuskript" and a Window opens. Here I go to "Formatvorlage" and I see a lot of different styles. The "Heading 1" style is the one I imported from the thread mentioned above where someone provided an example of how this is done. But I don't like this kind of format (too big, too bold, and italic). So I want to change the look of it, but then it doesn't recognize the heading as such in Word. Only if I use it in exact that way I imported it, it works.
If I want to create my own heading it doesn't work.
Attachments
Screenshot1.jpg
Screenshot1.jpg (211.93 KiB) Viewed 1101 times
screenshot2.jpg
screenshot2.jpg (473.18 KiB) Viewed 1101 times

User avatar
lunk
Posts: 4237
Joined: Wed Aug 21, 2013 4:24 pm
Platform: Mac + iOS
Location: Sweden 64° N

Sat Nov 17, 2018 9:39 am Post

I think you need to create the styles before going to Compile, when you are in the Editor. Styles in compile only format the text, it doesn’t give the text a ”style".
I am a user, writing non-fiction and science, using:
* Mac Scrivener 3 on a Macbook 12”, MacBook Pro 13”, and iMac 27”, running different OS.
* iOS Scrivener 1 on an iPhone 11 Pro, iPad Air 9.7”, and iPad Pro 12.9”, all running the latest iOS

Pi
Pincolino
Posts: 8
Joined: Mon Nov 12, 2018 6:52 pm
Platform: Mac

Sat Nov 17, 2018 10:02 am Post

lunk wrote:I think you need to create the styles before going to Compile, when you are in the Editor. Styles in compile only format the text, it doesn’t give the text a ”style".


You mean I have to format the headings in the Editor? I use the titles of the documents as "headings". In the text file itself I don't use any styles. I have a very simple structure of my work: heading - text. I create a folder (name of the book) and then I add a document (one per each chapter). No headings there. No subheadings, nothing.

Anyways I found a solution (in the last twenty minutes ... ):
Because I wasn't successful with the other methods I imported a style from MS Word (Format -> Import Format Templates) and then I added it in the Compile Panel (clicking +) and I renamed it to prevent confusion (I have a lot of "Heading 1" in my list). So I figured out Scrivener doesn't like the renaming. If I use the style exactly the way I imported it from Word (without renaming it), it works. I'm fine with that solution ...

User avatar
KB
Site Admin
Posts: 20827
Joined: Tue Jun 13, 2006 11:23 pm
Platform: Mac
Location: Truro, Cornwall
Contact:

Sat Nov 17, 2018 10:56 am Post

You should be able to use styles created in Scrivener, too. Word seems only to show styles in the document map that have specific titles, though - "Heading 1", "Heading 2" etc. This works fine for me when exporting from Scrivener to Word.
"You can't waltz in here, use my toaster, and start spouting universal truths without qualification."

User avatar
AmberV
Posts: 24325
Joined: Sun Jun 18, 2006 4:30 am
Platform: Mac + Linux
Location: Ourense, Galiza
Contact:

Sat Nov 17, 2018 8:20 pm Post

You mean I have to format the headings in the Editor? I use the titles of the documents as “headings”. In the text file itself I don’t use any styles. I have a very simple structure of my work: heading - text. I create a folder (name of the book) and then I add a document (one per each chapter). No headings there. No subheadings, nothing.


You do not need to format your text in the editor, nor does the project even need to have this style. You can use styles in the compiler as well, you just need to make sure an apply them as styles in the Section Layouts pane:

  1. Click on the Layout that should have a heading; for example: “Chapter”.
  2. In the “Formatting” tab, click into the sample heading.
  3. Use the a button and select “Heading 1”.

Maybe you do not like how it looks, but that is okay because you can go into the Styles pane and change the formatting for “Heading 1” there. If you go back to “Chapter” in Section Layouts, you will see the changes you made.

Of note: if you change the formatting of your heading in Section Layouts, the style assignment will be removed. So only change the formatting from the Styles pane.
.:.
Ioa Petra'ka
“Whole sight, or all the rest is desolation.” —John Fowles