kevboh / longform

A plugin for Obsidian that helps you write and edit novels, screenplays, and other long projects.
Other
610 stars 30 forks source link

Bug: Compile missing chunks of scenes #240

Open LMBlairRN opened 5 months ago

LMBlairRN commented 5 months ago

Versions Longform version: 2.0.4 Obsidian version: 1.5.3 OS [e.g. macOS, Windows, iOS, Android]: Windows 11 Theme: Other plugins that you think might be relevant here:

Describe the bug Compiling a longform project that includes horizontal lines results in some scenes having missing chunks between lines. I used the default compile settings, and when I opened the note created by the compile, some of the scenes were truncated so that there were roughly 158,000 words of my 175,000 word manuscript in the compiled note. The missing section is always after a horizontal line. If there are two horizontal lines in the scene, the chunk of text between the lines goes missing, but the text before the first line and after the last line are included.

kevboh commented 5 months ago

Ahhh, this is almost certainly a bug in front matter parsing. What happens if you remove the strip front matter step?

LMBlairRN commented 5 months ago

That seems to have fixed the problem of whole chunks missing. I'm still having big differences in word count between the project file and the compiled version though. To the tune of about 2-3% of the total word count.

Lisa M. Blair, PhD, RN

On Sat, Feb 3, 2024 at 6:00 PM Kevin Barrett @.***> wrote:

Ahhh, this is almost certainly a bug in front matter parsing. What happens if you remove the strip front matter step?

— Reply to this email directly, view it on GitHub https://github.com/kevboh/longform/issues/240#issuecomment-1925478613, or unsubscribe https://github.com/notifications/unsubscribe-auth/AY6K3XIQBY7B2WICSOY7V4LYR26RRAVCNFSM6AAAAABCQPA72CVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSMRVGQ3TQNRRGM . You are receiving this because you authored the thread.Message ID: @.***>