Version 1.2.3 of PageKicker fixes a bug whereby in the Acronyms section the ebook builder interpreted acronyms beginning with the # character s markdown, thus causing hashtag acronyms to create new section headings.

Thus #NotMyPresident. produced:

screenshot-from-2017-01-22-16-49-18

now becomes:

screenshot-from-2017-01-22-16-51-22

The trailing period in #NotMyPresident is an error in the acronym filter, although it is not immediately apparent to me how the filter would know to remove the period from acronyms appearing at the end of a sentence.

The current acronym filter is a regex that could be dramatically improved.

sed 's/[[:space:]]\+/\n/g' $txtinfile  | sort -u |\
 egrep '[[:upper:]].*[[:upper:]]' | sed 's/[\(\),]//g' | uniq

Contributions very welcome!

Advertisements

Leave a Reply

Please log in using one of these methods to post your comment:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s