Nico Schlömer

Results 241 issues of Nico Schlömer

```latex \def\enorm#1{\|#1\|_2} ``` is another one of those weird TeX commands. The above corresponds with ```latex \newcommand\enorm[1]{\|#1\|_2} ``` Any hint on how to add a parse instruction for it? This...

enhancement

The syntax of vrule is ```latex \vrule height 2pt depth -1.6pt width 23pt ``` Yikes! Is it possible to parse this with `std_macro` at all, or does that only allow...

enhancement

MWE: ```python from pylatexenc.latexwalker import LatexEnvironmentNode, nodelist_to_latex node = LatexEnvironmentNode("myenv", []) # set the name to something else node.environmentname = "something" print(nodelist_to_latex([node])) ``` ``` \begin{myenv}\end{myenv} ```

Right now, macro args are represented as ```python ParsedMacroArgs( argspec="{", argnlist=[...], ) ``` where `len(argspec) == len(argnlist)`. My suggestion would be to slightly alter this structure to ```python [ MacroArg(...

I'm trying to change ```latex {\it text} ``` to ```latex \textit{text} ``` with pylatexenc. To this end, I need create a `LatexMacroNode` from a `LatexGroupNode`. I tried ```python new_node =...

pylatexenc's code base is historically grown and could require a facelift or two. With your permission, I'd provide a couple or PRs for that. (You can still decline them of...

Right now, Python versions supported upstream are 3.7-3.10. None of these are tested, so that should probably be added. Perhaps one could think about ditching Python 2 support, too. (It...

Not only did those classes not follow naming conventions (`is_node_type`, `node_type`), but they're also easily replacable by standard functions. _Explicit is better than implicit_, as the Zen of Python says,...

Your `install_requires` is taken from `requirements.txt` where the version number is fixed. This is usually not a good idea because you prevent Python users from updating their installation when guesslang...

I'm getting a funny exception when using [Debian's reportbug](https://packages.debian.org/sid/reportbug) that traces back to httplib2: ``` Traceback (most recent call last): File "/usr/lib/python3/dist-packages/reportbug/ui/gtk2_ui.py", line 1049, in sync_pre_operation http_proxy=http_proxy, archived=archived, source=source) File...

question