Description of help files stored in this directory and how to process them
--------------------------------------------------------------------------
The files in this directory include help text files and the master XML
files used to create them. This file describes how this system of files
works and how to edit/expand the help information for QTFM.
1. How does Matlab access the help information to display help about QTFM?
In Matlab's own documentation, see the page called 'Display Custom
Documentation' (R2016a), under 'Toolbox Distribution'. This describes how a
custom help system can be added to Matlab. There are two key files, both of
which are implemented in QTFM:
a. info.xml - This files resides in the main toolbox folder, and Matlab
finds it because that folder is on the path. The file
tells Matlab the name of the toolbox and where to find
the help information. In the case of QTFM this is the
folder called 'helpfiles' which is a sub-folder of the
main folder 'qtfm'.
b. helptoc.xml - This file resides in the helpfiles folder, and it tells
Matlab the main entry points to the help information. It
is used to construct a table of contents which appears in
the help browser when the QTFM help information is
selected.
Both files are fairly simple XML format, and should it should be obvious
how they work, but if not, the Matlab documentation 'Display Custom
Documentation' explains the detailed format of both files.
2. How are the help files created/edited/processed?
The online help is stored in HTML files, and it is these files that are
displayed by the Matlab help browser (including graphics files which are
linked in the usual HTML manner). Obviously, hyperlinks can be included to
other help files, or external URLs.
Most of the HTML files are created from master XML files (i.e. the HTML
files are not themselves edited, it is the XML files that are edited). The
exceptions to this are mainly listed in the helptoc.xml file, but a full
list is given here:
a. qtfm.html - This file is the top-level help page.
b. overview.html - This page provides an overview of quaternions.
c. alphabetical.html - This is a list of toolbox functions, alphabetically
ordered.
d. categorical.html - This is a list of toolbox functions, ordered into
categories.
e. matlist.html - This is a list of built-in Matlab functions that
work with the toolbox. There is some text in the
the file that explains what 'work' means.
f. contrib.html - This file lists a small number of people that have
contributed ideas or code to QTFM.
g. license.html - This file is linked from the foot of almost all of
the HTML files and it describes the license terms in
some detail, with links to the GNU GPL and FDL.
The master XML files for the various QTFM functions are the main part of
the help documentation. The XML files are stored in a sub-folder of the
'helpfiles' folder called 'xmlfiles'. Each XML file must be processed into
its corresponding HTML file. This is done sporadically and before each new
release to ensure that the HTML files in a release are up-to-date. The XML
files are distributed with the toolbox so that anyone who wishes to adapt
or extend the toolbox, as is permitted under the GNU GPL licence may do so.
The conversion from XML to HTML is done by Matlab (what else!). There is a
Matlab script file called 'process.m' in the 'helpfiles' folder that
performs this processing, which takes only a few seconds (it processes all
the files every time, from a list contained in the file 'process.m'. An
easier way to run this script is to run the function qtfm_helpup which is
in the main QTFM folder, and therefore on the search path.
The conversion is controlled by an XSLT style file invoked by the process
script. This style file is the most complex part of the whole system. The
file name of the style file is 'qtfmfunction.xsl'. The style sheet uses a
DTD file (document type definition) stored in the file 'qtfmfunction.dtd'.
This DTD file sets out the definitions of the XML markups used, which are
largely self-explanatory when studied alongside an example XML file and the
corresponding HTML file when displayed in the browser. Not all elements are
compulsory: the 'See also' section, for example, may be omitted.
3. Building a searchable database from the help information.
Matlab provides a way to make a searchable database of the help
information. This can be done easily by running the function
qtfm_helpdb, which is located in the main QTFM folder, and is therefore on
the search path. The database is not distributed with the toolbox, because
each release of Matlab may create a new version.
4. PDF documentation
It is intended to use the same XML files as master documents for production
of LaTeX files which can be processed into PDF documentation for printing,
but this has not been done, although a tentative XML to LaTeX XSLT style
sheet has been written and distributed with the toolbox for some time.
The small number of HTML files which are not based on XML masters would
have to be edited manually into the LaTeX source or otherwise converted to
some source form from which the HTML and LaTeX could be produced. There are
no imminent plans to do this.
Steve Sangwine
May/June 2008
Revised March 2013
Rewritten June 2016
$Id: readme.txt 1004 2017-11-15 17:14:09Z sangwine $
没有合适的资源?快使用搜索试试~ 我知道了~
资源推荐
资源详情
资源评论
收起资源包目录
MATLAB工具箱-四元数工具箱.rar (836个子文件)
qtfm.bib 5KB
COPYING 319B
qtfmstyle.css 745B
DESCRIPTION 369B
qtfmfunction.dtd 2KB
alphabetical.html 14KB
categorical.html 12KB
qtfm.html 7KB
overview.html 6KB
adjoint.html 5KB
slerp.html 4KB
matlist.html 4KB
svd.html 3KB
peirce.html 3KB
polar.html 3KB
unadjoint.html 3KB
frenet.html 3KB
scatter3.html 3KB
svdj.html 3KB
ohd.html 3KB
inv.html 3KB
associator.html 3KB
opd.html 3KB
abs.html 3KB
imwrite.html 3KB
normq.html 3KB
quaternion.html 2KB
write.html 2KB
iqfft.html 2KB
randq.html 2KB
qfft.html 2KB
mustard.html 2KB
iqfft2.html 2KB
disp.html 2KB
qfft2.html 2KB
spherical_mean.html 2KB
iqdft.html 2KB
license.html 2KB
quiver3.html 2KB
randf.html 2KB
qdft.html 2KB
randvmf.html 2KB
iqdft2.html 2KB
qdft2.html 2KB
angle.html 2KB
cdpolar.html 2KB
ifft.html 2KB
complex.html 2KB
ifft2.html 2KB
octonion.html 2KB
fft2.html 2KB
fprintf.html 2KB
fft.html 2KB
cd.html 2KB
cumprod.html 2KB
imreadq.html 2KB
conj.html 2KB
norm.html 2KB
rinv.html 2KB
linv.html 2KB
factorq.html 2KB
lu.html 2KB
part.html 2KB
plus.html 2KB
display.html 2KB
fftflip.html 2KB
normo.html 2KB
orthogonal.html 2KB
contrib.html 2KB
vector_product.html 2KB
plot3.html 2KB
s.html 2KB
conv2.html 2KB
horzcat.html 2KB
vertcat.html 2KB
scatter4p3.html 2KB
diag.html 2KB
image.html 2KB
blkdiag.html 2KB
bsxfun.html 2KB
cat.html 2KB
det.html 2KB
mrdivide.html 2KB
show.html 1KB
scalar_product.html 1KB
conv.html 1KB
imag.html 1KB
o1.html 1KB
sylvester.html 1KB
collect.html 1KB
numel.html 1KB
eval.html 1KB
combine.html 1KB
ispure.html 1KB
convw.html 1KB
commutator.html 1KB
real.html 1KB
randv.html 1KB
assumptions.html 1KB
log.html 1KB
共 836 条
- 1
- 2
- 3
- 4
- 5
- 6
- 9
资源评论
- lizong1112222023-11-18资源内容详实,描述详尽,解决了我的问题,受益匪浅,学到了。
小正太浩二
- 粉丝: 184
- 资源: 5908
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功