From 428e79a48f8e31eab93f621bec58059e07959511 Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Tue, 16 Jun 2015 22:41:18 +0000 Subject: academicons (30may15) git-svn-id: svn://tug.org/texlive/trunk@37577 c570f23f-e606-0410-a88d-b1316a301751 --- Master/texmf-dist/doc/fonts/academicons/README | 24 +++++ .../doc/fonts/academicons/academicons.pdf | Bin 0 -> 76193 bytes .../doc/fonts/academicons/academicons.tex | 89 +++++++++++++++++ .../truetype/public/academicons/academicons.ttf | Bin 0 -> 18816 bytes .../tex/latex/academicons/academicons.sty | 107 +++++++++++++++++++++ Master/tlpkg/bin/tlpkg-ctan-check | 2 +- Master/tlpkg/libexec/ctan2tds | 1 + Master/tlpkg/tlpsrc/academicons.tlpsrc | 0 Master/tlpkg/tlpsrc/collection-fontsextra.tlpsrc | 1 + 9 files changed, 223 insertions(+), 1 deletion(-) create mode 100644 Master/texmf-dist/doc/fonts/academicons/README create mode 100644 Master/texmf-dist/doc/fonts/academicons/academicons.pdf create mode 100644 Master/texmf-dist/doc/fonts/academicons/academicons.tex create mode 100644 Master/texmf-dist/fonts/truetype/public/academicons/academicons.ttf create mode 100644 Master/texmf-dist/tex/latex/academicons/academicons.sty create mode 100644 Master/tlpkg/tlpsrc/academicons.tlpsrc diff --git a/Master/texmf-dist/doc/fonts/academicons/README b/Master/texmf-dist/doc/fonts/academicons/README new file mode 100644 index 00000000000..4d10ea2cc82 --- /dev/null +++ b/Master/texmf-dist/doc/fonts/academicons/README @@ -0,0 +1,24 @@ +academicons -- high quality icons of online academic profiles + +The "academicons" package provides access in (La)TeX to 20 high quality icons +of online academic profiles included in the free "Academicons" font. This +package requires the "fontspec" package and either the Xe(La)TeX or Lua(La)TeX +engine to load the included "academicons.ttf" font. + +The "Academicons" font was designed by James Walsh and released (see +http://jpswalsh.github.io/academicons/) under the open SIL Open Font License +(available at http://scripts.sil.org/OFL). This package is a redistribution of +the free "Academicons" font with specific bindings for (La)TeX. It is inspired +and based on the "fontawesome" package (available at +http://www.ctan.org/pkg/fontawesome). + +The academicons package provides the generic \aiicon command to access icons, +which takes as mandatory argument the name of the desired icon. It also +provides individual direct commands for each specific icon. The full list of +icons and their respective names and direct commands can be found in the +manual. For example, "\aiicon{googlescholar}" yields the same result as +"\aiGoogleScholar". + +Academicons font +Author: James Walsh +Licence: SIL Open Font License, version 1.1 \ No newline at end of file diff --git a/Master/texmf-dist/doc/fonts/academicons/academicons.pdf b/Master/texmf-dist/doc/fonts/academicons/academicons.pdf new file mode 100644 index 00000000000..9a50888eba9 Binary files /dev/null and b/Master/texmf-dist/doc/fonts/academicons/academicons.pdf differ diff --git a/Master/texmf-dist/doc/fonts/academicons/academicons.tex b/Master/texmf-dist/doc/fonts/academicons/academicons.tex new file mode 100644 index 00000000000..8aa8ab16aca --- /dev/null +++ b/Master/texmf-dist/doc/fonts/academicons/academicons.tex @@ -0,0 +1,89 @@ +% Copyright 2015 Diogo A. B. Fernandes +% +% This work may be distributed and/or modified under the +% conditions of the LaTeX Project Public License version 1.3c, +% available at http://www.latex-project.org/lppl/. + +\documentclass{ltxdoc} + +\usepackage[numbered]{hypdoc} +\usepackage{hologo} +\usepackage{hyperref,xcolor} +\usepackage{longtable,booktabs} +\usepackage{\jobname} + +\definecolor{blue}{rgb}{0.19,0.31,0.54} +\hypersetup{colorlinks=true, linkcolor=blue, urlcolor=blue, hyperindex} + +\EnableCrossrefs +\CodelineIndex +\RecordChanges + +\begin{document} +\title{The \textsf{\jobname} package\\ +High quality icons of online academic profiles} +\author{% + Diogo A. B. Fernandes\thanks{Email: \href{mailto:diogoabfernandes@gmail.com}{\tt diogoabfernandes@gmail.com}}~(\hologo{LaTeX} code)\\% + James Walsh (font and icons design)} +\date{Version 1.4, released on May 28, 2015} +\maketitle + +\begin{abstract} +The \textsf{\jobname} package provides specific \hologo{(La)TeX} bindings with the free \emph{Academicons} font, allowing to access 20 high quality icons of online academic profiles. +\end{abstract} + +\changes{v1.4-1}{2015/05/30}{Fix release: corrected a few typos and errors in the manual.} +\changes{v1.4}{2015/05/28}{First public release (version number set to match the included \texttt{academicons.ttf} font version).} + +\bigskip + +\section{Description} +The \textsf{\jobname} package provides access in \hologo{(La)TeX} to 20 high quality icons of online academic profiles included in the free \emph{Academicons} font. This package requires the \textsf{fontspec} package and either the \hologo{Xe}\hologo{(La)TeX} or Lua\hologo{(La)TeX} engine to load the included \texttt{academicons.ttf} font. + +The \emph{Academicons} font was designed by James Walsh and released\footnote{See \url{http://jpswalsh.github.io/academicons/}.} under the open SIL Open Font License\footnote{Available at \url{http://scripts.sil.org/OFL}.}. This package is a redistribution of the free \emph{Academicons} font with specific bindings for \hologo{(La)TeX}. It is inspired and based on the \textsf{fontawesome}\footnote{Available at \url{http://www.ctan.org/pkg/fontawesome}.} package. + +\section{Usage} +\DescribeMacro{\aiicon} +The \textsf{\jobname} package provides the generic \cs{aiicon} command to access icons, which takes as mandatory argument the \meta{name} of the desired icon. It also provides individual direct commands for each specific icon. The full list of icons and their respective names and direct commands can be found below. For example, \cs{aiicon\{googlescholar\}} yields the same result as \cs{aiGoogleScholar}. + +\newenvironment{showcase}% + {% + \begin{longtable}{cp{3.5cm}p{4cm}} + \cmidrule[\heavyrulewidth]{1-3}% \toprule + \bfseries Icon&{\bfseries Name} (\meta{name})&\bfseries Direct Command\\ + \cmidrule{1-3}\endhead} + {\cmidrule[\heavyrulewidth]{1-3}% \bottomrule + \end{longtable}} +\newcommand{\icon}[2]{\aiicon{#1}& \itshape #1&\ttfamily\textbackslash #2\index{\ttfamily\textbackslash #2}\\} + +\newpage +\subsection{Academicons Icons} +\label{sec:icons} + +\begin{showcase} + \icon{googlescholar}{aiGoogleScholar} + \icon{googlescholar-square}{aiGoogleScholarSquare} + \icon{researchgate}{aiResearchGate} + \icon{researchgate-square}{aiResearchGateSquare} + \icon{mendeley}{aiMendeley} + \icon{mendeley-square}{aiMendeleySquare} + \icon{orcid}{aiOrcid} + \icon{orcid-square}{aiOrcidSquare} + \icon{impactstory}{aiImpactstory} + \icon{impactstory-square}{aiImpactstorySquare} + \icon{academia}{aiAcademia} + \icon{academia-square}{aiAcademiaSquare} + \icon{zotero}{aiZotero} + \icon{zotero-square}{aiZoteroSquare} + \icon{figshare}{aiFigshare} + \icon{figshare-square}{aiFigshareSquare} + \icon{dryad}{aiDryad} + \icon{dryad-square}{aiDryadSquare} + \icon{arxiv}{aiArxiv} + \icon{arxiv-square}{aiArxivSquare} +\end{showcase} + +\PrintChanges +\PrintIndex +\end{document} + diff --git a/Master/texmf-dist/fonts/truetype/public/academicons/academicons.ttf b/Master/texmf-dist/fonts/truetype/public/academicons/academicons.ttf new file mode 100644 index 00000000000..bd60103d4c3 Binary files /dev/null and b/Master/texmf-dist/fonts/truetype/public/academicons/academicons.ttf differ diff --git a/Master/texmf-dist/tex/latex/academicons/academicons.sty b/Master/texmf-dist/tex/latex/academicons/academicons.sty new file mode 100644 index 00000000000..05244027413 --- /dev/null +++ b/Master/texmf-dist/tex/latex/academicons/academicons.sty @@ -0,0 +1,107 @@ +% Copyright 2015 Diogo A. B. Fernandes +% +% This work may be distributed and/or modified under the +% conditions of the LaTeX Project Public License version 1.3c, +% available at http://www.latex-project.org/lppl/. + +\NeedsTeXFormat{LaTeX2e} +\ProvidesPackage{academicons}[2015/05/28 v1.4 Academicons Icons] + +\usepackage{fontspec} + +\newfontfamily{\AI}{academicons} + +\newcommand*{\aiicon}[1] + {\AI\csname aiicon@#1\endcsname} + +\expandafter\def\csname% + aiicon@googlescholar\endcsname{\symbol{"E600}} +\def\aiGoogleScholar{{\AI\csname% + aiicon@googlescholar\endcsname}} +\expandafter\def\csname% + aiicon@googlescholar-square\endcsname{\symbol{"E601}} +\def\aiGoogleScholarSquare{{\AI\csname% + aiicon@googlescholar-square\endcsname}} + +\expandafter\def\csname% + aiicon@researchgate\endcsname{\symbol{"E602}} +\def\aiResearchGate{{\AI\csname% + aiicon@researchgate\endcsname}} +\expandafter\def\csname% + aiicon@researchgate-square\endcsname{\symbol{"E603}} +\def\aiResearchGateSquare{{\AI\csname% + aiicon@researchgate-square\endcsname}} + +\expandafter\def\csname% + aiicon@mendeley\endcsname{\symbol{"E604}} +\def\aiMendeley{{\AI\csname% + aiicon@mendeley\endcsname}} +\expandafter\def\csname% + aiicon@mendeley-square\endcsname{\symbol{"E605}} +\def\aiMendeleySquare{{\AI\csname% + aiicon@mendeley-square\endcsname}} + +\expandafter\def\csname% + aiicon@orcid\endcsname{\symbol{"E606}} +\def\aiOrcid{{\AI\csname% + aiicon@orcid\endcsname}} +\expandafter\def\csname% + aiicon@orcid-square\endcsname{\symbol{"E607}} +\def\aiOrcidSquare{{\AI\csname% + aiicon@orcid-square\endcsname}} + +\expandafter\def\csname% + aiicon@impactstory\endcsname{\symbol{"E608}} +\def\aiImpactstory{{\AI\csname% + aiicon@impactstory\endcsname}} +\expandafter\def\csname% + aiicon@impactstory-square\endcsname{\symbol{"E609}} +\def\aiImpactstorySquare{{\AI\csname% + aiicon@impactstory-square\endcsname}} + +\expandafter\def\csname% + aiicon@academia\endcsname{\symbol{"E60A}} +\def\aiAcademia{{\AI\csname% + aiicon@academia\endcsname}} +\expandafter\def\csname% + aiicon@academia-square\endcsname{\symbol{"E60B}} +\def\aiAcademiaSquare{{\AI\csname% + aiicon@academia-square\endcsname}} + +\expandafter\def\csname% + aiicon@zotero\endcsname{\symbol{"E60C}} +\def\aiZotero{{\AI\csname% + aiicon@zotero\endcsname}} +\expandafter\def\csname% + aiicon@zotero-square\endcsname{\symbol{"E60D}} +\def\aiZoteroSquare{{\AI\csname% + aiicon@zotero-square\endcsname}} + +\expandafter\def\csname% + aiicon@figshare\endcsname{\symbol{"E60E}} +\def\aiFigshare{{\AI\csname% + aiicon@figshare\endcsname}} +\expandafter\def\csname% + aiicon@figshare-square\endcsname{\symbol{"E60F}} +\def\aiFigshareSquare{{\AI\csname% + aiicon@figshare-square\endcsname}} + +\expandafter\def\csname% + aiicon@dryad\endcsname{\symbol{"E610}} +\def\aiDryad{{\AI\csname% + aiicon@dryad\endcsname}} +\expandafter\def\csname% + aiicon@dryad-square\endcsname{\symbol{"E611}} +\def\aiDryadSquare{{\AI\csname% + aiicon@dryad-square\endcsname}} + +\expandafter\def\csname% + aiicon@arxiv\endcsname{\symbol{"E612}} +\def\aiArxiv{{\AI\csname% + aiicon@arxiv\endcsname}} +\expandafter\def\csname% + aiicon@arxiv-square\endcsname{\symbol{"E613}} +\def\aiArxivSquare{{\AI\csname% + aiicon@arxiv-square\endcsname}} + +\endinput diff --git a/Master/tlpkg/bin/tlpkg-ctan-check b/Master/tlpkg/bin/tlpkg-ctan-check index fd578626d1c..28bac4179fc 100755 --- a/Master/tlpkg/bin/tlpkg-ctan-check +++ b/Master/tlpkg/bin/tlpkg-ctan-check @@ -24,7 +24,7 @@ my @TLP_working = qw( SIstyle SIunits Tabbing Type1fonts a0poster a2ping a4wide a5comb aastex abbr abc abntex2 abraces abstract abstyles - accanthis accfonts achemso + academicons accanthis accfonts achemso acmconf acro acronym acroterm active-conf actuarialangle addlines adfathesis adforn adhocfilelist diff --git a/Master/tlpkg/libexec/ctan2tds b/Master/tlpkg/libexec/ctan2tds index 82b83894ba3..61c63e452e5 100755 --- a/Master/tlpkg/libexec/ctan2tds +++ b/Master/tlpkg/libexec/ctan2tds @@ -132,6 +132,7 @@ chomp ($Build = `cd $Master/../Build/source && pwd`); 'aurora', "die 'skipping, nocommercial license'", 'auto1', "die 'skipping, nonfree font support'", 'autolatex', "die 'skipping, too complicated, sorry'", + 'autosp', "die 'skipping, binaries'", 'autotab', "die 'skipping, noinfo license, latex 2.09'", 'babel-frenchb', "die 'skipping, use babel-french'", 'babel-serbianc', "&MAKEflatten", diff --git a/Master/tlpkg/tlpsrc/academicons.tlpsrc b/Master/tlpkg/tlpsrc/academicons.tlpsrc new file mode 100644 index 00000000000..e69de29bb2d diff --git a/Master/tlpkg/tlpsrc/collection-fontsextra.tlpsrc b/Master/tlpkg/tlpsrc/collection-fontsextra.tlpsrc index 550205ef3a7..79836c4bbcc 100644 --- a/Master/tlpkg/tlpsrc/collection-fontsextra.tlpsrc +++ b/Master/tlpkg/tlpsrc/collection-fontsextra.tlpsrc @@ -4,6 +4,7 @@ shortdesc Additional fonts depend collection-basic # depend Asana-Math +depend academicons depend accanthis depend adforn depend adfsymbols -- cgit v1.2.3