From 7c1891cfa426763c7f60b4a9a27edb6fe958d31e Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Tue, 25 Jul 2017 21:59:55 +0000 Subject: ijsra (25jul17) git-svn-id: svn://tug.org/texlive/trunk@44886 c570f23f-e606-0410-a88d-b1316a301751 --- Master/texmf-dist/doc/latex/ijsra/README.md | 2 +- Master/texmf-dist/doc/latex/ijsra/ijsra.pdf | Bin 383673 -> 387846 bytes Master/texmf-dist/doc/latex/ijsra/ijsra.tex | 91 ++++++++++++++++++++-------- Master/texmf-dist/tex/latex/ijsra/ijsra.cls | 37 ++++++----- 4 files changed, 89 insertions(+), 41 deletions(-) (limited to 'Master') diff --git a/Master/texmf-dist/doc/latex/ijsra/README.md b/Master/texmf-dist/doc/latex/ijsra/README.md index 3bf5ae70afb..694a6a6cd97 100644 --- a/Master/texmf-dist/doc/latex/ijsra/README.md +++ b/Master/texmf-dist/doc/latex/ijsra/README.md @@ -1,7 +1,7 @@ document class __ijsra__ ======= -_2017/06/09 v1.0_ +_2017/07/24 v1.1_ Copyright (c) 2017 Lukas C. Bossert diff --git a/Master/texmf-dist/doc/latex/ijsra/ijsra.pdf b/Master/texmf-dist/doc/latex/ijsra/ijsra.pdf index 3fd9a7ac19b..d4637e4a666 100644 Binary files a/Master/texmf-dist/doc/latex/ijsra/ijsra.pdf and b/Master/texmf-dist/doc/latex/ijsra/ijsra.pdf differ diff --git a/Master/texmf-dist/doc/latex/ijsra/ijsra.tex b/Master/texmf-dist/doc/latex/ijsra/ijsra.tex index 8cd123376b5..6d9c6ad839b 100644 --- a/Master/texmf-dist/doc/latex/ijsra/ijsra.tex +++ b/Master/texmf-dist/doc/latex/ijsra/ijsra.tex @@ -27,6 +27,28 @@ \begin{filecontents}{\IJSRAidentifier.bib} + + @Book{Winckelmann2006, + title = {History of the Art of Antiquity}, + publisher = {Getty Research Institute}, + year = {2006}, + author = {Winckelmann, J. J.}, + location = {Los Angeles}, + origdate = {1764}, + related = {Winckelmann1764}, + relatedtype = {translationof}, + translator = {Mallgrave, Harry Francis}, + } + + @Book{Winckelmann1764, + title = {Geschichte der Kunst des Alterthums}, + publisher = {Walther}, + year = {1764}, + author = {Winckelmann, J. J.}, + location = {Dresden}, + } + + @Incollection{Orengo2015, author = {Orengo, H.}, title = {Open Source GIS and Geospatial Software in Archaeology}, @@ -184,6 +206,26 @@ Those are written in the section . . . + @Book{Winckelmann2006, + title = {History of the Art of Antiquity}, + publisher = {Getty Research Institute}, + year = {2006}, + author = {Winckelmann, J. J.}, + location = {Los Angeles}, + origdate = {1764}, + related = {Winckelmann1764}, + relatedtype = {translationof}, + translator = {Mallgrave, Harry Francis}, + } + + @Book{Winckelmann1764, + title = {Geschichte der Kunst des Alterthums}, + publisher = {Walther}, + year = {1764}, + author = {Winckelmann, J. J.}, + location = {Dresden}, + } + \end{filecontents} \end{lstlisting} @@ -272,22 +314,21 @@ Quotes are inserted between the enviroment |IJSRAquote|. Let me give you an example: \begin{lstlisting}[label=quote,caption={Quote}] -\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} +\blockcquote[see][112]{Winckelmann2006}{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{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. + +\blockcquote[see][112]{Winckelmann2006}{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.} + +There is also a way to cite foreigntext-quotes: +\begin{lstlisting}[label=quoteforeign,caption={Quote}] +\foreignblockcquote{ngerman}[see][12]{Winckelmann1764}{Es kann leichter von der Schönheit gesagt werden, was sie nicht ist, als was sie ist; und es verhält sich einigermaßen mit der Schönheit und ihrem Gegenteile, wie mit Gesundheit und Krankheit: diese fühlen wir und jene nicht.} +\end{lstlisting} +\foreignblockcquote{ngerman}[see][12]{Winckelmann1764}{Es kann leichter von der Schönheit gesagt werden, was sie nicht ist, als was sie ist; und es verhält sich einigermaßen mit der Schönheit und ihrem Gegenteile, wie mit Gesundheit und Krankheit: diese fühlen wir und jene nicht.} + +Of course you can also use |\blockquote[Author]{QUOTE}| for a not-citable author of the quote. +Same for |\foreignblockquote[Author]{QUOTE}| \IJSRAseparator You can\IJSRAsection{separator} insert a separation mark between some paragraphs, @@ -399,18 +440,18 @@ The title figure has to be within the folder |figures| and be in an aspect ratio \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 |\&|; -\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$ \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} +% \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 |\&|; +% \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$ \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 diff --git a/Master/texmf-dist/tex/latex/ijsra/ijsra.cls b/Master/texmf-dist/tex/latex/ijsra/ijsra.cls index 471a794a474..1a7a30f71cc 100644 --- a/Master/texmf-dist/tex/latex/ijsra/ijsra.cls +++ b/Master/texmf-dist/tex/latex/ijsra/ijsra.cls @@ -20,8 +20,8 @@ \RequirePackage{ifxetex,ifluatex,ifpdf,ifvtex} \RequirePackage{xkeyval,etoolbox} -\def\IJSRAversion{1.0} -\def\IJSRAversiondate{2017/06/09} +\def\IJSRAversion{1.1} +\def\IJSRAversiondate{2017/07/24} \newbool{issue} \newbool{nobib} @@ -121,6 +121,25 @@ detect-all, %Zahlen werden in der aktuellen Schrift angezeigt strict=true, style=english, ]{csquotes} + +\renewcommand*{\mkccitation}[1]{ (#1)} +\renewcommand*{\mkcitation}[1]{ (#1)} + +\renewenvironment{quote} + {%\small + \list{}{\rightmargin=0em \leftmargin=2em}% + \item\relax} + {\endlist} +\newenvironment{IJSRAquote}[1]% +{\begin{quote} +\alertwarning{\sffamily THIS FEATURE IS DEPRECATED!\newline +Use \textbackslash blockcquote or \textbackslash foreignblockcquote. \newline +See the documentation online.} +} + {\end{quote}} + +%------------------------------------------- + \RequirePackage[ %% use for bibliography backend=biber, style=ijsra, @@ -282,19 +301,7 @@ detect-all, %Zahlen werden in der aktuellen Schrift angezeigt \renewcommand{\marginfont}{\noindent\rule{0pt}{0.7\baselineskip}\color{mygold}\small\sffamily} %\RequirePackage{marginfix} -%------------------------------------------- -%---Zitate/Quote -\def\signed #1{\leavevmode\unskip\nobreak\hfil\penalty50\hskip2em - \hbox{}\nobreak\hfil% - ---#1% - \parfillskip=0pt \finalhyphendemerits=0 \endgraf} - -\newsavebox\mybox -\newenvironment{IJSRAquote}[1]% -{\savebox\mybox{#1}\begin{quote}} - {\signed{\usebox\mybox}\end{quote}} - -\appto\quote{\normalsize\singlespacing} +%\appto\quote{\normalsize\singlespacing} %----------------------------------------- \newcommand\ppages{\pagerange{firstpage\IJSRAidentifier}{lastpage\IJSRAidentifier}} \newcommand\shorttitle{} -- cgit v1.2.3