59 lines
2.6 KiB
HTML
59 lines
2.6 KiB
HTML
<!doctype html>
|
|
<html>
|
|
<head>
|
|
<title>Zk | After reading XML in a Nutshell...</title>
|
|
<link rel="stylesheet" type="text/css" href="/style.css" />
|
|
<meta name="viewport" content="width=device-width" />
|
|
<meta charset="utf-8" />
|
|
</head>
|
|
<body>
|
|
<main>
|
|
<header>
|
|
<h1>Zk | After reading XML in a Nutshell...</h1>
|
|
</header>
|
|
<article class="content">
|
|
<p><strong>latex2xml</strong> - project in progress -
|
|
This should be fairly easy to do, as long as we can figure out how to convert the images. I downloaded the latex2html source to help me a bit. Basically, just convert the LaTeX file into xml, and distribute with the package an xslt2html.xsl, xslt2xsl-fo.xsl, and latex2html.css file to deal with these things. The output from xslt2xsl-fo.xsl can be converted into a PDF, straight TeX (and then to dvi, if that's absolutely necessary), or PS with java on the commandline. Besides, then DocMan can deal with a better LaTeX converter, without random images popping up.</p>
|
|
<p><strong>RFP.pm redone</strong> - finished project - http://ranna.bolognia.net/available/in-progress/docman/RFP.pm
|
|
Now it has different styles supported: normal (current), minimalist (http://ranna.bolognia.net/minimalist), greenery (http://ranna.bolognia.net/greenery), printable version, text/plain, and application/octet-stream</p>
|
|
<span class="control">Expand all</span>
|
|
</article>
|
|
<footer>
|
|
<p>Page generated on 2002-08-13 02:07:22</p>
|
|
</footer>
|
|
</main>
|
|
<script type="text/javascript">
|
|
document.querySelectorAll('li').forEach(el => {
|
|
if (el.querySelectorAll('li').length !== 0) {
|
|
el.classList.add('has-nested', 'closed');
|
|
el.innerHTML = `<span class="toggle"></span> ${el.innerHTML}`;
|
|
}
|
|
});
|
|
document.querySelectorAll('.toc .has-nested').forEach(el => {
|
|
el.classList.remove('has-nested', 'closed');
|
|
});
|
|
document.querySelectorAll('li.has-nested').forEach(el => {
|
|
el.querySelector('.toggle').addEventListener('click', () => {
|
|
el.classList.toggle('closed');
|
|
});
|
|
});
|
|
let expanded = false;
|
|
document.querySelector('.control').addEventListener('click', (e) => {
|
|
expanded = !expanded;
|
|
if (expanded) {
|
|
e.target.innerText = 'Collapse all';
|
|
} else {
|
|
e.target.innerText = 'Expand all';
|
|
}
|
|
document.querySelectorAll('.has-nested').forEach((el) => {
|
|
if (expanded) {
|
|
el.classList.remove('closed');
|
|
} else {
|
|
el.classList.add('closed')
|
|
}
|
|
});
|
|
});
|
|
</script>
|
|
</body>
|
|
</html>
|