[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
branch master updated: @indentedblock for LaTeX
From: |
Gavin D. Smith |
Subject: |
branch master updated: @indentedblock for LaTeX |
Date: |
Mon, 08 Aug 2022 06:55:35 -0400 |
This is an automated email from the git hooks/post-receive script.
gavin pushed a commit to branch master
in repository texinfo.
The following commit(s) were added to refs/heads/master by this push:
new 7850e47d79 @indentedblock for LaTeX
7850e47d79 is described below
commit 7850e47d796d24ef83f943b7c7543694a92b86a3
Author: Gavin Smith <gavinsmith0123@gmail.com>
AuthorDate: Mon Aug 8 11:55:10 2022 +0100
@indentedblock for LaTeX
* tp/Texinfo/Convert/LaTeX.pm (%LaTeX_environment_commands):
Use 'quote' environment for @indentedblock and @smallindentedblock.
Add comment stating that right margin is incorrect.
---
ChangeLog | 8 ++++++++
tp/Texinfo/Convert/LaTeX.pm | 8 ++++++--
2 files changed, 14 insertions(+), 2 deletions(-)
diff --git a/ChangeLog b/ChangeLog
index d33566c40f..8f186f37b3 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,11 @@
+2022-08-08 Gavin Smith <gavinsmith0123@gmail.com>
+
+ @indentedblock for LaTeX
+
+ * tp/Texinfo/Convert/LaTeX.pm (%LaTeX_environment_commands):
+ Use 'quote' environment for @indentedblock and @smallindentedblock.
+ Add comment stating that right margin is incorrect.
+
2022-08-08 Gavin Smith <gavinsmith0123@gmail.com>
Remove vertical space after definition line
diff --git a/tp/Texinfo/Convert/LaTeX.pm b/tp/Texinfo/Convert/LaTeX.pm
index c1da4765ef..04d0b10b44 100644
--- a/tp/Texinfo/Convert/LaTeX.pm
+++ b/tp/Texinfo/Convert/LaTeX.pm
@@ -36,8 +36,6 @@
#
# indentation in @example, @display... still needs to be done
#
-# @indentedblock and @smallindentedblock
-#
# @group should also be added together with the non filled environments.
#
# Texinfo TeX leaves more space for the category on the right
@@ -174,6 +172,10 @@
# should be formatted as. So this should probably not be considered
# as an issue, at least until we get user reports.
# https://lists.gnu.org/archive/html/bug-texinfo/2006-06/msg00030.html
+#
+# @indentedblock and @smallindentedblock should not have a wider right
+# margin.
+#
package Texinfo::Convert::LaTeX;
@@ -510,6 +512,8 @@ my %LaTeX_environment_commands = (
'raggedright' => ['flushleft'],
'quotation' => ['quote'],
'smallquotation' => ['quote', $small_font_size],
+ 'indentedblock' => ['quote'],
+ 'smallindentedblock' => ['quote', $small_font_size],
'cartouche' => ['mdframed'],
'itemize' => ['itemize'],
'enumerate' => ['enumerate'],
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- branch master updated: @indentedblock for LaTeX,
Gavin D. Smith <=