Browse Source

Templates: add fallback for venturisold font (which requires texlive-fonts-extra) in ancient template instead of crash

Conflicts:

	templates/ancient.tmpl
remotes/origin/translate_notes
Alexandre Dupas 14 years ago
parent
commit
c30495a208
  1. 30
      fonts/venturisold.sty
  2. 2
      templates/ancient.tmpl

30
fonts/venturisold.sty

@ -0,0 +1,30 @@
%% Copyright 2010 Clea F. Rees
%
% This work may be distributed and/or modified under the
% conditions of the LaTeX Project Public License, either version 1.3
% of this license or (at your option) any later version.
% The latest version of this license is in
% http://www.latex-project.org/lppl.txt
% and version 1.3 or later is part of all distributions of LaTeX
% version 2005/12/01 or later.
%
% This work has the LPPL maintenance status `maintained'.
%
% The Current Maintainer of this work is Clea F. Rees.
%
% This work consists of all files listed in manifest.txt.
\NeedsTeXFormat{LaTeX2e}
\ProvidesPackage{venturisold}[2010/07/03 v1.005 VenturisOldADF PS]
\RequirePackage[T1]{fontenc}
\RequirePackage{textcomp}
\RequirePackage{nfssext-cfr}
%:Make Venturis Old default for roman text
\renewcommand{\rmdefault}{yvo}
%:introduce special titling commands
\DeclareRobustCommand{\vtstyle}[1][]{% allow an optional argument for consistency with venturis.sty
\not@math@alphabet\vtstyle\relax
\fontfamily{yvod}\selectfont}
\DeclareTextFontCommand{\textvt}{\vtstyle}
\DeclareTextFontCommand{\textvtl}{\vtstyle}
\endinput
%% end venturisold.sty

2
templates/ancient.tmpl

@ -48,7 +48,7 @@
\usepackage[utf8]{inputenc}
\usepackage[english,french,spanish]{babel}
\usepackage[T1]{fontenc}
\usepackage{venturisold}
\usepackage{fonts/venturisold}
\title{\gettitle}
\author{\getauthor}

Loading…
Cancel
Save