summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex/lshort-persian
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2013-07-28 21:51:45 +0000
committerKarl Berry <karl@freefriends.org>2013-07-28 21:51:45 +0000
commit468d5a3048538797838d81e77f805c42c70cef2d (patch)
tree592f32e147658a09c5055b0ba822af1768e70ded /Master/texmf-dist/doc/latex/lshort-persian
parent29ec2175f05db5b6240733cd3063b42f04318027 (diff)
lshort-persian (28jul13)
git-svn-id: svn://tug.org/texlive/trunk@31296 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc/latex/lshort-persian')
-rw-r--r--Master/texmf-dist/doc/latex/lshort-persian/README9
-rw-r--r--Master/texmf-dist/doc/latex/lshort-persian/appendix.tex109
-rw-r--r--Master/texmf-dist/doc/latex/lshort-persian/biblio.tex15
-rw-r--r--Master/texmf-dist/doc/latex/lshort-persian/custom.tex2
-rw-r--r--Master/texmf-dist/doc/latex/lshort-persian/graphic.tex6
-rw-r--r--Master/texmf-dist/doc/latex/lshort-persian/lshort-base.tex1
-rw-r--r--Master/texmf-dist/doc/latex/lshort-persian/lshort.pdfbin1144590 -> 788559 bytes
-rw-r--r--Master/texmf-dist/doc/latex/lshort-persian/lshort.sty52
-rw-r--r--Master/texmf-dist/doc/latex/lshort-persian/lshort.tex1
-rw-r--r--Master/texmf-dist/doc/latex/lshort-persian/lssym.tex6
-rw-r--r--Master/texmf-dist/doc/latex/lshort-persian/math.tex10
-rw-r--r--Master/texmf-dist/doc/latex/lshort-persian/mylayout.sty3
-rw-r--r--Master/texmf-dist/doc/latex/lshort-persian/overview.tex5
-rw-r--r--Master/texmf-dist/doc/latex/lshort-persian/spec.tex19
-rw-r--r--Master/texmf-dist/doc/latex/lshort-persian/things.tex50
-rw-r--r--Master/texmf-dist/doc/latex/lshort-persian/title.tex10
-rw-r--r--Master/texmf-dist/doc/latex/lshort-persian/transpreface.tex5
-rw-r--r--Master/texmf-dist/doc/latex/lshort-persian/typeset.tex71
18 files changed, 208 insertions, 166 deletions
diff --git a/Master/texmf-dist/doc/latex/lshort-persian/README b/Master/texmf-dist/doc/latex/lshort-persian/README
index 372582b3004..7019caff71e 100644
--- a/Master/texmf-dist/doc/latex/lshort-persian/README
+++ b/Master/texmf-dist/doc/latex/lshort-persian/README
@@ -1,4 +1,4 @@
- Persian Translation of "The not so Short Introduction to LaTeX, Ver 4.26"
+ Persian Translation of "The not so Short Introduction to LaTeX, Ver 5.01"
------------------------------------------------------------------------
by Mehdi Omidali <mehdioa@gmail.com>
@@ -7,8 +7,11 @@
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
- This document has been prepared with xelatex. You need to have the following free fonts:
- XB Niloofar, XB Kayhan, Linux Libertine, Adobe Arabic, Scheherazade, IranNastaliq
+ This document has been prepared with xelatex. You need to change
+ fonts to available fonts on your system.
+
+ Changes July 2013
+ Updated to lshort version 5.01 compatible with the xepersian v12.8 and bidi v13.5.
Changes Aug. 4 2009
Hyperref links and PDF bookmarks are now working properly. \ No newline at end of file
diff --git a/Master/texmf-dist/doc/latex/lshort-persian/appendix.tex b/Master/texmf-dist/doc/latex/lshort-persian/appendix.tex
index 358f08e7de4..b91879ae102 100644
--- a/Master/texmf-dist/doc/latex/lshort-persian/appendix.tex
+++ b/Master/texmf-dist/doc/latex/lshort-persian/appendix.tex
@@ -1,9 +1,9 @@
\appendix
-\chapter{Installing \LaTeX}
+\chapter{نصب لاتک}
\begin{intro}
-Knuth has published the source to \TeX{} back in a time when nobody knew
-about OpenSource and or Free Software. The License that comes with \TeX{}
-lets you do whatever you want with the source. But you can only call the
+Knuth published the source to \TeX{} back in a time when nobody knew
+about OpenSource and/or Free Software. The License that comes with \TeX{}
+lets you do whatever you want with the source, but you can only call the
result of your work \TeX{} if the program passes a set of tests Knuth has
also provided. This has lead to a situation where we have free \TeX{}
implementations for almost every Operating System under the Sun. In this chapter
@@ -13,20 +13,20 @@ get \TeX{} working.
\section{What to Install}
-For using LaTeX on any computer system, you need 3 essential pieces of
-software:
+For using LaTeX on any computer system, you need several programs.
\begin{enumerate}
-\item a text editor for editing your LaTeX source files.
-
-\item the \TeX{}/\LaTeX{} program for processing your \LaTeX{} source files
+\item The \TeX{}/\LaTeX{} program for processing your \LaTeX{} source files
into typeset PDF or DVI documents.
-\item a PDF/DVI viewer program for previewing and printing your
+\item A text editor for editing your LaTeX source files. Some products even let
+you start the latex program from within the editor.
+
+\item A PDF/DVI viewer program for previewing and printing your
documents.
-\item a program to handle PostScript files and images for inclusion into
+\item A program to handle \PSi{} files and images for inclusion into
your documents.
\end{enumerate}
@@ -37,27 +37,34 @@ with.
\section{\TeX{} on Mac OS X}
-\subsection{Picking an Editor}
-
-Base your LaTeX environment on the \wi{TextMate} editor! TextMate is not
-only a highly customizable, general purpose text editor, it also provides
-excellent LaTeX support and integrates tightly with the PDFView previewer.
-This combination of tools, lets you use LaTeX in a convenient and Mac-like
-manner. You can download a free trial version from the Textmate website on
-\url{http://macromates.com/} and purchase a full version for 39 EUR. If you
-know an equivalent OpenSource tool for the Mac, please let us know.
-
\subsection{Get a \TeX{} Distribution}
+Just download \wi{MacTeX}. It is a
+pre-compiled LaTeX distribution for OS X. \wi{MacTeX} provides a full LaTeX
+installation plus a number of additional tools. Get MaxTeX from
+\url{http://www.tug.org/mactex/}.
+
If you are already using Macports or Fink for installing Unix software under
OS X, install LaTeX using these package managers. Macport users install
-LaTeX with \framebox{\texttt{port install tetex}},
-Fink users use the command \framebox{\texttt{fink install tetex}}.
+LaTeX with \framebox{\texttt{port install texlive}},
+Fink users use the command \framebox{\texttt{fink install texlive}}.
-If you are neither using Macports nor Fink, download \wi{MacTeX}, which is a
-precompiled LaTeX distribution for OS X. \wi{MacTeX} provides a full LaTeX
-installation plus a number of additional tools. Get MaxTeX from
-\url{http://www.tug.org/mactex/}.
+\subsection{Picking an Editor}
+
+The most popular open source editor for \LaTeX{} on the mac seems to be
+\TeX{}shop. Get a copy from \url{http://www.uoregon.edu/~koch/texshop}. It
+is also contained in the \wi{MacTeX} distribution.
+
+Another fine editor is Texmaker. Apart from being a useful editor it has the
+advantage of running on Windows, Mac and Unix/Linux equally well. Go to
+\url{http://www.xm1math.net/texmaker} for further Information. Note there is
+also a forked version of Texmaker called TexmakerX on
+\url{http://texmakerx.sourceforge.net/} it promises additional functionality.
+
+Recent \TeX Live distributions contain the \TeX{}works editor
+\url{http://texworks.org/} which is a multi-platform editor based on the \TeX{}Shop
+design. Since \TeX{}works uses the Qt toolkit, it is available on any platform
+supported by this toolkit (MacOS X, Windows, Linux.)
\subsection{Treat yourself to \wi{PDFView}}
@@ -73,31 +80,47 @@ preset.
\subsection{Getting \TeX{}}
-First, get a copy of the excellent \wi{MiKTeX} distribution from\\
+First, get a copy of the excellent MiK\TeX\index{MiKTeX@MiK\TeX} distribution from\\
\url{http://www.miktex.org/}. It contains all the basic programs and files
-required to compile \LaTeX{} documents. The coolest feature in my eyes is,
+required to compile \LaTeX{} documents. The coolest feature in my eyes, is
that MiKTeX will download missing \LaTeX{} packages on the fly and install them
-magically while compiling a document.
+magically while compiling a document. Alternatively you can also use
+the TeXlive distribution which exists for Windows, Unix and Mac OS to
+get your base setup going \url{http://www.tug.org/texlive/}.
\subsection{A \LaTeX{} editor}
\LaTeX{} is a programming language for text documents. \wi{TeXnicCenter}
uses many concepts from the programming-world to provide a nice and
efficient \LaTeX{} writing environment in Windows. Get your copy from\\
-\url{http://www.toolscenter.org}. TeXnicCenter integrates nicely with
-MiKTeX.
+\url{http://http://www.texniccenter.org/}. TeXnicCenter integrates nicely with
+MiKTeX. Version 2.0 of TeXnicCenter will support Unicode, the recent alpha version
+seems to be quite stable.
+
+Other excellent choice is the editor provided by the LEd project available
+on \url{http://www.latexeditor.org}.
-An another excellent choice is the editor provided by the LEd project available on
-\url{http://www.latexeditor.org}
+See the note on Texmaker in the Mac section above for a third choice.
+
+Recent \TeX Live distributions contain the \TeX{}works Editor
+\url{http://texworks.org/}. It supports Unicode and requires at least Windows XP.
+
+\subsection{Document Preview}
+
+You will most likely be using Yap for DVI preview as it gets installed with
+MikTeX. For PDF you may want to look at Sumatra
+PDF \url{http://blog.kowalczyk.info/software/sumatrapdf/}. I mention Sumatra PDF
+because it lets you jump from any position in the pdf document back into
+corresponding position in your source document.
\subsection{Working with graphics}
-Working with high quality graphics in \LaTeX{} means, that you have to use
-Postscript (eps) or PDF as your picture format. The program that helps you
+Working with high quality graphics in \LaTeX{} means that you have to use
+\EPSi{} (eps) or PDF as your picture format. The program that helps you
deal with this is called \wi{GhostScript}. You can get it, together with its
-own front-end \wi{GhostView} from \url{http://www.cs.wisc.edu/~ghost/}.
+own front-end \wi{GhostView}, from \url{http://www.cs.wisc.edu/~ghost/}.
-If you deal with bitmap graphics (photos and scanned material). You may want
+If you deal with bitmap graphics (photos and scanned material), you may want
to have a look at the open source photoshop alternative \wi{Gimp} available
from \url{http://gimp-win.sourceforge.net/}.
@@ -108,12 +131,18 @@ on your system, or at least available on the installation source you used to
setup. Use your package manager to install the following packages:
\begin{itemize}
-\item tetex or texlive -- the base \TeX{}/\LaTeX{} setup.
+\item texlive -- the base \TeX{}/\LaTeX{} setup.
\item emacs (with auctex) -- a Linux editor that integrates tightly with \LaTeX{} through the add-on AucTeX package.
-\item ghostscript -- a PostScript preview program.
+\item ghostscript -- a \PSi{} preview program.
\item xpdf and acrobat -- a PDF preview program.
\item imagemagick -- a free program for converting bitmap images.
\item gimp -- a free photoshop look-a-like.
\item inkscape -- a free illustrator/corel draw look-a-like.
\end{itemize}
+If you are looking for a more windows like graphical editing environment,
+check out Texmaker or \TeX{}works. See the note in the Mac section above.
+
+Most Linux distros insist on splitting up their \TeX{} environments into a
+large number of optional packages, so if something is missing after your
+first install, go check again.
diff --git a/Master/texmf-dist/doc/latex/lshort-persian/biblio.tex b/Master/texmf-dist/doc/latex/lshort-persian/biblio.tex
index 580f355986d..b2765f8b067 100644
--- a/Master/texmf-dist/doc/latex/lshort-persian/biblio.tex
+++ b/Master/texmf-dist/doc/latex/lshort-persian/biblio.tex
@@ -3,19 +3,10 @@
% File: biblio.tex (lshort2e.tex)
% $Id: biblio.tex 172 2008-09-25 05:26:50Z oetiker $
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-{\makeatletter
-\def\@makeschapterhead#1{%
- \vspace*{50\p@}%
- {\parindent \z@ \raggedleft
- \normalfont
- \interlinepenalty\@M
- \Huge \bfseries #1\par\nobreak
- \vskip 40\p@
- }
-\makeatother }
-\begin{thebibliography}{99}
\addcontentsline{toc}{chapter}{\bibname}
-\Latin
+\setLTRbibitems
+\begin{thebibliography}{99}
+\resetlatinfont
\bibitem{manual} Leslie Lamport. \newblock \emph{{\LaTeX:} A Document
Preparation System}. \newblock Addison-Wesley, Reading,
Massachusetts, second edition, 1994, ISBN~0-201-52983-1.
diff --git a/Master/texmf-dist/doc/latex/lshort-persian/custom.tex b/Master/texmf-dist/doc/latex/lshort-persian/custom.tex
index 5d0a7c28738..0b45febe96a 100644
--- a/Master/texmf-dist/doc/latex/lshort-persian/custom.tex
+++ b/Master/texmf-dist/doc/latex/lshort-persian/custom.tex
@@ -410,7 +410,7 @@ of unknown origin and purpose.
{\farsifontsayeh قلم‌های بیشتری}
{\farsifontpook در نوشتار}
{\farsifontscheherazade استفاده کنید}
-\nastaliq{نوشتار شما زیباتر خواهد شد.}
+\nastaliq{نوشتار شما زیباتر و خواناتر خواهد شد.}
\end{quote}
\section{فاصله‌گذاری}
diff --git a/Master/texmf-dist/doc/latex/lshort-persian/graphic.tex b/Master/texmf-dist/doc/latex/lshort-persian/graphic.tex
index 8163837fd95..2d351aab03d 100644
--- a/Master/texmf-dist/doc/latex/lshort-persian/graphic.tex
+++ b/Master/texmf-dist/doc/latex/lshort-persian/graphic.tex
@@ -10,8 +10,7 @@
\section{مرور}
-محیط \ei{picture} امکان برنامه‌نویسی برای تولید شکل در لاتک را فراهم می‌کند. توضیح کامل را در
-\manual ببینید. از یک طرف، چندین محدودیت وجود دارد که از آن جمله محدودیت شیب خط‌ها و شعاع دایره‌ها است. از طرف دیگر، محیط \ei{picture} از لاتک به همراه فرمان \ci{qbezier} همراه است، \lr{``\texttt{q}''} به معنای
+محیط \ei{picture} امکان برنامه‌نویسی برای تولید شکل در لاتک را فراهم می‌کند. توضیح کامل را در \manual ببینید. از یک طرف، چندین محدودیت وجود دارد که از آن جمله محدودیت شیب خط‌ها و شعاع دایره‌ها است. از طرف دیگر، محیط \ei{picture} از لاتک به همراه فرمان \ci{qbezier} همراه است، \lr{``\texttt{q}''} به معنای
\lr{``quadratic''}\footnote{مترجم: به معنای خم درجه دوم است.}
است. بسیاری از خم‌ها مانند دایره‌، بیضی، یا ترکیبی از این خم‌ها را می‌توان با تقریب خم‌های درجهٔ دوم بزیه رسم کرد، هرچند که این کار نیازمند محاسبات ریاضی است. به علاوه، اگر یک زبان برنامه‌نویسی مانند جاوا برای تولید بلوک‌های \ci{qbezier} مورد استفاده قرار گیرد، محیط \ei{picture} بسیار قدرتمند خواهد شد.
@@ -415,8 +414,7 @@
فرض کنید $P_1=(x_1,\,y_1),\,P_2=(x_2,\,y_2)$ نقاط انتهایی باشند، و $m_1,\,m_2$ به ترتیب شیب‌های خم‌های بزیه باشند. نقطهٔ کنترل کنندهٔ میانی
$S=(x,\,y)$ با رابطهٔ
-%Here we need to change equation numbers direction
-\makeatletter\def\tagform@#1{\maketag@@@{\if@RTL)\else(\fi\ignorespaces\beginR#1\endR\unskip\@@italiccorr\if@RTL(\else)\fi}}\makeatother
+
\begin{equation} \label{zwischenpunkt}
\left\{
\begin{array}{rcl}
diff --git a/Master/texmf-dist/doc/latex/lshort-persian/lshort-base.tex b/Master/texmf-dist/doc/latex/lshort-persian/lshort-base.tex
index c9f6ba74b34..c773a88126d 100644
--- a/Master/texmf-dist/doc/latex/lshort-persian/lshort-base.tex
+++ b/Master/texmf-dist/doc/latex/lshort-persian/lshort-base.tex
@@ -58,6 +58,7 @@
\DeclareMathOperator*{\nut}{Nut}
\begin{document}
+\SplitFootnoteRule
\frontmatter
\include{title}
%\include{contrib}
diff --git a/Master/texmf-dist/doc/latex/lshort-persian/lshort.pdf b/Master/texmf-dist/doc/latex/lshort-persian/lshort.pdf
index 63031d2a3f9..9403d0acb32 100644
--- a/Master/texmf-dist/doc/latex/lshort-persian/lshort.pdf
+++ b/Master/texmf-dist/doc/latex/lshort-persian/lshort.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/lshort-persian/lshort.sty b/Master/texmf-dist/doc/latex/lshort-persian/lshort.sty
index c5087444d22..9281eb7e106 100644
--- a/Master/texmf-dist/doc/latex/lshort-persian/lshort.sty
+++ b/Master/texmf-dist/doc/latex/lshort-persian/lshort.sty
@@ -1,3 +1,5 @@
+% !TeX root= lshort.tex
+% !TEX TS-program=xelatex
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Contents: Special Commands for the LShort2e Introduction
% $Id: lshort.sty,v 1.2 2003/03/19 20:57:45 oetiker Exp $
@@ -9,7 +11,7 @@
%save pageref an label
\let\lsspageref\pageref
\ProvidesPackage{lshort}
-%\RequirePackage[english,frenchb,german]{babel}
+
\RequirePackage{mflogo}
\RequirePackage{verbatim}
%\RequirePackage{fancyhea}
@@ -28,18 +30,11 @@
%\RequirePackage{aeguill}
% some packages which draw a euro
\RequirePackage{textcomp}
-\RequirePackage{setspace}
+\RequirePackage[onehalfspacing]{setspace}
\RequirePackage{hyperref}
-%\NoHyper
+
\hypersetup{colorlinks=true,linkcolor=red,citecolor=green,filecolor=magneta,urlcolor=cyan}
-%\RequirePackage[para*,perpage]{ednotes}
-%%Lets have two layer of footnotes
-%\SetFootnoteHook{\@RTLfalse}%--> must appear immediately before \DeclareNewFootnote
-%\DeclareNewFootnote[para]{C}[fnsymbol]
-%\renewcommand{\extrafootnoterule}{}
-%\SelectFootnoteRule[0]{extra}
-%\let\Footnote=\footnoteC
-\newcommand{\Footnote}[1]{\LTRfootnote{#1}}
+
% need some magic here to keep the original definition of rightarrow
\newcommand{\org@Rightarrow}{}
@@ -193,8 +188,6 @@
{\\\hline\end{tabular}\par\nopagebreak\addvspace{3.2ex plus 0.8ex
minus 0.2ex}%
\vskip -\parskip\end{latin}}
-\let\originalemph\emph
-\renewcommand{\emph}[1]{\originalemph{\lr{#1}}}
%
% Type setting Code Fragments
%
@@ -288,8 +281,10 @@
%\ifx\pdfoutput\undefined % We're not running pdftex
%\ifodd\lsspageref{exa\theexacnt}\hspace*{0pt}\else\hspace*{-\outdent}\fi%
%\else
-%% HyPsd@pageref internal hyperref command v6.69c
- \ifodd\HyPsd@pageref{exa\theexacnt}\hspace*{0pt}\else\hspace*{-\outdent}\fi%
+%% HyPsd@pageref internal hyperref command v6.69c<<<<<<< HEAD
+% \if@twoside\ifodd\HyPsd@pageref{exa\theexacnt}\hspace*{-\outdent}\else\hspace*{0pt}\fi\fi
+ %=======
+ \ifodd\HyPsd@pageref{exa\theexacnt}\hspace*{-\outdent}\else\if@twoside\hspace*{0pt}\else\hspace*{-\outdent}\fi\fi%>>>>>>> 404cfb64c15599f79b0868b6d9ef8d43d8850358
%\fi
\fi
\makebox[\textwidth][l]{%
@@ -329,34 +324,33 @@
{\clearpage\if@twoside \ifodd\c@page\else
\hbox{}\thispagestyle{empty}\newpage\if@twocolumn\hbox{}\newpage\fi\fi\fi}
-\def\setLR{\@RTLfalse}
-\def\setRL{\@RTLtrue}
-\let\unsetRL=\setLR
+
\newcommand{\graphicscompanion}{\cite{graphicscompanion} }
\newcommand{\hobby}{\cite{metapost} }
\newcommand{\hoenig}{\cite{unbound} }
\newcommand{\graphicsinlatex}{\cite{ursoswald} }
-%\usepackage{bidi}
\usepackage{xepersian}
-\numberwithin{table}{chapter}
-\numberwithin{figure}{chapter}
-\numberwithin{equation}{chapter}
+
+\@ifundefined{Footnote}{\let\Footnote\LTRfootnote}{}
\newcommand{\romanindex}[1]{\index{\lr{#1}}}
-\newcommand\emp[1]{\lr{''}#1\lr{``}}
+\newcommand\emp[1]{«#1»}
\newcommand\femph[1]{{\it #1}}
+\let\originalemph\emph
+\renewcommand{\emph}[1]{\originalemph{\lr{#1}}}
+
% \DeclareMathOperator{\argh}{argh}
% \DeclareMathOperator*{\nut}{Nut}
-\onehalfspacing
+
%%%%%%%%%%%%%%%%%%%End of titlesec definitions%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\settextfont[Scale=1]{XB Niloofar}
+\settextfont[UprightFont={ALotus},BoldFont={ALotusBold},ItalicFont={ALotusItalic},Scale=1]{ALotus}
\setlatintextfont[Scale=1]{Linux Libertine}
-\defpersianfont\farsifontsayeh[Scale=1]{XB Kayhan Sayeh}
-\defpersianfont\farsifontpook[Scale=1]{XB Kayhan Pook}
-\defpersianfont\farsifontnavaar[Scale=1]{XB Kayhan Navaar}
-\defpersianfont\farsifontshafigh[Scale=1.1]{Adobe Arabic}
+\defpersianfont\farsifontsayeh[Scale=1.1]{ATitr}
+\defpersianfont\farsifontpook[Scale=1]{AKufiOutline}
+\defpersianfont\farsifontnavaar[Scale=1]{AHoma}
+\defpersianfont\farsifontshafigh[Scale=1]{AMitra}
\defpersianfont\farsifontscheherazade[Scale=1.1]{Scheherazade}
\defpersianfont\nastaliq[Scale=2]{IranNastaliq}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
diff --git a/Master/texmf-dist/doc/latex/lshort-persian/lshort.tex b/Master/texmf-dist/doc/latex/lshort-persian/lshort.tex
index 91944adce8a..ea8740c7e8a 100644
--- a/Master/texmf-dist/doc/latex/lshort-persian/lshort.tex
+++ b/Master/texmf-dist/doc/latex/lshort-persian/lshort.tex
@@ -1,3 +1,4 @@
+% !TEX TS-program=xelatex
\documentclass[11pt,a4paper,twoside]{book}
\usepackage{mylayout}
\input{lshort-base.tex}
diff --git a/Master/texmf-dist/doc/latex/lshort-persian/lssym.tex b/Master/texmf-dist/doc/latex/lshort-persian/lssym.tex
index e05fd00111f..bdd2ddfca1f 100644
--- a/Master/texmf-dist/doc/latex/lshort-persian/lssym.tex
+++ b/Master/texmf-dist/doc/latex/lshort-persian/lssym.tex
@@ -368,11 +368,7 @@ $\mathbb{ABCDE abcde 1234}$
\end{symbols}
\end{table}
%
-%Now we return to xepersian adaption
-\makeatletter
-\def\tagform@#1{\maketag@@@{)\ignorespaces\@@text{#1}\unskip\@@italiccorr(}}
-\makeatother
-%
+
% Local Variables:
% TeX-master: "lshort"
diff --git a/Master/texmf-dist/doc/latex/lshort-persian/math.tex b/Master/texmf-dist/doc/latex/lshort-persian/math.tex
index aa2ade1f76e..38c09c6fbb3 100644
--- a/Master/texmf-dist/doc/latex/lshort-persian/math.tex
+++ b/Master/texmf-dist/doc/latex/lshort-persian/math.tex
@@ -3,10 +3,8 @@
% $Id: math.tex 169 2008-09-24 07:32:13Z oetiker $
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\chapter{حروف‌چینی فرمول‌های ریاضی}
-%We beed to switch to the original formula numbers
-\makeatletter
-\def\tagform@#1{\maketag@@@{\lr{(\ignorespaces\@@text{#1}\unskip\@@italiccorr)}}}
-\makeatother
+
+
%At the end of this chapter we will return to xepersian adaption
\begin{intro}
@@ -45,6 +43,7 @@
فرمول‌های ریاضی {\femph درون}
متن \romanindex{equation} یک پاراگراف در میان دو نماد \texttt{\$} وارد می‌شوند:
+
\begin{example}
Add $a$ squared and $b$ squared
to get $c$ squared. Or, using
@@ -151,7 +150,6 @@ followed by a
در صفحه
\pageref{sec:fontsz} را ببینید).
\end{enumerate}
-\makeatletter\def\text#1{\@@text{#1}}\makeatother%We need to remove some damage produces by farsixetex.tex
\begin{example}
$\forall x \in \mathbf{R}:
\qquad x^{2} \geq 0$
@@ -161,7 +159,7 @@ $x^{2} \geq 0\qquad
\text{for all }x\in\mathbf{R}$
\end{example}
-ریاضیدان‌ها از نمادهای پیچیده‌ای استفاده می‌کنند: مناسب است که در اینجا از قلـــــم \wi{\lr{blackboard bold}} استفاده کنیم،
+ریاضیدان‌ها از نمادهای پیچیده‌ای استفاده می‌کنند: مناسب است که در اینجا از قلم \wi{\lr{blackboard bold}} استفاده کنیم،
\romanindex{bold symbols} که با استفاده از \ci{mathbb} از بسته \pai{amssymb} بدست می‌آید.\footnote{\pai{amssymb} قسمتی از کلاف \lr{} نیست، اما ممکن است هنوز قسمتی از توزیع لاتک شما باشد. توزیع خود را بررسی کنید یا به \texttt{CTAN:/fonts/amsfonts/latex/} بروید و آن را دریافت کنید.}
\ifx\mathbb\undefined\else
آخرین مثال عبارت است از
diff --git a/Master/texmf-dist/doc/latex/lshort-persian/mylayout.sty b/Master/texmf-dist/doc/latex/lshort-persian/mylayout.sty
index 934a0a3ac4b..f141a097ef7 100644
--- a/Master/texmf-dist/doc/latex/lshort-persian/mylayout.sty
+++ b/Master/texmf-dist/doc/latex/lshort-persian/mylayout.sty
@@ -1,3 +1,6 @@
+% !TeX root= lshort.tex
+% !TEX TS-program=xelatex
+
%%
%% This is file `mylayout.sty', generated
%% on <1995/7/3> with the docstrip utility (2.2i).
diff --git a/Master/texmf-dist/doc/latex/lshort-persian/overview.tex b/Master/texmf-dist/doc/latex/lshort-persian/overview.tex
index 128f28d0b43..61dba7b5358 100644
--- a/Master/texmf-dist/doc/latex/lshort-persian/overview.tex
+++ b/Master/texmf-dist/doc/latex/lshort-persian/overview.tex
@@ -1,3 +1,6 @@
+% !TeX root= lshort.tex
+% !TEX TS-program=xelatex
+
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Contents: Who contributed to this Document
% $Id: overview.tex 169 2008-09-24 07:32:13Z oetiker $
@@ -76,7 +79,7 @@
\vspace{\stretch{1}}
\noindent
-اگر نظری برای اضافه یا کم کردن این مقدمه دارید، لطفاً مرا مطلع سازید. در این رابطه که چه قسمت از این مقدمه مناسب است و چه قسمت باید بیشتر توضیح داده شود، بسیار مایل هستم که دیدگاه‌های افراد تازه‌کار رابدانم.
+اگر نظری برای اضافه یا کم کردن این مقدمه دارید، لطفاً مرا آگاه سازید. در این رابطه که چه قسمت از این مقدمه مناسب است و چه قسمت باید بیشتر توضیح داده شود، بسیار مایل هستم که دیدگاه‌های افراد تازه‌کار رابدانم.
\bigskip
diff --git a/Master/texmf-dist/doc/latex/lshort-persian/spec.tex b/Master/texmf-dist/doc/latex/lshort-persian/spec.tex
index fc25750b377..63b70a17162 100644
--- a/Master/texmf-dist/doc/latex/lshort-persian/spec.tex
+++ b/Master/texmf-dist/doc/latex/lshort-persian/spec.tex
@@ -1,3 +1,6 @@
+% !TeX root= lshort.tex
+% !TEX TS-program=xelatex
+
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Contents: Specialities of the LaTeX system
% $Id: spec.tex 172 2008-09-25 05:26:50Z oetiker $
@@ -116,17 +119,7 @@
\emph{label} استفاده کنید، هر فقره به طور خودکار شماره‌گذاری می‌شود. پارامتر بعد از \verb|\begin{thebibliography}| مشخص می‌کند که چه مقدار فضا باید برای برچسب‌ها در نظر گرفته شود. در مثال زیر،
\verb|{99}| به لاتک می‌گوید که هیچ‌کدام از شماره‌های فقره‌ها گسترده‌تر از عدد \lr{99} نیست.
-{{\makeatletter
-\def\@makeschapterhead#1{%
- \vspace*{50\p@}%
- {\parindent \z@ \raggedright
- \normalfont
- \interlinepenalty\@M
- \Huge \bfseries #1\par\nobreak
- \vskip 40\p@
- }
-\makeatother }
-%\def\bibname{Bibliography}
+
%\enlargethispage{2cm}
\begin{example}
Partl~\cite{pa} has
@@ -172,7 +165,7 @@ TUGboat Volume~9, Issue~1 (1988)
\end{lscommand}
\noindent
مشخص می‌شود، که
-\emph{key}
+\emph{key}
فقرهٔ نمایه است. فرمان نمایه را در مکانی از متن وارد می‌کنید که می‌خواهید نمایه به آنجا ارجاع داشته باشد. جدول
\ref{index}
%\LRE{\hyperref[index]{2.5}}
@@ -590,7 +583,7 @@ The \href{http://www.ctan.org}{CTAN} website.
هنگامی ظاهر می‌شود که یک شمارنده از نو مقداردهی شود، به عنوان مثال هنگام استفاده از فرمان \ci{mainmatter} که توسط طبقهٔ نوشتار کتاب تعریف می‌شود. این فرمان شمارندهٔ صفحه را قبل از اولین فصل کتاب برابر با ۱ می‌کند. ولی از آنجا که اولین صفحهٔ پیشگفتار نیز دارای شمارهٔ ۱ است، تمام اتصال‌ها به صفحهٔ ۱ به‌طور یکتا مشخص نمی‌شود، بنابراین توجه داشته باشید شمارندهٔ چندگانه بی‌تاثیر است.
اندازه‌گیر شمارنده‌ها را می‌توان با گزینهٔ \lr{\texttt{plainpages=false}} در گزینه‌های \lr{hyperref} قرار داد. متأسفانه این کار تنها در شمارهٔ صفحه‌ها کمک می‌کند.
-حتی یک راه حل بنیادی می‌تواند استفاده از گزینهٔ \texttt{hypertexnames=false} است، اما این کار باعث می‌شود اتصال‌های صفحات قابل استفاده نباشند.
+حتی یک راه حل بنیادی می‌تواند استفاده از گزینهٔ \texttt{hypertexnames = false} است، اما این کار باعث می‌شود اتصال‌های صفحات قابل استفاده نباشند.
\subsection{مشکلات چوب الف}
متنی که در چوب الف نمایش داده می‌شود همواره آن چیزی نیست که انتظار آن را دارید. زیرا چوب الف‌ها تنها متن هستند و حروف کمتری برای نمایش آنها نسبت به لاتک موجود است. \lr{Hyperref} این مشکل را می‌شناسد و پیغام اخطار مناسب می‌دهد:
diff --git a/Master/texmf-dist/doc/latex/lshort-persian/things.tex b/Master/texmf-dist/doc/latex/lshort-persian/things.tex
index e02e4e849ee..4c0ba5f44ff 100644
--- a/Master/texmf-dist/doc/latex/lshort-persian/things.tex
+++ b/Master/texmf-dist/doc/latex/lshort-persian/things.tex
@@ -1,3 +1,5 @@
+% !TeX root= lshort.tex
+% !TEX TS-program=xelatex
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Contents: Things you need to know
% $Id: things.tex 172 2008-09-25 05:26:50Z oetiker $
@@ -317,9 +319,9 @@ Well, and here begins my lovely article.
\end{figure}
%\setRL
\section{یک دوره خط فرمان}
-شرط می‌بندم داری بال‌بال می‌زنی که مثال جمع‌وجور صفحه
+شرط می‌بندمتصمیم گرفته‌اید مثال جمع‌وجور صفحه
\pageref{mini}
- را شخصاً انجام بدهی. چند راهنمایی: خود لاتک بدون هیچ رابط کاربر گرافیکی\Footnote{GUI}
+ را شخصاً انجام بدهید. چند راهنمایی: خود لاتک بدون هیچ رابط کاربر گرافیکی\Footnote{GUI}
یا کلیدهای تجملی ارائه می‌شود. لاتک فقط یک برنامه است که فایل ورودی را پردازش می‌کند. بعضی از توزیع‌های لاتک دارای رابط کاربری هستند که با فشردن یک دکمه می‌توانید فایل خود را پردازش کنید. در غیر این صورت باید در یک خط فرمان چند فرمان را تایپ کنید تا لاتک فایل ورودی را پردازش کند. پس اجازه دهید این کار را کمی توضیح دهیم. توجه: این توضیحات بر این فرض استوار است که شما لاتک را روی سیستم خود داشته باشید.\footnote{لاتک روی تمام سیستم‌های لینوکس که کامل نصب شده باشند وجود دارد، و \ldots مردها با لینوکس کار می‌کنند، بنابراین (\lr{-};}
\begin{enumerate}
\item
@@ -349,9 +351,9 @@ Well, and here begins my lovely article.
\section{طرح‌بندی نوشتار}
-\subsection{طبقهٔ نوشتار}\label{sec:documentclass}
+\subsection{سبک نوشتار}\label{sec:documentclass}
-وقتی که لاتک یک فایل ورودی را پردازش می‌کند اولین اطلاعاتی را که باید بداند طبقهٔ نوشتار است. این موضوع با فرمان
+وقتی که لاتک یک فایل ورودی را پردازش می‌کند اولین اطلاعاتی را که باید بداند سبک نوشتار است. این موضوع با فرمان
\ci{documentclass}
مشخص می‌شود.
@@ -362,41 +364,41 @@ Well, and here begins my lovely article.
\noindent
در اینجا
\emph{class}
-طبقهٔ نوشتار را معرفی می‌کند. جدول
+سبک نوشتار را معرفی می‌کند. جدول
\ref{documentclasses}
%\LR{\hyperref[documentclasses]{1.2}}
-طبقه‌های نوشتاری را نشان می‌دهد که در این مقدمه شرح داده خواهند شد.
-توزیع لاتک طبقه‌های نوشتار دیگری مانند
+سبک‌های نوشتاری را نشان می‌دهد که در این مقدمه شرح داده خواهند شد.
+توزیع لاتک سبک‌های نوشتار دیگری مانند
\lr{letter} و \lr{slide}
را نیز شامل است. پارامترهای گزینه
(\emph{\wi{\lr{options}}})
-رفتار طبقهٔ نوشتار را کنترل می‌کنند.
-پارامترها توسط ویرگول از یکدیگر جدا می‌شوند. معمول‌ترین گزینه‌ها برای طبقه‌های نوشتار استاندارد در جدول
+رفتار سبک نوشتار را کنترل می‌کنند.
+پارامترها توسط ویرگول از یکدیگر جدا می‌شوند. معمول‌ترین گزینه‌ها برای سبک‌های نوشتار استاندارد در جدول
\ref{options}
%\LR{\hyperref[options]{2.2}}
آورده شده است.
\begin{table}[!bp]
-\caption{طبقه‌های نوشتار} \label{documentclasses}
+\caption{سبک‌های نوشتار} \label{documentclasses}
\begin{center}
\vspace{1em}
\begin{lined}{\textwidth}
\begin{tabular}{lp{.80\textwidth}}
\texttt{article}& برای مقالات مجله‌ها، ارائه‌ها، گزارش‌های کوتاه، اسناد برنامه‌ها، دعوت‌نامه، \ldots
- \romanindex{article class}\index{طبقهٔ مقاله} \\
+ \romanindex{article class}\index{سبک مقاله} \\
\texttt{proc}&
-طبقه‌ای برای گزارش پیشرفت برپایهٔ طبقهٔ
-\lr{article} \romanindex{proc class}\index{طبقهٔ پیشرفت} \\
+سبکی برای گزارش پیشرفت برپایهٔ سبک
+\lr{article} \romanindex{proc class}\index{سبک پیشرفت} \\
\texttt{minimal}& کوچکترین چیزی که می‌توان قرار داد. تنها شامل یک صفحه و یک قلم است. عموماً به منظور غلط‌یابی به کار می‌رود.
- \romanindex{minimal class}\index{طبقهٔ کوچکترین}\\
+ \romanindex{minimal class}\index{سبک کمینه}\\
\texttt{report}& برای گزارش‌های مفصل‌تر که شامل چند فصل هستند، کتاب، پایان‌نامه، \ldots
- \romanindex{report class}\index{طبقهٔ گزارش}\\
+ \romanindex{report class}\index{سبک گزارش}\\
\texttt{book}& برای کتاب‌های کامل
-\romanindex{book class}\index{طبقهٔ کتاب}\\
-\texttt{slides}&برای اسلاید. این طبقه از حروف بزرگ سانز سریف استفاده می‌کند. به جای آن ممکن است بخواهید از فویل‌تک استفاده کنید.
+\romanindex{book class}\index{سبک کتاب}\\
+\texttt{slides}&برای اسلاید. این سبک از حروف بزرگ سانز سریف استفاده می‌کند. به جای آن ممکن است بخواهید از فویل‌تک استفاده کنید.
\footnote{%
\lr{\CTANref|macros/latex/contrib/supported/foiltex|}}
- \romanindex{slides class}\romanindex{foiltex}\index{طبقهٔ اسلاید}\index{فویل‌تک}\\
+ \romanindex{slides class}\romanindex{foiltex}\index{سبک اسلاید}\index{فویل‌تک}\\
&\\
\end{tabular}
\end{lined}
@@ -405,7 +407,7 @@ Well, and here begins my lovely article.
\begin{table}[!bp]
-\caption{گزینه‌های طبقهٔ نوشتار} \label{options}
+\caption{گزینه‌های سبک نوشتار} \label{options}
\begin{center}
\vspace{1em}
\begin{lined}{\textwidth}
@@ -422,17 +424,17 @@ Well, and here begins my lovely article.
\\
\lr{\texttt{titlepage}, \texttt{notitlepage}}&مشخص می‌کند که آیا صفحه‌ای جدید بعد از \wi{صفحهٔ عنوان} شروع شود یا نه.
-طبقهٔ \texttt{article} صفحه‌ای جدید به صورت پیش‌فرض شروع نمی‌کند در حالی که طبقه‌های \texttt{report} و \texttt{book} این کار را انجام می‌دهند. \romanindex{title}\index{عنوان}
+سبک \texttt{article} صفحه‌ای جدید به صورت پیش‌فرض شروع نمی‌کند در حالی که سبک‌های \texttt{report} و \texttt{book} این کار را انجام می‌دهند. \romanindex{title}\index{عنوان}
\\
\lr{\texttt{onecolumn}, \texttt{twocolumn}}& لاتک را راهنمایی می‌کنند که نوشتار را در\wi{یک ستون}
یا در \wi{دو ستون} حروف‌چینی کند.\\
-\lr{\texttt{twoside, oneside}}& مشخص می‌کند که خروجی به صورت یک‌رو است یا دورو. به صورت پیش‌فرض طبقه‌های \texttt{article} و \texttt{report}
-\wi{یک‌رو}هستند و طبقهٔ‌ \texttt{book} \wi{دورو}است. توجه کنید که این گزینه فقط به سبک نوشتار مربوط است. گزینه \texttt{twoside} به چاپگر فرمان چاپ دورو نمی‌دهد.\\
+\lr{\texttt{twoside, oneside}}& مشخص می‌کند که خروجی به صورت یک‌رو است یا دورو. به صورت پیش‌فرض سبک‌های \texttt{article} و \texttt{report}
+\wi{یک‌رو}هستند و سبک‌ \texttt{book} \wi{دورو}است. توجه کنید که این گزینه فقط به سبک نوشتار مربوط است. گزینه \texttt{twoside} به چاپگر فرمان چاپ دورو نمی‌دهد.\\
\texttt{landscape}& سبک‌ نوشتار را به صورت افقی (\lr{landscape}) تبدیل می‌کند.
\\
\lr{\texttt{openright}, \texttt{openany}} &
-باعث می‌شود فصل‌ها در صفحه‌های سمت راست یا در صفحه بعدی شروع شوند. این گزینه با طبقهٔ \texttt{article} کار نمی‌کند زیرا در این طبقه فصل وجود ندارد. طبقهٔ \texttt{report} به صورت پیش‌فرض فصل‌ها را در صفحهٔ بعدی و طبقهٔ \texttt{book} آنها را در صفحات سمت راست شروع می‌کند.
+باعث می‌شود فصل‌ها در صفحه‌های سمت راست یا در صفحه بعدی شروع شوند. این گزینه با سبک \texttt{article} کار نمی‌کند زیرا در این سبک فصل وجود ندارد. سبک \texttt{report} به صورت پیش‌فرض فصل‌ها را در صفحهٔ بعدی و سبک \texttt{book} آنها را در صفحات سمت راست شروع می‌کند.
\\
&\\
\end{tabular}
@@ -577,7 +579,7 @@ Well, and here begins my lovely article.
\item[\eei{.ins}] فایل نصب کنندهٔ فایل‌های موجود در فایل \textrm{.dtx}. اگر بسته‌ای را از اینترنت دانلود کنید به طور نرمال شامل یک فایل \lr{.dtx} و یک فایل
\lr{.ins} است. فایل \lr{.ins} را توسط لاتک پردازش کنید تا فایل \lr{.dtx} را باز کنید.
-\item[\eei{.cls}] فایل‌های کلاس که طبقهٔ نوشتار را مشخص می‌کنند. این فایل‌ها را با فـــــــــرمــــــــــــــان \ci{documentclass} فراخوانی می‌کنیم.
+\item[\eei{.cls}] فایل‌های کلاس که سبک نوشتار را مشخص می‌کنند. این فایل‌ها را با فرمان \ci{documentclass} فراخوانی می‌کنیم.
\item[\eei{.fd}] فایل‌های قلم که لاتک را از آنها آگاه می‌سازد.
\end{description}
وقتی که لاتک فایل را پردازش می‌کند فایل‌های زیر را تولید می‌کند:
diff --git a/Master/texmf-dist/doc/latex/lshort-persian/title.tex b/Master/texmf-dist/doc/latex/lshort-persian/title.tex
index b0fd5c8ba17..4151148633e 100644
--- a/Master/texmf-dist/doc/latex/lshort-persian/title.tex
+++ b/Master/texmf-dist/doc/latex/lshort-persian/title.tex
@@ -9,7 +9,7 @@
%\addtolength{\textwidth}{-\centeroffset}
\thispagestyle{empty}
\vspace*{\stretch{1}}
-\noindent\hspace*{\centeroffset}\makebox[0pt][l]{\begin{minipage}{\textwidth}
+\noindent\hspace*{\centeroffset}\makebox[0pt][r]{\begin{minipage}{\textwidth}
\flushleft
{\nastaliq\Huge\bfseries مقدمه‌ای نه چندان کوتاه بر \\
\lr{\LaTeXe}
@@ -20,12 +20,12 @@
\end{minipage}}
\vspace{\stretch{1}}
-\noindent\hspace*{\centeroffset}\makebox[0pt][l]{\begin{minipage}{\textwidth}
+\noindent\hspace*{\centeroffset}\makebox[0pt][r]{\begin{minipage}{\textwidth}
\flushleft
{\bfseries
\lr{by Tobias Oetiker\\[1.5ex]
\lr{Hubert Partl, Irene Hyna and Elisabeth Schlegl}\\[3ex]}}
-\lr{Version~4.26, September 25, 2008}\\
+\lr{Version~5.01, April 6, 2011}\\
\lr{\bfseries Translator: Mehdi Omidali}\\
{مترجم: مهدی امیدعلی}
\end{minipage}}
@@ -38,7 +38,7 @@
\thispagestyle{empty}
\begin{small}
\begin{latin}
- Copyright \copyright 1995-2005 Tobias Oetiker and Contributers. All rights reserved.
+ Copyright \copyright 1995-2011 Tobias Oetiker and Contributers. All rights reserved.
This document is free; you can redistribute it and/or modify it
under the terms of the GNU General Public License as published by
@@ -57,7 +57,7 @@
\end{latin}
\medskip
-حق مؤلف ۱۹۹۵-۲۰۰۵ \lr{\copyright} توبیاس اوتیکر و دیگران. تمام حقوق محفوظ است.
+حق مؤلف ۱۹۹۵-۲۰۱۱ \lr{\copyright} توبیاس اوتیکر و دیگران. تمام حقوق محفوظ است.
این نوشتار آزاد است، تحت اجازه‌نامهٔ عمومی گنو (نسخهٔ ۲ یا نسخه‌های جدیدتر)، می‌توانید آن را پخش و/یا تغییر دهید.
diff --git a/Master/texmf-dist/doc/latex/lshort-persian/transpreface.tex b/Master/texmf-dist/doc/latex/lshort-persian/transpreface.tex
index 66e75f8de29..6ca26baabeb 100644
--- a/Master/texmf-dist/doc/latex/lshort-persian/transpreface.tex
+++ b/Master/texmf-dist/doc/latex/lshort-persian/transpreface.tex
@@ -1,5 +1,8 @@
+% !TeX root= lshort.tex
+% !TEX TS-program=xelatex
+
\chapter{پیشگفتار مترجم}
-امروزه اکثر مجله‌های علمی و پژوهشی از نویسندگان خود انتظار دارند که مقالهٔ خود را با لاتک تهیه کنند. مشهور است که کسانی که اولین بار با لاتک متنی را آماده می‌کنند، در میانهٔ کار می‌گویند که دیگر از این نرم‌افزار استفاده نخواهند کرد؛ اما بعد از اتمام کار به خود می‌گویند دیگر به هیچ عنوان به سراغ نرم‌افزارهایی مانند \lr{word} نخواهند رفت. دلیل این کار واضح است؛ لاتک برای هر منظور، فرمانی دارد که باید این فرمان‌ها را بدانید تا بتوانید به طور بهینه از آن استفاده کنید. اگر در ابتدا زمان کافی برای یادگیری این فرمان‌ها صرف نکنید، در آینده چندین برابر این زمان را برای رفع مشکلات نوشتار خود باید صرف کنید. این کتاب به این امید ترجمه شده است که بتواند به شما در یادگیری فرمان‌های لاتک کمک کند.
+امروزه بیشتر مجله‌های علمی و پژوهشی از نویسندگان خود انتظار دارند مقالهٔ خود را با لاتک تهیه کنند. مشهور است که کسانی که اولین بار با لاتک متنی را آماده می‌کنند، در میانهٔ کار می‌گویند که دیگر از این نرم‌افزار استفاده نخواهند کرد؛ اما بعد از پایان کار به خود می‌گویند دیگر به هیچ عنوان به سراغ نرم‌افزارهایی مانند \lr{word} نخواهند رفت. دلیل این کار روشن است؛ لاتک برای هر منظور، فرمانی دارد که باید این فرمان‌ها را بدانید تا بتوانید به طور بهینه از آن استفاده کنید. اگر در ابتدا زمان کافی برای یادگیری این فرمان‌ها صرف نکنید، در آینده چندین برابر این زمان را برای رفع مشکلات نوشتار خود باید صرف کنید. این کتاب به این امید ترجمه شده است که بتواند به شما در یادگیری فرمان‌های لاتک کمک کند.
به تازگی نرم‌افزار زیتک به بازار ارائه شده است که توانایی استفاده از قلم‌های مختلف را فراهم کرده است. زیلاتک، که همان لاتک بر پایهٔ زیتک است، تمامی امکانات قوی لاتک را برای تهیهٔ هر نوع مستندی، از جمله مستندات فارسی، ارائه کرده است. به همین منظور بسته‌ای با نام \lr{\XePersian} توسط آقای وفا خلیقی تهیه شده است که این ترجمه با استفاده از این بسته و به منظور بررسی سازگاری آن تهیه شده است. آقای وفا خلیقی دانشجوی دکتری ریاضی دانشگاه سیدنی هستند که واقعاً با تلاش غیرقابل توصیف کار تهیهٔ این بسته را به عهده گرفتند و بدون چشم‌داشتی این کار بزرگ را انجام دادند. وظیفهٔ خود می‌دانم که از طرف جامعهٔ علمی کشور از ایشان کمال تشکر را داشته باشم و با افتخار این ترجمهٔ ناچیز را به خود ایشان تقدیم کنم.
diff --git a/Master/texmf-dist/doc/latex/lshort-persian/typeset.tex b/Master/texmf-dist/doc/latex/lshort-persian/typeset.tex
index 41acfec6735..0cbd5070ed3 100644
--- a/Master/texmf-dist/doc/latex/lshort-persian/typeset.tex
+++ b/Master/texmf-dist/doc/latex/lshort-persian/typeset.tex
@@ -1,3 +1,5 @@
+% !TeX root=lshort.tex
+% !TEX TS-program=xelatex
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Contents: Typesetting Part of LaTeX2e Introduction
% $Id: typeset.tex 169 2008-09-24 07:32:13Z oetiker $
@@ -7,25 +9,20 @@
بعد از مطالعهٔ فصل پیش، چیزهای ابتدایی را می‌دانید که لاتک با آنها سروکار دارد. در این فصل مطالب دیگری را خواهید آموخت که برای تولید نوشته‌های واقعی مفید هستند.
\end{intro}
\section{ساختار متن و زبان}
- انتقال اطلاعات و ایده‌ها به خواننده مهمترین نکتهٔ نوشتن یک متن است. اگر مطالب به درستی ساختاربندی شده باشند خواننده به راحتی مطالب را می‌فهمد و این مطلب موقعی اتفاق می‌افتد که ساختار حروف‌چینی متن انعکاس دهنده ساختار محتوای متن باشد.
+ انتقال اطلاعات و ایده‌ها به خواننده مهمترین نکتهٔ نوشتن یک متن است. اگر نوشتار به درستی ساختاربندی شده باشند خواننده به راحتی مطالب را می‌فهمد و این مطلب موقعی اتفاق می‌افتد که ساختار حروف‌چینی متن انعکاس دهنده ساختار محتوای متن باشد.
تفاوت لاتک با دیگر سیستم‌های حروف‌چینی در این است که تنها باید ساختار منطقی و زیبایی نوشتار را به لاتک معرفی کرد. آنگاه لاتک با استفاده از قوانینی که در متن و در فایل‌های الصاقی ارائه شده است حروف‌چینی نوشتار را انجام می‌دهد.
-مهمرین واحد در لاتک
-(و در حروف‌چینی)
-پاراگراف
+مهمرین واحد در لاتک (و در حروف‌چینی) پاراگراف
\index{بیی@پاراگراف}\romanindex{paragraph} است. ما به آن \emp{واحد متن}
می‌گوییم زیرا پاراگراف قسمت به‌هم‌ چسبیده‌ای است که یک ایده را بازگو می‌کند. در این بخش یاد می‌گیریم که چگونه خط را با فرمان \texttt{\bs\bs}،
و پاراگراف‌ را با خالی گذاشتن یک خط بشکنیم. بنابراین اگر مطلب جدیدی قرار است که شروع شود باید پاراگراف جدید نیز شروع شود.
-اگر در مورد شکستن پاراگراف مطمئن نیستید، نوشتار را به عنوان حامل ایده‌ها درنظر بگیرید. اگر در نقطه‌ای شکست پاراگراف دارید
-ولی ایدۀ قبلی هنوز ادامه دارد، شکست را باید از بین ببرید. اگر ایدۀ کاملاً جدیدی در یک خط وارد شده است، آنگاه باید یک شکست پاراگراف داشته باشید.
+اگر در مورد شکستن پاراگراف مطمئن نیستید، نوشتار را به عنوان حامل ایده‌ها درنظر بگیرید. اگر در نقطه‌ای شکست پاراگراف دارید ولی ایدۀ قبلی هنوز ادامه دارد، شکست را باید از بین ببرید. اگر ایدۀ کاملاً جدیدی در یک خط وارد شده است، آنگاه باید یک شکست پاراگراف داشته باشید.
-بعضی از افراد به کلی اهمیت دانستن محل دقیق شکستن پاراگراف‌ها را نمی‌دانند. خیلی از افراد حتی مفهوم شکستن یک پاراگراف را نمی‌دانند، یا، به خصوص در لاتک،
-پاراگراف‌های جدید ایجاد می‌کنند بدون این که بدانند چنین کاری کرده‌اند. این اشتباه به خصوص اگر در متن فرمول وجود داشته باشد، بیشتر اتفاق می‌افتد.
-به مثال‌های زیر توجه کنید و سعی کنید دریابید که چرا گاهی اوقات خط خالی
-(شکست پاراگراف)
+بعضی از افراد به کلی اهمیت دانستن محل دقیق شکستن پاراگراف‌ها را نمی‌دانند. خیلی از افراد حتی مفهوم شکستن یک پاراگراف را نمی‌دانند، یا، به خصوص در لاتک، پاراگراف‌های جدید ایجاد می‌کنند بدون این که بدانند چنین کاری کرده‌اند. این اشتباه به خصوص اگر در متن فرمول وجود داشته باشد، بیشتر اتفاق می‌افتد.
+به مثال‌های زیر توجه کنید و سعی کنید دریابید که چرا گاهی اوقات خط خالی (شکست پاراگراف)
قبل یا بعد از یک فرمول قرار می‌گیرد و گاهی اوقات قرار نمی‌گیرد.
-(اگر هنوز تمامی فرمان‌های این مثال‌ها را متوجه نمی‌شوید، این فصل و فصل بعد را مطالعه کنید و دوباره این بخش را مرور کنید.)
+(اگر هنوز همهٔ فرمان‌های این مثال‌ها را متوجه نمی‌شوید، این فصل و فصل بعد را مطالعه کنید و دوباره این بخش را مرور کنید.)
\begin{code}
\begin{verbatim}
@@ -64,9 +61,7 @@ is the core of a very different transistor model. \ldots
ساختار متن حتی به داخل جملات نیز رسوخ می‌کند. بسیاری از زبان‌ها دارای آیین نگارش پیچیده‌ای هستند، اما در بسیاری از زبان‌ها
(مثلاً آلمانی و انگلیسی\footnote{مترجم: و صد البته فارسی})،
ویرگول را می‌توان با به خاطر سپردن یک اصل ساده در محل درست قرار دهید: در محل‌هایی که متن دارای توقف کوچک است.
-اگر مطمئن نیستید در کجا ویرگول قرار دهید، جمله را با صدای بلند بخوانید و در هر نقطه‌ای که یک ویرگول دارید یک نفس کوتاه بگیرید. اگر از این کار احساس مطبوعی نداشتید آن ویرگول راحذف کنید؛ اگر در نقطه‌ای احساس نیاز به یک نفس تازه
-(یا یک توقف کوتاه)
-داشتید، در آن نقطه یک ویرگول وارد کنید.
+اگر مطمئن نیستید در کجا ویرگول قرار دهید، جمله را با صدای بلند بخوانید و در هر نقطه‌ای که یک ویرگول دارید یک نفس کوتاه بگیرید. اگر از این کار احساس خوبی نداشتید آن ویرگول را حذف کنید؛ اگر در نقطه‌ای احساس نیاز به یک نفس تازه (یا یک توقف کوتاه) داشتید، در آن نقطه یک ویرگول وارد کنید.
دست آخر این که پاراگراف‌ها را باید به‌طور منطقی در فصل‌ها، بخش‌ها، زیربخش‌ها، و غیره قرار دهید. با این وجود، تأثیر حروف‌چینی به صورت
\begin{code}
@@ -74,7 +69,7 @@ is the core of a very different transistor model. \ldots
\end{code}
آنقدر واضح است که تقریباً مشخص می‌کند این ساختاربندی چگونه انجام می‌شود.
\section{شکستن خط و صفحه}
-\subsection{پاراگراف‌های هم‌شکل}
+\subsection{ترازش پاراگراف‌ها}
کتاب‌ها معمولاً به این صورت حروف‌چینی می‌شوند که تمام خط‌ها دارای طول یکسان هستند. لاتک خط‌ها را به صورت مناسب می‌شکند \index{شکستن خط}
و فاصلهٔ مناسب بین کلمات را رعایت می‌کند تا محتوای پاراگراف‌ها را بهینه کند. اگر لازم باشد حتی کلمات را در انتهای خط‌ها می‌شکند.
این‌که پاراگراف‌ها چگونه حروف‌چینی می‌شوند بستگی به طبقهٔ نوشتار دارد. به طور نرمال اولین خط یک پاراگراف دارای تورفتگی است،
@@ -173,19 +168,17 @@ contain the name of the file.
\vspace{2ex}
\noindent
-{\let\today=\oldtoday
\begin{center}
\begin{tabular}{rlll@{}}
توضیح&مثال&فرمان\\
\hline
زمان جاری
- & \lr{\originaltoday} & \ci{today}\\
+ & \lr{\latintoday} & \ci{today}\\
حروف‌چین مورد علاقهٔ شما & \lr{\TeX} &\ci{TeX}\\
عنوان بازی & \lr{\LaTeX} &\ci{LaTeX}\\
شکل کنونی& \lr{\LaTeXe} &\ci{LaTeXe} \\
\end{tabular}
\end{center}
-}
\section{حروف و نمادهای ویژه}
\subsection{علامت نقل قول}
@@ -199,10 +192,10 @@ contain the name of the file.
``Please press the `x' key.''
\end{example}
-می‌دانم که تعبیر مناسبی نیست که از \lr{\textasciigrave} برای شروع نقل قول و از \lr{\textquotesingle} برای اتمام آن استفاده کرد.
+می‌دانم که روش مناسبی نیست که از \lr{\textasciigrave} برای شروع نقل قول و از \lr{\textquotesingle} برای اتمام آن استفاده کرد.
\subsection{فاصلهٔ کلمات و شکستن}
-لاتک چهار نوع فاصلهٔ بین کلمات را می‌شناسد. \romanindex{dash} سه تا از این فاصله‌ها را می‌توان با نوشتن چند دَش پشت سر هم تولید کرد. علامت چهارم دش نیست و در حقیقت همان علامت منهای ریاضی است: \romanindex{-}
+لاتک چهار نوع فاصلهٔ بین کلمات را می‌شناسد. \romanindex{dash} سه تا از این فاصله‌ها را می‌توان با نوشتن چند دَش (خط تیره) پشت سر هم تولید کرد. علامت چهارم دش نیست و در حقیقت همان علامت منهای ریاضی است: \romanindex{-}
\romanindex{--} \romanindex{---} \lr{\index{-@$-$}} \index{\lr{mathematical}!\lr{minus}}
@@ -219,7 +212,7 @@ $0$, $1$ and $-1$
\lr{`$-$' \wi{\lr{minus sign}}}.
\subsection{\texorpdfstring{تیلدا ($\sim$)}{تیلدا}}
\romanindex{www}\romanindex{URL}\romanindex{tilde}
-کاراکتری که معمولاً در صفحات وب ظاهر می‌شود علامت تیلدا است. برای تولید این کاراکتر لاتک می‌توانید از \verb|\~| کمک بگیرد ولی حاصل آن \~{}
+کاراکتری که معمولاً در صفحات وب ظاهر می‌شود علامت تیلدا است. برای تولید این کاراکتر در لاتک می‌توانید از \verb|\~| کمک بگیرد ولی حاصل آن \~{}
است که دقیقاً آن چیزی نیست که می‌خواهید. به جای آن از روش زیر استفاده کنید:
@@ -227,7 +220,13 @@ $0$, $1$ and $-1$
http://www.rich.edu/\~{}bush \\
http://www.clever.edu/$\sim$demo
\end{example}
-
+
+\subsection{\texorpdfstring{اسلش (/)}{اسلش}}
+\index{اسلش}
+برای نمایش اسلش بین دو واژه، می‌توان به‌سادگی نوشت، برای نمونه
+\texttt{read/write}،
+ولی این کار باعث می‌شود لاتک هر دو واژه را چسبیده نمایش دهد. شکست واژه‌ها برای این دو واژه ناپویا می‌شود و ممکن است خطای «سرریز» دریافت کنید. برای رفع این مشکل \ci{slash} را بکار ببرید. برای نمونه بنویسید `\LR{\verb|read\slash write|}' که شکست کلمه‌ها را ممکن می‌کند. ولی `\texttt{/}' نرمال هنوز می‌تواند برای کسر و واحدها بکار رود، ب.ن.\ \texttt{5 MB/s}.
+
\subsection{\texorpdfstring{علامت درجه ($\circ$)}{علامت درجه}}
مثال زیر نشان می‌دهد چگونه می‌توان \wi{علامت درجه}
\romanindex{degree symbol} را در لاتک نوشت:
@@ -386,6 +385,34 @@ Stra\ss e
\end{latin}
\end{table}
+
+
+\section{پشتیبانی زبان‌های دیگر}
+\index{زبان‌های دیگر}
+\subsection{گزینهٔ یونیکد}
+
+%\secby{Axel Kielhorn}{A.Kielhorn@web.de}
+اگر می‌خواهید نوشتاری از چندین زبان بنویسید، یونیکد راه آن است، به ویژه اگر این زبان‌ها از خط لاتین استفاده نکنند. دو موتور تک هستند که توانایی پردازش ورودی‌های یونیکد را دارند:
+
+\begin{description}
+\item[زیلاتک]
+برای سیستم مک گسترش یافت اما اکنون برای همهٔ سیستم‌ها در دسترس است. نخستین بار در تکلایو ۲۰۰۷ ارائه شد.
+\item[لواتک] نسخهٔ آیندهٔ پی‌دی‌اف‌تک است. نخستین بار در تکلایو ۲۰۰۸ ارائه شد.
+\end{description}
+
+نوشتهٔ زیر زیلاتک ارائه شده در تکلایو ۲۰۱۰ را توضیح می‌دهد.
+
+
+\subsubsection{زبان‌ها راست به چپ}
+
+بستهٔ \pai{xepersian}\index{xepersia} از زبان پارسی پشتیبانی می‌کند. این بسته دستورهای فارسی لاتک را فراهم می‌کند که به این ترتیب می‌توانید دستورهایی مانند \verb|\section| را به پارسی بکار ببرید، که این ویژگی برای پارسی زبانان جذاب است. \pai{xepersian} تنها بسته‌ای است که از کشیدگی حرف‌ها پشتیبانی می‌کند. بستهٔ همانندی برای زبان سریانی در حال گسترش است.
+
+قلم نستعلیق، که توسط شورای عالی اطلاع رسانی درست شده است، از تارنمای آنها دردسترس است
+
+\lr{\url{http://www.scict.ir/Portal/Home/Default.aspx}. }
+
+
+
\section{فاصله بین کلمات}
برای این که در خروجی، حاشیه سمت راست به صورت منظم ظاهر شود، لاتک فاصله مناسب بین کلمات ایجاد می‌کند تا خط را پر کنند.
همچنین لاتک فاصلهٔ بیشتری را در انتهای یک خط قرار می‌دهد، زیرا این کار باعث خوانایی بهتر متن می‌شود. لاتک فرض می‌کند انتهای