Logs for #nikola for 2016-10-06

10:07:02 <gour> morning
10:18:03 <gour> back to working on Nikola and site's content...i use typogrify filter and when i use the following '---' (em-dash) in my editor (Emacs), Nikola renders is as '—-', so it looks as it does not transform it into em-dash, but en-dash+'-' ?
10:21:38 <gour> i see that the problem is with smartypants which transforms '---' into '&#8212;-' 
10:26:05 <gour> well, the easiest solution is to simply use Emacs' package (typo) which does filtering and produces correct markup...python's smartypants does not look well maintained
10:33:14 <gour> maybe it means i do not have use for typogrify filter then...
10:48:27 <KwBot> [nikola] kayhayen closed issue #2520: Should remove site dir from PYTHONPATH. https://github.com/getnikola/nikola/issues/2520
11:31:32 <ChrisWarrick> gour: complain to that filter, or let emacs do it
11:47:33 <gour> ChrisWarrick: filter seems to be not developed further...and Emacs does the job ;)
12:10:10 <gour> any idea about this one: https://bpaste.net/show/f62b6f7a91ec ?
12:21:52 <ralsina> gour: smartypants has different settings for which dashes convert to what
12:22:01 <ralsina> usually "--" converts to em-dash
12:22:33 <gour> ralsina: hmm, and what about en-dash then?
12:22:47 <ralsina> "-"
12:22:49 <ralsina> IIRC
12:23:05 <ralsina> Basically, there's no reason to have a regular dash in english text
12:23:17 <gour> hmm, the docs says otherwise... --endash, ---emdash
12:23:37 <gour> i was spooiled logn ago with latex :-)
12:24:16 <gour> see the docs: http://pythonhosted.org/smartypants/introduction.html
12:24:50 <gour> in our language, there is place for all three...
12:33:40 <gour> tried to rm .doit.db, cleared the cache...but it does not help
12:59:12 <ralsina> ok then
13:03:29 <ralsina> gour: it seems python smartypants by default does "--" to em-dash and nothing else
13:03:47 <ralsina> gour: so, it is what it is
13:04:39 <ralsina> gour: and here's the reference on how to change that behaviour http://pythonhosted.org/smartypants/reference.html#smartypants-module
13:05:00 <ralsina> (BTW, the way to change the behaviour is a whole new level of WTF)
13:05:14 <ralsina> It coud be nice to offer a setting to tweak those, I guess
13:11:30 <ChrisWarrick> ralsina: there is a reason for - in technjcal texts
13:12:06 <ChrisWarrick> but either eay, just get a better keyboard layout with fancy dashes and “quotes”
13:18:13 <gour> any idea about that PythonAction Error I pasted above?
13:18:28 <gour> build -a fails as well
13:40:08 <ChrisWarrick> gour: One of your posts has a reST syntax error.
13:40:25 <ChrisWarrick> Probably one using the thumbnail directive.
13:40:27 <gour> uhh, one space at the beginning of line containing '.. thumbnail' directive
13:41:03 <gour> :-)