Your message dated Tue, 01 Aug 2017 23:04:53 +0000
with message-id <e1dcgdd-000eko...@fasolo.debian.org>
and subject line Bug#870248: fixed in pandoc 1.19.2.1.0-1
has caused the Debian Bug report #870248,
regarding pandoc: Collision for lang-Variable when using specific language for 
pandoc-citeproc and Babel (Latex)
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)


-- 
870248: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=870248
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: pandoc
Version: 1.19.2.1~dfsg+really1.19.1-1
Severity: normal

Dear Maintainer,

it seems that both Babel and pandoc-citeproc use `lang` as a variable to set 
the language, but they don't use the same language codes, e.g. for german: 
ngerman (Babel) and de-DE (pandoc-citeproc), so when using Babel and 
pandoc-citeproc, setting another language throws an error either from Babel or 
from pandoc-citeproc. This issue has been reportedly solved in the most recent 
versions of pandoc -- see https://github.com/jgm/pandoc-citeproc/issues/297 )

What I'm trying to do: Generate a PDF from Markdown using two separate files 
(markdown + yaml)

pandoc -o test.pdf --csl my.csl --bibliography mybib.bib test.md test.yaml

The lang is defined in test.yaml. If I set lang: ngerman, pandoc-citeproc 
throws an error because it is looking for locales-ng.xml, which doesn't exist.
If I set lang: de-DE, Babel throws an error because it doesn't know that 
language.


There is a workaround:

It seems, that pandoc-citeproc takes the first two letters of the lang variable 
and then looks for a file named locales-xx.xml, where xx are the first two 
letters of the lang variable, e.g. when defining lang: ngerman, pandoc-citeproc 
looks for locales-ng.xml.
Making a symbolic link from locales-ng.xml to locales-de-DE.xml did the trick. 
I haven't tried other languages, though.

Best,
Claus-Michael

-- System Information:
Debian Release: buster/sid
  APT prefers unstable
  APT policy: (990, 'unstable'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 4.11.0-2-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), 
LANGUAGE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages pandoc depends on:
ii  libc6            2.24-12
ii  libffi6          3.2.1-6
ii  libgmp10         2:6.1.2+dfsg-1
ii  liblua5.1-0      5.1.5-8.1+b2
ii  libluajit-5.1-2  2.0.4+dfsg-1+b1
ii  libpcre3         2:8.39-4
ii  libyaml-0-2      0.1.7-2
ii  pandoc-data      1.19.2.1~dfsg+really1.19.1-1
ii  zlib1g           1:1.2.8.dfsg-5

pandoc recommends no packages.

Versions of packages pandoc suggests:
ii  pandoc-citeproc            0.10.4.1-2+b3
ii  texlive-latex-extra        2017.20170724-1
ii  texlive-latex-recommended  2017.20170724-1
pn  texlive-luatex             <none>
ii  texlive-xetex              2017.20170724-1
ii  wkhtmltopdf                0.12.3.2-3

-- no debconf information

--- End Message ---
--- Begin Message ---
Source: pandoc
Source-Version: 1.19.2.1.0-1

