Comments (2)
I think a formatting function similar to formatGlossLine
is necessary for splitSource
so that a string ~...~
is converted into small caps via pandoc.SmallCaps()
, and non-alphabetical symbols like /
are rendered as they are (i.e. /
is not italicised).
Lines 444 to 465 in 2a1e55a
from pandoc-ling.
The basic problem is the automatic formatting that is done by panda-ling, which can be controlled by the option 'formatGloss`. Basically, this is a convenience option that works for many glosses, but it will never work for all options that people would like to throw at their glossing.
For that reason I added the possibility to prevent this automatic formatting on a per-example basis. So, if you find that a certain gloss is not formatted as you would like it to be, then you should start the example with ::: {.ex formatGloss=false}
and then simply exactly format the gloss as you would like it to be.
from pandoc-ling.
Related Issues (12)
- Beamer slides (PDF) show linguistic examples in a overt table HOT 8
- Question particle/marker `Q` is not rendered HOT 2
- Beamer frame attributes not always output when using pandoc-ling filter HOT 5
- Option to output glosses without example number
- Grammaticality judgements not aligned in interlinear examples when targeting Linguex HOT 1
- Links for cross-references with explicit an ID don't work with HTML output HOT 1
- error running filter with recent pandoc HOT 2
- One-line examples with a judgement are unprocessible when producing an HTML file HOT 2
- Escape meta characters of LaTeX in "judgeOffset" to avoid the compilation failure HOT 4
- header-includes in the YAML header causes an error when exporting to LaTeX or pdf HOT 1
- Interlinear examples without free translation HOT 2
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-ling.