readme2tex
readme2tex copied to clipboard
[Possible bug report] - Proceeding tab
I found that the inline code and code block which are proceeded by tab
wouldn't be translated by readme2tex.
For instances:
$A^2 + B^2 = C^2$
$$
A^2 + B^2 = C^2
$$
The output translated from the above LaTeX expressions is still the same.
- Relative info: Package version: 0.0.1b2 Python version: Python 2.7.17 / Python 3.6.9 Platform: x86_64 GNU/Linux
Thanks for your consideration!
I have the same issue when working with bullet points and sub bullet points.
- it works at this level (0 preceding spaces)
- it works at this level (2 preceding spaces)
- it does not work at this level or beyond (4 preceding spaces)
- it works at this level (2 preceding spaces)
Basically, anywhere the line is preceded by 4 spaces or more, it does not work.
Thanks!
I had the same problem @BenFreudbergKolmostar cited with bullet points converting this source file into this file.
I can confirm the bug is triggered by four spaces at the beginning of the line because after I reduced the number of spaces in https://github.com/montali/unibo-ai/commit/9cafc4aaf614ad6abd16d94401e7a55aa91461c1 the problem disappeared (the new version of the file is rendered correctly).
Python 3.9.2 , readme2tex 0.0.1b2