سلام، لطفا وارد شوید یا عضو شوید.

دیدن ارسال ها

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - dma8hm1334

صفحه: 1 ... 3 4 [5]
61
عمومی / ویرایشگر ایمکس (Emacs)
« : مارس 17, 2013, 08:59:26 am »
    با سلام

    با توجه به آنکه ویرایشگر ایمکس (Emacs) یکی از قویترین ویرایشگرهای موجود است
 و نسخه‌های جدید آن به خوبی از حروفچینی دوجهته پشتیبانی می‌کنند و همچنین امکان
 نمایش همزمان خروجی TeX, LaTeX, ConTeXt, Texinfo, docTeX, XeTeX در آن وجود دارد،
 پیشنهاد می‌کنم، در صورتی که مدیران محترم پارسی‌لاتک مصلحت بدانند، در بخش ویرایشگرها
 یک عنوان «ویرایشگر Emacs» نیز اضافه گردد تا کاربران محترم پارسی‌لاتک بتوانند سئوالات
 و تجربیات خود را در مورد نحوهٔ استفاده و تنظیم این ویرایشگر در آن مطرح کنند.

    ضمناً جهت اطلاع کاربران عزیزی که با این ویراشگر آشنایی ندارند، بخشی از راهنمای
آن و نرم‌افزار جانبی آن، AUCTeX، در ذیل همین پیام آمده است.

    با سپاس

From Emacs manual: (http://www.gnu.org/software/emacs/manual/html_node/emacs/Intro.html#Intro)
==============================================================
   We call Emacs "advanced" because it can do much more than simple
 insertion and deletion of text.  It can control subprocesses, indent
 programs automatically, show multiple files at once, and more.  Emacs
 editing commands operate in terms of characters, words, lines,
 sentences, paragraphs, and pages, as well as expressions and comments
 in various programming languages.

   "Self-documenting" means that at any time you can use special
 commands, known as "help commands", to find out what your options are,
 or to find out what any command does, or to find all the commands that
 pertain to a given topic.  *Note Help::.

   "Customizable" means that you can easily alter the behavior of Emacs
 commands in simple ways.  For instance, if you use a programming
 language in which comments start with `<**' and end with `**>', you can
 tell the Emacs comment manipulation commands to use those strings
 (*note Comments::).  To take another example, you can rebind the basic
 cursor motion commands (up, down, left and right) to any keys on the
 keyboard that you find comfortable.  *Note Customization::.

   "Extensible" means that you can go beyond simple customization and
 create entirely new commands.  New commands are simply programs written
 in the Lisp language, which are run by Emacs's own Lisp interpreter.
 Existing commands can even be redefined in the middle of an editing
 session, without having to restart Emacs.  Most of the editing commands
 in Emacs are written in Lisp; the few exceptions could have been
 written in Lisp but use C instead for efficiency.  Writing an extension
 is programming, but non-programmers can use it afterwards.  *Note Emacs
 Lisp Intro: (eintr)Top, if you want to learn Emacs Lisp programming.

From AUCTeX manual: (http://www.gnu.org/software/auctex/manual/auctex/Summary.html#Summary)
==============================================================
 AUCTeX is a comprehensive customizable integrated environment for writing
 input files for TeX, LaTeX, ConTeXt, Texinfo, and docTeX using Emacs or XEmacs.

 It supports you in the insertion of macros, environments, and sectioning
 commands by providing completion alternatives and prompting for parameters.
 It automatically indents your text as you type it and lets you format a
 whole file at once. The outlining and folding facilities provide you with
 a focused and clean view of your text.

 AUCTeX lets you process your source files by running TeX and related tools
 (such as output filters, post processors for generating indices and
 bibliographies, and viewers) from inside Emacs. AUCTeX lets you browse
 through the errors TeX reported, while it moves the cursor directly to
 the reported error, and displays some documentation for that particular
 error. This will even work when the document is spread over several files.

 One component of AUCTeX that LaTeX users will find attractive is
 preview-latex, a combination of folding and in-source previewing
 that provides true “What You See Is What You Get” experience in
 your sourcebuffer, while letting you retain full control.

62
    با سلام
   
از چه روشی می‌توان استفاده کرد تا به جای عدد در شماره مراجع از حروفات استفاده شود.
می‌توانید از دستور زیر استفاده کنید:
\bibitem[Knud 66]{kn:gnus}D. E. Knudson. \emph{1966 World Gnus Almanac.}که مرجع را با [Knud 66] نمایش می‌دهد. برای مثال‌ها و توضیحات بیشتر به کتاب زیر مراجعه کنید:
Leslie Lamport. LaTeX: A Document Preparation System, 2nd Ed., 1994
مثال بالا را می‌توانید در صفحهٔ ۷۲ همین کتاب پیدا کنید.
کتاب‌های دیگری هم در این زمینه وجود دارد که بعضی از آنها در بخش مراجع کتاب فوق ذکر شده است.

    با سپاس

63
     با سلام
     کاربر عزیز در طرح سئوال‌هایی از این نوع ذکر سیستم عامل (از قبیل ویندوز، لینوکس و غیره) و توزیع TeX
 (مثل tetex ,TeXLive و ...) مورد استفاده به اعضاء کمک می‌کند تا سریعتر به سئوال شما پاسخ دهند.
 ضمن آنکه به نظر می رسد این سئوال‌ مربوط به بخش های دیگر تالار باشد. در صورتی که قوانین تالار را
 ندیده اید بهتر است آن را یکبار مطالعه کنید.
    از این توصیه های دوستانه که بگذریم فایل article.cls از فایل‌های اصلی بستهٔ LaTeX2e است و با توجه به آنکه
 نوشته‌اید دستور texhash را در command prompt اجرا می‌کنید احتمالاً از سیستم عامل لینوکس استفاده می‌کنید
 و اگر از TeXLive هم استفاده می‌کنید خروجی texhash باید چیزی به‌صورت زیر باشد:
texhash: Updating /usr/local/TeXLive-20120701/20120701/share/texmf/ls-R
texhash: Updating /usr/local/TeXLive-20120701/20120701/share/texmf-dist/ls-R
texhash: Updating /usr/local/TeXLive-20120701/20120701/share/texmf-local/ls-R
texhash: Updating /usr/local/TeXLive-20120701/20120701/share/texmf-var/ls-R
texhash: Done.
دقت کنید که روی سیستم شما به جای usr/local/TeXLive-20120701/20120701/share/
ممکن است مسیر دیگری باشد. در این‌صورت باید فایل زیر را روی سیستم خود داشته باشید:
usr/local/TeXLive-20120701/20120701/share/texmf-dist/tex/latex/base/article.cls/
در غیر این‌صورت توزیع TeX شما ناقص است و یا اینکه متغییرهای TeX اشتباه هستند. روی سیستم عامل‌های دیگر و
توزیع‌های دیگر TeX نیز تا آنجایی که من اطلاع دارم داستان تقریباً به همین صورت است.

   با سپاس


صفحه: 1 ... 3 4 [5]