readme2tex icon indicating copy to clipboard operation
readme2tex copied to clipboard

[Possible bug report] - Proceeding tab

Open Randy-Chuang opened this issue 4 years ago • 2 comments

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!

Randy-Chuang avatar Jan 22 '21 15:01 Randy-Chuang

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)

Basically, anywhere the line is preceded by 4 spaces or more, it does not work.

Thanks!

BenFreudbergKolmostar avatar Apr 22 '21 19:04 BenFreudbergKolmostar

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

Danysan1 avatar Jun 09 '21 18:06 Danysan1