From b37375f523e3b3b381dae4bbda2befbfd776e863 Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Thu, 28 Feb 2019 22:37:04 +0000 Subject: alpha-persian (28feb19) git-svn-id: svn://tug.org/texlive/trunk@50174 c570f23f-e606-0410-a88d-b1316a301751 --- .../bibtex/bst/alpha-persian/alpha-persian.bst | 12 +- .../texmf-dist/doc/bibtex/alpha-persian/README.txt | Bin 11844 -> 6190 bytes .../alpha-persian/alpha-persian-userguide.pdf | Bin 1408521 -> 2076395 bytes .../alpha-persian/alpha-persian-userguide.tex | 351 ++++++++++++++++++--- .../doc/bibtex/alpha-persian/image/sh12.jpg | Bin 0 -> 350526 bytes .../doc/bibtex/alpha-persian/image/sh13.jpg | Bin 0 -> 258306 bytes .../doc/bibtex/alpha-persian/image/sh6.jpg | Bin 150199 -> 222680 bytes .../doc/bibtex/alpha-persian/pdflatexsample.tex | 24 ++ .../texmf-dist/doc/bibtex/alpha-persian/sample.tex | 35 -- .../doc/bibtex/alpha-persian/sample10.bib | 70 ++++ .../doc/bibtex/alpha-persian/sample8.bib | 3 +- .../doc/bibtex/alpha-persian/sample9.bib | 144 +++++++++ .../doc/bibtex/alpha-persian/xelatexsample.tex | 36 +++ 13 files changed, 589 insertions(+), 86 deletions(-) create mode 100644 Master/texmf-dist/doc/bibtex/alpha-persian/image/sh12.jpg create mode 100644 Master/texmf-dist/doc/bibtex/alpha-persian/image/sh13.jpg create mode 100644 Master/texmf-dist/doc/bibtex/alpha-persian/pdflatexsample.tex delete mode 100644 Master/texmf-dist/doc/bibtex/alpha-persian/sample.tex create mode 100644 Master/texmf-dist/doc/bibtex/alpha-persian/sample10.bib create mode 100644 Master/texmf-dist/doc/bibtex/alpha-persian/sample9.bib create mode 100644 Master/texmf-dist/doc/bibtex/alpha-persian/xelatexsample.tex diff --git a/Master/texmf-dist/bibtex/bst/alpha-persian/alpha-persian.bst b/Master/texmf-dist/bibtex/bst/alpha-persian/alpha-persian.bst index 13f14d6f4af..77c8df67841 100644 --- a/Master/texmf-dist/bibtex/bst/alpha-persian/alpha-persian.bst +++ b/Master/texmf-dist/bibtex/bst/alpha-persian/alpha-persian.bst @@ -1,7 +1,7 @@ %----------------------------------------------------------------------------------------------------------------------------% %----------------------------------------------------------------------------------------------------------------------------% -%>>>% Bib. style "alpha-persian", Persian (farsi) version of alpha.bst +%>>>% Bib. style "alpha-persian", Persian (farsi) version of alpha.bst and also for pdflatex compiler. %>>>% by: Shapour Madadpour February 2019 %>>>% E-mail: madad_sh@yahoo.com %----------------------------------------------------------------------------------------------------------------------------% @@ -9,10 +9,12 @@ %>>>% Thanks to Mahmoud Amintoosi and Mostafa Vahedi for creating the other bibtex styles in persian. %----------------------------------------------------------------------------------------------------------------------------% -%>>>% For XePersian, a Persian Typesetting Package in XeTeX +%>>>% For XePersian, a Persian Typesetting Package in XeTeX and also for pdflatex with help of the following commands: +%%%%%\let\lr\relax %\let\setlatin\relax %\let\resetlatinfont\relax %\newenvironment{LTRbibitems}{}{}%%%% %>>>% It may be distributed and/or modified under the %>>>% conditions of the LaTeX Project Public License (version 1.3c), %>>>% either this version of this license or (at your option) any later version. +%>>>% This style has\noopsort command for sort the references manually. %-----------------------------------------------------------------------------------------------------------------------------% % BibTeX standard bibliography style `alpha' @@ -87,8 +89,8 @@ INTEGERS { output.state before.all mid.sentence after.sentence after.block } FUNCTION {is.print.banners.to.terminal}{#1} %--------------------------------------------------------------------- FILE VERSION AND BANNER ---------------------------------------------------------------------------------% -FUNCTION{bst.file.version} { "1.1" } -FUNCTION{bst.file.date} { "2019/02/15" } +FUNCTION{bst.file.version} { "1.2" } +FUNCTION{bst.file.date} { "2019/02/27" } FUNCTION{bst.file.website} { "http://www.parsilatex.com" } FUNCTION{bst.file.author} {"Sh.Madadpour" } FUNCTION {banner.message} @@ -96,7 +98,7 @@ FUNCTION {banner.message} { "-- alpha-persian.bst version" " " * bst.file.version * " (" * bst.file.date * ") " * %"by " * bst.file.author * top$ - "-- This is a BibTeX style for XePersian: " bst.file.website * + "-- This is a BibTeX style for XePersian and also without it: " bst.file.website * %top$ %" " * top$ diff --git a/Master/texmf-dist/doc/bibtex/alpha-persian/README.txt b/Master/texmf-dist/doc/bibtex/alpha-persian/README.txt index efef297ef47..316851ff81f 100644 Binary files a/Master/texmf-dist/doc/bibtex/alpha-persian/README.txt and b/Master/texmf-dist/doc/bibtex/alpha-persian/README.txt differ diff --git a/Master/texmf-dist/doc/bibtex/alpha-persian/alpha-persian-userguide.pdf b/Master/texmf-dist/doc/bibtex/alpha-persian/alpha-persian-userguide.pdf index f9d476c2adf..362584df6eb 100644 Binary files a/Master/texmf-dist/doc/bibtex/alpha-persian/alpha-persian-userguide.pdf and b/Master/texmf-dist/doc/bibtex/alpha-persian/alpha-persian-userguide.pdf differ diff --git a/Master/texmf-dist/doc/bibtex/alpha-persian/alpha-persian-userguide.tex b/Master/texmf-dist/doc/bibtex/alpha-persian/alpha-persian-userguide.tex index d141fb48d46..268b37b4cf1 100644 --- a/Master/texmf-dist/doc/bibtex/alpha-persian/alpha-persian-userguide.tex +++ b/Master/texmf-dist/doc/bibtex/alpha-persian/alpha-persian-userguide.tex @@ -17,12 +17,6 @@ \hyphenchar\font=`\- } \usepackage{fancyhdr} -\pagestyle{fancy} -\fancyhead[OL,ER]{\thepage} -\fancyhead[EL]{{\qquad \color{blue}\thickhrulefill} \qquad \rl{\leftmark}} -\renewcommand{\headrulewidth}{1pt} -\renewcommand{\footrulewidth}{1pt} -\fancyfoot[C]{{\lr{\color{green!50!black} By Shapour Madadpour}}} %\usepackage{url} \usepackage[compress]{cite} %باید دوبار خروجی بگیرید. @@ -34,16 +28,26 @@ \DefineVerbatimEnvironment{rtlverbatim}{Verbatim}{commandchars=+\[\]} \newfontfamily\Parsifont[Script=Arabic]{XB Niloofar} \newcommand{\prl}[1]{\RL{\Parsifont #1}} +\newcommand{\pdflatex}{P\!\!\reflectbox{\raisebox{-1mm}{{\small D}}}F\LaTeX} +\pagestyle{fancy} +\fancyhf{} +\rhead[OR]{\lr{\thepage}} +\lhead[EL]{\lr{\leftmark}} +\renewcommand{\headrulewidth}{1pt} +\renewcommand{\footrulewidth}{1pt} +\fancyfoot[C]{{\lr{\color{green!50!black} By Shapour Madadpour}}} \begin{document} -\begin{latin} -\section{alpha-persian.bst} +\begin{latin}\tableofcontents +\paragraph{\color{red!50!black} version: 1.2} +\paragraph{\color{red!50!black}27 February 2019} +\section{\lr{alpha-persian.bst with \XeLaTeX}} \label{12} \noindent Bib style ``alpha-persian", Persian (farsi) version of alpha.bst (RTL and LTR references).\\ \begin{Verbatim}[fontsize=\bf,commandchars=\^\#\*,baselinestretch=1,firstnumber=1,formatcom=\color{red!50!black}] By: Shapour Madadpour -madad_sh@yahoo.com +E-mail: madad_sh@yahoo.com \end{Verbatim} -{\color{red}First Compile:} XeLaTex-BibTeX-XeLaTex-XeLaTex\\ +{\color{red}$\hookrightarrow$ First Compile:} XeLaTex-BibTeX-XeLaTex-XeLaTex\\ With this compile, persian references set at the end of latin references.\\ {\tt\color{blue} Sample:} \end{latin} @@ -51,7 +55,7 @@ With this compile, persian references set at the end of latin references.\\ @article{karamzadeh2012prime, author={Karamzadeh, Omid Ali Shahny}, title={The Prime Avoidance Lemma Revisited}, -key ={7}, +key={7}, journal={Kyungpook mathematical journal}, volume={52}, number={2}, @@ -66,10 +70,10 @@ author={^prl# رضایی علی‌آباد,علی*}, journal={Kyungpook mathematical journal}, pages={1163^raisebox#.5mm--* ^!^!^!1171}, LANGUAGE ={Persian}, -mlabel ={^prl#ا.م.ف*}, -murl = {http://www.w3.org/TR/prov-o/}, -series = {second series}, -year = {2002}, +mlabel={^prl#ا.م.ف*}, +murl={http://www.w3.org/TR/prov-o/}, +series={second series}, +year={2002}, chapter={5}, quotation={1}, school={^prl#دانشگاه چمران اهواز*}, @@ -80,7 +84,7 @@ school={^prl#دانشگاه چمران اهواز*}, \includegraphics[width=\textwidth,height=3cm]{image/sh11} \end{figure} \begin{latin}\noindent -{\color{red}Second Compile:} XeLaTex-BibTeX 8 bit-XeLaTex-XeLaTex\\ +{\color{red}$\hookrightarrow$ Second Compile:} XeLaTex-BibTeX 8 bit-XeLaTex-XeLaTex\\ {\tt txs:///xelatex |bibtex8 -W -c cp1256fa %.aux| txs:///xelatex|txs:/// xelatex.}\\ With this compile, latin references set at the end of persian references.\\ @@ -91,14 +95,14 @@ With this compile, latin references set at the end of persian references.\\ \includegraphics[width=\textwidth,height=3cm]{image/sht} \end{figure} \begin{latin}\noindent -{\tt {\color{red} quotation mark for title automatically.}}\\ +{\tt {\color{red}$\hookrightarrow$ quotation mark for title automatically.}}\\ {\tt\color{blue} Sample:} \end{latin} \begin{Verbatim}[numbers=left,fontsize=\bf,commandchars=\^\#\*,baselinestretch=1,firstnumber=1,formatcom=\color{green!50!black}] @article{karamzadeh2012prime, author={Karamzadeh, Omid Ali Shahny}, title={The Prime Avoidance Lemma Revisited}, -key ={7}, +key={7}, journal={Kyungpook mathematical journal}, volume={52}, number={2}, @@ -106,7 +110,7 @@ pages={149^raisebox#.5mm--* ^!^!^!153}, year={2012}, quotation={1}, madadurltest={1}, -murl = {http://www.w3.org/TR/prov-o/}, +murl={http://www.w3.org/TR/prov-o/}, publisher={Department of Mathematics, Kyungpook National University} } @phdthesis{mmm, @@ -114,13 +118,13 @@ title={^prl#فضای توپولوژی*}, author={^prl#رضایی علی‌آباد,علی*}, journal={Kyungpook mathematical journal}, pages={1163^raisebox#.5mm--* ^!^!^!1171}, -LANGUAGE ={Persian}, -mlabel ={^prl#ا.م.ف*}, +LANGUAGE={Persian}, +mlabel={^prl#ا.م.ف*}, madadurltest={1}, quotation={1}, -murl = {http://www.w3.org/TR/prov-o/}, -series = {second series}, -year = {2002}, +murl={http://www.w3.org/TR/prov-o/}, +series={second series}, +year={2002}, chapter={5}, school={^prl#دانشگاه چمران اهواز*}, } @@ -130,7 +134,7 @@ school={^prl#دانشگاه چمران اهواز*}, \includegraphics[width=\textwidth,height=3cm]{image/sh2} \end{figure} \begin{latin}\noindent -{\tt {\color{red}with or without link for title automatically with hyperref package.}}\\ +{\tt {\color{red}$\hookrightarrow$ with or without link for title automatically with hyperref\\ package.}}\\ {\tt\color{blue} Sample:} \begin{Verbatim}[numbers=left,fontsize=\bf,commandchars=\^\#\*,baselinestretch=1,firstnumber=1,formatcom=\color{green!50!black}] \usepackage[pagebackref=true,colorlinks,linkcolor=blue]{hyperref} @@ -143,14 +147,14 @@ school={^prl#دانشگاه چمران اهواز*}, \includegraphics[width=\textwidth,height=3cm]{image/sh3} \end{figure} \begin{latin}\noindent -{\tt {\color{red}in addition to url with url and hyperref packages, it can have url feild without them.}}\\ +{\tt {\color{red}$\hookrightarrow$ in addition to url with url and hyperref packages, it can\\ have url feild without them.}}\\ {\tt\color{blue} Sample with hyperref package:} \end{latin} \begin{Verbatim}[numbers=left,fontsize=\bf,commandchars=\^\#\*,baselinestretch=1,firstnumber=1,formatcom=\color{green!50!black}] @article{karamzadeh2012prime, author={Karamzadeh, Omid Ali Shahny}, title={The Prime Avoidance Lemma Revisited}, -key ={7}, +key={7}, journal={Kyungpook mathematical journal}, volume={52}, number={2}, @@ -165,8 +169,8 @@ title={^prl#فضای توپولوژی*}, author={^prl#رضایی علی‌آباد,علی*}, journal={Kyungpook mathematical journal}, pages={1163^raisebox#.5mm--* ^!^!^!1171}, -LANGUAGE ={Persian}, -mlabel ={^prl#ا.م.ف*}, +LANGUAGE={Persian}, +mlabel={^prl#ا.م.ف*}, madadurltest={1}, quotation={1}, murl={http://www.w3.org/TR/prov-o/}, @@ -191,7 +195,7 @@ school={^prl#دانشگاه چمران اهواز*}, \end{figure} \begin{latin} -{\tt{\color{red} issn+isbn+doi+et~al in english and persian bibstyle:}}\\ +{\tt{\color{red}$\hookrightarrow$ issn+isbn+doi+et~al in english and persian bibstyle:}}\\ { isbn Added. It Writes in Persian style \rl{"شابک``}.\\ issn Added. It Writes in Persian style \rl{"شاپا``}.\\ doi Added. It Writes in Persian style\rl{"شناسه‌ی دیجیتال``}.}\\ @@ -201,13 +205,12 @@ doi Added. It Writes in Persian style\rl{"شناسه‌ی دیجیتال``}.}\\ @inbook{d, AUTHOR={&prl#مددپور, شاپور* and &prl#مددپور, محمدحسین* and &prl#سایرین*}, mlabel={&prl#مدد$^+$*}, -aaa ={1}, TITLE={&prl#همریختی و بروریختی در حلقه‌ها*}, JOURNAL={&prl#مجله‌ی گراف فارس*}, VOLUME ={1}, -YEAR ={1395}, +YEAR={1395}, MONTH={&prl#بهار*}, -PAGES ={39&raisebox#.5mm--* &!&!&!43}, +PAGES={39&raisebox#.5mm--* &!&!&!43}, quotation={1}, LANGUAGE={Persian}, url={http://www.w3.org/TR/prov-o/}, @@ -233,7 +236,7 @@ publisher={Springer Verlag}, murl={http://www.w3.org/TR/prov-o/}, isbn={123456789000}, number={10}, -pages={10^raisebox#.5mm--* ^!^!^!19}, +pages={10&raisebox#.5mm--* &!&!&!19}, series={second series}, chapter={5}, issn={1111-2222}, @@ -248,15 +251,15 @@ address={The address of the publisher}, \includegraphics[width=\textwidth,height=5.5cm]{image/sh6} \end{figure} \begin{latin} -{\tt {\color{red}Flexible for each defined label with appropriative field.}}\\ +{\tt {\color{red}$\hookrightarrow$ Flexible for each defined label with appropriative field.}}\\ {\tt\color{blue} Sample:} \end{latin} \begin{Verbatim}[numbers=left,fontsize=\bf,commandchars=\&\#\*,baselinestretch=1,firstnumber=1,formatcom=\color{green!50!black}] -slabel = {$\checkmark\checkmark\checkmark$}, +slabel={$\checkmark\checkmark\checkmark$}, OR -slabel = {$\spadesuit$}, +slabel={$\spadesuit$}, OR -slabel = {$\clubsuit$}, +slabel={$\clubsuit$}, \end{Verbatim} \begin{figure}[H] \centering @@ -264,7 +267,7 @@ slabel = {$\clubsuit$}, \end{figure} \begin{latin} -{\tt{\color{red} in addition to general label, we can choose numbering label.}}\\ +{\tt{\color{red}$\hookrightarrow$ in addition to general label, we can choose numbering label.}}\\ {\tt\color{blue} Sample:} \begin{Verbatim}[numbers=left,fontsize=\bf,commandchars=\&\#\*,baselinestretch=1,firstnumber=1,formatcom=\color{green!50!black}] slabel={1}, @@ -281,7 +284,7 @@ slabel={4}, \includegraphics[width=\textwidth,height=7cm]{image/sh8} \end{figure} \begin{latin} -{\tt {\color{red}Compatible with hyperref, url, natbib and cite packages.}} +{\tt {\color{red}$\hookrightarrow$ Compatible with hyperref, url, natbib and cite packages.}} \end{latin} \begin{latin} \begin{verbatim} @@ -294,13 +297,164 @@ slabel={4}, \centering \includegraphics[width=\textwidth,height=9cm]{image/sh9} \end{figure} -\begin{latin}{\color{red} -This is first version of it, but right now i am working on it and i will develop it. +\begin{latin} +{\tt {\color{red}$\hookrightarrow$ you can sort persian references together and also +english \linebreak references together and you can sort both of them together (mixed)\linebreak too with the help of +\verb|\noopsort| command.}}\\ +{\tt\color{blue} Sample:}\\ +{\color{blue}$\hookrightarrow$ Compile: XeLaTex-BibTeX-XeLaTex-XeLaTex} +\end{latin} +\begin{Verbatim}[numbers=left,fontsize=\bf,commandchars=\&\#\*,baselinestretch=1,firstnumber=1,formatcom=\color{green!50!black}] +@misc{whatever, +AUTHOR="{\noopsort{2}}{Madadpour},Ahmad ", +quotation={1}, +year={2001}, +chapter={5}, +title={Testing the effects of bibtex styles on bibliography formatting}, +murl={http://www.w3.org/TR/prov-o/}, +doi={01.1000/doi-0121}, +madadurltest={1}, +key={665}, +} +@misc{B02f, +howpublished={How it was published}, +AUTHOR="{\noopsort{4}}{Madadpour},Shapour ", +year={2002}, +quotation={1}, +title={First}, +pages={13&raisebox#.5mm--* &!&!&!17}, +madadurltest={1}, +mlabel={$\checkmark^+$}, +murl={http://www.w3.org/TR/prov-o/}, +chapter={5}, +} +@article{aliabad2004rings, +title={reference test-Rings of continuous functions vanishing at infinity}, +AUTHOR= "{\noopsort{6}}{Madadpour},Alireza ", +journal={Commentationes Mathematicae Universitatis Carolinae}, +volume={45}, +pages={519&raisebox#.5mm--* &!&!&!533}, +quotation={1}, +year={2004}, +murl={http://www.w3.org/TR/prov-o/}, +madadurltest={1}, +publisher={Charles University in Prague, Faculty of Mathematics and Physics}, +} +@article{ali, +title={reference test-Pasting topological spaces at one point}, +AUTHOR= "{\noopsort{8}}{Madadpour},Mahmood ", +journal={Czechoslovak Mathematical Journal}, +volume={56}, +number={4}, +pages={1193&raisebox#.5mm--* &!&!&!1206}, +quotation={1}, +year={2006}, +publisher={Springer}, +url={http://www.w3.org/TR/prov-o/}, +} +@article{Amintoosi87afzayesh, +TITLE={&prl#افزایش وضوح ناحیه‌ای*}, +BOOKTITLE={&prl#چهاردهمین کنفرانس ملی سالانه انجمن کامپیوتر ایران*}, +author={{\noopsort{1}}{&prl#امین‌طوسی*}&prl#محمود, * and &prl# مزینی ,ناصر*and &prl#سایرین*}, +YEAR ={1387}, +ORGANIZATION={&prl#دانشگاه امیرکبیر*}, +ADDRESS={&prl#تهران، ایران*}, +journal={&prl#نام مجله‌ی چاپ‌کننده*}, +month={&prl#اسفند*}, +doi={01.1000/doi-0121}, +edition={&prl#ششم*}, +volume={45}, +number={3}, +pages={101&raisebox#.5mm--* &!&!&!108}, +issn={1111&raisebox#.5mm-* &!&!&!2222}, +madadurltest={1}, +chapter={5}, +quotation={1}, +LANGUAGE={Persian}, +mlabel={ا.م$^+$}, +slabel={$\heartsuit$}, +murl={http://www.w3.org/TR/prov-o/}, +} +@inbook{d, +AUTHOR={{\noopsort{1}}{&prl#مددپور*}&prl#شاپور, * and &prl# مددپور ,محمدحسین*and &prl#سایرین*}, +mlabel={&prl#مدد$^+$*}, +TITLE={&prl#همریختی و بروریختی در حلقه‌ها*}, +JOURNAL={&prl#مجله‌ی گراف فارس*}, +VOLUME={1}, +YEAR={1395}, +MONTH={&prl#بهار*}, +PAGES={39&raisebox#.5mm--* &!&!&!43}, +quotation={1}, +LANGUAGE={Persian}, +doi={&prl#01.1000/doi*&raisebox#.5mm-* &!&!&!0121}, +isbn={123456789000}, +edition={&prl#دوم*}, +series={&prl#سری دوم*}, +number={10}, +chapter={5}, +madadurltest={1}, +murl={http://www.w3.org/TR/prov-o/}, +publisher={&prl#انتشارات دل آهنگ*}, +note={&prl#یک یادداشت اختیاری در این‌جا می‌توانید وارد کنید*}, +address={‌&prl#آدرس منتشر کننده*}, +slabel={$\bigstar$}, +} +@phdthesis{mmm, +title={&prl#فضای توپولوژی*}, +author={{\noopsort{5}}{&prl#رضایی علی‌آباد*}&prl#علی,*}, +journal={Kyungpook mathematical journal}, +pages={1163&raisebox#.5mm--* &!&!&!1171}, +LANGUAGE ={Persian}, +mlabel={&prl#ا.م.ف*}, +madadurltest={1}, +quotation={1}, +murl={http://www.w3.org/TR/prov-o/}, +series={second series}, +year={2002}, +url={http://www.w3.org/TR/prov-o/}, +chapter={5}, +school={&prl#دانشگاه چمران اهواز*}, } +@inbook{yu, +author={{\noopsort{1}}{&prl#نامداری*}&prl#مهرداد, * and &prl# کوچک‌پور ,عبدعلی*}, +mlabel ={&prl#ن.ا.م$^+$*}, +TITLE ={&prl#مقدمه‌ای بر نظریه‌ی اصولی مجموعه‌ها*}, +VOLUME={1}, +YEAR={1394}, +MONTH={&prl#بهار*}, +PAGES={39&raisebox#.5mm--* &!&!&!43}, +quotation={1}, +LANGUAGE={Persian}, +doi={322/511}, +isbn={978&raisebox#.5mm-* &!&!&!600&raisebox#.5mm-* &!&!&!141&raisebox#.5mm-* &!&!&!173&raisebox#.5mm-* &!&!&!1}, +edition={&prl#دوم*}, +series={&prl#سری دوم*}, +number={100}, +chapter={5}, +madadurltest={1}, +murl={http://www.w3.org/TR/prov-o/}, +publisher={&prl#انتشارات دانشگاه چمران*}, +note={&prl#یک یادداشت اختیاری در این‌جا می‌توانید وارد کنید*}, +address={&prl#آدرس منتشر کننده*}, +slabel={4}, +} +\end{Verbatim} +\begin{latin} +{\color{blue}$\hookrightarrow$ Compile: XeLaTex-BibTeX-XeLaTex-XeLaTex} \end{latin} +\begin{figure}[H] +\centering +\includegraphics[width=\textwidth,height=11.5cm]{image/sh12} +\end{figure} + + + + + \noindent \begin{latin} -{\tt{\color{blue} General example:}} +{\tt{\color{blue} General example with xelatex compiler:}}\\ +{\color{blue}$\hookrightarrow$ Compile: XeLaTex-BibTeX-XeLaTex-XeLaTex} \end{latin} \lr{\cite{B02f}} و @@ -326,4 +480,113 @@ This is first version of it, but right now i am working on it and i will develop %\bibliography{sample6} %\bibliography{sample7} \bibliography{sample8} -\end{document} \ No newline at end of file +\newpage +\begin{latin} +\section{\lr{alpha-persian.bst with \protect \pdflatex}} +In addition to xelatex compile, +You can also use from alpha-persian.bst with pdflatex compile (without xepersian package). +To do this, just put the following codes before the \verb|\begin{document}|. +\begin{verbatim} +\let\lr\relax +\let\setlatin\relax +\let\resetlatinfont\relax +\newenvironment{LTRbibitems}{}{} +\end{verbatim} +{\tt\color{blue} Sample:}\\ +{\color{blue}$\hookrightarrow$ Compile: pdfLaTeX-BibTeX-pdfLaTeX-pdfLaTeX} +\begin{Verbatim}[numbers=left,fontsize=\bf,commandchars=\&\#\*,baselinestretch=1,firstnumber=1,formatcom=\color{green!50!black}] +@misc{whatever, +AUTHOR= "{\noopsort{1}}{Madadpour},Ahmad ", +quotation={1}, +year={2001}, +chapter={5}, +title={Testing the effects of bibtex styles on +bibliography formatting}, +murl={http://www.w3.org/TR/prov-o/}, +doi={01.1000/doi-0121}, +madadurltest={1}, +key={665}, +} +@misc{B02f, +howpublished = {How it was published}, +AUTHOR= "{\noopsort{2}}{Madadpour},Shapour and +Madadpour , Mohamadhosain and Madadpour , Mitra ", +year={2002}, +quotation={1}, +title={First}, +pages={13--17}, +madadurltest={1}, +mlabel={&prl#$\checkmark^+$*}, +murl={http://www.w3.org/TR/prov-o/}, +chapter={5}, +} +@article{aliabad2004rings, +title={reference test-Rings of continuous functions +vanishing at infinity}, +AUTHOR= "{\noopsort{3}}{Madadpour},Alireza ", +journal={Commentationes Mathematicae Universitatis Carolinae}, +volume={45}, +pages={519--533}, +quotation={1}, +year={2004}, +murl={http://www.w3.org/TR/prov-o/}, +madadurltest={1}, +publisher={Charles University in Prague, Faculty of +Mathematics and Physics}, +} +@article{ali, +title={reference test-Pasting topological spaces at one point}, +AUTHOR = "{\noopsort{4}}{Madadpour},Mahmood ", +journal={Czechoslovak Mathematical Journal}, +volume={56}, +number={4}, +pages={1193--1206}, +quotation={1}, +year={2006}, +publisher={Springer}, +url={http://www.w3.org/TR/prov-o/}, +} +@book{kuznetsov1998elements, +title={reference test-Elements of +applied bifurcation theory}, +volume={112}, +madadurltest={1}, +year={1998}, +edition={third}, +publisher={Springer Verlag}, +murl={http://www.w3.org/TR/prov-o/}, +isbn={123456789000}, +number={10}, +pages={10--19}, +series={second series}, +chapter={5}, +AUTHOR= "{\noopsort{5}}{Madadpour},Behrooz ", +address={The address of the publisher}, +} +\end{Verbatim} +\begin{latin} +{\color{blue}$\hookrightarrow$ Compile: pdfLaTeX-BibTeX-pdfLaTeX-pdfLaTeX} +\end{latin} +\begin{figure}[H] +\centering +\includegraphics[width=\textwidth,height=8cm]{image/sh13} +\end{figure} +\section*{Notice} +With pdflatex compiler, we have all the properties in section \ref{12}; so enjoy it. +\end{latin} + + + + + +\end{document} +In addition to latex compile, +You can also use from alpha-persian.bst with pdflatex compile(without xepersian package). +To do this, just put the following codes before the \begin{document}. +\let\lr\relax +\let\resetlatinfont\relax +\newenvironment{LTRbibitems}{}{} + + +\newcommand{\pdflatex}{\LR {\leavevmode $\smash {\hbox {P\lower .6ex \hbox + {\kern -.225em\bidi@reflect@box {D}}\hbox{\bidi@reflect@box{F}} \kern -.4em \LaTeX }}$}} diff --git a/Master/texmf-dist/doc/bibtex/alpha-persian/image/sh12.jpg b/Master/texmf-dist/doc/bibtex/alpha-persian/image/sh12.jpg new file mode 100644 index 00000000000..e9a0b4b8f78 Binary files /dev/null and b/Master/texmf-dist/doc/bibtex/alpha-persian/image/sh12.jpg differ diff --git a/Master/texmf-dist/doc/bibtex/alpha-persian/image/sh13.jpg b/Master/texmf-dist/doc/bibtex/alpha-persian/image/sh13.jpg new file mode 100644 index 00000000000..c8c9a72f626 Binary files /dev/null and b/Master/texmf-dist/doc/bibtex/alpha-persian/image/sh13.jpg differ diff --git a/Master/texmf-dist/doc/bibtex/alpha-persian/image/sh6.jpg b/Master/texmf-dist/doc/bibtex/alpha-persian/image/sh6.jpg index 222dc3ce578..7dcf6f41dfe 100644 Binary files a/Master/texmf-dist/doc/bibtex/alpha-persian/image/sh6.jpg and b/Master/texmf-dist/doc/bibtex/alpha-persian/image/sh6.jpg differ diff --git a/Master/texmf-dist/doc/bibtex/alpha-persian/pdflatexsample.tex b/Master/texmf-dist/doc/bibtex/alpha-persian/pdflatexsample.tex new file mode 100644 index 00000000000..55f343d76a9 --- /dev/null +++ b/Master/texmf-dist/doc/bibtex/alpha-persian/pdflatexsample.tex @@ -0,0 +1,24 @@ +\documentclass{article} +\usepackage{xcolor} +\usepackage[pagebackref=true,colorlinks,linkcolor=blue,citecolor=green!80!black]{hyperref} +\usepackage{amssymb} +\usepackage{amsmath} +\let\lr\relax +\let\setlatin\relax +\let\resetlatinfont\relax +\newenvironment{LTRbibitems}{}{} +\begin{document} +According to +\cite{B02f} +and +\cite{aliabad2004rings,ali,whatever,B02f} +we have ... +\nocite{*} +\bibliographystyle{alpha-persian} +\bibliography{sample10} +\end{document} + + + + + diff --git a/Master/texmf-dist/doc/bibtex/alpha-persian/sample.tex b/Master/texmf-dist/doc/bibtex/alpha-persian/sample.tex deleted file mode 100644 index 3ab083ffb71..00000000000 --- a/Master/texmf-dist/doc/bibtex/alpha-persian/sample.tex +++ /dev/null @@ -1,35 +0,0 @@ -\documentclass{article} -\usepackage{xcolor} -\usepackage[pagebackref=true,colorlinks,linkcolor=blue,citecolor=green!80!black]{hyperref} -\usepackage{amssymb} -\usepackage{amsmath} -%\usepackage{url} -%\usepackage[compress]{cite} -%\usepackage[numbers,sort&compress]{natbib} -\usepackage{xepersian} -\settextfont{Yas} -\begin{document} -\lr{\cite{B02f}} - و -\cite{d} -و -\cite{Amintoosi87afzayesh} -و -\lr{\cite{aliabad2004rings}} -و -\lr{\cite{ghafarzadeh2016stem}} -و -\cite{aliabad2004rings,ali,whatever,B02f,d} -و همچنین داریم: -\lr{\cite{aliabad2004rings,ali,whatever,B02f,d}} - -\nocite{*} -\bibliographystyle{alpha-persian} -\bibliography{sample8} -\end{document} - - - - - - diff --git a/Master/texmf-dist/doc/bibtex/alpha-persian/sample10.bib b/Master/texmf-dist/doc/bibtex/alpha-persian/sample10.bib new file mode 100644 index 00000000000..a1b39031c21 --- /dev/null +++ b/Master/texmf-dist/doc/bibtex/alpha-persian/sample10.bib @@ -0,0 +1,70 @@ + +‌ +@misc{whatever, +AUTHOR = "{\noopsort{1}}{Madadpour},Ahmad ", +quotation={1}, +year = {2001}, +chapter={5}, +title = {Testing the effects of bibtex styles on bibliography formatting}, + murl = {http://www.w3.org/TR/prov-o/}, +doi = {01.1000/doi-0121}, +madadurltest={1}, +key={665}, +} +@misc{B02f, + howpublished = {How it was published}, +AUTHOR = "{\noopsort{2}}{Madadpour},Shapour and Madadpour , Mohamadhosain and Madadpour ,Mitra ", + year = {2002}, +quotation={1}, + title = {First}, +pages={13--17}, +madadurltest={1}, +mlabel = {$\checkmark^+$}, + murl = {http://www.w3.org/TR/prov-o/}, +chapter={5}, +} + + +@article{aliabad2004rings, + title={reference test-Rings of continuous functions vanishing at infinity}, +AUTHOR = "{\noopsort{3}}{Madadpour},Alireza ", + journal={Commentationes Mathematicae Universitatis Carolinae}, + volume={45}, + pages={519--533}, +quotation={1}, + year={2004}, +murl = {http://www.w3.org/TR/prov-o/}, +madadurltest={1}, + publisher={Charles University in Prague, Faculty of Mathematics and Physics}, +} +@article{ali, + title={reference test-Pasting topological spaces at one point}, +AUTHOR = "{\noopsort{4}}{Madadpour},Mahmood ", + journal={Czechoslovak Mathematical Journal}, + volume={56}, + number={4}, + pages={1193--1206}, +quotation={1}, + year={2006}, + publisher={Springer}, +url = {http://www.w3.org/TR/prov-o/}, +} + + +@book{kuznetsov1998elements, + title={reference test-Elements of applied bifurcation theory}, + volume={112}, +madadurltest={1}, + year={1998}, +edition ={third}, +publisher={Springer Verlag}, +murl = {http://www.w3.org/TR/prov-o/}, +isbn = {123456789000}, +number = {10}, +pages = {10--19}, +series = {second series}, +chapter={5}, +AUTHOR = "{\noopsort{5}}{Madadpour},Behrooz ", +address = {The address of the publisher}, +} + diff --git a/Master/texmf-dist/doc/bibtex/alpha-persian/sample8.bib b/Master/texmf-dist/doc/bibtex/alpha-persian/sample8.bib index bc83b1a91db..3f3c800a7f2 100644 --- a/Master/texmf-dist/doc/bibtex/alpha-persian/sample8.bib +++ b/Master/texmf-dist/doc/bibtex/alpha-persian/sample8.bib @@ -1,4 +1,4 @@ -@article{Amintoosi87afzayesh, +@article{Amintoosi87afzayesh, TITLE = {افزایش وضوح ناحیه‌ای}, BOOKTITLE = {چهاردهمین کنفرانس ملی سالانه انجمن کامپیوتر ایران}, author={امین‌طوسی,محمود and مزینی ,ناصر and سایرین}, @@ -82,7 +82,6 @@ title={The Prime Avoidance Lemma Revisited}, key ={7}, journal={Kyungpook mathematical journal}, volume={52}, - number={2}, pages={149--153}, year={2012}, quotation={1}, diff --git a/Master/texmf-dist/doc/bibtex/alpha-persian/sample9.bib b/Master/texmf-dist/doc/bibtex/alpha-persian/sample9.bib new file mode 100644 index 00000000000..9448b7e4580 --- /dev/null +++ b/Master/texmf-dist/doc/bibtex/alpha-persian/sample9.bib @@ -0,0 +1,144 @@ + +‌ +@misc{whatever, +AUTHOR = "{\noopsort{2}}{Madadpour},Ahmad ", +quotation={1}, +year = {2001}, +chapter={5}, +title = {Testing the effects of bibtex styles on bibliography formatting}, + murl = {http://www.w3.org/TR/prov-o/}, +doi = {01.1000/doi-0121}, +madadurltest={1}, +key={665}, +} +@misc{B02f, + howpublished = {How it was published}, +AUTHOR = "{\noopsort{4}}{Madadpour},Shapour ", + year = {2002}, +quotation={1}, + title = {First}, +pages={13--17}, +madadurltest={1}, +mlabel = {$\checkmark^+$}, + murl = {http://www.w3.org/TR/prov-o/}, +chapter={5}, +} + + +@article{aliabad2004rings, + title={reference test-Rings of continuous functions vanishing at infinity}, +AUTHOR = "{\noopsort{6}}{Madadpour},Alireza ", + journal={Commentationes Mathematicae Universitatis Carolinae}, + volume={45}, + pages={519--533}, +quotation={1}, + year={2004}, +murl = {http://www.w3.org/TR/prov-o/}, +madadurltest={1}, + publisher={Charles University in Prague, Faculty of Mathematics and Physics}, +} +@article{ali, + title={reference test-Pasting topological spaces at one point}, +AUTHOR = "{\noopsort{8}}{Madadpour},Mahmood ", + journal={Czechoslovak Mathematical Journal}, + volume={56}, + number={4}, + pages={1193--1206}, +quotation={1}, + year={2006}, + publisher={Springer}, +url = {http://www.w3.org/TR/prov-o/}, +} + + +@article{Amintoosi87afzayesh, +TITLE = {افزایش وضوح ناحیه‌ای}, +BOOKTITLE = {چهاردهمین کنفرانس ملی سالانه انجمن کامپیوتر ایران}, +author={{\noopsort{1}}{امین‌طوسی},محمود and مزینی ,ناصر and سایرین}, +YEAR = {1387}, +ORGANIZATION = {دانشگاه امیرکبیر}, +ADDRESS = {تهران، ایران}, + journal = {نام مجله‌ی چاپ‌کننده}, +month = {اسفند}, +doi = {01.1000/doi-0121}, +edition ={ششم}, +editor={امین‌طوسی,محمود and مزینی ,ناصر and سایرین}, +volume={45}, +number={3}, +pages = {101--108}, +issn = {1111-2222}, +madadurltest={1}, +chapter={5}, +quotation={1}, +LANGUAGE = {Persian}, +mlabel = {ا.م$^+$}, +slabel = {$\heartsuit$}, + murl = {http://www.w3.org/TR/prov-o/}, +} + +@inbook{d, + AUTHOR = {{\noopsort{3}}{مددپور},شاپور and مددپور, محمدحسین and سایرین}, + mlabel = {مدد$^+$}, + TITLE = {همریختی و بروریختی در حلقه‌ها}, + JOURNAL = {مجله‌ی گراف فارس}, + VOLUME = {1}, + YEAR = {1395}, + MONTH = {بهار}, + PAGES = {39-43}, +quotation={1}, + LANGUAGE = {Persian}, +doi = {01.1000/doi-0121}, +isbn = {123456789000}, +edition ={دوم}, +series = {سری دوم}, +number = {10}, +chapter={5}, +madadurltest={1}, + murl = {http://www.w3.org/TR/prov-o/}, +publisher = {انتشارات دل آهنگ}, + note = {یک یادداشت اختیاری در این‌جا می‌توانید وارد کنید}, + address = {آدرس منتشر کننده}, +slabel = {$\bigstar$}, +} + +@phdthesis{mmm, +title={فضای توپولوژی}, +author={{\noopsort{5}}{رضایی علی‌آباد},علی}, +journal={Kyungpook mathematical journal}, + pages={1163--1171}, +LANGUAGE = {Persian}, +mlabel = {ا.م.ف}, +madadurltest={1}, +quotation={1}, +murl = {http://www.w3.org/TR/prov-o/}, +series = {second series}, +year = {2002}, +url = {http://www.w3.org/TR/prov-o/}, +chapter={5}, + school = {دانشگاه چمران اهواز}, +} +@inbook{yu, + AUTHOR = { +{\noopsort{7}}{نامداری},مهرداد and کوچک‌پور,عبدعلی}, + mlabel = {ن.ا.م$^+$}, + TITLE = {مقدمه‌ای بر نظریه‌ی اصولی مجموعه‌ها}, + VOLUME = {1}, + YEAR = {1394}, + MONTH = {بهار}, + PAGES = {39-43}, +quotation={1}, + LANGUAGE = {Persian}, +doi = {322/511}, +isbn = {978-600-141-173-1}, +edition ={دوم}, +series = {سری دوم}, +number = {100}, +chapter={5}, +madadurltest={1}, + murl = {http://www.w3.org/TR/prov-o/}, +publisher = {انتشارات دانشگاه چمران}, + note = {یک یادداشت اختیاری در این‌جا می‌توانید وارد کنید}, + address = {آدرس منتشر کننده}, +slabel = {4}, +} + diff --git a/Master/texmf-dist/doc/bibtex/alpha-persian/xelatexsample.tex b/Master/texmf-dist/doc/bibtex/alpha-persian/xelatexsample.tex new file mode 100644 index 00000000000..21bd6161d9e --- /dev/null +++ b/Master/texmf-dist/doc/bibtex/alpha-persian/xelatexsample.tex @@ -0,0 +1,36 @@ +\documentclass{article} +\usepackage{xcolor} +\usepackage[pagebackref=true,colorlinks,linkcolor=blue,citecolor=green!80!black]{hyperref} +\usepackage{amssymb} +\usepackage{amsmath} +%\usepackage{url} +%\usepackage[compress]{cite} +%\usepackage[numbers,sort&compress]{natbib} +\usepackage{xepersian} +\settextfont{Yas} +\begin{document} +\lr{\cite{B02f}} + و +\cite{d} +و +\cite{Amintoosi87afzayesh} +و +\lr{\cite{aliabad2004rings}} +و +\lr{\cite{ghafarzadeh2016stem}} +و +\cite{aliabad2004rings,ali,whatever,B02f,d} +و همچنین داریم: +\lr{\cite{aliabad2004rings,ali,whatever,B02f,d}} + +\nocite{*} +\bibliographystyle{alpha-persian} +\bibliography{sample8} +%\bibliography{sample9} +\end{document} + + + + + + -- cgit v1.2.3