Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Document pandoc requirement #161

Open
goneall opened this issue Nov 30, 2024 · 1 comment · May be fixed by #181
Open

Document pandoc requirement #161

goneall opened this issue Nov 30, 2024 · 1 comment · May be fixed by #181
Assignees

Comments

@goneall
Copy link
Member

goneall commented Nov 30, 2024

It looks like a recent change to the spec parser introduced a dependency on pandoc.

This should be documented in the README.

Running spec-parser without pandoc installed results in the following error:

File "C:\Users\gary\git\spec-parser\spec_parser\tex.py", line 130, in markdown_to_tex
    process = subprocess.run(
              ^^^^^^^^^^^^^^^
  File "C:\Users\gary\AppData\Local\Programs\Python\Python311\Lib\subprocess.py", line 548, in run
    with Popen(*popenargs, **kwargs) as process:
         ^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Users\gary\AppData\Local\Programs\Python\Python311\Lib\subprocess.py", line 1026, in __init__
    self._execute_child(args, executable, preexec_fn, close_fds,
  File "C:\Users\gary\AppData\Local\Programs\Python\Python311\Lib\subprocess.py", line 1538, in _execute_child
    hp, ht, pid, tid = _winapi.CreateProcess(executable, args,
                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
FileNotFoundError: [WinError 2] The system cannot find the file specified
@zvr
Copy link
Member

zvr commented Nov 30, 2024

It will also be in the code, since the dependency is only when generating TeX output.

@zvr zvr self-assigned this Nov 30, 2024
@zvr zvr linked a pull request Jan 17, 2025 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants