Commit Graph

52 Commits

Author SHA1 Message Date
Bruce Dubbs
0fca71b924 Make the ENTITY &root; bold. 2024-03-16 01:17:33 -05:00
Pierre Labastie
4296674b8b Fix rendering of non-chunked book
Thanks to Vladimir Pertsev for the patch
2024-03-04 17:32:52 +01:00
Pierre Labastie
469ab955f8 Use http://cdn.docbook.org to run on other distros
Upstream documentation has been changed a few years ago to point to
https rather than http, but for example ubuntu-2023.10 still has only
http in its catalog file. So use http here, and change the catalog file
in blfs to have both http and https...
2024-02-10 12:41:18 +01:00
Pierre Labastie
72cd7a446f css stylesheet: Add a color bar at bottom 2024-01-23 21:28:07 +01:00
Pierre Labastie
bb2adff7bf Reinstate a navigational footer for the TOC
There is no navigation header on this page, and after scrolling
to the bottom, it is good to be able to click "Next" and not have
to scroll back to top to click on "Preface".
2024-01-23 19:45:04 +01:00
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
a38df1ea10 nitpicking: make all length units relative
Use only em values.
2024-01-22 19:52:55 +01:00
Pierre Labastie
c302db6022 Make box for section titles static again
Since the  box that may scroll does not contain that box now, it does
not move when the scrollbar is actioned. The only fixed window now is
the div containing sect2/text. Its top has to be adjusted by trial and
error. But the rendering seems ok for all borwsers I can try (epiphany,
falkon and firefox).
2024-01-22 19:14:25 +01:00
Pierre Labastie
af52b6d7e9 Adjust position of fixed boxes to static ones
This is done by trial and error. It works well with firefox. Not fully
tested with other browsers.
2024-01-22 18:21:20 +01:00
Pierre Labastie
de4bdadf72 Remove dissymetry also in Section title
I think this had been introduced to follow the one in the nav header.
2024-01-22 18:20:20 +01:00
Pierre Labastie
847aab24b0 Make the navheader box static again
This allows to keep something closer to previous layout.
2024-01-22 18:16:56 +01:00
Pierre Labastie
35dc049bec Fix slight dissymmetry of Up/home positioning
The padding for the containing box was not right/left symmetric because
the order of padding values is not trivial in css (top right bottom
left). Making right and left equal allows to center the Up/Home box more
precisely. Then some tweaks for Next and Prev boxes have to be removed.
2024-01-22 18:12:23 +01:00
Pierre Labastie
c7e06d82e8 Fix webkit bug 4
The container class for glossary has changed when adding the new glossary
template, so use that class in the css.
2024-01-21 22:42:46 +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
b40a88ae48 Change the CSS to fix some display problems
- Have the section title stay visible always
- have a clicked link appear in full
- only scroll the sect2 and below (use overflow: auto so that falkon
  does not display scrollbars when not needed)
- remove the footer that is not needed since we have the header
2024-01-21 18:39:59 +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
1df87eede9 Output the book in utf-8 encoding
Also fix doctype being removed by tidy in longindex by removing a wrong
attribute (xmlns:xlink) in a div element in the index.
2024-01-15 09:47:56 +01:00
Xi Ruoyao
c41cafb3bc
kernel-config: Add color for hotkey
Align with recent LFS change.  Regenerate all kernel.xml files.
2023-07-31 21:44:37 +08: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
Pierre Labastie
66e251c7e4 Modify the stylesheet for informaltable
It's already in lfs stylesheet. I'll soon commit a change to
the book that uses informaltable.
2022-10-02 17:47:19 +02: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
45ab6c70c2
more SVN prop clean up
Remove "$LastChanged$" everywhere, and also some unused $Date$
2021-04-20 19:12:02 +08:00
Xi Ruoyao
ccded7e164
clean up unused SVN prop entries 2021-04-20 19:12:02 +08:00
Bruce Dubbs
420f01ae88 Add a style element to css file to make the
git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@23222 af4574ff-66df-0310-9fd7-8a98e5e911e0
2020-05-31 18:07:39 +00: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
Bruce Dubbs
05c1d40412 Update to libreoffice-6.3.1.2.
git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@22133 af4574ff-66df-0310-9fd7-8a98e5e911e0
2019-09-12 00:08:56 +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
047f8b16b3 Increase the spacing between index entry and link in longindex, so that
all links are aligned

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@19937 af4574ff-66df-0310-9fd7-8a98e5e911e0
2018-03-11 14:05:07 +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
Bruce Dubbs
a9c0e8dfec Add an optional patch to glib to allow user supression of
unwanted warning messages.


git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@19330 af4574ff-66df-0310-9fd7-8a98e5e911e0
2017-10-15 21:22:27 +00:00
Bruce Dubbs
d027410adf Set svn keywords
git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@16436 af4574ff-66df-0310-9fd7-8a98e5e911e0
2015-09-20 22:38:20 +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
Bruce Dubbs
dc2b40708f Update to sysstat-10.0.5
git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@10647 af4574ff-66df-0310-9fd7-8a98e5e911e0
2012-09-09 02:44:43 +00:00
Bruce Dubbs
de7d1c2f40 Eliminate extra message when building
git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@7835 af4574ff-66df-0310-9fd7-8a98e5e911e0
2009-07-08 17:06:16 +00:00
Randy McMurchy
410e228bb9 Removed extraneous whitespace from the ends of line text
git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@7431 af4574ff-66df-0310-9fd7-8a98e5e911e0
2008-05-09 13:00:42 +00:00
Randy McMurchy
2262b78e68 Changed any DOS line-endings to UNIX style
git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@7430 af4574ff-66df-0310-9fd7-8a98e5e911e0
2008-05-09 12:47:04 +00:00
Randy McMurchy
fd7e0ed692 Changed all lines with nothing but whitespace to blank lines
git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@7429 af4574ff-66df-0310-9fd7-8a98e5e911e0
2008-05-09 12:42:27 +00:00
Manuel Canales Esparcia
aaab3da7d0 Updated DocBook-XSL code to version 1.73.2
git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@7105 af4574ff-66df-0310-9fd7-8a98e5e911e0
2007-09-09 08:59:49 +00:00
Manuel Canales Esparcia
bbe9b3dad1 Merged r8226 from new-xsl branch.
git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@6943 af4574ff-66df-0310-9fd7-8a98e5e911e0
2007-07-21 15:01:56 +00:00
Manuel Canales Esparcia
376b29477f Ported r8212 from new-xsl branch.
git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@6877 af4574ff-66df-0310-9fd7-8a98e5e911e0
2007-07-10 19:04:19 +00:00
Manuel Canales Esparcia
c48c3cd430 Ported r8211 from new-xsl branch.
git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@6876 af4574ff-66df-0310-9fd7-8a98e5e911e0
2007-07-10 18:59:51 +00:00