Hunting down first line indent problem

ma
mamster
Posts: 203
Joined: Fri Jan 26, 2007 6:26 pm

Wed Jun 26, 2019 11:57 pm Post

Hello! I am compiling my project, and for the Section Layout for most of the documents in the project, I've specified "Remove from first paragraph and after empty lines."

Right now I'm looking at chapters 11 and 12. As far as I can tell, they're formatted exactly the same. Both are section type Chapter, and that section type is assigned the proper section layout. Both look identical in the editor, and I've run Convert to Default Formatting on both of them. Neither chapter has any styles applied to the text. The section layout has a "Override text and notes format," if that matters (I tried turning it off and it didn't fix the issue).

When I compile, Chapter 11 has the paragraph indents removed in the proper places. Chapter 12 does not. In fact, Chapter 12 seems to be following the ruler settings in the editor, because if I adjust the paragraph indent marker in the ruler, it affects the output.

It seems like there must be some place in the inspector for Chapter 12 that is saying, "Ruler overrides section layout," but I don't know of such an option. Any ideas? Thanks!

User avatar
gr
Posts: 2182
Joined: Wed Feb 14, 2007 3:57 am
Platform: Mac + iOS
Location: Florida

Thu Jun 27, 2019 6:42 am Post

How each document is treated on compile is the result of i) its Section Type and ii) the Section Layout assigned to that type in your compile settings.

Are the two chapter docs assigned to the same Section Type? If Chapter 12 was assigned to an As-Is section type, that would make the difference. Cf. Inspector > metadata tab > Section Type.

gr
gr : Scrivener user : not affiliated with Lit^Lat
Image
"Nothing, like something, happens anywhere." —Philip Larkin

ma
mamster
Posts: 203
Joined: Fri Jan 26, 2007 6:26 pm

Thu Jun 27, 2019 1:43 pm Post

Both are assigned the same section type (Chapter).

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

Thu Jun 27, 2019 1:47 pm Post

Is it possible that you have manually entered tabs in one of the chapters?
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

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

Thu Jun 27, 2019 1:49 pm Post

... if not, you need to show us the compile screens.
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

ma
mamster
Posts: 203
Joined: Fri Jan 26, 2007 6:26 pm

Thu Jun 27, 2019 6:51 pm Post

Here are two screens from the compile process. What else could I post that would be helpful?

Main compile screen: https://imgur.com/L3tnJRi
Section formats: https://imgur.com/bNyJZka

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

Thu Jun 27, 2019 7:32 pm Post

What else...
The beginning of both chapters with ”Show invisibles".
... in the Editor
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

ma
mamster
Posts: 203
Joined: Fri Jan 26, 2007 6:26 pm

Fri Jun 28, 2019 4:04 pm Post

Here you go! (I lorem ipsumed the text, but confirmed that the issue remains.)

Chapter 11: https://imgur.com/EHJlZDY
Chapter 12: https://imgur.com/3kdUFVb

Chapter 11 is the one that compiles correctly; Chapter 12 is the one that ignores the "remove indent from first paragraph and after blank lines" directive. Thanks again.

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

Fri Jun 28, 2019 4:49 pm Post

My guess...
As both are text documents Scrivener sees Chapter 12 as a continuation of chapter 11 and it hence doesn’t have a first paragraph. In spite of the heading
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

ma
mamster
Posts: 203
Joined: Fri Jan 26, 2007 6:26 pm

Fri Jun 28, 2019 7:46 pm Post

Good guess! But it doesn't work.

If I export the whole manuscript, it looks fine up until Chapter 12, even though there are many adjacent text documents. Furthermore, the problem lasts throughout Chapter 12; there are many blank lines between sections, but no indents are removed.

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

Fri Jun 28, 2019 8:21 pm Post

Have you tried to create a new document, copy the text in chapter 12 and paste it with match formatting?

You probably has something in there that you can’t ser that is causing the problem.

Or Paste into TextEdit and then do the copy-paste with match formatting etc into the new document.
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

AP
APH
Posts: 32
Joined: Fri Nov 16, 2018 10:08 pm
Platform: Mac

Sat Jun 29, 2019 2:32 am Post

SInce most recent upgrade Compile has removed all first line indents for me. I have text set to compile as is, and have had no trouble in the past keeping indents that appear in the text.
Now however Compile removes all indents and removes all blank lines between paras (eg sometimes I leave a para space before and after a para to 'highlight' it for editing purposes, but now these are removed)
And ideas?

ma
mamster
Posts: 203
Joined: Fri Jan 26, 2007 6:26 pm

Sat Jun 29, 2019 2:07 pm Post

lunk wrote:Have you tried to create a new document, copy the text in chapter 12 and paste it with match formatting?

You probably has something in there that you can’t ser that is causing the problem.


Bingo--that solved it! Thank you!

Now, I'd still love to figure out what was causing the problem...

APH, is it possible you're compiling to MultiMarkdown?

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

Sat Jun 29, 2019 5:04 pm Post

mamster wrote:Now, I'd still love to figure out what was causing the problem...

Sometimes there are things hidden in the text that won’t be shown even by Show invisibles.
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