[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
branch master updated: * tp/Texinfo/Convert/LaTeX.pm (_latex_header): re
From: |
Patrice Dumas |
Subject: |
branch master updated: * tp/Texinfo/Convert/LaTeX.pm (_latex_header): readd framemethod=tikz option for mdframed for roundcorners for @cartouche formatting now that the \fbox in sectioning command issue has been solved. |
Date: |
Mon, 21 Feb 2022 14:04:11 -0500 |
This is an automated email from the git hooks/post-receive script.
pertusus pushed a commit to branch master
in repository texinfo.
The following commit(s) were added to refs/heads/master by this push:
new 721bf6709f * tp/Texinfo/Convert/LaTeX.pm (_latex_header): readd
framemethod=tikz option for mdframed for roundcorners for @cartouche formatting
now that the \fbox in sectioning command issue has been solved.
721bf6709f is described below
commit 721bf6709ff98c69ff912dc0ed62089d54f63044
Author: Patrice Dumas <pertusus@free.fr>
AuthorDate: Mon Feb 21 20:03:59 2022 +0100
* tp/Texinfo/Convert/LaTeX.pm (_latex_header): readd framemethod=tikz
option for mdframed for roundcorners for @cartouche formatting
now that the \fbox in sectioning command issue has been solved.
---
ChangeLog | 6 ++++++
tp/Texinfo/Convert/LaTeX.pm | 10 +++++-----
.../example_in_cartouche/res_latex/example_in_cartouche.tex | 2 +-
tp/tests/layout/res_parser/formatting_latex/formatting.tex | 2 +-
4 files changed, 13 insertions(+), 7 deletions(-)
diff --git a/ChangeLog b/ChangeLog
index 1cde6e1fed..67785a8351 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2022-02-21 Patrice Dumas <pertusus@free.fr>
+
+ * tp/Texinfo/Convert/LaTeX.pm (_latex_header): readd framemethod=tikz
+ option for mdframed for roundcorners for @cartouche formatting
+ now that the \fbox in sectioning command issue has been solved.
+
2022-02-21 Patrice Dumas <pertusus@free.fr>
* tp/Texinfo/Convert/LaTeX.pm (_convert): add a context if
diff --git a/tp/Texinfo/Convert/LaTeX.pm b/tp/Texinfo/Convert/LaTeX.pm
index efdb003cf1..07b100c77e 100644
--- a/tp/Texinfo/Convert/LaTeX.pm
+++ b/tp/Texinfo/Convert/LaTeX.pm
@@ -1264,10 +1264,9 @@ roundcorner=10pt}
# needspace for \needspace. In texlive-latex-extra in debian
# etoolbox for \patchcmd and \ifstrempty. In texlive-latex-recommended in
debian
# fontsize for \changefontsize. In texlive-latex-extra in debian
- # mdframed is used for the formatting of @cartouche.
- # framemethod=TikZ is needed for roundcorner, but there
- # is an issue with \fbox in sectioning commands when hyperref and imakeidx
- # are present too. No round corners for now for @cartouche.
+ # mdframed is used for the formatting of @cartouche,
+ # framemethod=TikZ is needed for roundcorner.
+ # Possibility for hyperref for color:
# \usepackage[linkbordercolor={0 0 0}]{hyperref}
# titleps is used and not fancyhdr as with fancyhdr it is hard to get
# the section or chapter title
@@ -1291,7 +1290,8 @@ roundcorner=10pt}
$header .= "\\usepackage{array}\n";
}
if ($self->{'packages'}->{'mdframed'}) {
- $header .= "\\usepackage{mdframed}\n";
+ # framemethod=tikz needed for roundcorners for @cartouche
+ $header .= "\\usepackage[framemethod=tikz]{mdframed}\n";
}
if ($self->{'packages'}->{'fontsize'}) {
$header .= "\\usepackage{fontsize}\n";
diff --git
a/tp/t/results/latex_tests/example_in_cartouche/res_latex/example_in_cartouche.tex
b/tp/t/results/latex_tests/example_in_cartouche/res_latex/example_in_cartouche.tex
index 2739e369ce..34e19f4b5b 100644
---
a/tp/t/results/latex_tests/example_in_cartouche/res_latex/example_in_cartouche.tex
+++
b/tp/t/results/latex_tests/example_in_cartouche/res_latex/example_in_cartouche.tex
@@ -6,7 +6,7 @@
\usepackage{textcomp}
\usepackage{graphicx}
\usepackage{etoolbox}
-\usepackage{mdframed}
+\usepackage[framemethod=tikz]{mdframed}
\usepackage{titleps}
\usepackage{float}
% use hidelinks to remove boxes around links to be similar with Texinfo TeX
diff --git a/tp/tests/layout/res_parser/formatting_latex/formatting.tex
b/tp/tests/layout/res_parser/formatting_latex/formatting.tex
index 7728228a8e..b1c570eb82 100644
--- a/tp/tests/layout/res_parser/formatting_latex/formatting.tex
+++ b/tp/tests/layout/res_parser/formatting_latex/formatting.tex
@@ -9,7 +9,7 @@
\usepackage{needspace}
\usepackage{etoolbox}
\usepackage{array}
-\usepackage{mdframed}
+\usepackage[framemethod=tikz]{mdframed}
\usepackage{enumitem}
\usepackage{titleps}
\usepackage{float}
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- branch master updated: * tp/Texinfo/Convert/LaTeX.pm (_latex_header): readd framemethod=tikz option for mdframed for roundcorners for @cartouche formatting now that the \fbox in sectioning command issue has been solved.,
Patrice Dumas <=