'\" t .\" Title: dtd2vim .\" Author: Stefano Zacchiroli .\" Generator: DocBook XSL Stylesheets v1.78.1 .\" Date: 05 Feb 2007 .\" Manual: [FIXME: manual] .\" Source: [FIXME: source] .\" Language: English .\" .TH "DTD2VIM" "1" "05 Feb 2007" "[FIXME: source]" "[FIXME: manual]" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .\" http://bugs.debian.org/507673 .\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .ie \n(.g .ds Aq \(aq .el .ds Aq ' .\" ----------------------------------------------------------------- .\" * set default formatting .\" ----------------------------------------------------------------- .\" disable hyphenation .nh .\" disable justification (adjust text to left margin only) .ad l .\" ----------------------------------------------------------------- .\" * MAIN CONTENT STARTS HERE * .\" ----------------------------------------------------------------- .SH "NAME" dtd2vim \- creates XML data file for Vim7 omni completion from DTDs .SH "SYNOPSIS" .HP \w'\fBdtd2vim\fR\ 'u \fBdtd2vim\fR {\fIfilename\fR\&.dtd} [\fIdialectname\fR] .SH "DESCRIPTION" .PP This manual page documents brieftly the \fBdtd2vim\fR program\&. For more information see its HTML documentation in /usr/share/doc/vim\-scripts/html/dtd2vim\&.html\&. .PP Starting from version 7 Vim supports context aware completion of XML files (and others)\&. In particular, when the file being edited is an XML file, completion can be driven by the grammar extracted from a Document Type Definition (DTD)\&. .PP For this feature to work the user should put an XML data file corresponding to the desired DTD in a autoload/xml directory contained in a directory belonging to Vim\*(Aqs \fI\*(Aqruntimepath\*(Aq\fR (for example ~/\&.vim/autoload/xml/)\&. .PP \fBdtd2vim\fR is the program that creates XML data files from DTDs\&. Given as input a DTD \fIfile\fR\&.dtd it will create a file\&.vim XML data file\&. \fIdialectname\fR will be part of dictionary name and will be used as argument for the \fB:XMLns\fR command\&. .SH "OPTIONS" .PP None\&. .SH "SEE ALSO" .PP vim (1)\&. .PP In the Vim online help: \fB:help compl\-omni\fR, \fB:help ft\-xml\-omni\fR, \fB:help :XMLns\fR\&. .PP dtd2vim is fully documented in /usr/share/doc/vim\-scripts/html/dtd2vim\&.html\&. .SH "AUTHOR" .PP This manual page was written by Stefano Zacchiroli for the Debian(TM) system (but may be used by others)\&. Permission is granted to copy, distribute and/or modify this document under the terms of the GNU General Public License, Version 2 any later version published by the Free Software Foundation\&. .PP On Debian systems, the complete text of the GNU General Public License can be found in /usr/share/common\-licenses/GPL\&. .SH "AUTHOR" .PP \fBStefano Zacchiroli\fR .RS 4 Author. .RE .SH "COPYRIGHT" .br Copyright \(co 2007 Stefano Zacchiroli .br