Your message dated Thu, 29 Aug 2013 21:26:28 +0200
with message-id <[email protected]>
and subject line fixed upstream since 1.8
has caused the Debian Bug report #611328,
regarding Can not parse title and sub-title from reStructuredText-file
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 [email protected]
immediately.)


-- 
611328: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=611328
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: pandoc
Version: 1.6-1~0jones1
Severity: normal


When I start reStructuredText-file, its title and sub-title is written
like this:

---- Clip here ----

####################################
Läsnäolon voima -kirjan harjoitukset
####################################

=============
Muistiinpanot
=============

---- Clip here ----

But when I convert it to Docbook, it becomes this:

---- Clip here ----
<?xml version="1.0" encoding="utf-8" ?>
<!DOCTYPE article PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN"
                  "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd";>
<article>
  <articleinfo>
    <title></title>
  </articleinfo>
<para>
  #################################### Läsnäolon voima -kirjan
  harjoitukset ####################################
</para>
<section id="muistiinpanot">
  <title>Muistiinpanot</title>

---- Clip here ----

This is stupid bug!

Now I need this stupid kludge to fix it:

pandoc -f rst -t docbook -s harjoitukset.txt | sed 's/\#*//g' \
| sed 's/<title><\/title>/<title>Läsnäolon voima -kirjan 
harjoitukset<\/title>/' >| harjoitukset.xml

In addition, I can not use any subtitle at all.

Now that Docbook-code looks like this:

---- Clip here ----
<?xml version="1.0" encoding="utf-8" ?>
<!DOCTYPE article PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN"
                  "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd";>
<article>
  <articleinfo>
    <title>Läsnäolon voima -kirjan harjoitukset</title>
  </articleinfo>
<para>
   Läsnäolon voima -kirjan
  harjoitukset 
</para>
---- Clip here ----

Blah! A little bit better. But it causes problems, when I convert that
Docbook-file to EPUB with dbtoepub: First it has title in right way,
but then that title comes again in normal font. It looks very stupid.


-- System Information:
Debian Release: 6.0
  APT prefers stable
  APT policy: (1100, 'stable'), (990, 'testing'), (500, 
'testing-proposed-updates'), (500, 'proposed-updates'), (102, 'stable'), (101, 
'unstable')
Architecture: i386 (i686)

Kernel: Linux 2.6.32-5-686 (SMP w/1 CPU core)
Locale: LANG=fi_FI.utf8, LC_CTYPE=fi_FI.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages pandoc depends on:
ii  libc6                   2.11.2-9         Embedded GNU C Library: Shared lib
ii  libffi5                 3.0.9-3          Foreign Function Interface library
ii  libgmp3c2               2:4.3.2+dfsg-1   Multiprecision arithmetic library
ii  libpcre3                8.02-1.1         Perl 5 Compatible Regular Expressi
ii  zlib1g                  1:1.2.3.4.dfsg-3 compression library - runtime

pandoc recommends no packages.

Versions of packages pandoc suggests:
ii  texlive-latex-extra           2009-10    TeX Live: LaTeX supplementary pack
ii  texlive-latex-recommended     2009-11    TeX Live: LaTeX recommended packag
ii  texlive-xetex                 2009-11    TeX Live: XeTeX packages

-- no debconf information

-- 
Juhapekka "naula" Tolvanen * http colon slash slash iki dot fi slash juhtolv
"Quidquid Latine dictum sit altum videtur."



--- End Message ---
--- Begin Message ---
Version: 1.8

Quoting John MacFarlane (2012-08-20 15:01:21):
> This bug was fixed in pandoc 1.8, as noted in the changelog.

Closing accordingly.

Thanks, Juhapekka for reporting, and John for fixing and reporting here.


 - Jonas

-- 
 * 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


--- End Message ---

Reply via email to