public inbox archive for pandoc-discuss@googlegroups.com
 help / color / mirror / Atom feed
From: "'Jan-Frederik Stieler' via pandoc-discuss" <pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
To: pandoc-discuss <pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
Subject: Re: Convert text to ICML, Error unexpected "%"
Date: Tue, 31 Oct 2017 07:40:02 -0700 (PDT)	[thread overview]
Message-ID: <fd12cba8-fa02-4c65-8e0d-c20245eb15c1@googlegroups.com> (raw)
In-Reply-To: <874lqf76lf.fsf-97jfqw80gc6171pxa8y+qA@public.gmane.org>


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

Hi,

in Texshop, a gui for OSX, I have no problems to output it as PDF with no 
problems.
The data comes from a ready to use class: 
https://github.com/vtex-soft/texsupport.aka

The % is on a lot of positions in the .tex document. Also before the Line 
22, so it is a little bit confussing.

Am Dienstag, 31. Oktober 2017 15:08:40 UTC+1 schrieb Joost:
>
>
> On Tue, Oct 31 2017, via pandoc-discuss wrote: 
> > Hello, 
> > 
> > I'm new to Pandoc and Latex and I try to convert an tex-file to 
> > icml for 
> > using with Indesign. 
> > But now I get an error in my terminal: 
> > 
> > This is the command I use: 
> > 
> > pandoc-test Jan$ pandoc /Users/Jan/Downloads/tex/doc/bookdoc.tex 
> > -f latex 
> >> -t icml -s -o /Users/Jan/Downloads/tex/doc/bookdoc.icml 
> > 
> > 
> > and this the error I got shown up: 
> > 
> > pandoc: 
> >> Error at "input" (line 22, column 8): 
> >> unexpected "%" 
> >> expecting letter, lf new-line, "*", "[" or "{" 
> >> \author% 
> >>        ^ 
> >> CallStack (from HasCallStack): 
> >>   error, called at src/Text/Pandoc/Error.hs:66:13 in 
> >> pandoc-1.19.2.1-J1nmFBg9ln971v0RrPbKLJ:Text.Pandoc.Error 
>
> It seems your tex file contains something that Pandoc cannot 
> handle. You have a percent sign (comment marker) directly 
> following the `\author` macro. I suspect that is valid LaTeX, but 
> it seems Pandoc doesn't know about this. So the quick work-around 
> is to remove that percent sign and anything following it on the 
> same line, and then try again. 
>
> John will have to decide if he wants to make Pandoc accept this 
> sort of thing or not. 
>
> -- 
> Joost Kremers 
> Life has its moments 
>

-- 
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 post to this group, send email to pandoc-discuss-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discuss/fd12cba8-fa02-4c65-8e0d-c20245eb15c1%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

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

  parent reply	other threads:[~2017-10-31 14:40 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-10-31 11:43 'Jan-Frederik Stieler' via pandoc-discuss
     [not found] ` <3028a0f6-c20e-4020-b75b-35f285d1e200-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
2017-10-31 14:08   ` Joost Kremers
     [not found]     ` <874lqf76lf.fsf-97jfqw80gc6171pxa8y+qA@public.gmane.org>
2017-10-31 14:40       ` 'Jan-Frederik Stieler' via pandoc-discuss [this message]
     [not found]         ` <fd12cba8-fa02-4c65-8e0d-c20245eb15c1-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
2017-10-31 16:38           ` Joost Kremers
     [not found]             ` <87375z6zo5.fsf-97jfqw80gc6171pxa8y+qA@public.gmane.org>
2017-10-31 17:14               ` John MACFARLANE
2017-10-31 18:29                 ` John MACFARLANE
2017-10-31 18:32                   ` 'Jan-Frederik Stieler' via pandoc-discuss

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=fd12cba8-fa02-4c65-8e0d-c20245eb15c1@googlegroups.com \
    --to=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).