Skip to content

Commit

Permalink
v1.3.1
Browse files Browse the repository at this point in the history
  • Loading branch information
gpoore committed Jul 9, 2017
1 parent 293608b commit 02870be
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 5 deletions.
5 changes: 5 additions & 0 deletions CHANGES.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
# Changes


## v1.3.1 (2017/07/08)

* `beameroverlays` now works with `VerbatimOut`.


## v1.3 (2017/07/08)

* Added `beameroverlays` option, which enables `beamer` overlays using the
Expand Down
10 changes: 7 additions & 3 deletions fvextra/fvextra.dtx
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
%<package>\NeedsTeXFormat{LaTeX2e}[1999/12/01]
%<package>\ProvidesPackage{fvextra}
%<*package>
[2017/07/08 v1.3 fvextra - extensions and patches for fancyvrb]
[2017/07/08 v1.3.1 fvextra - extensions and patches for fancyvrb]
%</package>
%
%<*driver>
Expand Down Expand Up @@ -232,6 +232,10 @@
% Right brace \} Tilde \~}
%
%
% \begin{changelog}{v1.3.1}{2017/07/08}
% \item \texttt{beameroverlays} now works with \texttt{VerbatimOut}.
% \end{changelog}
%
% \begin{changelog}{v1.3}{2017/07/08}
% \item Added \texttt{beameroverlays} option, which enables \texttt{beamer} overlays using the \texttt{<} and \texttt{>} characters.
% \item Added options \texttt{breakindentnchars}, \texttt{breaksymbolsepleftnchars} (alias \texttt{breaksymbolsepnchars}), \texttt{breaksymbolseprightnchars}, \texttt{breaksymbolindentleftnchars} (alias \texttt{breaksymbolindentnchars}), and \texttt{breaksymbolindentrightnchars}. These are identical to the pre-existing options without the \texttt{nchars} suffix, except that they allow indentation to be specified as an integer number of characters rather than as a dimension. As a result of these new options, \texttt{\string\settowidth} is no longer used in the preamble, resolving some font incompatibilities (\#4).
Expand Down Expand Up @@ -1623,15 +1627,15 @@
%
%
% \begin{macro}{beameroverlays}
% Give |<| and |>| their normal catcodes (not |\active|), so that \pkg{beamer} overlays will work.
% Give |<| and |>| their normal catcodes (not |\active|), so that \pkg{beamer} overlays will work. This modifies |\@noligs| because that is the only way to prevent the settings from being overwritten later. This could have used |\FV@CatCodesHook|, but then it would have had to compare |\@noligs| to |\relax| to avoid issues when |\let\@noligs\relax| in |VerbatimOut|.
% \begin{macrocode}
\define@booleankey{FV}{beameroverlays}%
{\let\FancyVerbBeamerOverlays\FV@BeamerOverlays}%
{\let\FancyVerbBeamerOverlays\relax}
\def\FV@BeamerOverlays{%
\expandafter\def\expandafter\@noligs\expandafter{\@noligs
\catcode`\<=12\catcode`\>=12\relax}}
\FV@AddToHook\FV@CatCodesHook\FancyVerbBeamerOverlays
\FV@AddToHook\FV@FormattingPrep@PreHook\FancyVerbBeamerOverlays
\fvset{beameroverlays=false}
% \end{macrocode}
% \end{macro}
Expand Down
4 changes: 2 additions & 2 deletions fvextra/fvextra.sty
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
%%
\NeedsTeXFormat{LaTeX2e}[1999/12/01]
\ProvidesPackage{fvextra}
[2017/07/08 v1.3 fvextra - extensions and patches for fancyvrb]
[2017/07/08 v1.3.1 fvextra - extensions and patches for fancyvrb]
\RequirePackage{ifthen}
\RequirePackage{etoolbox}
\RequirePackage{fancyvrb}
Expand Down Expand Up @@ -259,7 +259,7 @@
\def\FV@BeamerOverlays{%
\expandafter\def\expandafter\@noligs\expandafter{\@noligs
\catcode`\<=12\catcode`\>=12\relax}}
\FV@AddToHook\FV@CatCodesHook\FancyVerbBeamerOverlays
\FV@AddToHook\FV@FormattingPrep@PreHook\FancyVerbBeamerOverlays
\fvset{beameroverlays=false}
\newbool{FV@CurlyQuotes}
\define@booleankey{FV}{curlyquotes}%
Expand Down

0 comments on commit 02870be

Please sign in to comment.