summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/ejpecp
diff options
context:
space:
mode:
authorNorbert Preining <norbert@preining.info>2021-09-09 03:00:35 +0000
committerNorbert Preining <norbert@preining.info>2021-09-09 03:00:35 +0000
commit30ebcb04bb501c56bfac1652a749eda69ba28c34 (patch)
treec1492b714f76dd6c85a5665308561bdc86e019ed /macros/latex/contrib/ejpecp
parentf8d688cceb9bee2119c4cf3422a85bd60c0e846c (diff)
CTAN sync 202109090300
Diffstat (limited to 'macros/latex/contrib/ejpecp')
-rw-r--r--macros/latex/contrib/ejpecp/README.md36
-rw-r--r--macros/latex/contrib/ejpecp/ejpecp.dtx18
-rw-r--r--macros/latex/contrib/ejpecp/ejpecp.pdfbin183645 -> 105240 bytes
3 files changed, 50 insertions, 4 deletions
diff --git a/macros/latex/contrib/ejpecp/README.md b/macros/latex/contrib/ejpecp/README.md
index f893ab593c..7f350b041e 100644
--- a/macros/latex/contrib/ejpecp/README.md
+++ b/macros/latex/contrib/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/macros/latex/contrib/ejpecp/ejpecp.dtx b/macros/latex/contrib/ejpecp/ejpecp.dtx
index 663786f537..ebdf588ba8 100644
--- a/macros/latex/contrib/ejpecp/ejpecp.dtx
+++ b/macros/latex/contrib/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/macros/latex/contrib/ejpecp/ejpecp.pdf b/macros/latex/contrib/ejpecp/ejpecp.pdf
index f55a7f9df9..47f1bb8d65 100644
--- a/macros/latex/contrib/ejpecp/ejpecp.pdf
+++ b/macros/latex/contrib/ejpecp/ejpecp.pdf
Binary files differ