This file is indexed.

/usr/share/doc/refdb/refdb-manual/ch09.html is in refdb-doc 1.0.2-3ubuntu1.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

1
2
3
4
5
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /><title>Chapter 9. Notes management</title><link rel="stylesheet" type="text/css" href="manual.css" /><meta name="generator" content="DocBook XSL Stylesheets V1.79.1" /><link rel="home" href="index.html" title="RefDB handbook" /><link rel="up" href="pt03.html" title="Part III. User manual" /><link rel="prev" href="ch08s11.html" title="Interaction with external applications" /><link rel="next" href="ch09s02.html" title="Find and view extended notes" /></head><body><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">Chapter 9. Notes management</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="ch08s11.html">Prev</a> </td><th width="60%" align="center">Part III. User manual</th><td width="20%" align="right"> <a accesskey="n" href="ch09s02.html">Next</a></td></tr></table><hr /></div><div class="chapter"><div class="titlepage"><div><div><h2 class="title"><a id="chapter-managing-notes"></a>Chapter 9. Notes management</h2></div></div></div><div class="toc"><p><strong>Table of Contents</strong></p><dl class="toc"><dt><span class="sect1"><a href="ch09.html#sect-add-extended-notes">Add extended notes</a></span></dt><dt><span class="sect1"><a href="ch09s02.html">Find and view extended notes</a></span></dt><dt><span class="sect1"><a href="ch09s03.html">Delete extended notes</a></span></dt><dt><span class="sect1"><a href="ch09s04.html">Edit extended notes</a></span></dt><dt><span class="sect1"><a href="ch09s05.html">Link existing notes to other objects in the database</a></span></dt><dt><span class="sect1"><a href="ch09s06.html">To share or not to share extended notes</a></span></dt><dd><dl><dt><span class="sect2"><a href="ch09s06.html#idp64457008">The refdbd default</a></span></dt><dt><span class="sect2"><a href="ch09s06.html#idp64213792">The <code class="sgmltag-attribute">share</code> attribute of the extended notes</a></span></dt><dt><span class="sect2"><a href="ch09s06.html#idp64300160">Data privacy</a></span></dt></dl></dd></dl></div><p>Managing notes is very similar to <a class="link" href="ch08.html" title="Chapter 8. Reference management">managing references</a>. The commands have analogous names and functionality. If you've familiarized yourself with managing references, the notes part should not be too hard either.</p><div class="sect1"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a id="sect-add-extended-notes"></a>Add extended notes</h2></div></div></div><p>Extended notes must be supplied as datasets according to the <a class="ulink" href="http://refdb.sourceforge.net/xnote/index.html" target="_top">xnote DTD</a>. Add them to the database using the <a class="link" href="re11.html#app-c-command-addnote" title="addnote"><span class="command"><strong>addnote</strong></span></a> command. Each file supplied to this command may either contain a single <code class="sgmltag-element">xnote</code> element or several of these wrapped into a <code class="sgmltag-element">xnoteset</code> element.</p><div class="note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p>The <code class="sgmltag-attribute">id</code> attribute, if any, will be ignored when you add extended notes. The database engine will assign each note a new, unique identifier. The <code class="sgmltag-attribute">citekey</code> attribute will be honored unless there is a clash with an existing note. In this case refdbd will refuse to add the note.</p><p>If you want to overwrite or update an existing note, use the <a class="link" href="re11.html#app-c-command-updatenote" title="updatenote"><span class="command"><strong>updatenote</strong></span></a> command instead.</p></div><div class="simplesect"><div class="titlepage"><div><div><h3 class="title"><a id="idp63827504"></a>Example</h3></div></div></div><p>Assume the file <code class="filename">foo.xml</code> contains a couple of extended notes. The following command will add them to the database "bar" (use the full path to <code class="filename">foo.xml</code> if necessary):</p><pre class="screen">
	<code class="prompt">refdbc: </code>
	<strong class="userinput"><code>addnote -d bar foo.xml</code></strong>
      </pre></div></div></div><div class="navfooter"><hr /><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="ch08s11.html">Prev</a> </td><td width="20%" align="center"><a accesskey="u" href="pt03.html">Up</a></td><td width="40%" align="right"> <a accesskey="n" href="ch09s02.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top">Interaction with external applications </td><td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td><td width="40%" align="right" valign="top"> Find and view extended notes</td></tr></table></div></body></html>