From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/29232 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Igor Lumpus Newsgroups: gmane.text.pandoc Subject: Converting from Doc-book to Markdown fails for biblioentry->title and bibliomixed->title Date: Mon, 13 Sep 2021 07:19:49 -0700 (PDT) Message-ID: <07c131fd-6189-473d-af2f-b74c0d0a47fen@googlegroups.com> Reply-To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_Part_3308_859982423.1631542789525" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="8611"; mail-complaints-to="usenet@ciao.gmane.io" To: pandoc-discuss Original-X-From: pandoc-discuss+bncBD6YDTOH3UFRBB547WEQMGQEU2W2DRI-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Mon Sep 13 16:20:00 2021 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane-mx.org Original-Received: from mail-oo1-f57.google.com ([209.85.161.57]) by ciao.gmane.io with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1mPmoL-0001i9-5v for gtp-pandoc-discuss@m.gmane-mx.org; Mon, 13 Sep 2021 16:19:53 +0200 Original-Received: by mail-oo1-f57.google.com with SMTP id o32-20020a4a95a3000000b0029018f4f7c3sf7670503ooi.22 for ; Mon, 13 Sep 2021 07:19:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20210112; h=sender:date:from:to:message-id:subject:mime-version :x-original-sender:reply-to:precedence:mailing-list:list-id :list-post:list-help:list-archive:list-subscribe:list-unsubscribe; bh=WdnlkgKoBngWjo46GZX+9utDLU6AqJh0D0yrLeR+IL8=; b=P8O1FzxOfm34EY0b2C9ED8CqhJG1f78WWwQjb1N9jtuypcb8Uem5CtvtapzB0Y5o+Z kSbwnXx+jzdf5/Chyv/jw8xdeJ/NfAhdPHZKsxPbJnWcuaXrRVN0xYh6+2GTHefZcw3w GCg4Y1KvvYYlUycsflJFDM2nPvddLHjYgSlFmeycctnK2Tx4e/FLeFKzMFqkcyS3sKq/ o7SMznVlK4lAAQhFMobUG5MigLUFyuX1xJnAWwas6aoQPCX6NRvM8PBl0cQGGlRd5AYj aC5NDinNE2e7dopbuDDwiyaktvJvyTO/khudWtM97wmbcJhw9LCStd0fLsMV2Za/NGoN 5oig== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=date:from:to:message-id:subject:mime-version:x-original-sender :reply-to:precedence:mailing-list:list-id:list-post:list-help :list-archive:list-subscribe:list-unsubscribe; bh=WdnlkgKoBngWjo46GZX+9utDLU6AqJh0D0yrLeR+IL8=; b=Y4YLeWNzEVo9iFrnR39UMNdAUT7ATl0dSRs1tXM6NnyiTw0kmEqUdwkPih/GTWI1h6 uG2uiex6Ej63Py+bJU6FbcgzjJDAiTKcmAiy1poUtHQ8ZbamoalOAvQKsMRXN7zrlumN rHixtjg5CeZyXG103kJhesGS6Ghczs/FdkfdFUCnezD7hrZRJbyn/i1K4NoAVr9GQ7Lt TR8kzOaD7Y0iRslBPHi1q4ijcgaMFyT08Y+Q0qPgW/1Wzmlrq2c/4dnsBaEh8rlLtLPu jbtr7xlFdt+LITe96nqiKQZiR3lW6FY7ec1KohCW6utqlMnzEUDwzBpNM6qOVwGQAXfJ NmFA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=sender:x-gm-message-state:date:from:to:message-id:subject :mime-version:x-original-sender:reply-to:precedence:mailing-list :list-id:x-spam-checked-in-group:list-post:list-help:list-archive :list-subscribe:list-unsubscribe; bh=WdnlkgKoBngWjo46GZX+9utDLU6AqJh0D0yrLeR+IL8=; b=omhG8ElJI4zhfaUf7Gogz5H8pE1we6C1bfn3OZyFtd95AOTrIpOH6UvEUe3VRAkXkZ kuvsiVqjAfeMGn7xxj83V+G5wsoGxilYfsjaa6Uq85qSW5zwXM5UfdxL8xKStUOP2Xmg MvMiQqtnrDWPDpeYnB2afcPk6HLwb1xFzCBqDGCuUFkl5cMgNy1bWHkAhINqspKlmuT3 pUWL50xgcV6isnTgE+RlZYUXgI8yk7cZ22TZJfXMPcHVe7n0rxy+HSL634s3EfBC1dGe AEjLi5TIc/DsCdQCtniLm+6XGF3Gnup0wArMZbNdMTLK/JZkog+VrYV1YHBlAAvfjgB8 EuRQ== Original-Sender: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org X-Gm-Message-State: AOAM5337WYA30Mgt6ZMqkRZ4liRQJZWim5o8pJ9uhBSWXOKaQI8j3BCw KtGu8Sx+pYAZfWC6XhYVDzA= X-Google-Smtp-Source: ABdhPJwTDIjNvhKlOObJ3cLP5ItkyDYo3d287EvDv7cq/klpcWXkr6ZcyRH6Rf45Tyty26uhnr+yLQ== X-Received: by 2002:a05:6830:2704:: with SMTP id j4mr10091992otu.299.1631542792186; Mon, 13 Sep 2021 07:19:52 -0700 (PDT) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 2002:a4a:760b:: with SMTP id t11ls471611ooc.6.gmail; Mon, 13 Sep 2021 07:19:50 -0700 (PDT) X-Received: by 2002:a05:6820:1606:: with SMTP id bb6mr9438924oob.7.1631542790076; Mon, 13 Sep 2021 07:19:50 -0700 (PDT) X-Original-Sender: igorlopez.gbg-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org Precedence: list Mailing-list: list pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org; contact pandoc-discuss+owners-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org List-ID: X-Google-Group-Id: 1007024079513 List-Post: , List-Help: , List-Archive: , List-Unsubscribe: , Xref: news.gmane.io gmane.text.pandoc:29232 Archived-At: ------=_Part_3308_859982423.1631542789525 Content-Type: multipart/alternative; boundary="----=_Part_3309_391137008.1631542789525" ------=_Part_3309_391137008.1631542789525 Content-Type: text/plain; charset="UTF-8" I am trying to convert doc-book xml that contains bibliography tags like: Bibliography A1 Test doc A1 A2 Test doc A2 by running the command (from Powershell on a WIndows 10 PC) > pandoc.exe -f docbook -t markdown -s 'simple.xml' -o simple.md Note, the above cutout tested both using biblioentry and bibliomixed tags with no impact. The output file lacks the title element where it looks like: # Bibliography A1 A2 whereas my expectations would have been something like this in simplest form: # Bibliography A1:Test doc A1 A2:Test doc A2 and an even better markdown output would have created a table like: # Bibliography |abbrev | title | | --- | --- | |A1|Test doc A1| |A2|Test doc A2| Any thoughts? -- 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/07c131fd-6189-473d-af2f-b74c0d0a47fen%40googlegroups.com. ------=_Part_3309_391137008.1631542789525 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable I am trying to convert doc-book xml that contains bibliography tags like:
      <bibliography>
 &nbs= p;       <title>Bibliography</t= itle>
         &l= t;biblioentry>
        = ;    <abbrev>A1</abbrev>
 &n= bsp;          <title&g= t;Test doc A1</title>
    &nb= sp;    </biblioentry>
   = ;      <bibliomixed>
 &n= bsp;          <abbrev&= gt;A2</abbrev>
       &n= bsp;    <title>Test doc A2</title>= ;
         </bibl= iomixed>
      </bibliography= >
by running the command (from Powershe= ll on a WIndows 10 PC)
  > pandoc.exe -f docbook -t = markdown  -s 'simple.xml' -o simple.md
Note, the above cutou= t tested both using biblioentry and bibliomixed tags with no impact.
<= div>
The output file lacks the title element where it looks l= ike:
# Bibliography

A1
A2

whereas my expectations woul= d have been something like this in simplest form:
# Bib= liography

A1:Test doc A1

<= /div>
A2:Test doc A2

and an ev= en better markdown output would have created a table like:
<= div># Bibliography

|abbrev | title |
| -= -- | --- |
|A1|Test doc A1|
|A2|Test doc=  A2|

Any thoughts?

--
You received this message because you are subscribed to the Google Groups &= quot;pandoc-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an e= mail to pand= oc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
To view this discussion on the web visit https://groups.google.com/d= /msgid/pandoc-discuss/07c131fd-6189-473d-af2f-b74c0d0a47fen%40googlegroups.= com.
------=_Part_3309_391137008.1631542789525-- ------=_Part_3308_859982423.1631542789525--