Repository navigation
Releases: tbazant/vim-daps
Release list
v0.5.0
Introducing :DapsShiftSectUp and :DapsShiftSectDown
The new :DapsShiftSectUp and :DapsShiftSectUp commands move the whole underlying DocBook XML structure up or down in the document tree. Useful for refactoring large documents.
Fixed :DapsOpenTarget
Now :DapsOpenTarget really points the cursor at the line with
id="<xml_id>"
instead of the first occurrence in a buffer
Asks for DC file only when needed
Instead of echoing a pure error message, vim-daps now asks for the DC file when it's missing.
:DapsOpenTarget opening even <link>'s
:DapsListFile got renamed to :DapsOpenTarget and newly looks also after targets to open them in a Web borwser.
Removed DocBook snippets, improved validation.
DocBook templates are now in a separate package. Validation optionally first check the current buffer with errors shown in a quickfix window.
'list-file' feature implemented
daps list-file implemented, now opens a new tab with the referenced xml:id, see #21
No need for the vim's xml.vim filetype plugin.
No need for the vim's xml.vim filetype plugin. 'XMLns' and 'XMLent' commands are translatable as 'xmlcomplete'.
Dynamic schema resolving
Checking current docbk buffer reads its schema dynamically from the one set with DapsSetDoctype. docbook50 and geekodoc5 are supported.
This release also introduces a new option g:daps_xmlschemas_autostart which searches for 'xml/schemas.xml' file and determines the schema from it when set to '1'.
Custom HTML/PDF viewer
Set g:daps_pdf_viewer and g:daps_html_viewer variables for overriding the default viewing application,