public inbox archive for pandoc-discuss@googlegroups.com
 help / color / mirror / Atom feed
From: Isai Emanuel Davila Cuba <isaiemanu123-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
To: pandoc-discuss <pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
Subject: Re: UTF-8 encoding error using Pandoc filters
Date: Mon, 19 Aug 2019 17:51:43 -0700 (PDT)	[thread overview]
Message-ID: <472ad3f9-6da7-4bd4-94d7-2993f104a81a@googlegroups.com> (raw)
In-Reply-To: <a8434473-c231-46bd-9c1a-c8b5e942c774-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>


[-- Attachment #1.1: Type: text/plain, Size: 1433 bytes --]

The "error" was solved. Just had to add
#-*- coding:utf-8 -*-

to *pandoc-eqnos-script.py *on top. 

El lunes, 19 de agosto de 2019, 21:41:45 (UTC-3), Isai Emanuel Davila Cuba 
escribió:
>
> Hi, guys. I have been having problems when using Pandoc for convert a 
> Markdown file to PDF. The problem is when using pandoc-eqnos filter. I 
> typed in command line:
> pandoc --filter=pandoc-eqnos file.md -o file.pdf
> And get this error message:
> File "C:\Users\Isaí 
> Dávila\AppData\Local\Programs\Python\Python37-32\Scripts\pandoc-eqnos-script.py", 
> line 1
> SyntaxError: Non-UTF-8 code starting with '\xed' in file C:\Users\Isaí 
> Dávila\AppData\Local\Programs\Python\Python37-32\Scripts\pandoc-eqnos-script.py 
> on line 1, but no encoding declared; see 
> http://python.org/dev/peps/pep-0263/ for details
> Error running filter pandoc-eqnos:
> Filter returned error status 1
>
> I have no experience with UTF-8 related erros, so any suggestion will be 
> appreciated. Thanks.
>
>

-- 
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/472ad3f9-6da7-4bd4-94d7-2993f104a81a%40googlegroups.com.

[-- Attachment #1.2: Type: text/html, Size: 3501 bytes --]

      parent reply	other threads:[~2019-08-20  0:51 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-08-20  0:41 Isai Emanuel Davila Cuba
     [not found] ` <a8434473-c231-46bd-9c1a-c8b5e942c774-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
2019-08-20  0:51   ` Isai Emanuel Davila Cuba [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=472ad3f9-6da7-4bd4-94d7-2993f104a81a@googlegroups.com \
    --to=isaiemanu123-re5jqeeqqe8avxtiumwx3w@public.gmane.org \
    --cc=pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).