[texdoc] Weird behavior of `texdoc'
Manuel Pégourié-Gonnard
mpg at elzevir.fr
Tue Feb 14 00:28:34 CET 2017
Hi Yudai,
Thanks for your detailled report!
On 13/02/2017 12:32, Yudai NAKATA wrote:
> This line contains non-ASCII characters (→: U+2192 RIGHTWARDS ARROW), and
> `texdoc bxjalipsum` renders this line as follows.
>
>> - `*.sty` <E2><86><92> $TEXMF/tex/latex/BXjalipsum
>
I agree that this is not the expected behaviour.
> In fact,
> bxjalipsum’s README.md
> doesn’t get corrupted if I explicitly pipe the stdout of `texdoc
> bxjalipsum` to a pager, i.e., the command
> `texdoc bxjalipsum | $PAGER` will work.
>
This is weird because if I remember correctly, texdoc is supposed to
pass the document to your pager anyway. Can you try 'texdoc -v
bxjalipsum' and paste here the line that starts with "texdoc info: View
comand:" in the output? What happens if you run this command manually
from your terminal?
> Is this a normal behavior? It seems like a bug IMHO, but I apologize
> if this behavior is just as you expected.
>
No, this is not the behaviour I would expect either, let's try to fix
this together!
Thanks,
Manuel.
More information about the texdoc
mailing list