Skip to content

Commit 9f59ee4

Browse files
committed
New extra example added
1 parent d4de641 commit 9f59ee4

File tree

3 files changed

+98
-0
lines changed

3 files changed

+98
-0
lines changed
Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
@book{کمالزاده1388,
2+
author = {کمال‌زاده, حسن},
3+
year = {1388},
4+
title = {پیشگیری و درمان بیماریهای قلبی به زبان ساده},
5+
address = {تهران},
6+
publisher = {نور دانش},
7+
language = {Persian},
8+
}
9+
10+
11+
@book{مهاجر1398,
12+
translator = {مهاجر, فیروزه},
13+
translateyear = {1398},
14+
title = {صادق هدایت: از افسانه تا واقعیت},
15+
address = {تهران},
16+
publisher = {مرکز},
17+
language = {Persian},
18+
edition = {دوم},
19+
impression = {اول},
20+
by = {کاتوزیان, همایون},
21+
year = {1991},
22+
}
23+
24+
25+
@book{kasper1999,
26+
author = {Kasper, Lynne Rossetto},
27+
year = {1999},
28+
title = {The Italian Country Table: Home Cooking from Italy's Farmhouse Kitchens},
29+
address = {New York},
30+
publisher = {Scribner},
31+
}
32+
33+
34+
@book{suangtho1990,
35+
author = {Suangtho, V and Lauridsen, E B},
36+
year = {1990},
37+
title = {Flowering and seed production in {\em Tectona} grandis…: Report on the DANIDA training course on tree impovement program},
38+
address = {Chiang Mai, Thailand},
39+
}
Binary file not shown.
Lines changed: 59 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,59 @@
1+
% !TEX TS-program = XeLaTeX
2+
% Compilation procedure for this file:
3+
% xelatex Separate-References.tex
4+
% bibtex8 -W -c iran-bibtex-cp1256fa Separate-References
5+
% bibtex8 -W -c iran-bibtex-cp1256fa fa
6+
% bibtex8 -W -c iran-bibtex-cp1256fa en
7+
% xelatex Separate-References.tex
8+
% xelatex Separate-References.tex
9+
10+
\documentclass[a4paper,10pt]{article}
11+
12+
13+
\usepackage[iran]{iran-bibtex}
14+
15+
% use multibib package to separate references
16+
\usepackage{multibib}
17+
18+
\newcites{fa}{مرجع‌های فارسی}
19+
\newcites{en}{مرجع‌های انگلیسی}
20+
21+
\bibliographystylefa{iran}
22+
\bibliographystyleen{iran}
23+
24+
25+
\usepackage[colorlinks,citecolor=blue,breaklinks=true]{hyperref}
26+
27+
\usepackage[localise,perpagefootnote=on,computeautoilg=on]{xepersian}
28+
\settextfont{Parsi Nevis}
29+
30+
31+
32+
33+
34+
\begin{document}
35+
\title{بسته‌ی استناددهی \lr{\bf\sffamily iran-bibtex}}
36+
\author{}
37+
\date{}
38+
\maketitle
39+
40+
41+
42+
\section*{مثال افزوده: جدا کردن مرجعهای فارسی، و انگلیسی}
43+
44+
\citefa{کمالزاده1388}\\
45+
\citefa{مهاجر1398}\\
46+
\citeen{kasper1999}\\
47+
\citeen{suangtho1990}
48+
49+
50+
51+
52+
53+
\bibliographyfa{Separate-References}
54+
55+
56+
\bibliographyen{Separate-References}
57+
58+
59+
\end{document}

0 commit comments

Comments
 (0)