Alex V. Myltsev (_avm_) wrote in logjam,
Alex V. Myltsev
_avm_
logjam

Angle quotes and HTML entities

In Russian typographic traditions, «angle quotes» are used instead of “double quotes”. So for those who write their posts in Russian, a patch that autosenses the language and uses correct quotes:
Angle quotes patch
Other things I often need are em-dashes and ellipses (guess I’ll have to do something with my style). Typically I typeset them with HTML entities (like — and …). The following is a patch that replaces the often-used HTML entities with their Unicode equivalents as you type (e.g. © becomes ©). It also adds an option to conf.xml and a checkbox to the Preferences window.
HTML entities patch
(Some additional autoformattings are thrown in for good measure, like replacing three dots with ellipsis.)
The patches probably don't belong in the trunk (I'd call that bloat), but em-dash lovers might just use them.
Upd.: the patches seemed to apply cleanly with logjam 4.5.1, but I haven't checked later versions.
Subscribe

  • Ubuntu 16.04

    LogJam for Xenial please?

  • Ubuntu 15.10

    Cannot install logjam package after upgrading my 64-bit system to Ubuntu 15.10. Any ideas?

  • Help creating a Deadjournal server entry

    Howdy. I have two questions, and the second question probably relates to the first. I don't know what port setting I should input when creating the…

  • Post a new comment

    Error

    default userpic
    When you submit the form an invisible reCAPTCHA check will be performed.
    You must follow the Privacy Policy and Google Terms of use.
  • 5 comments