File: hypertest.xml

package info (click to toggle)
latexml 0.8.8-4
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 31,920 kB
  • sloc: xml: 109,048; perl: 30,224; sh: 179; javascript: 28; makefile: 13
file content (55 lines) | stat: -rw-r--r-- 2,579 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
<?xml version="1.0" encoding="UTF-8"?>
<?latexml class="article"?>
<?latexml package="hyperxmp"?>
<?latexml package="hyperref" options="draft,pdftitle=Test Hyperref Metadata,backref"?>
<?latexml RelaxNGSchema="LaTeXML"?>
<document xmlns="http://dlmf.nist.gov/LaTeXML" class="ltx_authors_1line" prefix="cc: http://creativecommons.org/ns# dcterms: http://purl.org/dc/terms/">
  <resource src="LaTeXML.css" type="text/css"/>
  <resource src="ltx-article.css" type="text/css"/>
  <title>Test Hyperref Metadata</title>
  <creator role="author">
    <personname>A.. Author</personname>
  </creator>
  <section inlist="toc" xml:id="S1">
    <tags>
      <tag>1</tag>
      <tag role="autoref">section 1</tag>
      <tag role="refnum">1</tag>
      <tag role="typerefnum">§1</tag>
    </tags>
    <title><tag close=" ">1</tag>Intentionally Left Blank</title>
    <para xml:id="S1.p1">
      <p>Nothing left to say, really.</p>
    </para>
  </section>
  <section inlist="toc" xml:id="S2">
    <tags>
      <tag>2</tag>
      <tag role="autoref">section 2</tag>
      <tag role="refnum">2</tag>
      <tag role="typerefnum">§2</tag>
    </tags>
    <title><tag close=" ">2</tag>URL’s</title>
    <para xml:id="S2.p1">
      <p>Hyperref loads url, but redefines it</p>
    </para>
    <para xml:id="S2.p2">
      <p>Special characters still neutralized:
<ref class="ltx_url" font="typewriter" href="http://example.com/foo_bar">http://example.com/foo_bar</ref>,
<ref class="ltx_url" font="typewriter" href="http://example.com/foo#bar">http://example.com/foo#bar</ref>,
<ref class="ltx_url" font="typewriter" href="http://example.com/foo&amp;bar">http://example.com/foo&amp;bar</ref>.</p>
    </para>
    <para xml:id="S2.p3">
      <p>But macros expanded: <ref class="ltx_url" font="typewriter" href="http://localhost/dir/index.html">http://localhost/dir/index.html</ref>.</p>
    </para>
    <para xml:id="S2.p4">
      <p>And, you get this: <ref class="ltx_url" font="typewriter" href="http://example.com/{̃}user">http://example.com/{̃}user</ref></p>
    </para>
  </section>
  <rdf about="" content="An Author" property="dcterms:creator"/>
  <rdf about="" content="Not subject to copyright" property="dcterms:rights"/>
  <rdf about="" content="test,hyperref" property="dcterms:subject"/>
  <rdf about="" property="cc:licence" resource="http://creativecommons.org/licenses/by/3.0/"/>
  <rdf about="" content="Testing LaTeXML’s processing of hyperref metadata" property="dcterms:subject"/>
  <rdf about="" content="Test Hyperref Metadata" property="dcterms:title"/>
</document>