Commit Graph

152 Commits

Author SHA1 Message Date
Zeckmathederg
66264af641 There are many types of styles / book types that can be rendered. using glfs reverted to basic lfs-like formatting. switched back in favor of blfs-like formatting 2024-04-28 23:00:37 -06:00
Zeckmathederg
746566a9f1 Changed blfs mentions in Makefile to GLFS, changed filenames to follow suite, added pdf build option, and edited INSTALL to let users know pdf build option exists 2024-04-28 21:29:39 -06:00
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
Pierre Labastie
99eb823a18 Add a crude test of options vs parameter 2023-12-08 22:05:39 +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
Bruce Dubbs
572e9451e9 Update to tigervnc-1.13.0. 2023-02-19 14:22:41 -06:00
Bruce Dubbs
acd88fc231 Tags and move 2 unneeded files 2023-02-18 23:21:52 -06:00
Pierre Labastie
54d589072b Remove eol spaces 2023-01-29 13:51:59 +01:00
Pierre Labastie
e0fff61157 pythonhosted.xml: remove files not on pythonhosted
Even commented out, a user could uncomment them and fail to
download them with the pythonhosted.xml instructions.
2023-01-14 17:51:56 +01:00
Pierre Labastie
fc82888a8b Add comments to pythonhosted.xsl 2023-01-14 17:02:44 +01:00
Pierre Labastie
0231d6943a Remove debug messages when generating pythonhosted 2023-01-11 14:55:29 +01:00
Pierre Labastie
7c086d9415 Add a include file for pythonhosted 2023-01-10 22:47:59 +01:00
Pierre Labastie
82c348ce97 Add a stylesheet for generating pythonhosted.xml 2023-01-10 22:05:34 +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
Bruce Dubbs
70c1211263 Tweak mail address for missing patches 2021-05-14 10:19:42 -05:00
Bruce Dubbs
60b2296f8f Fix extraction of node patch 2021-05-06 12:26:31 -05:00
Xi Ruoyao
47be4efc08
xsl: fix path in copy-blfs-patches.sh 2021-05-06 18:21:21 +08: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
725d5f88eb r22454 Change wget-list so that http addresses are used rather than ftp ones:
revert because it messes currency scripts

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@22464 af4574ff-66df-0310-9fd7-8a98e5e911e0
2019-12-11 08:35:22 +00:00
Pierre Labastie
695f1b3ad7 Change wget-list so that http addresses are used rather than ftp ones
git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@22454 af4574ff-66df-0310-9fd7-8a98e5e911e0
2019-12-09 16:09:45 +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