Comments (6)
Can do!
from pandoc-templates.
Love it! Thanks for opening an issue. I'm absolutely open to PRs, and this would be a welcome contribution. Let me know if you have questions or need anything.
from pandoc-templates.
Sweet, PR is up.
from pandoc-templates.
I am a bit confused on the problem. What is the intended formatting in the source and what is the undesired result? Are you writing poetry where the formatting must be kept? Is this an issue with non-breaking hyphens?
from pandoc-templates.
The EM DASH is used to set off parenthetical text. Normally, it is used without spaces. However, this is language dependent. For example, in Swedish, spaces are used around the EM DASH. Line breaks can occur before and after an EM DASH. Because EM DASHes are sometimes used in pairs instead of a single quotation dash, the default behavior is not to break the line between even though not all fonts use connecting glyphs for the EM DASH.
Some languages, including Spanish, use EM DASH to set off a parenthetical, and the surrounding dashes should not be broken from the contained text. In this usage there is space on the side where it can be broken. This does not conflict with symmetrical usages, either with spaces on both sides of the em-dash or with no spaces.
Unicode Line Breaking Algorithm
I'm not sure this helps, or is even prescriptive, but it's the closest I could find to some "ruling" on breaking around em-dash.
from pandoc-templates.
@tomheon - sorry for the super late follow up. Looks like you closed out your PR but left this issue open. If this isn't needed anymore, would you mind closing the issue. If it is still needed, can you provide any updates? Thank you!
from pandoc-templates.
Related Issues (10)
- Incorporate GnuWin32 for Windows HOT 1
- Automation
- Documentation
- Filters not working under Pandoc v2.17? HOT 4
- Filters not working under pandoc 2.13 HOT 2
- Add a -q flag to suppress output
- Add -f flag to overwrite existing output file HOT 1
- Powershell script has missing LUA value HOT 2
- Add option to compile without postal address
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pandoc-templates.