Re: New style sheet for Texinfo 7.x

Luis Felipe <[email protected]>
Newsgroups gmane.comp.tex.texinfo.general
Message-ID <xL7qjyaZtuyhsW_ND-J9agSsMUOY84FSCCx-yU5lcNUxQdYGT3JiaSnNjNvqLNO4ezEDpNSo2W6msn125RRehIMGjxicGW7LdB7nJ15b1U4=@protonmail.com>
Hi Gavin,


On Sunday, March 5th, 2023 at 18:48, Gavin Smith <[email protected]> wrote:

> This looks great, thanks for posting!

Glad you like it :)


> CSS can really help with making a manual look approachable, especially
> with adjusting the text block width.

I agree.


> Could I suggest that the node navigation header would look better if
> it wasn't surrounded in white space?

I agree. The reason it is the way it is is that I didn't find the HTML structure that convenient to lay out the navigation differently. So I decided to wait until the HTML was updated to HTML 5's semantic elements. For example, I'd expect a structure more or less like this

BODY
  NAV
  ARTICLE or MAIN
  FOOTER

That way the padding of the ARTICLE wouldn't affect the style of the NAV.

But I might take another look and see if I can relocate the navigation using the current structure. Also, I'm working on a project called Guile Documentá, where I want to explore rendering the Texinfo tree with a custom HTML structure (not public yet, though).


> I found the example with a nested @def* block interesting:
> 

> https://luis-felipe.gitlab.io/texinfo-css/Elements.html#Definitions
> 

> It reminded me of this thread:
> 

> https://lists.gnu.org/archive/html/bug-texinfo/2022-02/msg00000.html
> 

> Nested @def* could be a good way to define parameters, return values, and
> so on. With the new @defline facility the user could define macros like
> @param that expanded to "@defline Parameter".

That would be nice because I think those kinds of nested definitions make it easier to find the information you're looking for compared to defining parameters within the paragraphs that explain a given command, procedure, etc.
publickey - [email protected] - 0x12DE1598.asc (application/pgp-keys, 1.7 KB)
-----BEGIN PGP PUBLIC KEY BLOCK-----

xsBNBF8ZpUgBCADLjh2um2Jdl9BQKkgMSgnHJ+sHh7Kz/vP9swq7HYLEnFg6
HB4KkuoWIqMyEJrNc4k5RPHbxk9qA0zkA1wA8xv3jA+2UliQkkZR0+4r9K+x
fYDlxdwvJMUERZRNdot/fqBhkSbhiTISSzoEK6f3kxwb7sr0OcJLviNpCKok
YZ5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AAkFAl8ZpUgCGwwACgkQOeDH
Y3o5xqkeKQf+JMlcbRlweh/FA1nw8zFCxaF58PNDEO8lH92/xtznwGdAulzT
hZ40jGTEipygsnqHV7WHUf44neXn2A1cvCZ+73KcpaQNh9Mp8yWnGKZYUGkG
6Of1hEU792XZExkyA82PgLBNY+VzNXXKCH7NXxZQQWV5nXcbUFCZyJZudSgQ
xk19sQf4s9vJX6PC68qwi7aJ17nVfrbcMayRpm2OGJXd+t91V/LnNpCRgtl3
jNYsCBFKDC0YxdA/NCdEk1gfujFzl0bBs7+5Jbd3zRaE5AfdVQtIlmEXDkW6
0uyEi3Ntcq5odXA1nlR+e044KFveZzFuNNeTgszABr5HiU70/Elysw==
=z6e7
-----END PGP PUBLIC KEY BLOCK-----
signature.asc (application/pgp-signature, 509 B)
-----BEGIN PGP SIGNATURE-----
Version: ProtonMail

wsBzBAEBCAAnBQJkBevGCRA54MdjejnGqRYhBBLeFZh9HEWkNPdw7zngx2N6
OcapAAD2mAf+JjdfJtycb/iis7UJlydQsQnzHhzp/lCcyRxP3VNB7fnHT7Y9
IENZ7ca/3uLg17eEUPEQO3rJ1w/FT+DRhbHLH4dKW8S/ubziMLpUyj8Tkskd
JuCqCNPIuiUp0rXyjGfDkxlxV0Tal8wI9WsKJKXeCZPWJZNrVZi+TKyImC7i
tqs8d/hHsU5t6p3nzinCPDv6xJwwLWRvyqggmK4+UGhSNk9L+u50tWCYwHMo
inFIjlcWuTCQY/qBXKwg4dW9Spp8D78R8h3vGuPwKXtqxNce2QA0O6xWtAgw
KNlCWropRLDE1L54zal/3/n7l2bTw5EdwTydxeAL5fd43PHYcV5V+g==
=IonF
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.