Docbook_TEI_Install_emacs


 
Thread Tools Search this Thread
Top Forums UNIX for Advanced & Expert Users Docbook_TEI_Install_emacs
# 1  
Old 06-23-2007
Docbook_TEI_Install_emacs

I am in a bit of a pickle. I have been trying for several months to install TEI (XML application similar to Docbook) into my emacs. I am using carbon emacs (as I am using Mac Os X) and I wish to install all my TEI stuff in a custom location rather than the site-lisp location in the emacs.app directory.

My problems: I do not no where to place the TEI files directory to place my files in.
/usr/share/sgml? or /usr/share/xml? or do I place some files in each folder.

Problem: Do I need to have catalog files? where do I put them?

Problem: How do I make it so Emacs can use nxml on the tei files so that I have auto completion. and how do I add the TEI shema to the emacs dropdown menu (docbook, relax ng and several others are already included with the app. I thought that by studying the files in the emacs distribution I would be able to find some clues; no success.

Questions: I am also wondering if it is possible to configure emacs so that I can easily and quickly access template files.

Apology: I am having trouble understanding the file system and need to place the proper files in the proper place. I tried searching the emacs pages, but I couldn't find info on manual installs of TEI on the macintosh platform and was concidering installing Debian (though I know nothing about it) because debian can install TEI automatically through the apt get. But there has to be a way to manually install on mac.

Any assistance or advice regarding this matter would be greatly appreciated and refreshing.

Thank you.
Login or Register to Ask a Question

Previous Thread | Next Thread
Login or Register to Ask a Question
MAILCAP.ORDER(5)                                               Order Mailcap Entries                                              MAILCAP.ORDER(5)

NAME
/etc/mailcap.order - the mailcap ordering specifications DESCRIPTION
The order of entries in the /etc/mailcap file can be altered by editing the /etc/mailcap.order file. Each line of that file specifies a package and an optional mime type. Mailcap entries that match will be placed in the order of this file. Entries that don't match will be placed later. Example mime-support:*/* gv:application/postscript netscape:text/html less:text/* emacs:text/* The above would make any entries provided by the mime-support package (as found in the /usr/lib/mime/packages directory) take priority over everything else. The gv package will be used over anything else when it comes to postscript documents. Netscape will be used for any html documents and less will be used for any remaining text documents. However, since neither netscape or less provide for editing documents, any edit or compose actions will fall through to the emacs rules. After modifying this file, be sure to run /usr/sbin/update-mime (as root) to propagate the changes into the /etc/mailcap file. Remember that this files takes package names and not executable names. If you want to define rules that reference specific programs, the best way is to include them in ~/.mailcap or the user section of the /etc/mailcap file. LIMITATIONS
There is currently no way to break out a certain type from a wildcard rule. If, for example, both xv and gimp were to specify "image/*" rules, it isn't possible to use xv for gif images but use gimp for jpeg images. Also, I would like to add the ability to specify certain actions in the rules. For example, if netscape were to have an edit rule but I wanted to use emacs for editing/creating html documents, I could place a line like emacs:text/* action=edit|compose before the netscape entry. The update-mime program would then spit out entries such that netscape view rule comes before the emacs view rule but have the netscape edit rule comes after the emacs edit rule. SEE ALSO
mailcap(5) run-mailcap(1) update-mime(8) AUTHOR
The mailcap.order specification was written by Brian White <bcwhite@pobox.com> Debian Project 16th Aug 1998 MAILCAP.ORDER(5)