Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Code block with Erlang code is not properly converted
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  4 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Björn Peemöller  
View profile  
 More options Nov 13 2012, 7:42 am
From: Björn Peemöller <b...@informatik.uni-kiel.de>
Date: Tue, 13 Nov 2012 13:41:48 +0100
Local: Tues, Nov 13 2012 7:41 am
Subject: Code block with Erlang code is not properly converted
Hi,

I'm trying to convert a code block containing some Erlang code, but most
of the input disappears. For example, in my erlang.md I have:

~~~ {.erlang}
-module(match).
-export([start/0]).

start() ->
  P = self().
~~~

But `pandoc erlang.md` produces:

<pre class="sourceCode erlang"><code class="sourceCode erlang"><span
class="kw">-module</span><span class="fu">(</span><span
class="ch">match</span>

</code></pre>

That is, everything after match in the first line vanishes. When I
remove the {.erlang} attribute the output is as expected, same as for a
different language attribute like {.haskell}.

So it seems to me that the Erlang highlighting is broken.

My version is:

$ pandoc --version
pandoc 1.9.4.2
Compiled with citeproc-hs 0.3.5, texmath 0.6.1.1, highlighting-kate 0.5.3.2.
..., Erlang, ...

Regards,
Bj rn


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
John MacFarlane  
View profile  
 More options Nov 13 2012, 12:43 pm
From: John MacFarlane <fiddlosop...@gmail.com>
Date: Tue, 13 Nov 2012 09:43:43 -0800
Local: Tues, Nov 13 2012 12:43 pm
Subject: Re: Code block with Erlang code is not properly converted
Weird.  This appears to be a bug in highlighting-kate.
Can you submit a bug report at

https://github.com/jgm/highlighting-kate/issues

?

+++ Björn Peemöller [Nov 13 12 13:41 ]:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Björn Peemöller  
View profile  
 More options Nov 13 2012, 2:08 pm
From: Björn Peemöller <b...@informatik.uni-kiel.de>
Date: Tue, 13 Nov 2012 20:07:54 +0100
Local: Tues, Nov 13 2012 2:07 pm
Subject: Re: Code block with Erlang code is not properly converted
Am 13.11.2012 18:43, schrieb John MacFarlane:

> Weird.  This appears to be a bug in highlighting-kate.
> Can you submit a bug report at

> https://github.com/jgm/highlighting-kate/issues

> ?

Sure, no problem.

https://github.com/jgm/highlighting-kate/issues/26


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
emacstheviking  
View profile  
 More options Nov 15 2012, 10:48 am
From: emacstheviking <obji...@gmail.com>
Date: Thu, 15 Nov 2012 07:48:34 -0800 (PST)
Local: Thurs, Nov 15 2012 10:48 am
Subject: Re: Code block with Erlang code is not properly converted

I have updated the issue at

https://github.com/jgm/highlighting-kate/issues/26


with some more information on my problem too. I am using 1.9.1.1 and that
"works" in that it is not swallowing output but the coloring is very wrong.
I couldn't colour it there but this code:

start(_StartType, _StartArgs) ->
    qmsg:start(),
    application:start(mongodb),
    imp_sup:start_link().

actually looks like this, using the default highlighting style:

start(_StartType, _StartArgs) ->
    qmsg:start(),    application:start(mongodb),    imp_sup:start_link().


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »