Search found 290 matches

Advanced Search
by RonJeffries
Thu Jun 21, 2018 1:17 pm
Forum: Using Scrivener
Topic: Creating a GitHub Pages "booklet" using Scrivener
Replies: 3
Views: 1781

Re: Creating a GitHub Pages "booklet" using Scrivener

Thanks. It's a curious way to write but one that I've used to advantage in my programming writing. Rather than the cleaned up examples that appear by magic, I like to show what really happens in the minds of people doing real work. (Well, at least my mind, and my work. :D ) I continue to enhance it....
by RonJeffries
Thu Jun 21, 2018 1:13 pm
Forum: Technical Support (Mac)
Topic: Trailing Spaces in Title Header on Folders Only
Replies: 11
Views: 1383

Re: Trailing Spaces in Title Header on Folders Only

I'm compiling to MMD. Titles are supposed to be enclosed in # Title #. Documents do compile that way. Folders compile that way with two trailing spaces. Representing the spaces with b, this is the output one gets: #bDocumentbTitleb# #bFolderbTitleb#bb I'll see if I can strip down my project and atta...
by RonJeffries
Thu Jun 21, 2018 2:29 am
Forum: Technical Support (Mac)
Topic: Trailing Spaces in Title Header on Folders Only
Replies: 11
Views: 1383

Trailing Spaces in Title Header on Folders Only

I have folders and documents at level 1 all set to the same format. It has # Section Title # set up. Documents compile with the title enclosed in "# " and " #". But folders are compiled with two trailing spaces. "# " and " # ". ("b#bb") There's only ...
by RonJeffries
Wed Jun 20, 2018 9:43 pm
Forum: Technical Support (Mac)
Topic: MMD, Synopsis as Quote, Section Break
Replies: 4
Views: 817

Re: MMD, Synopsis as Quote, Section Break

Ah. So many options. I think this is the second thing you recommended. I picked a style with synopsis (after having found where to turn off the **Synopsis** stuff, and then set that style prefix to >. That does the thing, more or less by good fortune that Synopsis comes first. I think I understand t...
by RonJeffries
Wed Jun 20, 2018 5:39 pm
Forum: Technical Support (Mac)
Topic: MMD, Synopsis as Quote, Section Break
Replies: 4
Views: 817

Re: MMD, Synopsis as Quote, Section Break

That is yet another option, yes. I'd have to edit each section to include that but after that I'd have the luxury of just editing the index cards to adjust the little quotes.

Am I to take it that there's not enough formatting flexibility to do this with formats in the layout?

Thanks!
by RonJeffries
Wed Jun 20, 2018 5:33 pm
Forum: Technical Support (Mac)
Topic: MMD, Synopsis as Quote, Section Break
Replies: 4
Views: 817

MMD, Synopsis as Quote, Section Break

Sometimes I think I'd like to use the Synopsis as a little leading quote, like a subtitle, for each section. I'm compiling MMD. I'd like to have a layout that, ideally, shows the synopsis as a markdown quotation, that is, prefixed by a greater-than (>). Failing that, I'd like to have it in italic, i...
by RonJeffries
Wed Jun 20, 2018 11:59 am
Forum: Technical Support (Mac)
Topic: Compiling To LaTeX -- One file per section?
Replies: 31
Views: 8527

Re: Compiling To LaTeX -- One file per section?

Good point on the punctuation, I think I had smart quotes still turned on for a while, I remember turning them off while trying to figure out why I couldn't type <!--TOC--> and have it not turn into em-dashes. I do wonder why (and how) it gets set in Processing. Should I file a bug report? Thanks!! ...
by RonJeffries
Wed Jun 20, 2018 1:01 am
Forum: Bug Hunt (Mac)
Topic: Post-Processor Error Message is unclear
Replies: 2
Views: 1215

Post-Processor Error Message is unclear

I hooked up post-processing in the MultiMarkdown compile, and naturally got the path wrong. The error message, as attached below, just says File creation failed because `(null)` could not be located. The `(null)` executable was specified but it could not be found on this machine. This is enough to t...
by RonJeffries
Wed Jun 20, 2018 12:00 am
Forum: Technical Support (Mac)
Topic: Compiling To LaTeX -- One file per section?
Replies: 31
Views: 8527

Re: Compiling To LaTeX -- One file per section?

Well, I'm not sure what's in there but the fact that it didn't work in US-ASCII makes me think the Scrivener output file actually contains UTF-8 characters. I suppose I may have typed something in. I also noticed that when the file was read in ASCII its size was much larger than the size in UTF-8, I...
by RonJeffries
Tue Jun 19, 2018 8:06 pm
Forum: Technical Support (Mac)
Topic: Compiling To LaTeX -- One file per section?
Replies: 31
Views: 8527

Re: Compiling To LaTeX -- One file per section?

Discovery: When I run my Ruby splitter script from the command line, the input file is seen as UTF-8 encoding. When I run it from the Processing tab in Scrivener, the file is seen as US-ASCII. The latter does not work. Adding the line ARGF.set_encoding(Encoding::UTF_8) before reading the file solves...
by RonJeffries
Mon Jun 18, 2018 2:41 pm
Forum: Using Scrivener
Topic: Creating a GitHub Pages "booklet" using Scrivener
Replies: 3
Views: 1781

Re: Creating a GitHub Pages "booklet" using Scrivener

New version now includes the little Ruby script I wrote, following AmberV's lead, to split the big file and put the references in every split. Hoping to help ...
by RonJeffries
Mon Jun 18, 2018 2:39 pm
Forum: Technical Support (Mac)
Topic: Markdown images in split files. (revised question)
Replies: 4
Views: 859

Re: Markdown images in split files. (revised question)

Yes. Another possibility is that I am not quick. Or that I was too quick. Anyway, maybe there's improvement to be made to aid people like me, if there are any. :D

Thanks!
by RonJeffries
Mon Jun 18, 2018 8:54 am
Forum: Technical Support (Mac)
Topic: Markdown images in split files. (revised question)
Replies: 4
Views: 859

Re: Markdown images in split files. (revised question)

Thanks, Amber, you're a star as usual. It's section 21. 4 .1, but who's counting. I had looked at that a number of times, including last night, but didn't understand what it was telling me. (I often wonder, using Scrivener, whether I am as bright as I think I am. :D ) I'll try it now ... Yay! I made...
by RonJeffries
Sun Jun 17, 2018 1:13 pm
Forum: Technical Support (Mac)
Topic: Markdown images in split files. (revised question)
Replies: 4
Views: 859

Markdown images in split files. (revised question)

Ah, OK, some deep research into Scrivener and MultiMarkdown later, let me rephrase this. Scrivener compiles images, inMMD mode, to two lines: ![][image_file_name] and, at the end of the file: [image_file_name]: image_file_name.png Then one's MMD processor links these back together. I'm curious why i...