سلام
می خواستم بدونم تنظیمات texworks برای path و font و... همانند انچه در texmaker انجام می دادیم چطور انجام میشه
تو صفحه راهنما توضیحی برای تنظیم texworks نبود.
لازم به توضیح هست که من در اوبنتو ۱۴.۱۰ تک لایو رو نصب کردم و بعد هم texworks اما گزینه option یا چیزی شبیه به اون رو پیدا نکردم.
ممنون میشم راهنمایی کنید.
ایام به کام
در واقع با خطای زیر مواجه میشم:
This is XeTeX, Version 3.14159265-2.6-0.99991 (TeX Live 2014/Debian) (preloaded format=xelatex)
restricted \write18 enabled.
entering extended mode
(./level_crossing.tex
LaTeX2e <2014/05/01>
Babel <3.9k> and hyphenation patterns for 79 languages loaded.
(/usr/share/texlive/texmf-dist/tex/latex/base/report.cls
Document Class: report 2007/10/19 v1.4h Standard LaTeX document class
(/usr/share/texlive/texmf-dist/tex/latex/base/size12.clo))
(/usr/share/texlive/texmf-dist/tex/latex/graphics/graphicx.sty
(/usr/share/texlive/texmf-dist/tex/latex/graphics/keyval.sty)
(/usr/share/texlive/texmf-dist/tex/latex/graphics/graphics.sty
(/usr/share/texlive/texmf-dist/tex/latex/graphics/trig.sty)
(/usr/share/texlive/texmf-dist/tex/latex/latexconfig/graphics.cfg)
(/usr/share/texlive/texmf-dist/tex/xelatex/xetex-def/xetex.def)))
(/usr/share/texlive/texmf-dist/tex/latex/hyperref/hyperref.sty
(/usr/share/texlive/texmf-dist/tex/generic/oberdiek/hobsub-hyperref.sty
(/usr/share/texlive/texmf-dist/tex/generic/oberdiek/hobsub-generic.sty))
(/usr/share/texlive/texmf-dist/tex/generic/ifxetex/ifxetex.sty)
(/usr/share/texlive/texmf-dist/tex/latex/oberdiek/auxhook.sty)
(/usr/share/texlive/texmf-dist/tex/latex/oberdiek/kvoptions.sty)
(/usr/share/texlive/texmf-dist/tex/latex/hyperref/pd1enc.def)
(/usr/share/texlive/texmf-dist/tex/latex/latexconfig/hyperref.cfg)
(/usr/share/texlive/texmf-dist/tex/latex/url/url.sty))
Package hyperref Message: Driver (autodetected): hxetex.
(/usr/share/texlive/texmf-dist/tex/latex/hyperref/hxetex.def
(/usr/share/texlive/texmf-dist/tex/latex/hyperref/puenc.def)
(/usr/share/texlive/texmf-dist/tex/generic/oberdiek/stringenc.sty)
(/usr/share/texlive/texmf-dist/tex/latex/oberdiek/rerunfilecheck.sty))
(/usr/share/texlive/texmf-dist/tex/latex/setspace/setspace.sty)
(/usr/share/texlive/texmf-dist/tex/latex/fancyhdr/fancyhdr.sty)
(/usr/share/texlive/texmf-dist/tex/latex/geometry/geometry.sty)
(/usr/share/texlive/texmf-dist/tex/xelatex/xepersian/xepersian.sty
(/usr/share/texlive/texmf-dist/tex/latex/fontspec/fontspec.sty
(/usr/share/texlive/texmf-dist/tex/latex/l3kernel/expl3.sty
(/usr/share/texlive/texmf-dist/tex/latex/l3kernel/expl3-code.tex
(/usr/share/texlive/texmf-dist/tex/latex/etex-pkg/etex.sty))
(/usr/share/texlive/texmf-dist/tex/latex/l3kernel/l3xdvipdfmx.def))
(/usr/share/texlive/texmf-dist/tex/latex/l3packages/xparse/xparse.sty)
(/usr/share/texlive/texmf-dist/tex/latex/fontspec/fontspec-patches.sty
*************************************************
* LaTeX warning: "xparse/redefine-command"
*
* Redefining document command \oldstylenums with arg. spec. 'm' on line 144.
*************************************************
) (/usr/share/texlive/texmf-dist/tex/latex/fontspec/fontspec-xetex.sty
(/usr/share/texlive/texmf-dist/tex/latex/base/fontenc.sty
(/usr/share/texlive/texmf-dist/tex/latex/euenc/eu1enc.def)
(/usr/share/texlive/texmf-dist/tex/latex/euenc/eu1lmr.fd))
(/usr/share/texlive/texmf-dist/tex/xelatex/xunicode/xunicode.sty
(/usr/share/texmf/tex/latex/tipa/t3enc.def
(/usr/share/texlive/texmf-dist/tex/latex/euenc/eu1lmss.fd)))
(/usr/share/texlive/texmf-dist/tex/latex/fontspec/fontspec.cfg)))
(/usr/share/texlive/texmf-dist/tex/xelatex/xepersian/xepersian-persiancal.sty)
(/usr/share/texlive/texmf-dist/tex/xelatex/xepersian/xepersian-mathsdigitspec.s
ty) (/usr/share/texlive/texmf-dist/tex/xelatex/bidi/bidi.sty
****************************************************
*
* bidi package (Bidirectional typesetting in
* plain TeX and LaTeX, using XeTeX engine)
*
* Description: A convenient interface for
* typesetting bidirectional texts in plain TeX
* and LaTeX. The package includes adaptations
* for use with many other commonly-used packages.
*
* Copyright © 2009–2014 Vafa Khalighi
*
* 2014/07/08, v15.0
*
* License: LaTeX Project Public License, version
* 1.3c or higher (your choice)
*
* Location on CTAN: /macros/xetex/latex/bidi
*
* Issue tracker: http://sourceforge.net/p/bidi/tickets
*
* Support: persian-tex@tug.org
****************************************************
(/usr/share/texlive/texmf-dist/tex/generic/iftex/iftex.sty)
(/usr/share/texlive/texmf-dist/tex/xelatex/bidi/biditools.sty)
(/usr/share/texlive/texmf-dist/tex/latex/oberdiek/zref-abspage.sty
(/usr/share/texlive/texmf-dist/tex/latex/oberdiek/zref-base.sty))
(/usr/share/texlive/texmf-dist/tex/xelatex/bidi/latex-xetex-bidi.def
(/usr/share/texlive/texmf-dist/tex/xelatex/bidi/footnote-xetex-bidi.def)
(/usr/share/texlive/texmf-dist/tex/xelatex/bidi/report-xetex-bidi.def)
(/usr/share/texlive/texmf-dist/tex/xelatex/bidi/graphicx-xetex-bidi.def)
(/usr/share/texlive/texmf-dist/tex/xelatex/bidi/geometry-xetex-bidi.def)
(/usr/share/texlive/texmf-dist/tex/xelatex/bidi/hyperref-xetex-bidi.def)
(/usr/share/texlive/texmf-dist/tex/xelatex/bidi/fancyhdr-xetex-bidi.def))
(/usr/share/texlive/texmf-dist/tex/xelatex/bidi/loadingorder-xetex-bidi.def))
****************************************************
*
* xepersian package (Persian for LaTeX, using XeTeX engine)
*
* Description: The package supports Persian
* typesetting, using fonts provided in the
* distribution.
*
* Copyright © 2008–2013 Vafa Khalighi
*
* v14.0, 2014/07/13
*
* License: LaTeX Project Public License, version
* 1.3c or higher (your choice)
*
* Location on CTAN: /macros/xetex/latex/xepersian
*
* Issue tracker: https://github.com/vafa/xepersian/issues
*
* Support: persian-tex@tug.org
****************************************************
(/usr/share/texlive/texmf-dist/tex/xelatex/xepersian/loadingorder-xepersian.def
)
(/usr/share/texlive/texmf-dist/tex/xelatex/xepersian/fontspec-xetex-xepersian.d
ef
*************************************************
* LaTeX warning: "xparse/redefine-command"
*
* Redefining document command \aliasfontfeature with arg. spec. 'mm' on line
* 73.
*************************************************
) (/usr/share/texlive/texmf-dist/tex/xelatex/xepersian/footnote-xepersian.def)
(/usr/share/texlive/texmf-dist/tex/xelatex/xepersian/hyperref-xepersian.def)
(/usr/share/texlive/texmf-dist/tex/xelatex/xepersian/report-xepersian.def)
(/usr/share/texlive/texmf-dist/tex/xelatex/xepersian/localise-xepersian.def
(/usr/share/texlive/texmf-dist/tex/xelatex/xepersian/latex-localise-commands-xe
persian.def)
(/usr/share/texlive/texmf-dist/tex/xelatex/xepersian/xepersian-localise-command
s-xepersian.def)
(/usr/share/texlive/texmf-dist/tex/xelatex/xepersian/latex-localise-environment
s-xepersian.def)
(/usr/share/texlive/texmf-dist/tex/xelatex/xepersian/xepersian-localise-environ
ments-xepersian.def)
(/usr/share/texlive/texmf-dist/tex/xelatex/xepersian/latex-localise-messages-xe
persian.def)
(/usr/share/texlive/texmf-dist/tex/xelatex/xepersian/latex-localise-misc-xepers
ian.def)
(/usr/share/texlive/texmf-dist/tex/xelatex/xepersian/packages-localise-xepersia
n.def)))kpathsea:make_tex: Invalid fontname `XB Zar/OT', contains ' '
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!
! fontspec error: "font-not-found"
!
! The font "XB Zar" cannot be found.
!
! See the fontspec documentation for further information.
!
! For immediate help type H <return>.
!...............................................
l.19 \settextfont[Scale=1.1]{XB Zar}
?
من هم فونت و هم path رو مجددا چک کردم همه درست هستند
و توی همون /usr/share و... اینا هستند فایل های تک رو هم توی home کپی کردم و باز کردم اما باز هم خطا میده
!
Package inputenc Error: inputenc is not designed for xetex or luatex.
(inputenc) only UTF-8 supported.
See the inputenc package documentation for explanation.
Type H <return> for immediate help.
و وقتی هم که طبق راهنمایی خطا از موتور xetex استفاده میکنم (یعنی xelatex به xetex تبدیل می کنم) باز خطای زیر رو میده :
This is XeTeX, Version 3.14159265-2.6-0.99991 (TeX Live 2014/Debian) (preloaded format=xetex)
restricted \write18 enabled.
entering extended mode
(./level_crossing.tex
! Undefined control sequence.
l.1 \documentclass
[a4paper,12pt]{report}
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
با سلام
من texstudio رو نصب کردم و تنظیمات ش رو در option انجام دادم
اما مشکل فونت سر جاش باقیه
در قسمت usr/share/fonts که میرم روی فونتها که کلیک میکنم پیغام زیر رو میده
you do not have permission to read XB ZAR.ttf
من بسته فونت هام کامله و نمیدونم چرا باز نمیکنه.
مشکل از فایل tex نیست که بفرستم
ولی بهرحال این فایل رو ببینید.
ممنون
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!