texlive[41885] Master: ijsra (18aug16)
commits+karl at tug.org
commits+karl at tug.org
Fri Aug 19 00:14:45 CEST 2016
Revision: 41885
http://tug.org/svn/texlive?view=revision&revision=41885
Author: karl
Date: 2016-08-19 00:14:45 +0200 (Fri, 19 Aug 2016)
Log Message:
-----------
ijsra (18aug16)
Modified Paths:
--------------
trunk/Master/texmf-dist/doc/latex/ijsra/README.md
trunk/Master/texmf-dist/doc/latex/ijsra/ijsra.pdf
trunk/Master/texmf-dist/doc/latex/ijsra/ijsra.tex
trunk/Master/texmf-dist/tex/latex/ijsra/ijsra.cls
trunk/Master/tlpkg/libexec/ctan2tds
Added Paths:
-----------
trunk/Master/texmf-dist/tex/latex/ijsra/ijsra_logo.jpg
Removed Paths:
-------------
trunk/Master/texmf-dist/doc/latex/ijsra/ijsra_logo.jpg
Modified: trunk/Master/texmf-dist/doc/latex/ijsra/README.md
===================================================================
--- trunk/Master/texmf-dist/doc/latex/ijsra/README.md 2016-08-18 22:13:00 UTC (rev 41884)
+++ trunk/Master/texmf-dist/doc/latex/ijsra/README.md 2016-08-18 22:14:45 UTC (rev 41885)
@@ -1,7 +1,7 @@
document class __ijsra__
=======
-_2016/07/28 v0.1a_
+_2016/08/18 v0.2_
Copyright (c) 2016 Lukas C. Bossert
@@ -22,7 +22,11 @@
* ijsra.cls
+and the required logo:
+* ijsra_logo.jpg
+
+
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.
Modified: trunk/Master/texmf-dist/doc/latex/ijsra/ijsra.pdf
===================================================================
(Binary files differ)
Modified: trunk/Master/texmf-dist/doc/latex/ijsra/ijsra.tex
===================================================================
--- trunk/Master/texmf-dist/doc/latex/ijsra/ijsra.tex 2016-08-18 22:13:00 UTC (rev 41884)
+++ trunk/Master/texmf-dist/doc/latex/ijsra/ijsra.tex 2016-08-18 22:14:45 UTC (rev 41885)
@@ -13,7 +13,7 @@
\def\authormail{lukas at digitales-altertum.de}
\def\affiliation{Humboldt-Universität zu Berlin | Excellence-Cluster Topoi}
\def\thanknote{The coding of this documentclass is done at \href{https://github.com/LukasCBossert/documentclass-ijsra}{https://github.com/LukasCBossert/documentclass-ijsra} }
-%\def\keywordname{hello}
+%\def\keywordname{}
\def\keywords{documentclass, \LaTeX , IJSRA}
%--------------------------------------------------------------
@@ -96,6 +96,7 @@
\lettrine[slope=-4pt,nindent=-4pt,lines=3]{W}{hen} ...
\end{lstlisting}
+\IJSRAseparator
Each article contains several information about the author, title, etc.
This is done with some definitions.
You have to fill in the information in the curly brackets.
@@ -110,7 +111,7 @@
\def\keywords{} %<---- keywords describing the article
%\def\keywordname{} %<---- name of keywords in an other language
\end{lstlisting}
-
+\IJSRAseparator
After the definitions there is the block regarding the bibliographical entries.
Those are written in the section
\begin{lstlisting}[label=bibliography,caption={Bibliographical information}]
@@ -170,7 +171,7 @@
\IJSRAmid %<---- don’t change or forget this
\end{lstlisting}
If there is no \texttt{thanknote} you only have to comment line no. 4 and there will be no footnote.
-
+\IJSRAseparator
After that we come to the abstract.
The abstract is set in the enviroment \texttt{IJSRAabstract}:
\begin{lstlisting}[label=abstract,caption={IJSRAabstract}]
@@ -178,7 +179,7 @@
Abstract
\end{IJSRAabstract}
\end{lstlisting}
-
+\IJSRAseparator
Then you can copy/paste the text of the article and make further editing.
At the very end you have to insert
\begin{lstlisting}[label=closing,caption={IJSRAclosing}]
@@ -223,41 +224,144 @@
\end{document}
\end{lstlisting}
\clearpage
-Let’s have a look how to do certain editing.
+Before we have a closer look how to do certain editing
+let me give you some advice about naming the |tex|-file and the related figures.
+The |tex|-file has to be saved under an unique and individual name.
+Usually this is the family name of the author: e.g. |winckelmann.tex|
+If you think this is not enough because the author has quite a common family (as it might be with \emph{Johnson})
+plese use a word from the title, e.g. |Johnson_prehistory.tex|.
+Notice there must not be a blank in the name, use instead |_| or |-|.
+The name of the |tex|-file is what we have defined as the |\IJSRAidentifier|,
+with that we can differentiate between all the texts from the authors.
+
+We need this |IJSRAidentifier| again for the figures:
+put the figures in a folder called |figures|.
+Do not name the figures e.g. |figure1|, |figure2| etc. but use again this
+|IJSRAidentifier| (e.g. |Johnson_prehistory|) and name the figures like this:
+|Johnson_prehistory_fig01.jpg| or |winckelmann_fig01.png|.
+You can also name tables in the same way:
+|Johnson_prehistory_tab01.jpg| or |winckelmann_tab01.png|.
+
+\alertinfo{But please make sure that the \emph{IJSRAidentifier} is used with correct spelling of the author’s name etc.}
+
+\IJSRAseparator
How to do quotes:\marginnote{quotes}
-For that we use the enviroment |IJSRAquote| and
-\begin{IJSRAquote}{author of the quote}
-paste the quote here
-\end{IJSRAquote}
+Quotes are inserted between the enviroment |IJSRAquote|.
+Let me give you an example:
+
\begin{lstlisting}[label=quote,caption={Quote}]
-\begin{IJSRAquote}{author of the quote}
-paste the quote here
+\begin{IJSRAquote}{Johann Joachim Winckelmann}
+Grace can never properly be said to exist without beauty;
+for it is only in the elegant proportions of beautiful forms
+that can be found that harmonious variety of line and motion
+which is the essence and charm of grace.
\end{IJSRAquote}
\end{lstlisting}
+It will be displayed as this:
+
+\begin{IJSRAquote}{Johann Joachim Winckelmann}
+Grace can never properly be said to exist without beauty;
+for it is only in the elegant proportions of beautiful forms
+that can be found that harmonious variety of line and motion
+which is the essence and charm of grace.
+\end{IJSRAquote}
+Of course you can also use |\cite[page]{bibtex-key}| for the author of the quote.
-For other things e.g. figures or citing, please have a look at other documentations or
+\IJSRAseparator
+You can\marginnote{separator} insert a separation mark between some paragraphs,
+as it is inserted automatically just before the bibliography.
+For that we edited a special form a separation mark.
+You can use it with |\IJSRAseparator|.
+\IJSRAseparator
+When suitable \marginnote{caption}we try to insert figures as a |wrapefigure| into the text.
+Otherwise we insert them into the |figure|-enviroment.
+
+If you have a table which is saved as a figure,
+you have to make a change to the caption.
+I show you how to do that.
+\begin{lstlisting}[label=caption,caption={Modify the caption}]
+\captionof{table}{Put the caption here.}
+\end{lstlisting}
+
+\IJSRAseparator
+Modifying\marginnote{references} e.g. the caption is important for referencing in the text.
+We use the special macro |\cref{label}| to reference to a figure, a table or anything else.
+It makes it easier because we can omit to write ›fig.‹ or ›table‹ before the number of the figure or the table.
+The correct form (›fig.‹ etc.) will be inserted automatically by \LaTeX .
+If you like to have the first letter capitalised you can use |\Cref| instead.
+
+Furthermore you can insert several |label| into a |\cref| by |\cref{label1,label2,label3}|.
+
+\IJSRAseparator
+If you\marginnote{numbers \& units} have a number or a number with an unit,
+please use the macros which are provided my |\SI|.
+Let me show you some examples.
+\begin{labeling}{range phrase (1)}
+\item[meter] |100 m| has to be written as |\SI{100}{\meter}|;
+\item[percent] |75 %| has to be written as |\SI{75}{\percent}|;
+\item[range phrase (1)] |10x10 m| has to be written as |\SIrange{10}{10}{\meter}|;
+\item[range phrase (2)] |10--15 cm| has to be written as |\SIrange[range-phrase=--]{10}{15}{\centi\meter}|;
+\item[number] |23.394| has to be written as |\num{23394}|;
+\item[angle] |56°| has to be written as |\ang{56}|;
+\item[round precision] If you want to make a round precision of your numbers you can set it yourself by |\SI[round-precision=2]{23.3390}{\meter}| which will make |23.34 m|.
+\end{labeling}
+
+
+
+\IJSRAseparator
+We have\marginnote{Different abstracts} the abstract of the article in english in the beginning,
+just as shown in the template in \cref{document,abstract}.
+If there is another abstract in a different language we put that at the end of the article.
+For that we need also to redefine the keywords and usually the name \emph{keywords} according to the language of the abstract.
+
+I give you an example how to edit a second abstract.
+\begin{lstlisting}[label=abstract2,caption={Different abstract}]
+\def\keywordname{Mots clés}
+\def\keywords{keywords in French, \LaTeX , IJSRA, journal}
+\foreignlanguage{french}{%
+\begin{IJSRAabstract}
+Abstract\marginnote{Abstract (French)} in French: Copy and paste the abstract in the different language here!
+\end{IJSRAabstract}
+}
+\end{lstlisting}
+\def\keywordname{Mots clés}
+\def\keywords{keywords in French, \LaTeX , IJSRA, journal}
+\foreignlanguage{french}{%
+\begin{IJSRAabstract}
+Abstract\marginnote{Abstract (French)} in French: Copy and paste the abstract in the different language here!
+\end{IJSRAabstract}
+}
+
+%Do not forget to add the language in the options of the documentclass
+%\begin{lstlisting}[label=abstract2,caption={Add the language of the abstract into the preamble}]
+%\documentclass[
+% french,%<--- add the language if not English
+% ]{ijsra}
+%\end{lstlisting}
+
+
+
+\IJSRAseparator
Some general information:
\begin{itemize}
\item Be aware of different brackets, e.g. |[] {}|;
These are part of \LaTeX -programming-language, every opening bracket needs a closing one.
\item Replace e.g. |19 %| with |\SI{19}{\percent}| otherwise everything after |%| will be omitted by \LaTeX;
-\item Replace |&| with |\&|; same with other units, e.g. meter: |100 m| has to be written as |\SI{100}{\meter}|;
+\item Replace |&| with |\&|;
\item Replace the citation of authors (e.g |Blesser \& Salter 2006|) with |\cite{Blesser2006}|;
if you have a page-range write: |\cite[23--45]{Blesser2006}|;
\item To compile with bibliography-references;
-use 1 $\times$ Xe\LaTeX, then 1 $\times$ compiler ›biber‹, then 1 $\times$ Xe\LaTeX.
+use 1 $\times$ \hologo{XeLaTeX}, then 1 $\times$ compiler ›biber‹, then 1 $\times$ \hologo{XeLaTeX}.
+\item If you want to know how to cite properly
+please have a look at the documentation of \texttt{biblatex-ijsra}.\footnote{\cite[see][]{Bossert-ijsra};\\ \url{http://mirrors.ctan.org//macros/latex/contrib/biblatex-contrib/biblatex-ijsra/biblatex-ijsra.pdf}}
\end{itemize}
+\nocite{*}
+\IJSRAclosing
-If you want to know how to cite properly
-please have a look at the documentation of \texttt{biblatex-ijsra}.\footnote{\cite[see][]{Bossert-ijsra};\\ \url{http://mirrors.ctan.org//macros/latex/contrib/biblatex-contrib/biblatex-ijsra/biblatex-ijsra.pdf}}
-
-\nocite{*}
-\printbibliography
\clearpage
You find the code using to write this documentation below.
\lstinputlisting[language={[AlLaTeX]{TeX}}]{\jobname.tex}
-\IJSRAclosing
\end{document}
\ No newline at end of file
Deleted: trunk/Master/texmf-dist/doc/latex/ijsra/ijsra_logo.jpg
===================================================================
(Binary files differ)
Modified: trunk/Master/texmf-dist/tex/latex/ijsra/ijsra.cls
===================================================================
--- trunk/Master/texmf-dist/tex/latex/ijsra/ijsra.cls 2016-08-18 22:13:00 UTC (rev 41884)
+++ trunk/Master/texmf-dist/tex/latex/ijsra/ijsra.cls 2016-08-18 22:14:45 UTC (rev 41885)
@@ -20,8 +20,8 @@
\RequirePackage{ifxetex,ifluatex,ifpdf,ifvtex}
\RequirePackage{xkeyval}
-\def\IJSRAversion{0.1a}
-\def\IJSRAversiondate{2016/07/28}
+\def\IJSRAversion{0.2}
+\def\IJSRAversiondate{2016/08/18}
@@ -49,7 +49,7 @@
twoside=true, % onesite or twoside printing
open=right, % doublepage cleaning ends up right side
chapterprefix=false, % prefix for chapter marks (Löscht "Kapitel" bei Kapitel)
- headings=optiontohead, % \chapter[tocentry={}]{}
+ headings=optiontohead, % \chapter[tocentry={}]{}
fontsize=11pt, % font size
titlepage=on, % own page for each title page
captions=tableabove, % display table captions above the float env
@@ -60,7 +60,7 @@
\RequirePackage{filecontents}
\RequirePackage{libertine}
\renewcommand*\ttdefault{lmvtt}
-\RequirePackage[main=english]{babel}
+\RequirePackage[french, ngerman, spanish, italian, main=english]{babel}
\ifxetex\else
\RequirePackage[%
@@ -86,13 +86,12 @@
detect-all, %Zahlen werden in der aktuellen Schrift angezeigt
exponent-to-prefix = true,
round-mode = places,
- round-precision = 1,
- group-minimum-digits = 4, % Für "Tausenderpunkt" --> 1.234 anstatt 1234
+ group-minimum-digits = 4,
group-separator ={,}, % für "12.345" statt "12 345"
range-phrase = {~$\times$\ },%
zero-decimal-to-integer = true, %aus "2.0" wird "2"
range-units =single, % --> 2 x 2 m, - auskommentieren für 2 m x 2 m
- ]{siunitx} %Supreme typesetting of units
+ ]{siunitx}
\RequirePackage[ % advanced quotes
strict=true, % - warning are errors now
style=english, % - german quotes
@@ -111,7 +110,7 @@
\RequirePackage{multirow}
\RequirePackage{xspace}
\RequirePackage{xcolor}
-
+\RequirePackage{hologo}
\definecolor{myblue}{rgb}{0,0,51}
\definecolor{mygold}{RGB}{204,153,51}
@@ -230,14 +229,7 @@
{\savebox\mybox{#1}\begin{quote}}
{\signed{\usebox\mybox}\end{quote}}
-\makeatletter %%%Schriftgröße in quote kleiner
-\newif\if at in@footnote@
-\renewcommand{\@footnotetext}[1]{%
- \scr at saved@footnotetext{\@in at footnote@true #1}%
- \csname FN at mf@prepare\endcsname
-}
-\AtBeginEnvironment{quote}{\if at in@footnote@\else\small\fi}
-\makeatother
+\appto\quote{\normalsize\singlespacing}
%-----------------------------------------
\newcommand\ppages{\pagerange{firstpage\IJSRAidentifier}{lastpage\IJSRAidentifier}}
\newcommand\shorttitle{}
@@ -251,24 +243,25 @@
\newenvironment{IJSRAabstract}
{\list{}{\rightmargin\leftmargin}%
-\item \normalsize\sffamily\textbf\keywordname : \keywords\\
- \footnotesize\itshape
+\item \footnotesize\sffamily\textbf\keywordname : \keywords\\
+ \itshape
\noindent\item\relax
}
{\endlist}
-\newcommand{\IJSRAseparator}{
- \vspace{2em}
+\newcommand{\IJSRAseparator}{%
+ \vspace{1em}
\begin{center}
- * * *
+ * * *
\end{center}
- \vspace{2em}}
+ \vspace{1em}
+ }
-\newcommand{\IJSRAchapter}[1]{
+\newcommand{\IJSRAchapter}[1]{%
\setcounter{chapter}{1}
\chapter*{#1}
\addcontentsline{toc}{chapter}{\shortauthor\protect\newline \maintitle}
-}
+ }
\newcommand\email{{\normalfont\href{mailto:\authormail}{\authormail}}}
@@ -277,7 +270,8 @@
\edef\tempa{\getpagerefnumber{#1}\booltrue{@page}}%
\edef\tempb{\getpagerefnumber{#2}}%
\ifboolexpr{bool{@page}}{}{\ $\bullet$
- \tempa--\tempb}}
+ \tempa--\tempb}
+ }
\providecommand\IJSRAopening{%
@@ -300,10 +294,11 @@
}
\providecommand\IJSRAclosing{%
+ \IJSRAseparator
\printbibliography[heading=subbibliography]
\end{refsection}
\label{lastpage\IJSRAidentifier}
-}
+ }
\DeclareCaptionFormat{listing}{#1#2#3}
\captionsetup[lstlisting]{format=listing,%
@@ -366,7 +361,7 @@
colorlinks = true, %Colours links instead of ugly boxes
urlcolor = myblue, %Colour for external hyperlinks
linkcolor = myblue, %Colour of internal links
- citecolor = myblue, %Colour of citations
+ citecolor = mygold, %Colour of citations
linktoc=page,
pdfborder={0 0 0}, % -
breaklinks=true, % - allow line break inside links
Added: trunk/Master/texmf-dist/tex/latex/ijsra/ijsra_logo.jpg
===================================================================
(Binary files differ)
Index: trunk/Master/texmf-dist/tex/latex/ijsra/ijsra_logo.jpg
===================================================================
--- trunk/Master/texmf-dist/tex/latex/ijsra/ijsra_logo.jpg 2016-08-18 22:13:00 UTC (rev 41884)
+++ trunk/Master/texmf-dist/tex/latex/ijsra/ijsra_logo.jpg 2016-08-18 22:14:45 UTC (rev 41885)
Property changes on: trunk/Master/texmf-dist/tex/latex/ijsra/ijsra_logo.jpg
___________________________________________________________________
Added: svn:mime-type
## -0,0 +1 ##
+image/jpeg
\ No newline at end of property
Modified: trunk/Master/tlpkg/libexec/ctan2tds
===================================================================
--- trunk/Master/tlpkg/libexec/ctan2tds 2016-08-18 22:13:00 UTC (rev 41884)
+++ trunk/Master/tlpkg/libexec/ctan2tds 2016-08-18 22:14:45 UTC (rev 41885)
@@ -1579,6 +1579,7 @@
'hyplain', '(hyrules|hy.*plain|hylang)\..*',
'ibygrk', 'iby4extr.tex|ibycus4.tex|ibycusps.tex|pssetiby.tex|setiby4.tex|tlgsqq.tex|version4.tex|' . $standardtex,
'ifmslide', '[^n]\.(eps|pdf|jpg)|' . $standardtex, # not ifmman.pdf
+ 'ijsra', 'ijsra_logo.jpg|' . $standardtex,
'insbox', 'insbox.tex',
'interactiveworkbook', 'NULL', # done in POSTinteractiveworkbook
'interpreter', 'interpreter.(tex|lua)|' . $standardtex,
More information about the tex-live-commits
mailing list