Your message dated Tue, 08 Oct 2024 17:18:37 +0900
with message-id <[email protected]>
and subject line Re: Bug#1084777: Acknowledgement (broken conversion of
emphasis + superscript to docbook xml)
has caused the Debian Bug report #1084777,
regarding broken conversion of emphasis + superscript to docbook xml
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.)
--
1084777: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1084777
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Source: asciidoctor
Version: 2.0.23-1
Severity: normal
Tags: upstream
As reported to the upstream:
https://github.com/asciidoctor/asciidoctor/issues/4628
I found this problem when using asciidoctor for `debamake-doc` package.
In this sense, I really used current sid environment (2.0.31-1) too.
== From my upstream bug report ==
I used asciidoctor (2 versions are tested: docker image=2.0.23 and
Debian/stable=2.0.18) for test and I encounter the following broken output for
DocBook while HTML doesn't suffer this problem. See below for test sample data,
buggy result, and Makefile to reproduce bug.
Input file (test.asc):
```
// vim:set filetype=asciidoc:
= TEST
* B^SUPER^E
* B**^SUPER^**E
* B^*SUPER*^E
* B^**SUPER**^E
```
DocBook conversion result below (the first 2 itemized lines are good, the last
2 itemized lines are bad):
```
<?xml version="1.0" encoding="UTF-8"?>
<?asciidoc-toc?>
<?asciidoc-numbered?>
<book xmlns="http://docbook.org/ns/docbook"
xmlns:xl="http://www.w3.org/1999/xlink" version="5.0" xml:lang="en">
<info>
<title>TEST</title>
<date>2024-10-01</date>
</info>
<preface>
<title></title>
<itemizedlist>
<listitem>
<simpara>B<superscript>SUPER</superscript>E</simpara>
</listitem>
<listitem>
<simpara>B<emphasis
role="strong"><superscript>SUPER</superscript></emphasis>E</simpara>
</listitem>
<listitem>
<simpara>B^<emphasis role="strong">SUPER</emphasis>^E</simpara>
</listitem>
<listitem>
<simpara>B^<emphasis role="strong">SUPER</emphasis>^E</simpara>
</listitem>
</itemizedlist>
</preface>
</book>
```
You see non-converted-`^`s.
HTML page doesn't have this problem.
FYI: My `Makefile` :
```
ASCIIDOC := podman run -it -v .:/documents/ \
docker.io/asciidoctor/docker-asciidoctor asciidoctor
DOCNAME := test
all: test.html test.xml
clean:
rm -rf *.xml *.html
%.xml: %.asc
$(ASCIIDOC) --doctype book\
-b docbook \
-a 'newline=\n' \
$<
%.html: %.asc
$(ASCIIDOC) --doctype book\
-b html \
-a toc2 \
-a 'newline=\n' \
$<
```
-- System Information:
Debian Release: 12.7
APT prefers stable-updates
APT policy: (500, 'stable-updates'), (500, 'stable-security'), (500, 'stable')
Architecture: amd64 (x86_64)
Kernel: Linux 6.5.0-0.deb12.4-amd64 (SMP w/12 CPU threads; PREEMPT)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8),
LANGUAGE=en_US:en
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
--- End Message ---
--- Begin Message ---
Hi,
As upstream pointed to me, this is user issue .
So closing this bug report.
Excuse me for the noise.
Osamu
On Tue, 2024-10-08 at 05:39 +0000, Debian Bug Tracking System wrote:
> Thank you for filing a new Bug report with Debian.
>
> You can follow progress on this Bug here: 1084777:
> https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1084777.
>
> This is an automatically generated reply to let you know your message
> has been received.
>
> Your message is being forwarded to the package maintainers and other
> interested parties for their attention; they will reply in due course.
>
> Your message has been sent to the package maintainer(s):
> Debian Ruby Team <[email protected]>
>
> If you wish to submit further information on this problem, please
> send it to [email protected].
>
> Please do not send mail to [email protected] unless you wish
> to report a problem with the Bug-tracking system.
>
--- End Message ---