We believe that the bug you reported is fixed in the latest version of
pandoc, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 870...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Jonas Smedegaard <d...@jones.dk> (supplier of updated pandoc package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmas...@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Tue, 01 Aug 2017 12:33:19 -0400
Source: pandoc
Binary: pandoc pandoc-data libghc-pandoc-dev libghc-pandoc-doc 
libghc-pandoc-prof
Architecture: source
Version: 1.19.2.1.0-1
Distribution: unstable
Urgency: medium
Maintainer: Debian Haskell Group 
<pkg-haskell-maintainers@lists.alioth.debian.org>
Changed-By: Jonas Smedegaard <d...@jones.dk>
Description:
 libghc-pandoc-dev - general markup converter - libraries
 libghc-pandoc-doc - general markup converter - library documentation
 libghc-pandoc-prof - general markup converter - profiling libraries
 pandoc     - general markup converter
 pandoc-data - general markup converter - data files
Closes: 870248
Changes:
 pandoc (1.19.2.1.0-1) unstable; urgency=medium
 .
   [ upstream ]
   * New release(s).
     + Fixes lang-Variable collision between pandoc-citeproc and Babel.
       Closes: Bug#870248. Thanks to Claus-Michael.
 .
   [ Jonas Smedegaard ]
   * Update package relations:
     + Add GHC for skylighting (replacing highlighting-kate).
     + Relax GHC upper bounds for aeson blaze-html blaze-markup vector.
   * Update copyright info: Extend coverage for main authors.
   * Drop patch 2003 (relax GHC upper bounds for directory): Relaxed
     upstream now.
   * Unfuzz patches.
   * Add patches cherry-picked upstream to use newer skylighting and
     mention skylighting (not highlighting-kate) in manpage.
Checksums-Sha1:
 9fed5027ae3758506997168b7d9752568ff27901 5389 pandoc_1.19.2.1.0-1.dsc
 0e08169e97364e78e876a846df6a3cceb2a1facb 2755101 pandoc_1.19.2.1.0.orig.tar.gz
 ee973e000a25870a9ed0bf2d3cae2c06e24b7347 39420 
pandoc_1.19.2.1.0-1.debian.tar.xz
 91b0cfdd055beb0d20b67524eb2cfdaa8b9357cf 17315 
pandoc_1.19.2.1.0-1_amd64.buildinfo
Checksums-Sha256:
 e4c5493c42b55855a82ce0e999daec8d0ad939eaec5ee81d594406365c4c3b13 5389 
pandoc_1.19.2.1.0-1.dsc
 08692f3d77bf95bb9ba3407f7af26de7c23134e7efcdafad0bdaf9050e2c7801 2755101 
pandoc_1.19.2.1.0.orig.tar.gz
 b12772ae0e03bad9fab91cbb3e54f7e81c866a3a1a1bc2439107ed178c765d3b 39420 
pandoc_1.19.2.1.0-1.debian.tar.xz
 001da98b1b97a653dd5e31c4c56b3ed0de09e1e533dafbd9a65fad1ec06e13a5 17315 
pandoc_1.19.2.1.0-1_amd64.buildinfo
Files:
 5e705bb86884d111fb1b7cd0ff5be75c 5389 text optional pandoc_1.19.2.1.0-1.dsc
 9acce8bca24d0cebda5ac61eafbd4eaf 2755101 text optional 
pandoc_1.19.2.1.0.orig.tar.gz
 1e82299fdcff6acd9cf517a66ba34eef 39420 text optional 
pandoc_1.19.2.1.0-1.debian.tar.xz
 67a770a9adc72656cd19c0c072447e4b 17315 text optional 
pandoc_1.19.2.1.0-1_amd64.buildinfo

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEEn+Ppw2aRpp/1PMaELHwxRsGgASEFAlmBBR0ACgkQLHwxRsGg
ASHCjQ/9E/xnRP7z2r5cCM9hp0z65myT4pAWCOPAlRHWuwAXEM74t5no4nCYd7GE
9tP6k0bBNC+oie0gHdS17Bnt2LvE3UNFQkzY5vi2zyms7CuTVgoGb7Q1va0kCM6x
uMRsoRF+5M+JBsik4JwCOa2e1rbEsUYr3r8ETpRV0jzVqdMGieTKjaRsgMwpngQb
2w3IC2RuOke2pxeW50LZ1fGxUVv5XZsfTgptJNPDETB/0czHQGb3gV9rvS1dWCTw
oU5XyJ7QN+YbtriBNWq4l+u6p+RGku4lq7QGrGM3WfSnLH7wSaLTWjRI9puAWc/J
j6flhNn1MYG6wSJoBoDgsBYaBGyYyOC7DjLYF+q+RxYKP8ILuUz4QOLi48D6BlS+
/LAKxdybFZ84M9ZsNFGGB7eJtyz6ZaRNbQTxSN+S9s1e8nX8tbIWKNPN3LOqpBEK
6SkolHN9WGpY/3aJE8pDXdz1t4sU+lsNJ0twm1FqrRPoFzwTonTh/fEUmUCGfXgJ
mbDBBjlWFTHFEbd0kS5FUyDbmsyhSUkfe95c0DlL1GhIPyo0bwOhbQvzjNNhSU2J
ITVIyOndXe41d+vtt5+rPaW3ZKlLAW/XxSQYqym99VURPnLDwWcr/zCCP0uZfYDI
XRdzfKigAGF2Y8xNinB2KriXvlKCqOwu2F2pK6b290/pwvTNxXo=
=zIFB
-----END PGP SIGNATURE-----

--- End Message ---
_______________________________________________
Pkg-haskell-maintainers mailing list
Pkg-haskell-maintainers@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-haskell-maintainers

Reply via email to