[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#963128: pandoc: conversion from docbook: missing space between firstname and lastname



Quoting Vincent Lefevre (2020-06-19 13:56:31)
> Package: pandoc
> Version: 2.5-3+b1
> Severity: normal
> 
> When converting from docbook, a space is missing between the firstname
> and the lastname in the generated file:
> 
> <?xml version="1.0"?>
> <!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook XML V4.2//EN"
>   "http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd";>
> <book>
> 
> <bookinfo>
> <title>Title</title>
> <author>
> <firstname>Firstname</firstname><surname>Lastname</surname>
> </author>
> <releaseinfo>1.17</releaseinfo>
> </bookinfo>
> 
> <para>Text.</para>
> 
> </book>
> 
> $ pandoc -s -f docbook manual.xml -t html
> [...]
> <p class="author">FirstnameLastname</p>
> [...]
> 
> $ pandoc -s -f docbook manual.xml -t texinfo
> [...]
> @author FirstnameLastname
> [...]
> 
> -- System Information:
> Debian Release: bullseye/sid
>   APT prefers unstable-debug
>   APT policy: (500, 'unstable-debug'), (500, 'stable-updates'), (500, 'unstable'), (500, 'testing'), (500, 'stable'), (1, 'experimental')
> Architecture: amd64 (x86_64)
> 
> Kernel: Linux 5.6.0-2-amd64 (SMP w/8 CPU cores)
> Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
> Locale: LANG=POSIX, LC_CTYPE=C.UTF-8 (charmap=UTF-8), LANGUAGE=POSIX (charmap=UTF-8)
> Shell: /bin/sh linked to /bin/dash
> Init: systemd (via /run/systemd/system)
> LSM: AppArmor: enabled
> 
> Versions of packages pandoc depends on:
> ii  libatomic1   10.1.0-4
> ii  libc6        2.30-8
> ii  libffi7      3.3-4
> ii  libgmp10     2:6.2.0+dfsg-6
> ii  libpcre3     2:8.39-13
> ii  pandoc-data  2.5-3
> ii  zlib1g       1:1.2.11.dfsg-2
> 
> pandoc recommends no packages.
> 
> Versions of packages pandoc suggests:
> ii  context                    2020.03.10.20200331-1
> pn  ghc                        <none>
> ii  groff                      1.22.4-5
> ii  libjs-mathjax              2.7.8+dfsg-1
> ii  librsvg2-bin               2.48.7-1
> pn  node-katex                 <none>
> ii  nodejs                     12.18.0~dfsg-3
> pn  pandoc-citeproc            <none>
> ii  perl                       5.30.3-4
> pn  php                        <none>
> ii  python                     2.7.17-2
> pn  r-base-core                <none>
> ii  ruby                       1:2.7+1
> ii  texlive-latex-extra        2020.20200522-1
> ii  texlive-latex-recommended  2020.20200522-1
> ii  texlive-luatex             2020.20200522-1
> ii  texlive-xetex              2020.20200522-1
> pn  wkhtmltopdf                <none>
> 
> -- no debconf information
> 
> -- 
> Vincent Lef�vre <vincent@vinc17.net> - Web: <https://www.vinc17.net/>
> 100% accessible validated (X)HTML - Blog: <https://www.vinc17.net/blog/>
> Work: CR INRIA - computer arithmetic / AriC project (LIP, ENS-Lyon)
> 

-- 
 * Jonas Smedegaard - idealist & Internet-arkitekt
 * Tlf.: +45 40843136  Website: http://dr.jones.dk/

 [x] quote me freely  [ ] ask before reusing  [ ] keep private

Attachment: signature.asc
Description: signature


Reply to: