Usage Instructions for Emacs Bidi XML Mode and TeX Mode

For Version of 2011-10-18 (paper, presentation and demo at 35th IUC)

Last updated 2011-11-05

Thanks for trying out our structured source editing modes! Please send questions, comments, and bug reports to Martin Dürst (duerst@it.aoyama.ac.jp).

This software is currently in early trial stage. Please make sure you have backup copies before trying it out on important data.

  1. Make sure you have Emacs 24.0 (currently alpha/preview) or higher, with bidi. For instructions on how to download and install for Windows, see paper. If you compile from source, please make sure you have instaled the Complex Text Layout support libraries. Also, make sure you have the necessary fonts (use Options → Multilingual Environment → Show Multi-lingual Text for a quick check).
  2. Download some or all of the following files:

    (If you are only interested in XML, you don't need the TeX files, if you want to try with your own data, you may not need the test/example file, and so on.)

  3. Start the Emacs installed under point 1.
  4. If you are not familiar with Emacs key bindings (shortcuts), use menu selection except where given explicity.
  5. Load the mode definition file (bidi-xml.el or bidi-tex.el) with:
    Meta-x load-file Enter Path-to-mode-definition-and-Filename Enter
    (Meta is Alt on Windows, Option on the Mac, and Escape can be used on Linux. Meta-x means to press the Meta key and the x key at the same time. After pressing Enter, the path/filename can be edited interactively in the last line at the bottom of the window (called minibuffer)).
  6. Open a file in the format of the mode file you just loaded (File → Open File).
  7. Activate the mode for your file with:
    Meta-x bidi-xml-mode
    (replace bidi-xml-mode with bidi-tex-mode for TeX).
  8. Enjoy!
  9. Send questions, comments, and bug reports to duerst@it.aoyama.ac.jp.

Known Issues

These are some known issues with the current implementation. We are working on resolving them, and also might become aware of new issues, so please check back here regularly.

Please send any other issues you discover, and any comments or questions to Martin Dürst (duerst@it.aoyama.ac.jp).

Fixed Issues

Fix published 2011-11-05: Improved insertion of bidi control characters (no control characters around '<' if they are part of a bigger construct, e.g. '<!--'); solve a bug about the display of '&rlm';.