-
Notifications
You must be signed in to change notification settings - Fork 1
TeXlive 2019 #3
Comments
Can you provide a minimal example showing the issue? (otherwise I will have to close it). |
Just tested with updated TeXLive 2019 (as of today) and I can not see any issue with the following minimal example: \documentclass{article}
\usepackage{xepersian}
\settextfont{Arial}
\begin{document}
این یک آزمایش است
\end{document} I am closing the issue as invalid. |
Thank you very much for your attention. In my previous version I do not
have any problem but in this version writing the two similar line cause the
problem.
%\defpersianfont\fontname[Scale=1.6]{IranNastaliq}
\defpersianfont\fontname[Scale=2]{IranNastaliq}
By omitting one command the error solved.
Thank you again for for attention.
Best regards
M. Golestani
…On Mon, Jun 10, 2019 at 12:14 PM Vafa Khalighi ***@***.***> wrote:
Just tested with updated TeXLive 2019 (as of today) and I can not see any
issue with the following minimal example:
\documentclass{article}
\usepackage{xepersian}
\settextfont{Arial}
\begin{document}
این یک آزمایش است
\end{document}
I am closing the issue as invalid.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#3>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AMJU4JNC5KKPWCXAMK7CRMDPZYA67ANCNFSM4HWRBAUQ>
.
|
The control sequence \documentclass{article}
\usepackage{xepersian}
\settextfont{Yas}
\defpersianfont\myfont{Yas}
\defpersianfont\myfont{Yas}
\begin{document}
این یک آزمایش است
\end{document} However, you still get the error LaTeX3 Error: Command '\myfont' already defined!
For immediate help type H <return>.
... This is because the control sequence \documentclass{article}
\usepackage{xepersian}
\settextfont{Yas}
\defpersianfont\myfont{Yas}
\redefpersianfont\myfont{Yas}
\begin{document}
این یک آزمایش است
\end{document} |
Dear Dr. Khalighi
Thank you very much. It is very helpful.
Can I ask another question about BiBTEX in Xepersian?
Best regards
M. Golestani
…On Mon, Jun 10, 2019 at 5:46 PM Vafa Khalighi ***@***.***> wrote:
The control sequence \fontname is a primitive and the control sequence
name should not be used for other purposes. So use something like
\documentclass{article}
\usepackage{xepersian}
\settextfont{Yas}
\defpersianfont\myfont{Yas}
\defpersianfont\myfont{Yas}
\begin{document}
این یک آزمایش است
\end{document}
However, you still get the error
LaTeX3 Error: Command '\myfont' already defined!
For immediate help type H <return>.
...
This is because the control sequence \myfont is defined twice. If you
want to redefine a particular control sequence for a font name, you need to
use the control sequence \redefpersianfont:
\documentclass{article}
\usepackage{xepersian}
\settextfont{Yas}
\defpersianfont\myfont{Yas}
\redefpersianfont\myfont{Yas}
\begin{document}
این یک آزمایش است
\end{document}
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#3>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AMJU4JJ7TTKXXR3UGIVJPILPZZH4JANCNFSM4HWRBAUQ>
.
|
Dear Dr. Khalighi I wrote a book with TeXLive using XePersian. I have some errors in the footnote, as you can see in the attached file. In the short text I do not see this problem. I import my chapters and section files. Best regards %%%%%%% The code of the file. %%%%%%%%%%%% % Theorem ***************************************************** \newenvironment{myquote}% \newcounter{example}[chapter] %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % Book's title and subtitle %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% Glassory %%%%%%%%%%%%%%%%%%%%%%%% \begin{document} \frontmatter %\pagenumbering{harfi} Some pages of the book: |
Dear Dr. Khalighi
I worked with Xepersin in TeXlive 2018. After updating it to TeXlive 2019, I found an error with the following content in the line \settextfont:
! LaTeX3 Error: Command '\fontname' already defined!
I will be glad to solve this problem.
Yours sincerely
Mohammad Golestani
The text was updated successfully, but these errors were encountered: