Control: forwarded -1 https://github.com/asciidoc/asciidoc/pull/42 Control: tags -1 + upstream Control: tags -1 + pending
Hi George, Sorry for the late reply. I created and upstream pull request to have it in the default style file. I've also created a patch to have it in the next Debian release (and pushed it to git) as we might certainly release before upstream. The details of the patch is attached to this mail. Best, Joseph
From bf223d8e5b2a7b39a8ac29fc7c014de6666a83ec Mon Sep 17 00:00:00 2001 From: Joseph Herlant <[email protected]> Date: Wed, 17 Sep 2014 16:39:21 +0200 Subject: [PATCH] Adding upquote package to default dblatex sty file Git-Dch: Short Closes: #752455 --- debian/patches/00list | 1 + debian/patches/752455_dblatex_quotes.dpatch | 18 ++++++++++++++++++ 2 files changed, 19 insertions(+) create mode 100755 debian/patches/752455_dblatex_quotes.dpatch diff --git a/debian/patches/00list b/debian/patches/00list index 57319cc..ea45169 100644 --- a/debian/patches/00list +++ b/debian/patches/00list @@ -7,3 +7,4 @@ fix_asciidoc_api_doc.dpatch html_bottom_date_change adding_testasciidoc_manpage vim-asciidoc-add_dummy_ftdetect +752455_dblatex_quotes diff --git a/debian/patches/752455_dblatex_quotes.dpatch b/debian/patches/752455_dblatex_quotes.dpatch new file mode 100755 index 0000000..e47d56a --- /dev/null +++ b/debian/patches/752455_dblatex_quotes.dpatch @@ -0,0 +1,18 @@ +#! /bin/sh /usr/share/dpatch/dpatch-run +## 752455_dblatex_quotes.dpatch by Joseph Herlant <[email protected]> +## Last update date: 2014-09-17 +## +## All lines beginning with `## DP:' are a description of the patch. +## DP: Preserves quotes when using a block of code in dblatex +## DP: Forwarded: https://github.com/asciidoc/asciidoc/pull/42 + +@DPATCH@ +diff -urNad '--exclude=CVS' '--exclude=.svn' '--exclude=.git' '--exclude=.arch' '--exclude=.hg' '--exclude=_darcs' '--exclude=.bzr' pkg-asciidoc~/dblatex/asciidoc-dblatex.sty pkg-asciidoc/dblatex/asciidoc-dblatex.sty +--- pkg-asciidoc~/dblatex/asciidoc-dblatex.sty 2014-06-15 18:07:29.000000000 +0200 ++++ pkg-asciidoc/dblatex/asciidoc-dblatex.sty 2014-09-17 16:33:42.267274481 +0200 +@@ -18,3 +18,5 @@ + + % For DocBook literallayout elements, see `./dblatex/dblatex-readme.txt`. + \usepackage{alltt} ++% To preserve simple quotes in the blocs of code ++\usepackage{upquote} -- 2.1.0

