summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2021-09-08 20:42:01 +0000
committerKarl Berry <karl@freefriends.org>2021-09-08 20:42:01 +0000
commit6f18e08e74ae4ec416c093c75d33a21c51c02061 (patch)
treeaf2e738ff39ff4c76f9e3ce0398f0bce9af9f374
parent89f268e81191e3ba4fbd6aa9af911e271da44ba5 (diff)
ejpecp (8sep21)
git-svn-id: svn://tug.org/texlive/trunk@60454 c570f23f-e606-0410-a88d-b1316a301751
-rw-r--r--Master/texmf-dist/doc/latex/ejpecp/README.md36
-rw-r--r--Master/texmf-dist/doc/latex/ejpecp/ejpecp.pdfbin183645 -> 105240 bytes
-rw-r--r--Master/texmf-dist/source/latex/ejpecp/ejpecp.dtx18
-rw-r--r--Master/texmf-dist/tex/latex/ejpecp/ejpecp.cls14
4 files changed, 62 insertions, 6 deletions
diff --git a/Master/texmf-dist/doc/latex/ejpecp/README.md b/Master/texmf-dist/doc/latex/ejpecp/README.md
index f893ab593cd..7f350b041ee 100644
--- a/Master/texmf-dist/doc/latex/ejpecp/README.md
+++ b/Master/texmf-dist/doc/latex/ejpecp/README.md
@@ -57,6 +57,40 @@ electronic journals are https://imstat.org/journals-and-publications/electronic-
`microtype`, `afterpackage`. It was also successfully tested with the next
generation engine `lualatex`.
+## TROUBLESHOOTING
+
+- If You get an error after compilation (e.g. in MiKTeX v2.9):
+
+ ! pdfTeX error (font expansion): auto expansion is only possible with scalable fonts.
+
+ Try one of the following:
+
+ 1. Add _Latin Modern_ font loading lines before the document class line:
+
+ \RequirePackage{lmodern}
+ \RequirePackage[T1]{fontenc}
+ \documentclass[EJP]{ejpecp}
+
+ It will change bitmap _Computer Modern_ fonts with scalable _Latin Modern_ fonts.
+
+ 2. If 1st step does not solve the problem, then use `nofontexpansion` option:
+
+ \documentclass[nofontexpansion,EJP]{ejpecp}
+
+ It will turn off font expansion feature of `microtype` package.
+
+ **No worries**: font expansion will still be used at production stage.
+
+- If _Bitstream Vera_ font (i.e. `bera` package) is not available in Your TeX distribution, use `nobera` class option and add alternative main document font:
+
+ \documentclass[nobera,EJP]{ejpecp}
+ \usepackage{mathptmx}% URW Nimbus Roman
+ \usepackage[T1]{fontenc}
+
+ Some suggestions can be found here: https://www.tug.org/FontCatalogue/seriffonts.html
+
+ **No worries**: `bera` package will still be used at production stage.
+
## LATEST VERSION
The latest version is on the CTAN at:
@@ -67,6 +101,8 @@ https://github.com/vtex-soft/texsupport.ims-ejpecp
## CHANGELOG
+- 2021/09/07 v1.11.2
+ - Added `nobera` and `nofontexpansion` options
- 2021/08/17 v1.11.1
- Removed dependency on `lastpage` package
- 2021/04/20 v1.11.0
diff --git a/Master/texmf-dist/doc/latex/ejpecp/ejpecp.pdf b/Master/texmf-dist/doc/latex/ejpecp/ejpecp.pdf
index f55a7f9df9c..47f1bb8d656 100644
--- a/Master/texmf-dist/doc/latex/ejpecp/ejpecp.pdf
+++ b/Master/texmf-dist/doc/latex/ejpecp/ejpecp.pdf
Binary files differ
diff --git a/Master/texmf-dist/source/latex/ejpecp/ejpecp.dtx b/Master/texmf-dist/source/latex/ejpecp/ejpecp.dtx
index 663786f537e..ebdf588ba8e 100644
--- a/Master/texmf-dist/source/latex/ejpecp/ejpecp.dtx
+++ b/Master/texmf-dist/source/latex/ejpecp/ejpecp.dtx
@@ -26,7 +26,7 @@
%<class>\NeedsTeXFormat{LaTeX2e}[1999/12/01]
%<class>\ProvidesClass{ejpecp}
%<*class>
- [2021/08/17 v1.11.1 class for EJP and ECP journals]
+ [2021/09/07 v1.11.2 class for EJP and ECP journals]
%</class>
%<class>\ClassInfo{ejpecp}{Copyright (c) 2019-2021 Edgaras SAKURAS, VTeX, Lithuania.}
%<class>\ClassInfo{ejpecp}{Copyright (c) 2018 Deimantas GALCIUS, VTeX, Lithuania.}
@@ -47,7 +47,7 @@
%</driver>
% \fi
%
-% \CheckSum{968}
+% \CheckSum{983}
%
% \CharacterTable
% {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z
@@ -85,6 +85,7 @@
% \changes{v1.10.0}{2021/02/11}{acks and support}
% \changes{v1.11.0}{2021/04/20}{preprint option}
% \changes{v1.11.1}{2021/08/17}{removed dependency on lastpage package}
+% \changes{v1.11.2}{2021/09/07}{nobera and nofontexpansion options added}
% \GetFileInfo{ejpecp.dtx}
%
% \DoNotIndex{\newcommand,\newenvironment}
@@ -167,6 +168,10 @@
}
\newif\if@ejpecp@preprint \@ejpecp@preprintfalse
\DeclareOption{preprint}{\@ejpecp@preprinttrue}
+\newif\if@ejpecp@nofontexpansion \@ejpecp@nofontexpansionfalse
+\DeclareOption{nofontexpansion}{\@ejpecp@nofontexpansiontrue}
+\newif\if@ejpecp@nobera \@ejpecp@noberafalse
+\DeclareOption{nobera}{\@ejpecp@noberatrue}
\DeclareOption*{%
\PackageWarning{ejpecp}{Unknown option ‘\CurrentOption’}%
}
@@ -184,6 +189,9 @@
\fi
\RequirePackage{mathtools}
\RequirePackage{microtype}
+\if@ejpecp@nofontexpansion
+ \microtypesetup{expansion=false}
+\fi
\RequirePackage{latexsym}
\ifx\@NODS\undefined
\RequirePackage{dsfont}
@@ -193,8 +201,10 @@
\fi
\RequirePackage{geometry}
\geometry{a4paper,portrait,left=3.5cm,right=3.5cm,top=3.5cm,bottom=3.5cm}
-%\RequirePackage{charter} % Ph. Carmona
-\RequirePackage{bera} % beware that the logo is sensitive to default font change
+\if@ejpecp@nobera
+\else
+ \RequirePackage{bera} % beware that the logo is sensitive to default font change
+\fi
\RequirePackage{hyperref}
\hypersetup{
pagebackref=false,
diff --git a/Master/texmf-dist/tex/latex/ejpecp/ejpecp.cls b/Master/texmf-dist/tex/latex/ejpecp/ejpecp.cls
index 13a4846c5b4..2187c00e6e3 100644
--- a/Master/texmf-dist/tex/latex/ejpecp/ejpecp.cls
+++ b/Master/texmf-dist/tex/latex/ejpecp/ejpecp.cls
@@ -25,7 +25,7 @@
%%
\NeedsTeXFormat{LaTeX2e}[1999/12/01]
\ProvidesClass{ejpecp}
- [2021/08/17 v1.11.1 class for EJP and ECP journals]
+ [2021/09/07 v1.11.2 class for EJP and ECP journals]
\ClassInfo{ejpecp}{Copyright (c) 2019-2021 Edgaras SAKURAS, VTeX, Lithuania.}
\ClassInfo{ejpecp}{Copyright (c) 2018 Deimantas GALCIUS, VTeX, Lithuania.}
\ClassInfo{ejpecp}{Copyright (c) 2016-2017 Eimantas GUMBAKIS, VTeX, Lithuania for EJP-ECP.}
@@ -67,6 +67,10 @@
}
\newif\if@ejpecp@preprint \@ejpecp@preprintfalse
\DeclareOption{preprint}{\@ejpecp@preprinttrue}
+\newif\if@ejpecp@nofontexpansion \@ejpecp@nofontexpansionfalse
+\DeclareOption{nofontexpansion}{\@ejpecp@nofontexpansiontrue}
+\newif\if@ejpecp@nobera \@ejpecp@noberafalse
+\DeclareOption{nobera}{\@ejpecp@noberatrue}
\DeclareOption*{%
\PackageWarning{ejpecp}{Unknown option ‘\CurrentOption’}%
}
@@ -83,6 +87,9 @@
\fi
\RequirePackage{mathtools}
\RequirePackage{microtype}
+\if@ejpecp@nofontexpansion
+ \microtypesetup{expansion=false}
+\fi
\RequirePackage{latexsym}
\ifx\@NODS\undefined
\RequirePackage{dsfont}
@@ -92,7 +99,10 @@
\fi
\RequirePackage{geometry}
\geometry{a4paper,portrait,left=3.5cm,right=3.5cm,top=3.5cm,bottom=3.5cm}
-\RequirePackage{bera} % beware that the logo is sensitive to default font change
+\if@ejpecp@nobera
+\else
+ \RequirePackage{bera} % beware that the logo is sensitive to default font change
+\fi
\RequirePackage{hyperref}
\hypersetup{
pagebackref=false,