-
Notifications
You must be signed in to change notification settings - Fork 27
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
--filter pandoc-xnos
not working
#11
Comments
I had a similar problem (nothing worked... 😄), used $ find / -iname *pandoc-xnos* 2>/dev/null
~/.local/bin/pandoc-xnos and noticed this location wasn't on my path. Somehow adding that location to my path helped for finding it in bash, but not for pandoc, but linking it from a place I expected pandoc to expect executables worked: sudo ln -s ~/.local/bin/pandoc-xnos /usr/local/bin/ $ wget -O - https://raw.githubusercontent.com/tomduck/pandoc-tablenos/master/demos/demo3.md | pandoc --filter pandoc-xnos -t markdown Right Left Center Default
------- ------ -------- ---------
12 12 12 12
123 123 123 123
1 1 1 1
: Table 1: Demonstration of a simple table.
Tab. [1](#tbl:1) is from the Pandoc User's Guide. A simpler table is
given by Tab. [2](#tbl:2):
A B
--- ---
0 1
: Table 2: Even simpler. |
Both |
What system are you on? |
@MPvHarmelen Xubuntu 18.04.4 LTS |
Is anyone still having this problem? The
I have added a check that |
I don't have the time to try to break it again on my machine now 😅 |
Hi! I have the same problem here. pandoc-xnos is installed:
Nevertheless, when I call
I obtain:
On the other hand, Do you think this problem is related to this post? Thanks! |
Thanks, @FrsLry. Let's see if we can figure this out. What OS are you using? Cheers, Tom |
@FrsLry, did you install from PyPI using |
Yes @tomduck , I used:
And then I updated it, as it's clearly explained on https://github.com/tomduck/pandoc-xnos. So now, when I try to get the version of
I tried to reinstall to check (with the same
Thanks! François |
Good, thanks. Could you please provide the output of Note/edit: This will provide a more detailed account than what you have already provided. The pandoc-xnos script normally gets installed at a different location than the library. |
Sure! Here it is:
Cheers! |
I am wondering if the solution to this problem under Windows is to just drop Cheers, |
hello, I had the same issue as @FrsLry on macOS. Uninstalling then reinstalling without the --user flag worked for me. |
In Windows, I solved it by installing using pip:
and then adding the directory containing pandoc-xnos.exe to the path. I run pandoc using a batch script:
(in my case I am using anaconda). You can find the directory by
as mentioned by @tomduck . |
It's all about the path here. If you start a normal shell, e.g. Tutorial (not mine): https://helpdeskgeek.com/windows-10/add-windows-path-environment-variable/#:~:text=The%20most%20used%20environment%20variable,full%20path%20to%20the%20executable. edit: And don't forget to restart your shell and VSCode if you made changes to the PATH! |
I stumbled upon the same problem, but reinstalling ( In my case (Windows 11, Python 3.11) the PATH already includes the directory Maybe it could be an approach to hint at this second path during the install script? I think that preserving the option to use the |
Hi all,
I get an error when I try to pass the generic
--filter pandoc-xnos
, but individual packages work, such as--filter pandoc-secnos
.pandoc-xnos
is indeed installed:But running the following fails:
While running this works:
Any idea what is going on?
Thanks!
The text was updated successfully, but these errors were encountered: