summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* renamed after/until options to start-after/end-beforeinclude-after-untilstrank2007-03-123-42/+42
| | | | git-svn-id: http://svn.code.sf.net/p/docutils/code/branches/include-after-until@5014 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* prettified a little, some minor corrections in the test, added another test ↵wiemann2007-03-083-18/+38
| | | | | | to get full coverage git-svn-id: http://svn.code.sf.net/p/docutils/code/branches/include-after-until@5006 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* More tests, documentation, remove debug-printsstrank2007-03-064-17/+100
| | | | git-svn-id: http://svn.code.sf.net/p/docutils/code/branches/include-after-until@5003 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* First test for :after: :until: passesstrank2007-03-052-4/+28
| | | | git-svn-id: http://svn.code.sf.net/p/docutils/code/branches/include-after-until@5002 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* first test for :after: :until: include optionsstrank2007-03-052-0/+30
| | | | git-svn-id: http://svn.code.sf.net/p/docutils/code/branches/include-after-until@5001 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* better place, better name: branch for adding :after: and :until: options to ↵strank2007-03-050-0/+0
| | | | | | the include directive git-svn-id: http://svn.code.sf.net/p/docutils/code/branches/include-after-until@5000 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* use Id instead of Date and Revision (Id will not be expanded to non-ASCII ↵include-after-until@4999wiemann2007-03-041-4/+2
| | | | | | characters) git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk/docutils@4993 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* moved workaround for localized dates to general informationwiemann2007-03-041-28/+28
| | | | git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk/docutils@4992 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* added link to TortoiseSVNwiemann2007-03-041-6/+11
| | | | git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk/docutils@4991 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* reorganized, added and improved instructionswiemann2007-03-041-111/+99
| | | | git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk/docutils@4990 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* fixed doc-string -- transforms are not reader-specific anymorewiemann2007-03-011-4/+2
| | | | git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk/docutils@4975 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* fixed doc-string -- the reader does not apply transformswiemann2007-03-011-2/+2
| | | | git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk/docutils@4974 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* Replace existing opendocument references with Dave Kuhlman's. Changed bang ↵kippesp2007-02-281-5/+3
| | | | | | PATH for sandbox/dkuhlman/OpenDocument/tools/rst2odt.py git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk/docutils@4962 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* added localwiemann2007-02-281-1/+1
| | | | git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk/docutils@4958 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* typowiemann2007-02-281-1/+1
| | | | git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk/docutils@4956 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* added link to Pandocwiemann2007-02-281-0/+5
| | | | git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk/docutils@4955 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
* updatedgoodger2006-11-121-1/+1
| | | | git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk/docutils@4806 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* fixed omission from r4802goodger2006-11-121-3/+3
| | | | git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk/docutils@4805 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* updatedgoodger2006-11-121-0/+5
| | | | git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk/docutils@4804 929543f6-e4f2-0310-98a6-ba3bd3dd1d04