texlive[49503] Master/texmf-dist: lstfiracode (25dec18)
commits+karl at tug.org
commits+karl at tug.org
Tue Dec 25 22:49:26 CET 2018
Revision: 49503
http://tug.org/svn/texlive?view=revision&revision=49503
Author: karl
Date: 2018-12-25 22:49:26 +0100 (Tue, 25 Dec 2018)
Log Message:
-----------
lstfiracode (25dec18)
Modified Paths:
--------------
trunk/Master/texmf-dist/doc/latex/lstfiracode/README.md
trunk/Master/texmf-dist/doc/latex/lstfiracode/lstfiracode.pdf
trunk/Master/texmf-dist/doc/latex/lstfiracode/lstfiracode.tex
trunk/Master/texmf-dist/tex/latex/lstfiracode/lstfiracode.sty
Modified: trunk/Master/texmf-dist/doc/latex/lstfiracode/README.md
===================================================================
--- trunk/Master/texmf-dist/doc/latex/lstfiracode/README.md 2018-12-25 21:49:04 UTC (rev 49502)
+++ trunk/Master/texmf-dist/doc/latex/lstfiracode/README.md 2018-12-25 21:49:26 UTC (rev 49503)
@@ -16,7 +16,7 @@
\documentclass{article}
\usepackage{fontspec}
- \setmonofont{FiraCode-Regular.otf}[Ligatures=Common,Contextuals=Alternate]
+ \setmonofont{FiraCode-Regular.otf}[Contextuals=Alternate]
\usepackage{listings}
\usepackage[verbatim]{lstfiracode}
\lstset{style=FiraCodeStyle,basicstyle=\ttfamily}
Modified: trunk/Master/texmf-dist/doc/latex/lstfiracode/lstfiracode.pdf
===================================================================
(Binary files differ)
Modified: trunk/Master/texmf-dist/doc/latex/lstfiracode/lstfiracode.tex
===================================================================
--- trunk/Master/texmf-dist/doc/latex/lstfiracode/lstfiracode.tex 2018-12-25 21:49:04 UTC (rev 49502)
+++ trunk/Master/texmf-dist/doc/latex/lstfiracode/lstfiracode.tex 2018-12-25 21:49:26 UTC (rev 49503)
@@ -12,7 +12,6 @@
]
\setmonofont{Fira Code}[
Scale=MatchLowercase,
- Ligatures=Common,
Contextuals=Alternate
]
\newfontfamily\LMMono{Latin Modern Mono}[
@@ -67,7 +66,7 @@
}
\title{The \texttt{lstfiracode} package}
\author{Ruixi~Zhang\thanks{\href{mailto:\myemail}{\nolinkurl{\myemail}}.}}
-\date{2018/12/20\enskip v0.1b}
+\date{2018/12/24\enskip v0.1c}
\begin{document}
@@ -116,7 +115,6 @@
\usepackage{fontspec}
\setmonofont{FiraCode-Regular.otf}[
BoldFont=FiraCode-Bold.otf,
- Ligatures=Common, % Activate the liga feature
Contextuals=Alternate % Activate the calt feature
]
\usepackage{xcolor}
@@ -191,6 +189,7 @@
\item[\texttt{\textbackslash DeactivateVerbatimLigatures}]
Suppress \emph{almost all} Fira Code ligatures in \verb|verbatim|.
Currently, it cannot break the {\LMMono\#\{} and the {\LMMono|\}} ligatures.
+You should use Fira Mono if you wish to avoid ligatures altogether.
\item[\texttt{\textbackslash RestoreVerbatimBehavior}]
Restore how \verb|verbatim| is originally handled by \LaTeX.
\end{description}
@@ -310,6 +309,14 @@
\section*{Version history}
\begin{description}
+\versionhistory{v0.1c}{2018/12/24}{%
+ Removed \texttt{Ligatures=Common}
+ from \texttt{README.md} and \texttt{lstfiracode.tex}
+ (see \href{https://github.com/RuixiZhang42/lstfiracode/issues/1}{%
+ \#1}).
+ Re-implemented
+ \texttt{\textbackslash DeactivateVerbatimLigatures}.%
+}
\versionhistory{v0.1b}{2018/12/20}{%
Updated \texttt{FiraCodeStyle} literate list.
Added \texttt{\textbackslash RestoreVerbatimBehavior}.
Modified: trunk/Master/texmf-dist/tex/latex/lstfiracode/lstfiracode.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/lstfiracode/lstfiracode.sty 2018-12-25 21:49:04 UTC (rev 49502)
+++ trunk/Master/texmf-dist/tex/latex/lstfiracode/lstfiracode.sty 2018-12-25 21:49:26 UTC (rev 49503)
@@ -20,7 +20,7 @@
%
\NeedsTeXFormat{LaTeX2e}
\ProvidesPackage{lstfiracode}[%
- 2018/12/20 v0.1b Use Fira Code font for listings]
+ 2018/12/24 v0.1c Use Fira Code font for listings]
\RequirePackage{kvoptions}
\RequirePackage{listings}
@@ -42,11 +42,11 @@
\def\verbatim at nolig@list{\do\`\do\,\do\'}%
}
\newcommand*\DeactivateVerbatimLigatures{%
- \expandafter\def\expandafter\verbatim at nolig@list\expandafter{%
- \lstfiracode at verbatim@nolig at list
+ \def\verbatim at nolig@list{%
+ \do\`\do\<\do\>\do\,\do\'\do\-%
\do\w\do\*\do\/\do\:\do\=\do\!\do\~\do\[%
\do\#\do\(\do\?\do\_\do\.\do\;\do\&\do\|%
- \do\+\do\$\do\@\do\%\do\]% Do "7B and "7D, how?
+ \do\+\do\$\do\@\do\%\do\]% Do "7B and "7D, impossible?
}%
}
\newcommand*\RestoreVerbatimBehavior{%
More information about the tex-live-commits
mailing list