Commit Graph

162 Commits

Author SHA1 Message Date
Andrew Kreimer
6e99fa99c7
Fix typos
Signed-off-by: Andrew Kreimer <algonell@gmail.com>
2024-08-25 15:37:34 +08:00
Bruce Dubbs
872a378f5e Typos on comments.
These changes are all in comments that do not affect the books in any way.
2024-08-23 14:01:06 -05:00
Pierre Labastie
37823511a6 Fix rendering of non-chunked output
Thanks to Vladimir Pertsev for the patch
2024-03-04 17:31:33 +01:00
Pierre Labastie
b1998a2375 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:31:04 +01:00
Pierre Labastie
a4eaba6d55 Tidy doctype and xml declarations in .html output
Part of a patch by Boian Berberov
2024-01-27 22:42:07 +01:00
Pierre Labastie
5d064fb3c3 Align attributes in xsl:stylesheet elements
Part of a patch by Boian Berberov
2024-01-27 22:42:07 +01:00
Pierre Labastie
b8d33a557b rendering: some utf-8 fixes
Reinstate some character entities
Have some stylesheets output UTF-8

Part of a patch by Boian Berberov
2024-01-27 22:42:07 +01:00
Pierre Labastie
44850bb9f2 Fix some defects of lfs book formatting
- have title of section stay visible when scrolling
- when clicking on an internal link, make it fully visible instead of
  hidden behind the header
2024-01-26 14:55:51 +01:00
Pierre Labastie
5e423c8031 Change all input encodings to UTF-8 2024-01-18 21:09:26 +01:00
Pierre Labastie
2a26a4f5df Remove all &#xxx; occurences
- replace some characters by their utf-8 encoded equivalent (and change
  encoding in the <?xml?> line
- replace &#xa; with a true newline char. This is somewhat more readable
  anyway.
2024-01-18 20:42:26 +01:00
Pierre Labastie
d6cbb12c4c stylesheets: rm code for xlink:href attr in xref elemts
We don't use it and it uses &#40; for opening parenthesis.
I am not sure whether this has some reason or not, but
we want to get reed of &#xx; chars in our change to utf-8,
so easier to remove than to find out why...
2024-01-18 13:11:58 +01:00
Pierre Labastie
9bbd87ae00 Add a doctype decl to lfs-l10n.xml, for validation
This allows using xmllint --valid on it.
2024-01-18 10:32:31 +01:00
Xi Ruoyao
3626aa3048
Use UTF-8 characters instead of &#...;
This is done via:

    find -name \*.xml -or -name \*.xsl | xargs python3 utf8ize.py

with https://linuxfromscratch.org/~xry111/utf8ize.py.
2024-01-18 15:03:54 +08:00
Pierre Labastie
270b1732aa Reference the docbook-xsl bug at the place we fix it 2024-01-17 14:52:54 +01:00
Pierre Labastie
d5fda0bce5 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.
2024-01-17 14:41:09 +01:00
Pierre Labastie
0432a3a1a8 Generate utf-8 for lfs-nochunks too
This involves:
- removing the <xsl:output ...> element from nochunks.xsl
- adding a sed for rmoving the invalid xmlns:xlink attribute
- removing the sed for "&copy;"
2024-01-14 22:36:12 +01:00
Pierre Labastie
1fdbce2c4e Generate utf-8 encoded html
This removes several problems with wrong encodings...
The sed for &copy; is not needed anymore
tidy.conf has to be changed to remove specification of latin1 as
input and output encodings.
2023-11-23 20:59:52 +01:00
Pierre Labastie
6f090ad2b7 pdf book: fix page numbering in part III
By default page numbering in <preface> is in roman numeral. This
is ok for the book preface, but not for the part III preface.
So copy the page.number.format template from docbook stylesheets
to stylesheets/lfs-xsl/pdf/lfs-pagesetup.xsl, and modify it.

Reported by: Vladimir Pertsev on lfs-dev list
2023-10-18 23:54:57 +02:00
Bruce Dubbs
2cf01ab702 Add some color to kernel options 2023-07-31 01:09:24 -05:00
Xi Ruoyao
7936ffb2c8
stylesheets: add Simplified Chinese for lfs-l10n
It should not affect English book.
2022-11-12 00:05:09 +08:00
Pierre Labastie
7bd0378b41 Remove trailing spaces 2022-09-11 18:54:49 +02:00
Pierre Labastie
2da0137968 Remove eol spaces in xsl stylesheets 2021-09-07 23:28:43 +02:00
Bruce Dubbs
7a8a136dff Tweak mail address for missing patches 2021-05-14 10:17:51 -05:00
Xi Ruoyao
0f7d4cb8a7
xsl: fix copy-lfs-patch.sh generation 2021-05-06 18:04:15 +08:00
Xℹ Ruoyao
52dcb7d03e
remove $Date$ and $LastChangedBy$
They are unsupported by Git.
2021-03-31 17:27:00 +08:00
Bruce Dubbs
686c88ba6b Add a note about /etc/bash.bashrc used in some distros.
Tweak css for appendix/dependencies.



git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@11972 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
2020-06-22 01:21:48 +00:00
Pierre Labastie
12fff1eb8d Slightly change the layout in part III, so that the preliminary material
appear separated. Minor rewrites for accounting for the new layout

git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@11949 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
2020-06-17 20:50:25 +00:00
Pierre Labastie
a4053b5ba2 Slightly modify lfs.css so that the Dependencies page renders Ok on epiphany
with default fonts

git-svn-id: http://svn.linuxfromscratch.org/LFS/branches/cross2@11938 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
2020-06-14 13:00:39 +00:00
Bruce Dubbs
6a156bab1b Mostly text updates in Chapter 8.
There are a couple of minor command changes.



git-svn-id: http://svn.linuxfromscratch.org/LFS/branches/cross2@11924 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
2020-06-12 04:40:07 +00:00
Bruce Dubbs
79524a0c69 Text updates for cross2 Chapter 5
git-svn-id: http://svn.linuxfromscratch.org/LFS/branches/cross2@11914 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
2020-06-09 23:10:16 +00:00
Pierre Labastie
4f3e4e369a Update to upstream r11885
git-svn-id: http://svn.linuxfromscratch.org/LFS/branches/cross-chap5@11886 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
2020-06-01 12:21:38 +00:00
Pierre Labastie
1cb44818d1 Completely remove docbook snapshot
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@11779 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
2020-03-13 14:38:37 +00:00
Pierre Labastie
2e524f93fc Since LFS started using docbook-1.78.1, there is a lot of unused data
in the stylesheet directory. Basically, a whole docbook-stylesheet is
there, while we need only fo and xhtml (+ some common dirs). Each time
we checkout the repo, we have to download this whole thing, which is by
far the biggest part of the repo (~33 M). By removing unused cruft,
this could be down to ~12 M.

Of course, it would be even better to remove completely the stylesheets
and use host ones (repo size down to 2M). but let's do this first, it is
easier :)


