"Output text as..." setting doesn't stick

A place for users to ask each other questions, make suggestions, and discuss Bookends.
Post Reply
freney
Posts: 12
Joined: Wed Dec 14, 2016 7:31 pm

"Output text as..." setting doesn't stick

Post by freney »

My setting for "Scan & Bib" --> "Output text as..." gets reset when I try to scan a plain text file.

I'm writing in Markdown, with a custom citation format that generates markdown-friendly output. (I then pass it along to a pandoc/latex workflow.)
The text files are saved as UTF-8, tested from both Ulysses and BBEdit. That is, the files are definitely the right encoding.

Choosing the output text as setting as "UTF-8" (or anything else, for that matter), it always reverts back to "Plain Text (ASCII)" after scanning the file & generating the bibliography.

I'm pretty sure this is the cause of my issue detailed here: viewtopic.php?f=2&t=4181&p=18858&hilit= ... +as#p18858

(Sorry for not ever replying to that thread; I worked around the problems to get things in by a deadline, but I'm back on the train now.)

In short, the output from Bookends during the scan appears to revert to ASCII internally and saves the Bibliography to disk as an ASCII file, not UTF-8.

A citation of

Code: Select all

{Caragounis, 2004, #37593@40–44}.
is output as

Code: Select all

Chrys C. Caragounis, *The Development of Greek and the New Testament: Morphology, Syntax, Phonology, and Textual Transmission*, WUNT 167 (Tübingen: Mohr Siebeck, 2004), 40‚Äì44.
Note that the ü character is preserved within the citation, but the page range has ‚Äì in place of an en-dash –.

The line saved to the bibliography, however, is

Code: Select all

Caragounis, Chrys C. *The Development of Greek and the New Testament: Morphology, Syntax, Phonology, and Textual Transmission*. WUNT 167. T�bingen: Mohr Siebeck, 2004.
I've noticed that the Bookends popup window that scans quickly through the entries shows the page range as {Caragounis, 2004, #37593@40–44}, so it appears to be an ASCII reading *in* to Bookends, not a problem with file encoding as such on the way out.
Jon
Site Admin
Posts: 10291
Joined: Tue Jul 13, 2004 6:27 pm
Location: Bethesda, MD
Contact:

Re: "Output text as..." setting doesn't stick

Post by Jon »

Thanks for the report, I'll take a look.

Jon
Sonny Software
Jon
Site Admin
Posts: 10291
Joined: Tue Jul 13, 2004 6:27 pm
Location: Bethesda, MD
Contact:

Re: "Output text as..." setting doesn't stick

Post by Jon »

I've fixed the output text setting.

As for the other issue, it's a bit problematic because Bookends doesn't know the encoding of the text file being scanned, it has been assuming that it is MacRoman. I've made these changes, which I think are reasonable. Bookends will assume the text file being scanned is the same encoding as the bibliography output, as long as it's plain text, utf-8, or utf-16. If it's not specified (e.g. Styled Text is the output), Bookends will assume the text file is encoded as UTF-8.

I'll make a silent update tonight. Please download tomorrow and try it. If you still have issues please contact tech support directly.

Jon
Sonny Software
freney
Posts: 12
Joined: Wed Dec 14, 2016 7:31 pm

Re: "Output text as..." setting doesn't stick

Post by freney »

Brilliant. Thanks so much.
Post Reply