summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* updatedpluginswiemann2007-03-041-0/+3
| | | | git-svn-id: http://svn.code.sf.net/p/docutils/code/branches/plugins@4987 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* use setuptools/pkg_resources to get readers, parsers, writers, roles, ↵wiemann2007-03-0214-196/+373
| | | | | | | | | directives; added docs/howto/extensions.txt about to write extension packages; updated documentation git-svn-id: http://svn.code.sf.net/p/docutils/code/branches/plugins@4983 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* updated to Py23+wiemann2007-03-021-18/+4
| | | | git-svn-id: http://svn.code.sf.net/p/docutils/code/branches/plugins@4982 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* added docutils.conf in docutils.egg-info to avoid file access permission errorswiemann2007-03-021-0/+5
| | | | git-svn-id: http://svn.code.sf.net/p/docutils/code/branches/plugins@4981 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* removed reference to optwrap, textwrap, romanwiemann2007-03-021-2/+1
| | | | git-svn-id: http://svn.code.sf.net/p/docutils/code/branches/plugins@4980 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* use Python difflib because we are running on Py23+wiemann2007-03-023-1093/+4
| | | | git-svn-id: http://svn.code.sf.net/p/docutils/code/branches/plugins@4979 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* moved roman.py into main source directory so it doeswiemann2007-03-025-2294/+1
| | | | | | | not need to be installed separately; removed optparse and textwrap because we are no longer compatible to Py22 git-svn-id: http://svn.code.sf.net/p/docutils/code/branches/plugins@4978 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* moved writers.get_writer_class to generic utils.get_entry_pointwiemann2007-03-014-26/+48
| | | | git-svn-id: http://svn.code.sf.net/p/docutils/code/branches/plugins@4973 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* added entry points for writer aliases;wiemann2007-03-011-1/+8
| | | | | | added setuptools-0.6c5 as a requirement git-svn-id: http://svn.code.sf.net/p/docutils/code/branches/plugins@4972 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* added pep_htmlwiemann2007-03-011-0/+1
| | | | git-svn-id: http://svn.code.sf.net/p/docutils/code/branches/plugins@4971 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* added auto-discovery of writerswiemann2007-03-011-2/+7
| | | | git-svn-id: http://svn.code.sf.net/p/docutils/code/branches/plugins@4970 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* made entry-points point to Writer classeswiemann2007-03-011-7/+8
| | | | git-svn-id: http://svn.code.sf.net/p/docutils/code/branches/plugins@4969 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* added entry_points for writerswiemann2007-03-011-1/+11
| | | | git-svn-id: http://svn.code.sf.net/p/docutils/code/branches/plugins@4968 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* removed commented-out lineswiemann2007-03-011-66/+1
| | | | git-svn-id: http://svn.code.sf.net/p/docutils/code/branches/plugins@4967 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* deleted manifest; gets in the way of setuptoolswiemann2007-03-011-9/+0
| | | | git-svn-id: http://svn.code.sf.net/p/docutils/code/branches/plugins@4966 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* stripped setup.py down to work with setuptools;wiemann2007-03-011-124/+74
| | | | | | I have checked that it creates the same files in the distribution tarball as distutils git-svn-id: http://svn.code.sf.net/p/docutils/code/branches/plugins@4965 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* moved roman.py to source directory, so it does not need to be installed ↵wiemann2007-03-012-1/+1
| | | | | | separately git-svn-id: http://svn.code.sf.net/p/docutils/code/branches/plugins@4963 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* added ez_setup.py from setuptoolswiemann2007-02-271-0/+228
| | | | git-svn-id: http://svn.code.sf.net/p/docutils/code/branches/plugins@4953 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* created branch for work on plug-in architecturewiemann2007-02-270-0/+0
| | | | git-svn-id: http://svn.code.sf.net/p/docutils/code/branches/plugins@4952 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* Put ensuremath around some latin1 chars.plugins@4951grubert2007-02-272-0/+13
| | | | git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk/docutils@4951 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* Set ``usepackage[utf8x]{inputenc}`` for utf-8.grubert2007-02-273-10/+14
| | | | git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk/docutils@4950 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* added history entry for template.txt openingwiemann2007-02-261-0/+2
| | | | git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk/docutils@4939 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* do not use codecs.open, because it always uses binary modewiemann2007-02-261-4/+2
| | | | git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk/docutils@4938 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* New option ``--use-bibtex=style,db1,db2``.grubert2007-02-222-10/+23
| | | | git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk/docutils@4928 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* - New option ``--reference-label`` to allow usage of LaTeX ref for grubert2007-02-214-0/+67
| | | | | | | | | labels in section references. - Add a label after every section to support sectionnumbers as reference labels. git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk/docutils@4918 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* rst.el: included Riccardo patch for jit-lockblais2007-02-191-23/+49
| | | | git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk/docutils@4916 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* updatedgoodger2007-02-121-2/+4
| | | | git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk/docutils@4915 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* correctiongoodger2007-02-121-1/+1
| | | | git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk/docutils@4914 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* Added ``--strip-elements-with-class`` and ``--strip-class`` options ↵goodger2007-02-126-6/+87
| | | | | | (``strip_elements_with_classes`` and ``strip_classes`` settings) and ``StripClassesAndElements`` transform. git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk/docutils@4913 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* remove circular importgoodger2007-02-121-1/+2
| | | | git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk/docutils@4912 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* cleaned up build_contents code (not worth a test case or history entry ↵wiemann2007-01-221-6/+1
| | | | | | though because it occurs for corner cases involving empty section titles) git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk/docutils@4891 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* added info about "Docutils core" topic in Docutils-checkins mailing listwiemann2007-01-161-0/+6
| | | | git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk/docutils@4885 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* dropped all name attributes of "a" elementswiemann2007-01-166-116/+106
| | | | git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk/docutils@4884 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* + - Moved ``id`` attributes from titles to surrounding ``div``wiemann2007-01-169-160/+142
| | | | | | | + elements; dropped ``name`` attributes (``id`` is universally + supported now). git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk/docutils@4883 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* rst.el: change to accomodate tramp.elblais2007-01-111-5/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | See email below. n 1/11/07, Hans Halvorson <hhalvors@princeton.edu> wrote: > I have been talking with the maintainers of Tramp (remote file editing > over ssh for Emacs) about how to get rst-compile (in rst.el) to work > with Tramp's remote compilation capabilities. The results of this > discussion are pasted in below. Might rst.el be modified to make it > compatible with Tramp? > > Thanks, > Hans Halvorson > > [From Michael Albinus:] > > > [From Hans Halvorson:] > > > > I have pasted in below the definition of the "rst-compile" in rst.el. > > > The problem is with the call to "rst-compile-find-conf" in the first > > > let clause. This function tries to search for a file called > > > "docutils.conf" in all directories above the directory of the current > > > buffer. I do not know if that function is strictly incompatible with > > > Tramp, or whether it just takes a very long time to search on some > > > remote hosts. But I have waited for up to two minutes after calling > > > rst-compile before pressing C-g to cancel. > > > I've modified the code slightly: > > > (let ((file-name "docutils.conf") > > (buffer-file "/ssh:localhost:~/.emacs")) > > ;; Move up in the dir hierarchy till we find a change log file. > > (let ((dir (file-name-directory buffer-file))) > > (while (and (or (not (string= "/" dir)) (setq dir nil) nil) > > (not (file-exists-p (concat dir file-name)))) > > (message dir) > > ;; Move up to the parent dir and try again. > > (setq dir (expand-file-name (file-name-directory > > (directory-file-name > > (file-name-directory dir))))) ) > > (or (and dir (concat dir file-name)) nil) > > )) > > > If you evaluate the code, you'll see something like this in *Messages*: > > > Mark set > > /ssh:albinus@localhost:~/ > > /ssh:albinus@localhost:/home/albinus/ > > /ssh:albinus@localhost:/home/ > > /ssh:albinus@localhost:/ [340 times] > > Quit > > > The point is that the iteration goes via upper directories, and an > > upper directory is computed as > > > (file-name-directory > > (directory-file-name > > (file-name-directory dir))) > > > That is correct, but for "/ssh:albinus@localhost:/" the upper directory > > is "/ssh:albinus@localhost:/" again. The stop condition (string= "/" dir) > > does not match in case of remote files. > > > I fear, Tramp cannot solve the problem; rst.el must take remote files > > into account. Yes. > [From Kai Grossjohann] > > > rst.el could stop when X and (directory-file-name (file-name-directory > > (directory-file-name X))) are equal. That would work whether the > > "root" directory is "/" or "C:/" (say) or "/ssh:foo:/". > > > What do people think? I think Kai is a genius, as always. Yes. I've made the change, see path below, can you test with tramp? thx git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk/docutils@4879 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* Fix duplicate key in bibliographic_fields dict.sfcben2006-12-262-9/+5
| | | | | | | Also fix author credit (Meir copied David's author field ;-). git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk/docutils@4837 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* Add: active latex2e test data with option list in definition list.grubert2006-12-113-18/+97
| | | | git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk/docutils@4830 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* Fix: bug# 1605376 rst2latex: bad options group list.grubert2006-12-112-0/+4
| | | | git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk/docutils@4829 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* Remove inactive code for use_optionlist_for_option_list.grubert2006-12-113-47/+11
| | | | | | | Remove latex comments from option_list output. git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk/docutils@4828 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* Fix: bug# 1612270 double qoutes in italian literal.grubert2006-12-102-0/+4
| | | | git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk/docutils@4826 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* Added Hebrew mappings by Meir Kriheli.sfcben2006-12-094-0/+175
| | | | | | | Incomplete but a good start. git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk/docutils@4825 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* fixed bug with multi-line attributions in block quote directives (epigraph etc.)goodger2006-12-092-3/+10
| | | | git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk/docutils@4824 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* added example config filegoodger2006-12-091-0/+23
| | | | git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk/docutils@4823 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* removed "index" section (clutter)goodger2006-12-091-299/+0
| | | | git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk/docutils@4822 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* Fix: output hypertargetsgrubert2006-11-283-6/+10
| | | | git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk/docutils@4819 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* Add option --use-latex-abstract.grubert2006-11-172-1/+16
| | | | git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk/docutils@4817 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* removed notes about Py22 requirement (Docutils 0.5+ depends on Py22 anyway)wiemann2006-11-132-4/+1
| | | | git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk/docutils@4813 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* removed Py21 compatibility codewiemann2006-11-131-17/+1
| | | | git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk/docutils@4812 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* added Version Applicability sectiongoodger2006-11-121-0/+10
| | | | git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk/docutils@4808 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* added textcompwiemann2006-11-122-0/+5
| | | | git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk/docutils@4807 929543f6-e4f2-0310-98a6-ba3bd3dd1d04