From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Jean-Christophe Helary Newsgroups: gmane.emacs.devel Subject: Re: html manual +css Date: Mon, 5 Jun 2017 23:44:04 +0900 Message-ID: References: <05A866DB-4211-476E-9107-14E5F9BE9232@gmail.com> <53DA475D-B063-470A-BB87-D3FFC9A7CF79@gmail.com> <834lvyct3t.fsf@gnu.org> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 (Mac OS X Mail 10.3 \(3273\)) Content-Type: multipart/mixed; boundary="Apple-Mail=_6E5C7896-CA34-446E-BE90-1FACE0F5982D" X-Trace: blaine.gmane.org 1496673901 32132 195.159.176.226 (5 Jun 2017 14:45:01 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Mon, 5 Jun 2017 14:45:01 +0000 (UTC) To: emacs-devel Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Jun 05 16:44:56 2017 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dHtFX-00083K-3C for ged-emacs-devel@m.gmane.org; Mon, 05 Jun 2017 16:44:55 +0200 Original-Received: from localhost ([::1]:33761 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dHtFc-0002oE-IZ for ged-emacs-devel@m.gmane.org; Mon, 05 Jun 2017 10:45:00 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:46335) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dHtEs-0002RR-3G for emacs-devel@gnu.org; Mon, 05 Jun 2017 10:44:16 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dHtEn-00033D-Vx for emacs-devel@gnu.org; Mon, 05 Jun 2017 10:44:14 -0400 Original-Received: from mail-pg0-x236.google.com ([2607:f8b0:400e:c05::236]:33112) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dHtEn-00032N-Lw for emacs-devel@gnu.org; Mon, 05 Jun 2017 10:44:09 -0400 Original-Received: by mail-pg0-x236.google.com with SMTP id f185so21253831pgc.0 for ; Mon, 05 Jun 2017 07:44:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:mime-version:subject:date:references:to:in-reply-to:message-id; bh=PggpaNkBk6hNqz7SwSGlspTXer5W6NsgZLcYFAp7LBo=; b=LRKVI+NuSXIlmL4XIy7nW/2j3072cofXu/MssqcrnSSPgC2+QHTXYWAitBtRwgUtWs nRFRYysRlKmrNVzmYgkq8Ox5SO33pqLgfjQTZfZFyzVcJgZaFHLl7S662fXSd9/SsL2W 0oCKYwgks2YMxUS0SsgpkK3F341MQGtNKC/U+rGnxCePlWy8xyiIRzIH6XSEWH9PjkII jtNUQ+I0z13TscKQSAltrs68NlDFw4xxM1xk198bYMZfFjCSY/rdb0FKiAvnc5a8nXmq 6lveCmYj/cCVtc3HGhulIFGfmrhlFZEjy20V288vSqrzZ6/vt2PZyd41Qw9nhG+6KVtG 7AWA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:mime-version:subject:date:references:to :in-reply-to:message-id; bh=PggpaNkBk6hNqz7SwSGlspTXer5W6NsgZLcYFAp7LBo=; b=BVeTvDErd+qh/Jro8fa6raXKbWL2nmhaQI9ymrNfffjW+qmEppOeBYcCQL8fAUYAJO Kpy6o7U0G5d1WdKMgnZf/K9ke8VpmfHcy3EBHQKTb1fg1dVFfVUoxKs+28Mc280xKoDJ Db0rspM6O9bAD18bc+L/n48tq8tUO9YJIU1/6yeOsUHYHITu1ubLNQXIMqem45wbzpfT x61VN7sPEtK5UNcyT2bNdgeTyDG0F4/0eeGHsWiHg8whE8eEuDMkv+baLtDl1pwX6nyK Zl2+XqXuLEibdhHUDp0FyF8XZHlgfdgcCkgHo5K1L2wmmbfAdfiS8ijlayWfDLagE3bT QECg== X-Gm-Message-State: AODbwcDJd5IcX61d+7oLqX35I3fK4zErgGSPFLFgGg8ZVG/Uzf4t4b2W kGYOCI1BgoH44a9HQHM= X-Received: by 10.98.29.7 with SMTP id d7mr10274398pfd.25.1496673848478; Mon, 05 Jun 2017 07:44:08 -0700 (PDT) Original-Received: from [192.168.24.55] (pl2587.ag0304.nttpc.ne.jp. [128.53.196.27]) by smtp.gmail.com with ESMTPSA id m134sm27807933pga.15.2017.06.05.07.44.06 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 05 Jun 2017 07:44:06 -0700 (PDT) In-Reply-To: X-Mailer: Apple Mail (2.3273) X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2607:f8b0:400e:c05::236 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:215451 Archived-At: --Apple-Mail=_6E5C7896-CA34-446E-BE90-1FACE0F5982D Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 > 2017/06/03 0:29=E3=80=81Jean-Christophe Helary = =E3=81=AE=E3=83=A1=E3=83=BC=E3=83=AB: >=20 >>=20 >> On Jun 3, 2017, at 0:22, Eli Zaretskii wrote: >>=20 >>>> Regarding the texi code, I'm seeing @smallexample and @example that = are not relate to the actual size of the code but @smallexample as an = HTML class is not associated with the brown background while @example = is. >>>=20 >>> In the print version, @smallexample is set in a smaller font size so >>> that long lines fit. Paper has a ridiculously small line length = limit. >>=20 >> Right. (Although the difference between the maximum line lengths in >> these two is quite small.) So you cannot simply replace all >> @smallexample's by @example's, not without reviewing the line length >> first. >=20 > Ok, so I guess the easiest way to deal with that is to add the = @smallexample class to the CSS then. Ok, I have something that works, except that I need advice on the = licences and on the whole process. What I did to get the same CSS as the site is curl the css files. There = are 3 of those: https://www.gnu.org/software/emacs/manual.css https://www.gnu.org/style.css https://www.gnu.org/reset.css To make things simpler I regrouped them into just one that I put the = root of the /doc directory. My understanding is that this file must have licence information, but it = is composed of 3 different files, one of which (reset.css) has the = following header: /* Copyright (c) 2009, Yahoo! Inc. All rights reserved. Code licensed under the BSD License: http://developer.yahoo.net/yui/license.txt version: 2.8.0r4 */ So, what am I to do with the merged file ? I modified the file so that smallexamples gets the same css as example. Then, in each Makefile.in I modifier the HTML_OPTS to add the reference = to the CSS data. HTML_OPTS =3D --no-split --html --css-include=3D../manual.css When I make the doc I get the CSS inside the