summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/fvextra
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2016-09-03 21:35:58 +0000
committerKarl Berry <karl@freefriends.org>2016-09-03 21:35:58 +0000
commit69a9e2bb8b63735fde506fd73e535e8f59b4003e (patch)
treea906a8e55be486ae8f3f4018492285438e39b6ca /Master/texmf-dist/tex/latex/fvextra
parent74099de178c57fb2527ebc18264d55c6e98444a7 (diff)
fvextra (3sep16)
git-svn-id: svn://tug.org/texlive/trunk@41984 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/fvextra')
-rw-r--r--Master/texmf-dist/tex/latex/fvextra/fvextra.sty15
1 files changed, 9 insertions, 6 deletions
diff --git a/Master/texmf-dist/tex/latex/fvextra/fvextra.sty b/Master/texmf-dist/tex/latex/fvextra/fvextra.sty
index c00f5abd51a..45d418d39ee 100644
--- a/Master/texmf-dist/tex/latex/fvextra/fvextra.sty
+++ b/Master/texmf-dist/tex/latex/fvextra/fvextra.sty
@@ -20,7 +20,7 @@
%%
\NeedsTeXFormat{LaTeX2e}[1999/12/01]
\ProvidesPackage{fvextra}
- [2016/07/20 v1.2 fvextra - extensions and patches for fancyvrb]
+ [2016/09/02 v1.2.1 fvextra - extensions and patches for fancyvrb]
\RequirePackage{ifthen}
\RequirePackage{etoolbox}
\RequirePackage{fancyvrb}
@@ -1152,6 +1152,9 @@
\FV@SetLineBreakLast
}%
}
+\def\FV@RaggedRight{%
+ \let\\\@centercr
+ \@rightskip\@flushglue\rightskip\@rightskip\leftskip\z@skip\parindent\z@}
\def\FV@SaveLineBox#1{%
\savebox{\FV@LineBox}{%
\advance\linewidth by -\FV@BreakIndent
@@ -1170,7 +1173,7 @@
\ifdefempty{\FancyVerbBreakSymbolRight}{}%
{\advance\linewidth by -\FV@BreakSymbolIndentRight}%
\parbox[t]{\linewidth}{%
- \raggedright
+ \FV@RaggedRight
\leftlinenumbers*
\begin{internallinenumbers*}%
\let\makeLineNumber\FV@makeLineNumber
@@ -1370,13 +1373,13 @@
\def\FV@VerbatimPygments#1#2{%
\edef\FV@PYG@Literal{\expandafter\FV@DetokMacro@StripSpace\detokenize{#1}}%
\def\FV@BreakBeforePrep@PygmentsHook{%
- \expandafter\FV@BreakBeforePrep@Pygments\expandafter{\FV@PYG@Literal}}
+ \expandafter\FV@BreakBeforePrep@Pygments\expandafter{\FV@PYG@Literal}}%
\def\FV@BreakAfterPrep@PygmentsHook{%
- \expandafter\FV@BreakAfterPrep@Pygments\expandafter{\FV@PYG@Literal}}
+ \expandafter\FV@BreakAfterPrep@Pygments\expandafter{\FV@PYG@Literal}}%
\ifx#2\relax
- \let\FV@PYG#1
+ \let\FV@PYG#1%
\else
- \let\FV@PYG#2
+ \let\FV@PYG#2%
\fi
\ifbool{FV@breakbytoken}%
{\ifbool{FV@breakbytokenanywhere}%