Commit Graph

20 Commits

Author SHA1 Message Date
Pierre Labastie
2a2f7d9ba6 Replace some utf-8 encoded chars with char entities
It has been said that some chars were not readable as utf-8.
2024-01-23 09:32:33 +01:00
Pierre Labastie
99ab416b95 Fix webkit bug 3
Add a new stylesheet for the glossary (copying from docbook-xsl)
keep only the glossary template, simplify it, and output title
before container
2024-01-21 22:41:13 +01:00
Pierre Labastie
a9d1a9330d Fix webkit bug 2:
Add two templates (part and appendix) to lfs-sections.xsl, so it is
possible to output the title before the containing div
2024-01-21 22:38:15 +01:00
Pierre Labastie
027e0277c5 Fix webkit bug: output title before div
in the templates we already have in lfs-sections.xsl
2024-01-21 22:35:48 +01:00
Pierre Labastie
0d7e9a2687 Fix output of anchors with same id in sect3
The template for sect3.titlepage generates:
<h3 class="sect3">
  <a id="{id of sect3}" name="{id of sect3}"></a>
  <h4 class="title">
    <a id="{id of sect3}" name="{id of sect3}">i{title of sect3}</a>
  </h4>
</h3>
resulting in double definition of the same id, which is a validity error
in XML documents.
Replace with the same template as for sect2, using h3 instead of h2.
2024-01-20 08:24:10 +01:00
Pierre Labastie
ab4fdfccf8 Change all xml decl to encoding=utf-8 2024-01-19 22:39:35 +01:00
Pierre Labastie
a8049441e4 Remove all "&#" characters and replace with utf-8 2024-01-19 22:39:35 +01:00
Pierre Labastie
74111fc7bc Remove any reference to xlink namespace
In lfs-xref.xsl in both pdf and xhtml.
Also change encoding to utf-8.
2024-01-19 22:39:35 +01:00
Pierre Labastie
d46602780c Change encoding to utf-8 1
- lfs-l10n.xml: also add German and Simplifie Chinese
- lfs-index.xsl in both pdf and xhtml
2024-01-19 22:39:35 +01:00
Pierre Labastie
c40c526d34 Style sheets: fix docbook-xsl bug in autoidx
The template named generate-basic-index in
{docbook-xsl}/xhtml/autoidx.xsl has a bug that generates a div element
with a wrong xmlns:xlink attribute. See
https://github.com/docbook/xslt10-stylesheets/issues/239.
Rather than fixing docbook-xsl, which would work only in LFS (but we
want to be able to render on other distros), copy the faulty template
to our customization files (lfs-index.xsl), so that this one is used.
We can also simplify it a lot since we don't need all the cases
covered in general docbook-xsl.
Also remove the sed for this bug in the Makefile.
2024-01-17 19:43:51 +01:00
Pierre Labastie
e34c9dae2d Restore the lfs-sections.xsl stylesheet
This was inadvertently destroyed when removing sect1info tags.
2022-11-29 19:17:49 +01:00
Pierre Labastie
3f2db3a638 Remove sect1info tags
They only contain a date tag that is nowhere used.
2022-11-29 08:58:07 +01:00
Bruce Dubbs
d0c8135465 Tweak perl module six and aux files
Remove python2 remnants from six and make som minor text changes.
Remove legacy elements from lfs-xsl stylesheet.
Minor text change in pip3 xinclude file.
2022-04-19 18:49:59 -05:00
Xi Ruoyao
ccded7e164
clean up unused SVN prop entries 2021-04-20 19:12:02 +08:00
Pierre Labastie
eccffcef8c stylesheets: fix sect3 titles containing an xref child.
git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@22141 af4574ff-66df-0310-9fd7-8a98e5e911e0
2019-09-14 14:45:24 +00:00
Pierre Labastie
869909a5c0 Allows using system docbook-xsl stylesheets:
- with a slight change of the css stylesheet, allows having the glossary
  title in the same style as the others
- tested with docbook-xsl 1.78.1, 1.79.1, 1.79.2

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@22137 af4574ff-66df-0310-9fd7-8a98e5e911e0
2019-09-13 17:00:08 +00:00
Pierre Labastie
946abe2679 Custom treatment of sect3 in stylesheets. Allows the "content" section to be
properly aligned in Python modules

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@20957 af4574ff-66df-0310-9fd7-8a98e5e911e0
2019-01-12 09:42:44 +00:00
Pierre Labastie
fa068b9721 Fix longindex layout when there is only one IDREF in the zone attribute
git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@19936 af4574ff-66df-0310-9fd7-8a98e5e911e0
2018-03-11 13:04:31 +00:00
Igor Živković
c4b04559ed playing with the misspellings utility
git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@11568 af4574ff-66df-0310-9fd7-8a98e5e911e0
2013-08-02 20:27:17 +00:00
Manuel Canales Esparcia
65b2904513 Added LFS-XSL Stylesheets files.
git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@6840 af4574ff-66df-0310-9fd7-8a98e5e911e0
2007-07-07 10:25:55 +00:00