* Re: Digest for pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org - 9 Messages in 5 Topics
[not found] ` <20cf3074b7f273ba4f04def2b471-hpIqsD4AKlfQT0dZR+AlfA@public.gmane.org>
@ 2013-06-12 11:01 ` Uwe Brauer
[not found] ` <87hah31tk7.fsf-FSW18o3YFTRi3wUd73v6UDnk2p4QjgQy@public.gmane.org>
0 siblings, 1 reply; 4+ messages in thread
From: Uwe Brauer @ 2013-06-12 11:01 UTC (permalink / raw)
To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw
[-- Attachment #1: Type: text/plain, Size: 1447 bytes --]
>> "pandoc-discuss" == pandoc-discuss <pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org> writes:
> =============================================================================
> Topic: stripmath
> Url: http://groups.google.com/group/pandoc-discuss/t/d9e49b147d3b6715
> =============================================================================
> ---------- 1 of 2 ----------
> From: Uwe Brauer <oub.oub.oub-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
> Date: Jun 11 01:27PM +0200
> Url: http://groups.google.com/group/pandoc-discuss/msg/f79fe2b20bb2ed81
>> main = toJsonFilter stripmath
>> where stripmath (Math _ _) = Str "FORMULA"
>> stripmath x = x
> ---------- 2 of 2 ----------
> From: John MacFarlane <fiddlosopher-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
> Date: Jun 11 10:19AM -0700
> Url: http://groups.google.com/group/pandoc-discuss/msg/222445062fd4d894
> The 'where' needs to be indented. Probably the leading spaces
> got dropped by your email viewer.
> Also, make sure the two occurrences of 'stripmath' after
> 'where' start in the same column, one above the other.
Ah, ok. I edited it in Xemacs in haskell mode and reindented the
code. Works like charm!! Thanks a lot, the binary is 30 M!
BTW is there a similar command also to get rid of the labels? Since they
annoy the grammar checker.
regards
Uwe Brauer
[-- Attachment #2: smime.p7s --]
[-- Type: application/pkcs7-signature, Size: 5570 bytes --]
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Digest for pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org - 9 Messages in 5 Topics
[not found] ` <87hah31tk7.fsf-FSW18o3YFTRi3wUd73v6UDnk2p4QjgQy@public.gmane.org>
@ 2013-06-12 11:07 ` Werner LEMBERG
[not found] ` <20130612.130713.72972183.wl-mXXj517/zsQ@public.gmane.org>
2013-06-12 16:06 ` John MacFarlane
1 sibling, 1 reply; 4+ messages in thread
From: Werner LEMBERG @ 2013-06-12 11:07 UTC (permalink / raw)
To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw,
oub.oub.oub-Re5JQEeQqe8AvxtiuMwx3w
> the binary is 30 M!
Compile with
ghc -dynamic ...
Werner
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Digest for pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org - 9 Messages in 5 Topics
[not found] ` <20130612.130713.72972183.wl-mXXj517/zsQ@public.gmane.org>
@ 2013-06-12 14:33 ` Uwe Brauer
0 siblings, 0 replies; 4+ messages in thread
From: Uwe Brauer @ 2013-06-12 14:33 UTC (permalink / raw)
To: Werner LEMBERG; +Cc: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw
[-- Attachment #1: Type: text/plain, Size: 364 bytes --]
>> "Werner" == Werner LEMBERG <wl-mXXj517/zsQ@public.gmane.org> writes:
>> the binary is 30 M!
> Compile with
> ghc -dynamic ...
Thanks, but it seems that I don't have the dynamic library installed
msg:
Perhaps you haven't installed the "dyn" libraries for package `pandoc-1.10.1'
(and I forgot how that should be installed......)
> Werner
[-- Attachment #2: smime.p7s --]
[-- Type: application/pkcs7-signature, Size: 5570 bytes --]
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Digest for pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org - 9 Messages in 5 Topics
[not found] ` <87hah31tk7.fsf-FSW18o3YFTRi3wUd73v6UDnk2p4QjgQy@public.gmane.org>
2013-06-12 11:07 ` Werner LEMBERG
@ 2013-06-12 16:06 ` John MacFarlane
1 sibling, 0 replies; 4+ messages in thread
From: John MacFarlane @ 2013-06-12 16:06 UTC (permalink / raw)
To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw
+++ Uwe Brauer [Jun 12 13 13:01 ]:
> >> "pandoc-discuss" == pandoc-discuss <pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org> writes:
>
>
>
> > =============================================================================
> > Topic: stripmath
> > Url: http://groups.google.com/group/pandoc-discuss/t/d9e49b147d3b6715
> > =============================================================================
>
> > ---------- 1 of 2 ----------
> > From: Uwe Brauer <oub.oub.oub-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
> > Date: Jun 11 01:27PM +0200
> > Url: http://groups.google.com/group/pandoc-discuss/msg/f79fe2b20bb2ed81
>
>
> >> main = toJsonFilter stripmath
> >> where stripmath (Math _ _) = Str "FORMULA"
> >> stripmath x = x
>
>
>
> > ---------- 2 of 2 ----------
> > From: John MacFarlane <fiddlosopher-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
> > Date: Jun 11 10:19AM -0700
> > Url: http://groups.google.com/group/pandoc-discuss/msg/222445062fd4d894
>
> > The 'where' needs to be indented. Probably the leading spaces
> > got dropped by your email viewer.
>
> > Also, make sure the two occurrences of 'stripmath' after
> > 'where' start in the same column, one above the other.
>
> Ah, ok. I edited it in Xemacs in haskell mode and reindented the
> code. Works like charm!! Thanks a lot, the binary is 30 M!
Yes, that's because Haskell uses static linking by default.
If you don't want to compile a binary, though, you can just run
it interpreted, using
runghc stripmath.hs
instead of
./stripmath
> BTW is there a similar command also to get rid of the labels? Since they
> annoy the grammar checker.
What do you mean, "labels"?
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2013-06-12 16:06 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
[not found] <20cf3074b7f273ba4f04def2b471@google.com>
[not found] ` <20cf3074b7f273ba4f04def2b471-hpIqsD4AKlfQT0dZR+AlfA@public.gmane.org>
2013-06-12 11:01 ` Digest for pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org - 9 Messages in 5 Topics Uwe Brauer
[not found] ` <87hah31tk7.fsf-FSW18o3YFTRi3wUd73v6UDnk2p4QjgQy@public.gmane.org>
2013-06-12 11:07 ` Werner LEMBERG
[not found] ` <20130612.130713.72972183.wl-mXXj517/zsQ@public.gmane.org>
2013-06-12 14:33 ` Uwe Brauer
2013-06-12 16:06 ` John MacFarlane
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).