diff options
author | Karl Berry <karl@freefriends.org> | 2015-05-09 22:18:50 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2015-05-09 22:18:50 +0000 |
commit | 5e664832d01265bd37a5cbdd56729feb90ce8fa9 (patch) | |
tree | f442561ba5ec96a77431697488683688a044c347 /Master/texmf-dist | |
parent | fb9edf38de047a2451f6dd50761e2148988ead5e (diff) |
persian-bib (9may15)
git-svn-id: svn://tug.org/texlive/trunk@37297 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist')
-rw-r--r-- | Master/texmf-dist/bibtex/bst/persian-bib/acm-fa.bst | 8 | ||||
-rw-r--r-- | Master/texmf-dist/bibtex/bst/persian-bib/asa-fa.bst | 8 | ||||
-rw-r--r-- | Master/texmf-dist/bibtex/bst/persian-bib/chicago-fa.bst | 8 | ||||
-rw-r--r-- | Master/texmf-dist/bibtex/bst/persian-bib/ieeetr-fa.bst | 8 | ||||
-rw-r--r-- | Master/texmf-dist/bibtex/bst/persian-bib/plain-fa-inLTR-beamer.bst | 59 | ||||
-rw-r--r-- | Master/texmf-dist/bibtex/bst/persian-bib/plain-fa-inLTR.bst | 50 | ||||
-rw-r--r-- | Master/texmf-dist/bibtex/bst/persian-bib/plain-fa.bst | 56 | ||||
-rw-r--r-- | Master/texmf-dist/bibtex/bst/persian-bib/plainnat-fa.bst | 226 | ||||
-rw-r--r-- | Master/texmf-dist/bibtex/bst/persian-bib/unsrt-fa.bst | 8 | ||||
-rw-r--r-- | Master/texmf-dist/bibtex/csf/persian-bib/cp1256fa.csf | 13 | ||||
-rw-r--r-- | Master/texmf-dist/doc/xelatex/persian-bib/MyReferences.bib | 2 | ||||
-rw-r--r-- | Master/texmf-dist/doc/xelatex/persian-bib/Persian-bib-userguide.pdf | bin | 177062 -> 174160 bytes | |||
-rw-r--r-- | Master/texmf-dist/doc/xelatex/persian-bib/Persian-bib-userguide.tex | 22 | ||||
-rw-r--r-- | Master/texmf-dist/doc/xelatex/persian-bib/README | 18 |
14 files changed, 342 insertions, 144 deletions
diff --git a/Master/texmf-dist/bibtex/bst/persian-bib/acm-fa.bst b/Master/texmf-dist/bibtex/bst/persian-bib/acm-fa.bst index 034109cd9c6..6b6a799d462 100644 --- a/Master/texmf-dist/bibtex/bst/persian-bib/acm-fa.bst +++ b/Master/texmf-dist/bibtex/bst/persian-bib/acm-fa.bst @@ -4,8 +4,8 @@ %% by: Mahmood Amintoosi and Mostafa Vahedi, m.amintoosi@gmail.com %% For XePersian, a Persian Typesetting Package in XeTeX %% It may be distributed and/or modified under the -%% conditions of the LaTeX Project Public License, either this version -%% of this license or (at your option) any later version. +%% conditions of the LaTeX Project Public License (version 1.3c), +%% either this version of this license or (at your option) any later version. %% %% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% @@ -48,8 +48,8 @@ FUNCTION {is.print.banners.to.terminal} { #1 } %% FILE VERSION AND BANNER %% %%%%%%%%%%%%%%%%%%%%%%%%%%%%% -FUNCTION{bst.file.version} { "0.8" } -FUNCTION{bst.file.date} { "2015/03/14" } +FUNCTION{bst.file.version} { "0.9" } +FUNCTION{bst.file.date} { "2015/05/09" } FUNCTION{bst.file.website} { "http://www.parsilatex.com" } FUNCTION{bst.file.authors} {"M.Amintoosi and M.Vahedi" } diff --git a/Master/texmf-dist/bibtex/bst/persian-bib/asa-fa.bst b/Master/texmf-dist/bibtex/bst/persian-bib/asa-fa.bst index 8c6526d0a96..d52f9be82b3 100644 --- a/Master/texmf-dist/bibtex/bst/persian-bib/asa-fa.bst +++ b/Master/texmf-dist/bibtex/bst/persian-bib/asa-fa.bst @@ -6,8 +6,8 @@ %% by: Mahmood Amintoosi, m.amintoosi@gmail.com, www.parsilatex.com %% For XePersian, a Persian Typesetting Package in XeTeX %% It may be distributed and/or modified under the -%% conditions of the LaTeX Project Public License, either this version -%% of this license or (at your option) any later version. +%% conditions of the LaTeX Project Public License (version 1.3c), +%% either this version of this license or (at your option) any later version. %% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% @@ -98,8 +98,8 @@ FUNCTION {is.print.banners.to.terminal} { #1 } %% FILE VERSION AND BANNER %% %%%%%%%%%%%%%%%%%%%%%%%%%%%%% -FUNCTION{bst.file.version} { "0.8" } -FUNCTION{bst.file.date} { "2015/03/14" } +FUNCTION{bst.file.version} { "0.9" } +FUNCTION{bst.file.date} { "2015/05/09" } FUNCTION{bst.file.website} { "http://www.parsilatex.com" } FUNCTION{bst.file.authors} {"M.Amintoosi" } diff --git a/Master/texmf-dist/bibtex/bst/persian-bib/chicago-fa.bst b/Master/texmf-dist/bibtex/bst/persian-bib/chicago-fa.bst index 7d2be330304..211da261dce 100644 --- a/Master/texmf-dist/bibtex/bst/persian-bib/chicago-fa.bst +++ b/Master/texmf-dist/bibtex/bst/persian-bib/chicago-fa.bst @@ -4,8 +4,8 @@ %% by: Mahmood Amintoosi, m.amintoosi@gmail.com, www.parsilatex.com %% For XePersian, a Persian Typesetting Package in XeTeX %% It may be distributed and/or modified under the -%% conditions of the LaTeX Project Public License, either this version -%% of this license or (at your option) any later version. +%% conditions of the LaTeX Project Public License (version 1.3c), +%% either this version of this license or (at your option) any later version. %% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %% Original Copyright @@ -197,8 +197,8 @@ FUNCTION {is.print.banners.to.terminal} { #1 } %% FILE VERSION AND BANNER %% %%%%%%%%%%%%%%%%%%%%%%%%%%%%% -FUNCTION{bst.file.version} { "0.8" } -FUNCTION{bst.file.date} { "2015/03/14" } +FUNCTION{bst.file.version} { "0.9" } +FUNCTION{bst.file.date} { "2015/05/09" } FUNCTION{bst.file.website} { "http://www.parsilatex.com" } FUNCTION{bst.file.authors} {"M.Amintoosi" } diff --git a/Master/texmf-dist/bibtex/bst/persian-bib/ieeetr-fa.bst b/Master/texmf-dist/bibtex/bst/persian-bib/ieeetr-fa.bst index f8442fceb6c..bbb6efa18d5 100644 --- a/Master/texmf-dist/bibtex/bst/persian-bib/ieeetr-fa.bst +++ b/Master/texmf-dist/bibtex/bst/persian-bib/ieeetr-fa.bst @@ -4,8 +4,8 @@ %% by: Mahmood Amintoosi and Mostafa Vahedi, m.amintoosi@gmail.com %% For XePersian, a Persian Typesetting Package in XeTeX %% It may be distributed and/or modified under the -%% conditions of the LaTeX Project Public License, either this version -%% of this license or (at your option) any later version. +%% conditions of the LaTeX Project Public License (version 1.3c), +%% either this version of this license or (at your option) any later version. %% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %% @@ -47,8 +47,8 @@ FUNCTION {is.print.banners.to.terminal} { #1 } %% FILE VERSION AND BANNER %% %%%%%%%%%%%%%%%%%%%%%%%%%%%%% -FUNCTION{bst.file.version} { "0.8" } -FUNCTION{bst.file.date} { "2015/03/14" } +FUNCTION{bst.file.version} { "0.9" } +FUNCTION{bst.file.date} { "2015/05/09" } FUNCTION{bst.file.website} { "http://www.parsilatex.com" } FUNCTION{bst.file.authors} {"M.Amintoosi and M.Vahedi" } diff --git a/Master/texmf-dist/bibtex/bst/persian-bib/plain-fa-inLTR-beamer.bst b/Master/texmf-dist/bibtex/bst/persian-bib/plain-fa-inLTR-beamer.bst index cbcb15c4750..51c9e42cb63 100644 --- a/Master/texmf-dist/bibtex/bst/persian-bib/plain-fa-inLTR-beamer.bst +++ b/Master/texmf-dist/bibtex/bst/persian-bib/plain-fa-inLTR-beamer.bst @@ -4,8 +4,8 @@ %% by: Mahmood Amintoosi, m.amintoosi@gmail.com, www.parsilatex.com %% For XePersian, a Persian Typesetting Package in XeTeX %% It may be distributed and/or modified under the -%% conditions of the LaTeX Project Public License, either this version -%% of this license or (at your option) any later version. +%% conditions of the LaTeX Project Public License (version 1.3c), +%% either this version of this license or (at your option) any later version. %% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %% @@ -46,14 +46,14 @@ FUNCTION {is.print.banners.to.terminal} { #1 } %% FILE VERSION AND BANNER %% %%%%%%%%%%%%%%%%%%%%%%%%%%%%% -FUNCTION{bst.file.version} { "0.8" } -FUNCTION{bst.file.date} { "2015/03/14" } +FUNCTION{bst.file.version} { "0.9" } +FUNCTION{bst.file.date} { "2015/05/09" } FUNCTION{bst.file.website} { "http://www.parsilatex.com" } FUNCTION{bst.file.authors} {"M.Amintoosi" } FUNCTION {banner.message} { is.print.banners.to.terminal - { "-- plain-fa-inLTR.bst version" " " * bst.file.version * + { "-- plain-fa-inLTR-beamer.bst version" " " * bst.file.version * " (" * bst.file.date * ") " * %"by " * bst.file.authors * top$ "-- This is a BibTeX style for XePersian: " bst.file.website * @@ -103,7 +103,7 @@ FUNCTION {bbl.editors} { fa.isPersianLanguage { " ویراستاران "} - {" eds. "} + {" editors"} if$ } @@ -111,7 +111,7 @@ FUNCTION {bbl.editor} { fa.isPersianLanguage { " ویراستار "} - {" ed. " } + {" editor" } if$ } @@ -127,7 +127,15 @@ FUNCTION {bbl.edition} { fa.isPersianLanguage {" ویرایش "} - {" ed. " } + {" edition" } +if$ +} + +FUNCTION {bbl.bvolume} +{ +fa.isPersianLanguage + {" جلد "} + { "volume"} if$ } @@ -135,7 +143,7 @@ FUNCTION {bbl.volume} { fa.isPersianLanguage {" جلد "} - { " vol."} + { "Volume"} if$ } @@ -151,19 +159,19 @@ FUNCTION {bbl.number} { fa.isPersianLanguage {" شماره " } - { " no." } + { "number" } if$ } -FUNCTION {bbl.nr} +FUNCTION {bbl.in} { fa.isPersianLanguage - {" شماره "} - { " no." } + {" در "} + { "In " } if$ } -FUNCTION {bbl.in} +FUNCTION {bbl.inInMid} { fa.isPersianLanguage {" در "} @@ -175,15 +183,15 @@ FUNCTION {bbl.pages} { fa.isPersianLanguage {" صفحات "} - { " pp." } + { "pages" } if$ } FUNCTION {bbl.page} { fa.isPersianLanguage - {" ص." } - { " p." } + {" صفحه " } + { "page" } if$ } @@ -191,7 +199,7 @@ FUNCTION {bbl.chapter} { fa.isPersianLanguage { " فصل " } - {" chap." } + {"chapter" } if$ } @@ -199,7 +207,7 @@ FUNCTION {bbl.techrep} { fa.isPersianLanguage { " گزارش طرح تحقیقی"} - { " Tech. Rep." } + { "Technical Report" } if$ } @@ -215,7 +223,7 @@ FUNCTION {bbl.phdthesis} { fa.isPersianLanguage {" پایاننامه دکترا" } - { " Ph.D. thesis" } + { "PhD thesis" } if$ } @@ -258,7 +266,8 @@ FUNCTION {output.nonnull} fa.isPersianLanguage {"\newRAblock {}" write$ } {"\newblock " write$} - if$} + if$ +} { output.state before.all = 'write$ { add.period$ " " * write$ } @@ -565,7 +574,7 @@ FUNCTION {either.or.check} FUNCTION {format.bvolume} { volume empty$ { "" } - { bbl.volume volume tie.or.space.connect + { bbl.bvolume volume tie.or.space.connect series empty$ 'skip$ { bbl.of * series emphasize * } @@ -586,7 +595,7 @@ FUNCTION {format.number.series} number tie.or.space.connect series empty$ { "there's a number but no series in " cite$ * warning$ } - { bbl.in * series * } + { bbl.inInMid * series * } if$ } if$ @@ -1366,7 +1375,7 @@ ITERATE {longest.label.pass} FUNCTION {begin.bib} { - "% Generated by plain-fa-inLTR.bst, version: " bst.file.version * " (" * bst.file.date * ")" * + "% Generated by plain-fa-inLTR-beamer.bst, version: " bst.file.version * " (" * bst.file.date * ")" * write$ newline$ "% Authors: " bst.file.authors * write$ newline$ @@ -1392,4 +1401,4 @@ FUNCTION {end.bib} EXECUTE {end.bib} EXECUTE{completed.message} -%% End of file `plain-fa-inLTR.bst'. +%% End of file `plain-fa-inLTR-beamer.bst'. diff --git a/Master/texmf-dist/bibtex/bst/persian-bib/plain-fa-inLTR.bst b/Master/texmf-dist/bibtex/bst/persian-bib/plain-fa-inLTR.bst index aa7d92f35d1..2afb5a4d96b 100644 --- a/Master/texmf-dist/bibtex/bst/persian-bib/plain-fa-inLTR.bst +++ b/Master/texmf-dist/bibtex/bst/persian-bib/plain-fa-inLTR.bst @@ -4,8 +4,8 @@ %% by: Mahmood Amintoosi, m.amintoosi@gmail.com, www.parsilatex.com %% For XePersian, a Persian Typesetting Package in XeTeX %% It may be distributed and/or modified under the -%% conditions of the LaTeX Project Public License, either this version -%% of this license or (at your option) any later version. +%% conditions of the LaTeX Project Public License (version 1.3c), +%% either this version of this license or (at your option) any later version. %% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %% @@ -46,8 +46,8 @@ FUNCTION {is.print.banners.to.terminal} { #1 } %% FILE VERSION AND BANNER %% %%%%%%%%%%%%%%%%%%%%%%%%%%%%% -FUNCTION{bst.file.version} { "0.8" } -FUNCTION{bst.file.date} { "2015/03/14" } +FUNCTION{bst.file.version} { "0.9" } +FUNCTION{bst.file.date} { "2015/05/09" } FUNCTION{bst.file.website} { "http://www.parsilatex.com" } FUNCTION{bst.file.authors} {"M.Amintoosi" } @@ -103,7 +103,7 @@ FUNCTION {bbl.editors} { fa.isPersianLanguage { " ویراستاران "} - {" eds. "} + {" editors"} if$ } @@ -111,7 +111,7 @@ FUNCTION {bbl.editor} { fa.isPersianLanguage { " ویراستار "} - {" ed. " } + {" editor" } if$ } @@ -127,7 +127,15 @@ FUNCTION {bbl.edition} { fa.isPersianLanguage {" ویرایش "} - {" ed. " } + {" edition" } +if$ +} + +FUNCTION {bbl.bvolume} +{ +fa.isPersianLanguage + {" جلد "} + { "volume"} if$ } @@ -135,7 +143,7 @@ FUNCTION {bbl.volume} { fa.isPersianLanguage {" جلد "} - { " vol."} + { "Volume"} if$ } @@ -151,19 +159,19 @@ FUNCTION {bbl.number} { fa.isPersianLanguage {" شماره " } - { " no." } + { "number" } if$ } -FUNCTION {bbl.nr} +FUNCTION {bbl.in} { fa.isPersianLanguage - {" شماره "} - { " no." } + {" در "} + { "In " } if$ } -FUNCTION {bbl.in} +FUNCTION {bbl.inInMid} { fa.isPersianLanguage {" در "} @@ -175,15 +183,15 @@ FUNCTION {bbl.pages} { fa.isPersianLanguage {" صفحات "} - { " pp." } + { "pages" } if$ } FUNCTION {bbl.page} { fa.isPersianLanguage - {" ص." } - { " p." } + {" صفحه " } + { "page" } if$ } @@ -191,7 +199,7 @@ FUNCTION {bbl.chapter} { fa.isPersianLanguage { " فصل " } - {" chap." } + {"chapter" } if$ } @@ -199,7 +207,7 @@ FUNCTION {bbl.techrep} { fa.isPersianLanguage { " گزارش طرح تحقیقی"} - { " Tech. Rep." } + { "Technical Report" } if$ } @@ -215,7 +223,7 @@ FUNCTION {bbl.phdthesis} { fa.isPersianLanguage {" پایاننامه دکترا" } - { " Ph.D. thesis" } + { "PhD thesis" } if$ } @@ -563,7 +571,7 @@ FUNCTION {either.or.check} FUNCTION {format.bvolume} { volume empty$ { "" } - { bbl.volume volume tie.or.space.connect + { bbl.bvolume volume tie.or.space.connect series empty$ 'skip$ { bbl.of * series emphasize * } @@ -584,7 +592,7 @@ FUNCTION {format.number.series} number tie.or.space.connect series empty$ { "there's a number but no series in " cite$ * warning$ } - { bbl.in * series * } + { bbl.inInMid * series * } if$ } if$ diff --git a/Master/texmf-dist/bibtex/bst/persian-bib/plain-fa.bst b/Master/texmf-dist/bibtex/bst/persian-bib/plain-fa.bst index 49f2ad9d00f..79e2f09d84b 100644 --- a/Master/texmf-dist/bibtex/bst/persian-bib/plain-fa.bst +++ b/Master/texmf-dist/bibtex/bst/persian-bib/plain-fa.bst @@ -4,8 +4,8 @@ %% by: Mahmood Amintoosi and Mostafa Vahedi %% For XePersian, a Persian Typesetting Package in XeTeX %% It may be distributed and/or modified under the -%% conditions of the LaTeX Project Public License, either this version -%% of this license or (at your option) any later version. +%% conditions of the LaTeX Project Public License (version 1.3c), +%% either this version of this license or (at your option) any later version. %% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %% @@ -46,8 +46,8 @@ FUNCTION {is.print.banners.to.terminal} { #1 } %% FILE VERSION AND BANNER %% %%%%%%%%%%%%%%%%%%%%%%%%%%%%% -FUNCTION{bst.file.version} { "0.8" } -FUNCTION{bst.file.date} { "2015/03/14" } +FUNCTION{bst.file.version} { "0.9" } +FUNCTION{bst.file.date} { "2015/05/09" } FUNCTION{bst.file.website} { "http://www.parsilatex.com" } FUNCTION{bst.file.authors} {"M.Amintoosi and M.Vahedi" } @@ -103,7 +103,7 @@ FUNCTION {bbl.editors} { fa.isPersianLanguage { " ویراستاران "} - {" eds. "} + {" editors"} if$ } @@ -111,7 +111,7 @@ FUNCTION {bbl.editor} { fa.isPersianLanguage { " ویراستار "} - {" ed. " } + {" editor" } if$ } @@ -127,7 +127,15 @@ FUNCTION {bbl.edition} { fa.isPersianLanguage {" ویرایش "} - {" ed. " } + {" edition" } +if$ +} + +FUNCTION {bbl.bvolume} +{ +fa.isPersianLanguage + {" جلد "} + { "volume"} if$ } @@ -135,7 +143,7 @@ FUNCTION {bbl.volume} { fa.isPersianLanguage {" جلد "} - { " vol."} + { "Volume"} if$ } @@ -151,19 +159,19 @@ FUNCTION {bbl.number} { fa.isPersianLanguage {" شماره " } - { " no." } + { "number" } if$ } -FUNCTION {bbl.nr} +FUNCTION {bbl.in} { fa.isPersianLanguage - {" شماره "} - { " no." } + {" در "} + { "In " } if$ } -FUNCTION {bbl.in} +FUNCTION {bbl.inInMid} { fa.isPersianLanguage {" در "} @@ -175,15 +183,15 @@ FUNCTION {bbl.pages} { fa.isPersianLanguage {" صفحات "} - { " pp." } + { "pages" } if$ } FUNCTION {bbl.page} { fa.isPersianLanguage - {" ص." } - { " p." } + {" صفحه " } + { "page" } if$ } @@ -191,7 +199,7 @@ FUNCTION {bbl.chapter} { fa.isPersianLanguage { " فصل " } - {" chap." } + {"chapter" } if$ } @@ -199,7 +207,7 @@ FUNCTION {bbl.techrep} { fa.isPersianLanguage { " گزارش طرح تحقیقی"} - { " Tech. Rep." } + { "Technical Report" } if$ } @@ -207,7 +215,7 @@ FUNCTION {bbl.mthesis} { fa.isPersianLanguage {" پایاننامه کارشناسیارشد"} - { " Master's thesis" } + { "Master's thesis" } if$ } @@ -215,7 +223,7 @@ FUNCTION {bbl.phdthesis} { fa.isPersianLanguage {" پایاننامه دکترا" } - { " Ph.D. thesis" } + { "PhD thesis" } if$ } @@ -552,10 +560,10 @@ FUNCTION {either.or.check} FUNCTION {format.bvolume} { volume empty$ { "" } - { bbl.volume volume tie.or.space.connect + { bbl.bvolume volume tie.or.space.connect series empty$ -'skip$ -{ bbl.of * series emphasize * } + 'skip$ + { bbl.of * series emphasize * } if$ "volume and number" number either.or.check } @@ -573,7 +581,7 @@ FUNCTION {format.number.series} number tie.or.space.connect series empty$ { "there's a number but no series in " cite$ * warning$ } - { bbl.in * series * } + { bbl.inInMid * series * } if$ } if$ diff --git a/Master/texmf-dist/bibtex/bst/persian-bib/plainnat-fa.bst b/Master/texmf-dist/bibtex/bst/persian-bib/plainnat-fa.bst index beea38aa913..115a67fa475 100644 --- a/Master/texmf-dist/bibtex/bst/persian-bib/plainnat-fa.bst +++ b/Master/texmf-dist/bibtex/bst/persian-bib/plainnat-fa.bst @@ -2,10 +2,11 @@ %% Bib. style "plainnat-fa", Persian (farsi) version of plainnat.bst %% %% by: Mahmood Amintoosi, m.amintoosi@gmail.com, www.parsilatex.com + %% For XePersian, a Persian Typesetting Package in XeTeX %% It may be distributed and/or modified under the -%% conditions of the LaTeX Project Public License, either this version -%% of this license or (at your option) any later version. +%% conditions of the LaTeX Project Public License (version 1.3c), +%% either this version of this license or (at your option) any later version. %% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %% @@ -92,8 +93,43 @@ ENTRY {} { label extra.label sort.label short.list } + INTEGERS { output.state before.all mid.sentence after.sentence after.block fa.isInLabel} + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + %%%%%%%%%%%%%%%%%%%%%%%%%%%%% %% Persian Functions %% %%%%%%%%%%%%%%%%%%%%%%%%%%%%% @@ -125,16 +161,16 @@ if$ FUNCTION {bbl.editors} { fa.isPersianLanguage - { "ویراستاران"} - { "eds."} + { " ویراستاران "} + { " editors"} if$ } FUNCTION {bbl.editor} { fa.isPersianLanguage - { "ویراستار"} - { "ed." } + { "ویراستار "} + { " editor" } if$ } @@ -150,7 +186,15 @@ FUNCTION {bbl.edition} { fa.isPersianLanguage {" ویرایش "} - {" ed. " } + {" edition" } +if$ +} + +FUNCTION {bbl.bvolume} +{ +fa.isPersianLanguage + {" جلد "} + { "volume"} if$ } @@ -158,7 +202,7 @@ FUNCTION {bbl.volume} { fa.isPersianLanguage {" جلد "} - { " vol."} + { "Volume"} if$ } @@ -174,23 +218,25 @@ FUNCTION {bbl.number} { fa.isPersianLanguage {" شماره " } - { " no." } + { "number" } if$ } -FUNCTION {bbl.nr} +FUNCTION {bbl.in} { fa.isPersianLanguage - {" شماره "} - { " no." } + {" در "} + { " in " } + if$ } -FUNCTION {bbl.in} +FUNCTION {bbl.inInMid} { fa.isPersianLanguage {" در "} - { " in " } + { "In " } + if$ } @@ -198,15 +244,15 @@ FUNCTION {bbl.pages} { fa.isPersianLanguage {" صفحات "} - { " pp." } + { "pages" } if$ } FUNCTION {bbl.page} { fa.isPersianLanguage - {" ص." } - { " p." } + {" صفحه " } + { "page" } if$ } @@ -214,7 +260,7 @@ FUNCTION {bbl.chapter} { fa.isPersianLanguage { " فصل " } - {" chap." } + {"chapter" } if$ } @@ -222,7 +268,7 @@ FUNCTION {bbl.techrep} { fa.isPersianLanguage { " گزارش طرح تحقیقی"} - { " Tech. Rep." } + { "Technical Report" } if$ } @@ -238,7 +284,7 @@ FUNCTION {bbl.phdthesis} { fa.isPersianLanguage {" پایاننامه دکترا" } - { " Ph.D. thesis" } + { " PhD thesis" } if$ } @@ -288,6 +334,7 @@ FUNCTION {bbl.translator} fa.isPersianLanguage { " ترجمهی "} {" Translated by "} + if$ } @@ -340,6 +387,25 @@ FUNCTION {output.check} if$ } + + + + + + + + + + + + + + + + + + + FUNCTION {fin.entry} { add.period$ @@ -444,7 +510,13 @@ FUNCTION {format.names} s num.names$ 'numnames := numnames 'namesleft := { namesleft #0 > } + + + { s nameptr "{ff~}{vv~}{ll}{, jj}" format.name$ 't := + + + nameptr #1 > { namesleft #1 > { ", " * t * } @@ -486,6 +558,8 @@ FUNCTION {format.editors} { "" } {fa.isPersianLanguage {editor num.names$ #1 > + + {bbl.editors editor format.names * } {bbl.editor editor format.names * } if$ @@ -682,19 +756,29 @@ FUNCTION {n.dashify} FUNCTION {format.date} { year duplicate$ empty$ + + + { "empty year in " cite$ * warning$ pop$ "" } 'skip$ + + if$ month empty$ 'skip$ { month " " * swap$ * } + + + if$ extra.label * } + + FUNCTION {format.btitle} { title emphasize } @@ -717,7 +801,7 @@ FUNCTION {either.or.check} FUNCTION {format.bvolume} { volume empty$ { "" } - { bbl.volume volume tie.or.space.connect + { bbl.bvolume volume tie.or.space.connect series empty$ 'skip$ { bbl.of * series emphasize * } @@ -739,7 +823,7 @@ FUNCTION {format.number.series} number tie.or.space.connect series empty$ { "there's a number but no series in " cite$ * warning$ } - { bbl.in * series * } + { bbl.inInMid * series * } if$ } if$ @@ -867,6 +951,8 @@ FUNCTION {format.chapter.pages} FUNCTION {format.in.ed.booktitle} { booktitle empty$ + + { "" } { editor empty$ { bbl.in booktitle emphasize * } @@ -919,6 +1005,21 @@ FUNCTION {format.article.crossref} { bbl.in } if$ " \citet{" * crossref * "}" * + + + + + + + + + + + + + + + } FUNCTION {format.book.crossref} @@ -940,12 +1041,15 @@ FUNCTION {format.book.crossref} "" * } { "\emph{" * series * "}" * } + if$ } 'skip$ + if$ } 'skip$ + if$ " \citet{" * crossref * "}" * } @@ -1018,6 +1122,7 @@ fa.isPersianLanguage { format.editors "author and editor" output.check editor format.key output } + { format.authors output.nonnull crossref missing$ { "author and editor" editor either.or.check } @@ -1076,6 +1181,7 @@ FUNCTION {inbook} { format.editors "author and editor" output.check editor format.key output } + { format.authors output.nonnull crossref missing$ { "author and editor" editor either.or.check } @@ -1182,12 +1288,31 @@ FUNCTION {conference} { inproceedings } FUNCTION {manual} { output.bibitem format.authors output + + + + + + + + author format.key output + new.block format.btitle "title" output.check + + + + + + + + organization address new.block.checkb organization output address output + + format.edition output format.date output format.url output @@ -1203,10 +1328,8 @@ FUNCTION {mastersthesis} new.block format.title "title" output.check new.block - fa.isPersianLanguage - {" پایاننامه کارشناسیارشد" format.thesis.type output.nonnull} - {" Master's thesis" format.thesis.type output.nonnull} - if$ + bbl.mthesis + format.thesis.type output.nonnull school "school" output.check address output format.date "year" output.check @@ -1240,10 +1363,9 @@ FUNCTION {phdthesis} new.block format.btitle "title" output.check new.block - fa.isPersianLanguage - {" پایاننامه دکترا" format.thesis.type output.nonnull} - {" Ph.D. disseration " format.thesis.type output.nonnull} - if$ + bbl.phdthesis + format.thesis.type output.nonnull + school "school" output.check address output format.date "year" output.check @@ -1255,20 +1377,39 @@ FUNCTION {phdthesis} FUNCTION {proceedings} { output.bibitem + + format.editors output editor format.key output + new.block format.btitle "title" output.check format.bvolume output format.number.series output address output + + + + + + + format.date "year" output.check + + + new.sentence organization output + + + + publisher output format.isbn output format.doi output format.url output + + new.block note output fin.entry @@ -1535,12 +1676,17 @@ FUNCTION {sort.format.names} { "zzzzz" * } { numnames #2 > nameptr #2 = and { "zz" * year field.or.null * " " * } + 'skip$ if$ t sortify * } if$ } + + + + { t sortify * } if$ nameptr #1 + 'nameptr := @@ -1631,6 +1777,7 @@ FUNCTION {presort} " " * type$ "book" = + type$ "inbook" = or 'author.editor.sort @@ -1651,6 +1798,8 @@ FUNCTION {presort} " " * cite$ + + * #1 entry.max$ substring$ 'sort.label := @@ -1671,6 +1820,7 @@ FUNCTION {initialize.longest.label} { "" 'longest.label := #0 int.to.chr$ 'last.label := "" 'next.extra := + #0 'longest.label.width := #0 'last.extra.num := #0 'number.label := @@ -1687,6 +1837,9 @@ FUNCTION {forward.pass} } if$ number.label #1 + 'number.label := + + + } FUNCTION {reverse.pass} @@ -1704,6 +1857,7 @@ FUNCTION {reverse.pass} label extra.label * 'label := } + EXECUTE {initialize.longest.label} ITERATE {forward.pass} @@ -1718,6 +1872,7 @@ ITERATE {bib.sort.order} SORT + FUNCTION {begin.bib} { preamble$ empty$ 'skip$ @@ -1730,11 +1885,20 @@ FUNCTION {begin.bib} "\providecommand{\url}[1]{\texttt{#1}}" write$ newline$ "\expandafter\ifx\csname urlstyle\endcsname\relax" + + write$ newline$ " \providecommand{\doi}[1]{doi: #1}\else" + write$ newline$ " \providecommand{\doi}{doi: \begingroup \urlstyle{rm}\Url}\fi" + write$ newline$ + + + + + } EXECUTE {begin.bib} @@ -1749,3 +1913,5 @@ FUNCTION {end.bib} } EXECUTE {end.bib} + + diff --git a/Master/texmf-dist/bibtex/bst/persian-bib/unsrt-fa.bst b/Master/texmf-dist/bibtex/bst/persian-bib/unsrt-fa.bst index e1b15ce8143..167a3336650 100644 --- a/Master/texmf-dist/bibtex/bst/persian-bib/unsrt-fa.bst +++ b/Master/texmf-dist/bibtex/bst/persian-bib/unsrt-fa.bst @@ -4,8 +4,8 @@ %% by: Mahmood Amintoosi and Mostafa Vahedi, m.amintoosi@gmail.com %% For XePersian, a Persian Typesetting Package in XeTeX %% It may be distributed and/or modified under the -%% conditions of the LaTeX Project Public License, either this version -%% of this license or (at your option) any later version. +%% conditions of the LaTeX Project Public License (version 1.3c), +%% either this version of this license or (at your option) any later version. %% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %% Original Copyright @@ -45,8 +45,8 @@ FUNCTION {is.print.banners.to.terminal} { #1 } %% FILE VERSION AND BANNER %% %%%%%%%%%%%%%%%%%%%%%%%%%%%%% -FUNCTION{bst.file.version} { "0.8" } -FUNCTION{bst.file.date} { "2015/03/14" } +FUNCTION{bst.file.version} { "0.9" } +FUNCTION{bst.file.date} { "2015/05/09" } FUNCTION{bst.file.website} { "http://www.parsilatex.com" } FUNCTION{bst.file.authors} {"M.Amintoosi and M.Vahedi" } diff --git a/Master/texmf-dist/bibtex/csf/persian-bib/cp1256fa.csf b/Master/texmf-dist/bibtex/csf/persian-bib/cp1256fa.csf index 1f7048fe462..56a9dce97aa 100644 --- a/Master/texmf-dist/bibtex/csf/persian-bib/cp1256fa.csf +++ b/Master/texmf-dist/bibtex/csf/persian-bib/cp1256fa.csf @@ -2,10 +2,8 @@ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %% %% FILE: $RCSfile: cp1256fa.csf,v $ -%% $Revision: 1.1 $ -%% $Date: 2015/03/14 $ %% -%% Date: 2015/03/14 +%% Date: 2015/05/09 %% Author:-) Mahmood Amintoosi, m.amintoosi@gmail.com %% %% CHARACTER SET: Farsi (Persian) (CP 1256) @@ -24,17 +22,14 @@ %% available by anonymous FTP from these Comprehensive TeX Archive %% Network (CTAN) sites: %% -%% ftp.tex.ac.uk:/tex-archive/biblio/bibtex/8-bit -%% ftp.shsu.edu:/tex-archive/biblio/bibtex/8-bit -%% ftp.uni-stuttgart.de:/tex-archive/biblio/bibtex/8-bit +%% http://mirror.ctan.org/biblio/bibtex/8-bit %% %% CHANGE LOG %% %% $Log: cp1256fa.csf,v $ -%% Revision 1.0 2009/12/17 -%% Initial revision +%% Initial Version 2009/12/17 %% -%% Revision 1.1 2015/03/14 +%% Version 0.9 2015/05/09 %% Reorder همزه (Move Up), adding ة and separating آ from ا %% http://www.persianacademy.ir/UserFiles/File/D_Final.zip %% diff --git a/Master/texmf-dist/doc/xelatex/persian-bib/MyReferences.bib b/Master/texmf-dist/doc/xelatex/persian-bib/MyReferences.bib index a57dfdf98ab..08dd6793923 100644 --- a/Master/texmf-dist/doc/xelatex/persian-bib/MyReferences.bib +++ b/Master/texmf-dist/doc/xelatex/persian-bib/MyReferences.bib @@ -91,7 +91,7 @@ @MISC{Khalighi87xepersian, AUTHOR = {خلیقی,وفا}, - TITLE = {زیپرشین (\lr{\XePersian}): بسته فارسی برای حروفچینی در \lr{\LaTeX2e}}, + TITLE = {زیپرشین (\lr{\XePersian}): بسته فارسی برای حروفچینی در \lr{\LaTeXe}}, HOWPUBLISHED = {\lr{\href{http://ctan.org/pkg/xepersian}{http://ctan.org/pkg/xepersian}}}, YEAR = {۱۳۸۷}, LANGUAGE = {Persian} diff --git a/Master/texmf-dist/doc/xelatex/persian-bib/Persian-bib-userguide.pdf b/Master/texmf-dist/doc/xelatex/persian-bib/Persian-bib-userguide.pdf Binary files differindex 629709eb770..21fa1539a60 100644 --- a/Master/texmf-dist/doc/xelatex/persian-bib/Persian-bib-userguide.pdf +++ b/Master/texmf-dist/doc/xelatex/persian-bib/Persian-bib-userguide.pdf diff --git a/Master/texmf-dist/doc/xelatex/persian-bib/Persian-bib-userguide.tex b/Master/texmf-dist/doc/xelatex/persian-bib/Persian-bib-userguide.tex index cc0dd57ca2d..356e4b72bea 100644 --- a/Master/texmf-dist/doc/xelatex/persian-bib/Persian-bib-userguide.tex +++ b/Master/texmf-dist/doc/xelatex/persian-bib/Persian-bib-userguide.tex @@ -1,9 +1,8 @@ \documentclass[a4paper]{article} % محمود امینطوسی، http://profs.hsu.ac.ir/mamintoosi % To do -% http://qa.parsilatex.com/2551 -%\versionnumber{0.6} +%\versionnumber{0.9} \usepackage{verbatim} \usepackage{color} @@ -31,11 +30,14 @@ در \textcolor{blue}{زیپرشین}\\ \lr{(Persian-bib User Guide)} } -\author{محمود امینطوسی و مصطفی واحدی\\ -\url{http://www.parsilatex.com}\\ -\lr{\{m.amintoosi,mostafa.vahedi\} at gmail.com} +\author{محمود امینطوسی\\ +\href{http://profs.hsu.ac.ir/mamintoosi}{دانشگاه حکیم سبزواری} +، +\href{http://www.parsilatex.com}{گروه پارسیلاتک} +%\lr{m.amintoosi at gmail.com} } -\date{} +%\date{} + \begin{document} \maketitle %\vspace{2cm} @@ -223,9 +225,13 @@ xelatex myfile \item در طبقه نوشتاری \lr{biditufte-book} -صرفا میتوانید از سبکهای + از سبکهای \lr{plainnat-fa}، \lr{chicago-fa} و \lr{asa-fa} - استفاده فرمایید. +و دستورات +\verb!\LTRcite{}! +و +\verb!\RTLcite{}! + استفاده فرمایید. \item برای گزارش مشکل به سایت پرسش و پاسخ پارسیلاتک (\url{http://qa.parsilatex.com}) diff --git a/Master/texmf-dist/doc/xelatex/persian-bib/README b/Master/texmf-dist/doc/xelatex/persian-bib/README index cdb10011375..3c581fca81f 100644 --- a/Master/texmf-dist/doc/xelatex/persian-bib/README +++ b/Master/texmf-dist/doc/xelatex/persian-bib/README @@ -1,4 +1,4 @@ -Persian-bib, V0.8 2015/03/14 +Persian-bib, V0.9 2015/05/09 Persian translations of some BibTeX styles Author: Mahmood Amintoosi, http://profs.hsu.ac.ir/mamintoosi Copyright 20092016 @@ -38,15 +38,21 @@ Currently 7 files unsrt-fa.bst, acm-fa.bst, ieeetr-fa.bst, plain-fa.bst, Asa-fa.bst, chicago-fa.bst and plainnat-fa.bst are modified for Persian documents prepared with XePersian (a Persian typesetting package over XeTeX). Hence this package is dependent to XePersian Package. -From version 0.8 (2015/03/14), two other styles 'plain-fa-inLTR' and -'plain-fa-inLTR-beamer' are added to the package. These styles are prepared for -inserting Persian references in LTR documents which are dependent to bidi -package. Current Persian bst files work fine with hyperref and natbib packages. -Persian translations of key-words such as 'et al.' can be changed with other translations. +Persian translations of key-words such as 'et al.' can be changed with other +translations. If you modify anything, however, please change the name of the file. +Change Log: +Version 0.8 : two other styles 'plain-fa-inLTR' and 'plain-fa-inLTR-beamer' +are added to the package. These styles are prepared for inserting Persian +references in LTR documents which are dependent to bidi package. + +Version 0.9: Debug plain*.bst styles: change "ed. " -> "edition", +"vol" -> "volume" or "Volume, "p."->"page", "pp."->"pages" and some others. + Mahmood Amintoosi <m.amintoosi@gmail.com> +http://profs.hsu.ac.ir/mamintoosi http://www.parsilatex.com/
\ No newline at end of file |