git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@11778 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
2020-03-13 09:20:45 +00:00
Bruce Dubbs
25332b5e97 Add comments to the kernel section to change the unwinder option.
Update to linux-4.14.10.  
Update to coreutils-8.29.  
Remove old footer from non-chunks book. 
Make spacing between "Chapter" and digit non breaking. 



git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@11344 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
2017-12-31 16:56:07 +00:00
Bruce Dubbs
77ab7f35e9 Update Makefile for merged files" nochunks, md5sums, wget-list
Fix some formatting ant typos


git-svn-id: http://svn.linuxfromscratch.org/LFS/branches/merge@11074 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
2016-05-25 02:51:36 +00:00
Bruce Dubbs
5c3f304a8f Adding some new png files to supoprt alternate css
Fix css validation for media='print' stylesheet
Add alternate css file

NO VISIBLE CHANGES FOR USERS



git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@10934 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
2015-08-10 17:53:57 +00:00
Bruce Dubbs
28b3209b0a Added libcap-2.24
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@10517 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
2014-03-28 02:01:51 +00:00
Matthew Burgess
6f367b1950 Fix PDF book generation. Fixes #3412.
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@10361 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
2013-10-16 18:55:24 +00:00
Matthew Burgess
4d4915a7b5 Fix the formatting of the index in HTML output.
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@10357 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
2013-10-09 23:46:50 +00:00
Matthew Burgess
15c7d39533 Update stylesheets to docbook-xsl-1.78.1.
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@10355 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
2013-10-08 20:03:29 +00:00
Bruce Dubbs
ea011f471c Typos
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@10188 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
2013-03-03 23:27:56 +00:00
Bruce Dubbs
79bfd820d4 Remphasize host system requirements in General Compilation Instructions.
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@10051 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
2012-11-27 03:21:28 +00:00
Bruce Dubbs
06d04ebbfb Add some prereqs to udev-lfs to support make with j > 1
Add support for French version of the book.


git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@9987 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
2012-09-08 21:41:53 +00:00
Matthew Burgess
b398f4c4b9 Revert erroneous stylesheet changes, applied by mistake.
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@9984 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
2012-09-04 18:29:02 +00:00
Matthew Burgess
1f595ea0ba Cosmetic (source only) fixes to whatsnew
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@9983 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
2012-09-04 18:24:59 +00:00
Bruce Dubbs
cb02946abf Lots of spelling fixes.
Delete the no longer used lsb-bootscripts directory


git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@9967 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
2012-08-29 20:45:23 +00:00
Bruce Dubbs
a7f0b27405 Fix a pdf rendering issue
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@9623 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
2011-10-10 02:59:11 +00:00
Bruce Dubbs
daed5a3e75 Miror update to bootscripts Makefile.
Add capability in main Makefile to create md5sum file.


git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@9618 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
2011-10-08 02:12:06 +00:00
Bruce Dubbs
77e2988b31 Minor changes for consistent pdf generation
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@8782 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
2009-01-15 07:20:24 +00:00
Bruce Dubbs
4c0c012ee1 Reformatted several pages so pdf is properly generated.
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@8781 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
2009-01-04 04:48:38 +00:00