* [LaTeX reader] Issue with \lstinputlisting
@ 2021-02-07 21:15 Denis Bitouzé
[not found] ` <878s7z7f60.fsf-hcDgGtZH8xNBDgjK7y7TUQ@public.gmane.org>
0 siblings, 1 reply; 3+ messages in thread
From: Denis Bitouzé @ 2021-02-07 21:15 UTC (permalink / raw)
To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw
Hi,
on Linux Mageia 7, I'm using pandoc 2.11.4 compiled with:
- pandoc-types 1.22,
- texmath 0.12.1,
- skylighting 0.10.2,
- citeproc 0.3.0.5,
- ipynb 0.1.0.1.
The following command:
--8<---------------cut here---------------start------------->8---
pandoc -f latex -t rst -s <<< "\begin{lstlisting}Foo\end{lstlisting}"
--8<---------------cut here---------------end--------------->8---
gives the following output:
--8<---------------cut here---------------start------------->8---
::
Foo
--8<---------------cut here---------------end--------------->8---
So far, so good.
Now, according to:
┌────
│ https://github.com/jgm/pandoc/issues/7003#issuecomment-753662299
└────
the following commands:
--8<---------------cut here---------------start------------->8---
echo "Foo" > foo.txt
pandoc -f latex -t rst -s <<< "\lstinputlisting{foo.txt}"
--8<---------------cut here---------------end--------------->8---
should give the same output. But in my case, it returns the following
error:
┌────
│ [WARNING] Could not load include file 'foo.txt' at line 1 column 17
└────
Am I the only one affected by this issue?
Do you know how to fix it?
Thanks!
--
Denis
--
You received this message because you are subscribed to the Google Groups "pandoc-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discuss/878s7z7f60.fsf%40example.com.
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [LaTeX reader] Issue with \lstinputlisting
[not found] ` <878s7z7f60.fsf-hcDgGtZH8xNBDgjK7y7TUQ@public.gmane.org>
@ 2021-02-08 18:19 ` John MacFarlane
[not found] ` <m2y2fy8lsx.fsf-jF64zX8BO08an7k8zZ43ob9bIa4KchGshsV+eolpW18@public.gmane.org>
0 siblings, 1 reply; 3+ messages in thread
From: John MacFarlane @ 2021-02-08 18:19 UTC (permalink / raw)
To: Denis Bitouzé, pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw
I can't reproduce this. I get:
% echo "Foo" > foo.txt
% pandoc -f latex -t rst -s <<< "\lstinputlisting{foo.txt}"
.. code:: default
Foo
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [LaTeX reader] Issue with \lstinputlisting
[not found] ` <m2y2fy8lsx.fsf-jF64zX8BO08an7k8zZ43ob9bIa4KchGshsV+eolpW18@public.gmane.org>
@ 2021-02-08 20:20 ` Denis Bitouzé
0 siblings, 0 replies; 3+ messages in thread
From: Denis Bitouzé @ 2021-02-08 20:20 UTC (permalink / raw)
To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw
Le 08/02/21 à 10h19, John MacFarlane a écrit :
> I can't reproduce this. I get:
>
> % echo "Foo" > foo.txt
> % pandoc -f latex -t rst -s <<< "\lstinputlisting{foo.txt}"
> .. code:: default
>
> Foo
Sigh... Am I damned?! ;)
--
Denis
--
You received this message because you are subscribed to the Google Groups "pandoc-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discuss/87k0rinwge.fsf%40example.com.
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2021-02-08 20:20 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-02-07 21:15 [LaTeX reader] Issue with \lstinputlisting Denis Bitouzé
[not found] ` <878s7z7f60.fsf-hcDgGtZH8xNBDgjK7y7TUQ@public.gmane.org>
2021-02-08 18:19 ` John MacFarlane
[not found] ` <m2y2fy8lsx.fsf-jF64zX8BO08an7k8zZ43ob9bIa4KchGshsV+eolpW18@public.gmane.org>
2021-02-08 20:20 ` Denis Bitouzé
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).