public inbox archive for pandoc-discuss@googlegroups.com
 help / color / mirror / Atom feed
From: John MacFarlane <fiddlosopher-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
Subject: Re: C bindings
Date: Sun, 30 Jun 2013 11:30:37 -0700	[thread overview]
Message-ID: <20130630183036.GA17415@Johns-MacBook-Pro.local> (raw)
In-Reply-To: <CALeOzZ_BcVwuYTJwpQBSOhd9FMbU=Nu_F4=TtDeHLfNc2h3LYQ-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>

Thanks for doing this.  I've updated pandoc-extras.

+++ Shahbaz Youssefi [Jun 30 13 13:04 ]:
>    Hi again,
>    I updated libpandoc (for C bindings) to the current version of pandoc
>    and made some improvements. I sent a pull request to toyvo, but it has
>    been left unanswered (he's probably not so active on github). In the
>    meantime, you could
>    [refer]([1]https://github.com/jgm/pandoc/wiki/Pandoc-Extras) to my fork
>    at:
>    [2]https://github.com/ShabbyX/libpandoc
>    Have a nice day,
>    Shahbaz
> 
>    On Fri, Jun 28, 2013 at 2:12 PM, Shahbaz Youssefi
>    <[3]shabbyx-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:
> 
>    It seems like that was an error in the package itself. This
>    [question]([4]http://stackoverflow.com/q/17361047/912144) and its
>    answer have the solution.
> 
>    On Fri, Jun 28, 2013 at 11:23 AM, Shahbaz Youssefi
>    <[5]shabbyx-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:
> 
>    Thank you for the pointer. I am in the process of updating libpandoc to
>    work with pandoc 1.11 (actually above 1.10) where I came to a build
>    issue that I'm not sure how to resolve.
>    Loading package regex-pcre-builtin-0.94.4.6.8.31 ... linking ... ghc:
>    /home/XXXX/.cabal/lib/regex-pcre-builtin-0.94.4.6.8.31/ghc-7.4.1/HSrege
>    x-pcre-builtin-0.94.4.6.8.31.o: unknown symbol `utf8_table4'
>    ghc: unable to load package `regex-pcre-builtin-0.94.4.6.8.31'
>    Trying to reinstall regex-pcre-builtin with cabal gives a warning that
>    it may break pandoc.
>    The offending source code is this:
>    {-# LANGUAGE TemplateHaskell #-}
>    module LibPandoc.Instances where
>    import Data.Data
>    import Data.DeriveTH
>    import Text.Pandoc
>    import Text.Pandoc.Shared
>    $( derive makeTypeable ''ReaderOptions )
>    $( derive makeData ''ReaderOptions )
>    $( derive makeTypeable ''WriterOptions )
>    $( derive makeData ''WriterOptions )
>    $( derive makeTypeable ''HTMLMathMethod )
>    $( derive makeData ''HTMLMathMethod )
>    $( derive makeTypeable ''ObfuscationMethod )
>    $( derive makeData ''ObfuscationMethod )
>    Can you see anything wrong there?
>    Thank you again for the help,
>    Shahbaz
>    On Wed, Jun 26, 2013 at 7:14 PM, John MacFarlane
>    <[6]fiddlosopher-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:
> 
>      There is
>      [7]https://github.com/toyvo/libpandoc
>      but I'm not sure when it was last updated.
>      +++ Shahbaz Youssefi [Jun 26 13 09:32 ]:
> 
>    > Hi,
>    > I just came to know pandoc and it seems wonderful and I'm planning on
>    > using it in a project of mine. My project however is written in C.
>    > Given that making C bindings is a common operation for many languages
>    > (and I saw that for Haskell it too is possible), I was wondering if
>    > pandoc has any C bindings? If not, would it be a possibility to make
>    > those bindings?
>    > I know very basic Haskell, but I might be able to make the bindings
>    > myself with some struggle, if the developers are interested..
>    > Thank you,
>    > Shahbaz
>    >
>    > --
>    > 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 [8]pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
>    > To post to this group, send email to
>    [9]pandoc-discuss-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
>    > To view this discussion on the web visit
> 
>      >
>      [1][10]https://groups.google.com/d/msgid/pandoc-discuss/cc84a902-1bc
>      5-433f-
>      > b176-ce71dd8e3acd%[11]40googlegroups.com.
>      > For more options, visit
>      [2][12]https://groups.google.com/groups/opt_out.
>      >
>      > References
>      >
>      > 1.
>      [13]https://groups.google.com/d/msgid/pandoc-discuss/cc84a902-1bc5-4
>      33f-b176-ce71dd8e3acd%40googlegroups.com
>      > 2. [14]https://groups.google.com/groups/opt_out
> 
>    --
>    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 [15]pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
>    To post to this group, send email to
>    [16]pandoc-discuss-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
> 
>      To view this discussion on the web visit
>      [17]https://groups.google.com/d/msgid/pandoc-discuss/20130626171432.
>      GA1663%40protagoras.phil.berkeley.edu.
> 
>    For more options, visit [18]https://groups.google.com/groups/opt_out.
> 
>    --
>    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
>    [19]https://groups.google.com/d/msgid/pandoc-discuss/CALeOzZ_BcVwuYTJwp
>    QBSOhd9FMbU%3DNu_F4%3DTtDeHLfNc2h3LYQ%40mail.gmail.com.
>    For more options, visit [20]https://groups.google.com/groups/opt_out.
> 
> References
> 
>    1. https://github.com/jgm/pandoc/wiki/Pandoc-Extras
>    2. https://github.com/ShabbyX/libpandoc
>    3. mailto:shabbyx-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org
>    4. http://stackoverflow.com/q/17361047/912144
>    5. mailto:shabbyx-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org
>    6. mailto:fiddlosopher-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org
>    7. https://github.com/toyvo/libpandoc
>    8. mailto:pandoc-discuss%2Bunsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
>    9. mailto:pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
>   10. https://groups.google.com/d/msgid/pandoc-discuss/cc84a902-1bc5-433f-
>   11. http://40googlegroups.com/
>   12. https://groups.google.com/groups/opt_out
>   13. https://groups.google.com/d/msgid/pandoc-discuss/cc84a902-1bc5-433f-b176-ce71dd8e3acd%40googlegroups.com
>   14. https://groups.google.com/groups/opt_out
>   15. mailto:pandoc-discuss%2Bunsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
>   16. mailto:pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
>   17. https://groups.google.com/d/msgid/pandoc-discuss/20130626171432.GA1663%40protagoras.phil.berkeley.edu
>   18. https://groups.google.com/groups/opt_out
>   19. https://groups.google.com/d/msgid/pandoc-discuss/CALeOzZ_BcVwuYTJwpQBSOhd9FMbU%3DNu_F4%3DTtDeHLfNc2h3LYQ%40mail.gmail.com
>   20. https://groups.google.com/groups/opt_out


  parent reply	other threads:[~2013-06-30 18:30 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-06-26 16:32 Shahbaz Youssefi
     [not found] ` <cc84a902-1bc5-433f-b176-ce71dd8e3acd-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
2013-06-26 17:14   ` John MacFarlane
     [not found]     ` <20130626171432.GA1663-nFAEphtLEs+AA6luYCgp0U1S2cYJDpTV9nwVQlTi/Pw@public.gmane.org>
2013-06-28  9:23       ` Shahbaz Youssefi
     [not found]         ` <CALeOzZ_ypqU1fT=cBd8-JNLBeEG3RK0v2VJ1JTh3Q1FS11n6uQ-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2013-06-28 12:12           ` Shahbaz Youssefi
     [not found]             ` <CALeOzZ-Gf=QTQdWa6yb8yG3EWiOUE1kmmUHwT9Axj6aHgPhedQ-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2013-06-30 11:04               ` Shahbaz Youssefi
     [not found]                 ` <CALeOzZ_BcVwuYTJwpQBSOhd9FMbU=Nu_F4=TtDeHLfNc2h3LYQ-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2013-06-30 18:30                   ` John MacFarlane [this message]
     [not found]                     ` <20130630183036.GA17415-9Rnp8PDaXcadBw3G0RLmbRFnWt+6NQIA@public.gmane.org>
2015-02-24 14:39                       ` Shahbaz Youssefi
     [not found]                         ` <01aacd0c-291e-455d-9fc0-0673a904671c-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
2015-02-24 14:44                           ` Matthew Pickering
     [not found]                             ` <CALuQ0m_3c63CN4VLEqMM953bxi=mou4M7+rukbdo9H1=7em7sQ-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2015-02-24 14:51                               ` Shahbaz Youssefi
     [not found]                                 ` <CALeOzZ9Ru015fD-=djS34LYOryiaCXs6NnmbBP=51L-9ZxexTg-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2015-02-24 15:00                                   ` Shahbaz Youssefi
     [not found]                                     ` <CALeOzZ9_oPFaDY0FEnLSSOVno2Ut6oq0VAK1q5gYKYZwfQmimg-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2015-02-26 18:56                                       ` Shahbaz Youssefi
     [not found]                                         ` <CALeOzZ8xyQC6w3xadF4q7szJW7XhXwGytHuvS1oX8S_b2AzKHA-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2015-02-26 23:02                                           ` Matthew Pickering
     [not found]                                             ` <CALuQ0m980cpfsfEd2ugnwydg7jdqtdV44VLgNYhY8SX8-bpfoA-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2015-02-27 10:03                                               ` Shahbaz Youssefi
2021-06-02 10:23 Esteban Lorenzano
     [not found] ` <058b4e30-1bcc-4b5a-be92-d47e7abf47d7n-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
2021-06-02 10:53   ` Albert Krewinkel

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=20130630183036.GA17415@Johns-MacBook-Pro.local \
    --to=fiddlosopher-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).