Skip to content
This repository has been archived by the owner on Sep 2, 2021. It is now read-only.

$ not redering #67

Open
ajbraus opened this issue Sep 5, 2019 · 1 comment
Open

$ not redering #67

ajbraus opened this issue Sep 5, 2019 · 1 comment

Comments

@ajbraus
Copy link

ajbraus commented Sep 5, 2019

Love markdown-pp, but having trouble with the $ character

Electric standing desks range from $200-$2000.

Rendering: 200-2000. A survey found standing desk advocates would be happy with the ...
Traceback (most recent call last):
File "/usr/local/bin/markdown-pp", line 11, in
sys.exit(main())
File "/usr/local/lib/python2.7/site-packages/MarkdownPP/main.py", line 112, in main
MarkdownPP.MarkdownPP(input=mdpp, output=md, modules=modules)
File "/usr/local/lib/python2.7/site-packages/MarkdownPP/MarkdownPP.py", line 28, in init
pp.process()
File "/usr/local/lib/python2.7/site-packages/MarkdownPP/Processor.py", line 49, in process
transforms = module.transform(self.data)
File "/usr/local/lib/python2.7/site-packages/MarkdownPP/Modules/LaTeXRender.py", line 77, in transform
self.render(tex) +
File "/usr/local/lib/python2.7/site-packages/MarkdownPP/Modules/LaTeXRender.py", line 100, in render
formula = formula.replace("$", "")
UnicodeDecodeError: 'ascii' codec can't decode byte 0xe2 in position 163: ordinal not in range(128)

Tried with \$ and I get the same error

Rendering: 200-\2000. A survey found standing desk advocates would be happy with the ...
Traceback (most recent call last):

UnicodeDecodeError: 'ascii' codec can't decode byte 0xe2 in position 163: ordinal not in range(128)

@hayekian
Copy link

THis has been mentioned before.. fixed with:

"append -e latexrender to the command you use to call MarkdownPP." fixed it for me

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants