mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2025-02-25 18:55:22 -06:00
Failed to build PDF with framed.sty 0.95
The framed.sty which ubuntu precise bundles does not uses \OuterFrameSep macro yet.
This commit is contained in:
parent
8fa890c5fd
commit
d7dd00a898
1
CHANGES
1
CHANGES
@ -17,6 +17,7 @@ Bugs fixed
|
||||
* latex: allow one more nesting depth for code-blocks (ref #777, PR #2624)
|
||||
* #2635: Latex code directives produce inconsistent frames based on viewing resolution
|
||||
* #2639: Sphinx now bundles iftex.sty
|
||||
* Failed to build PDF with framed.sty 0.95
|
||||
|
||||
|
||||
Release 1.4.3 (released Jun 5, 2016)
|
||||
|
@ -416,7 +416,7 @@
|
||||
\newenvironment{SphinxShadowBox}
|
||||
{\def\FrameCommand {\Sphinx@ShadowFBox }%
|
||||
% configure framed.sty not to add extra vertical spacing
|
||||
\OuterFrameSep \z@skip
|
||||
\ifdefined\OuterFrameSep \OuterFrameSep\z@skip \fi
|
||||
% the \trivlist will add the vertical spacing on top and bottom which is
|
||||
% typical of center environment as used in Sphinx <= 1.4.1
|
||||
% the \noindent has the effet of an extra blank line on top, to
|
||||
@ -532,7 +532,7 @@
|
||||
% configure framed.sty's parameters to obtain same vertical spacing
|
||||
% as for "light" boxes. We need for this to manually insert parskip glue and
|
||||
% revert a skip done by framed before the frame.
|
||||
\setlength{\OuterFrameSep}{0pt}
|
||||
\ifdefined\OuterFrameSep \OuterFrameSep\z@skip \fi
|
||||
\vspace{\FrameHeightAdjust}
|
||||
% copied/adapted from framed.sty's snugshade
|
||||
\def\FrameCommand##1{\hskip\@totalleftmargin
|
||||
|
Loading…
Reference in New Issue
Block a user