https://bugzilla.wikimedia.org/show_bug.cgi?id=30463
Web browser: ---
Bug #: 30463
Summary: Add Support for Farsi Digits and Scripts in LaTeX
Mathematical Formulae
Product: MediaWiki
Version: unspecified
Platform: All
OS/Version: All
Status: NEW
Severity: normal
Priority: Unprioritized
Component: General/Unknown
AssignedTo: [email protected]
ReportedBy: [email protected]
Classification: Unclassified
I'm one of the users of Farsi Wikipedia. I've been wondering to add
thesupporting of Farsi Digits and Scripts in Math Extension of MediaWiki (in
LaTeX mode).
Arabi, is a good package under LaTeX that supports Arabic or Persian
digits and scripts. this pacakge is available in MiKTeX 2.5 and newer pacakges
of LaTeX. For more information about this package, please read these links:
http://www.mail-archive.com/[email protected]/msg00778.html
http://www.tug.org/texlive/Contents/live/texmf-dist/doc/latex/arabi/user_guide.pdf
For testing a sample file, please go to
http://sciencesoft.at/index.jsp?link=latex&js=0&lang=en
and copy-paste this code to the blank Area and click the "Start LaTeX" button:
% Start of the Code
\documentclass{article}
\usepackage[T1,LFE,LAE]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage[farsi,arabic,english]{babel}
\TOCLanguage{farsi}
\makeatletter
%due to a bug in ARABI in which the command \textRL is not
%changed to write Farsi though the main TOC language is Farsi.
\def\textRL#1{{\expandafter\@farsi at R{#1}}}
%due to a bug in ARABI in which the quotaion marks are not
%assigned to their counterpart font-glyphs in lfeenc.def
\DeclareTextSymbol{\guillemotright}{LFE}{62}
\DeclareTextSymbol{\guillemotleft}{LFE}{60}
\makeatother
\begin{document}
\selectlanguage{farsi}
%a paragraph in Farsi
%to write a number use \I{NUMBER}
%to write some phrases in English use \textLR{English phrase}
سلام. بالاخره یک سرور \textLR{On Line} پیدا شد که از فارسی نویسی در
\textLR{ \LaTeX\ } حمایت کند!
$$\sum^{+ \infty}_{i=1} \frac{1}{i^2} = \frac{\pi^2}{6}$$
\end{document}
% End of the code
by the help of this sample code, is it possible for you to add
supporting farsi digits and scripts to the MediaWiki Math Extension in
LaTeX mode to use it in Farsi Wikipedia?
Best Regards
--
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l