Re: [rfc-i] Sooo has anyone tried actually printing the new HTML style??

Martin Thomson <martin.thomson@gmail.com> Fri, 11 August 2017 05:04 UTC

Return-Path: <rfc-interest-bounces@rfc-editor.org>
X-Original-To: ietfarch-rfc-interest-archive@ietfa.amsl.com
Delivered-To: ietfarch-rfc-interest-archive@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id A1612132031 for <ietfarch-rfc-interest-archive@ietfa.amsl.com>; Thu, 10 Aug 2017 22:04:43 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -3.889
X-Spam-Level:
X-Spam-Status: No, score=-3.889 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_ADSP_CUSTOM_MED=0.001, DKIM_SIGNED=0.1, FREEMAIL_FORGED_FROMDOMAIN=0.199, FREEMAIL_FROM=0.001, HEADER_FROM_DIFFERENT_DOMAINS=0.001, RCVD_IN_DNSWL_MED=-2.3, SPF_PASS=-0.001, T_DKIM_INVALID=0.01] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=fail (2048-bit key) reason="fail (body has been altered)" header.d=gmail.com
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id WvFZju-uSgTe for <ietfarch-rfc-interest-archive@ietfa.amsl.com>; Thu, 10 Aug 2017 22:04:41 -0700 (PDT)
Received: from rfc-editor.org (rfc-editor.org [4.31.198.49]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 0DDA113208E for <rfc-interest-archive-eekabaiReiB1@ietf.org>; Thu, 10 Aug 2017 22:04:41 -0700 (PDT)
Received: from rfcpa.amsl.com (localhost [IPv6:::1]) by rfc-editor.org (Postfix) with ESMTP id 10B60B81A93; Thu, 10 Aug 2017 22:04:25 -0700 (PDT)
X-Original-To: rfc-interest@rfc-editor.org
Delivered-To: rfc-interest@rfc-editor.org
Received: from localhost (localhost [127.0.0.1]) by rfc-editor.org (Postfix) with ESMTP id 1243AB81A93 for <rfc-interest@rfc-editor.org>; Thu, 10 Aug 2017 22:04:21 -0700 (PDT)
X-Virus-Scanned: amavisd-new at rfc-editor.org
Authentication-Results: rfcpa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com
Received: from rfc-editor.org ([127.0.0.1]) by localhost (rfcpa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id qfKvRwuMYbc6 for <rfc-interest@rfc-editor.org>; Thu, 10 Aug 2017 22:04:19 -0700 (PDT)
Received: from mail-it0-x22a.google.com (mail-it0-x22a.google.com [IPv6:2607:f8b0:4001:c0b::22a]) by rfc-editor.org (Postfix) with ESMTPS id 82C83B81A8D for <rfc-interest@rfc-editor.org>; Thu, 10 Aug 2017 22:04:17 -0700 (PDT)
Received: by mail-it0-x22a.google.com with SMTP id m34so22424645iti.1 for <rfc-interest@rfc-editor.org>; Thu, 10 Aug 2017 22:04:32 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=pUJKRU2yWgzOTXX8U8SscAWyois/kEPtYBi5rhdOo+0=; b=pqWW9syr2lTn94AOsQJqt+Okg/Yz6Ol5bAhtHu8SX/NSqi/2rKfJU8qv/VlF+zJfpN PwIYdhHkmQWsKFhCUP+sqyqglTS6Kx9wVgGZeIPeMT2juzn0vLicXTy9aW3+IGVin1dc aD7xv5ae2oCfSGanZl5FUheSdw1fGvhVhyVYM+CRD0cDBXOteKkKk8LHtNcq4pHh9NR7 eAaVgueWhVnu4RjBW862ZrNHe+plRHfjgLjrSKnOi4hZRUuw1VeY//8JUch7f+L07UBy q86aVjgoB6rniheJqOa7s+EnpDvgMZl1JSMIlgrL9kk6uKK0eFjIgSTK6IqyFaPYQOih b2Iw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=pUJKRU2yWgzOTXX8U8SscAWyois/kEPtYBi5rhdOo+0=; b=EPU9IGzY8NRvLxxNkxKtZxJ/wEyPgGaC6K6TOzVGFCNF3IiHAO5TCXoHZe7p/hxSa+ lBO7JscbtfAcPwCoPsouXJT+PjFaC6NVdkup3eDfQ60CfRzwzKA4s6TMQvwgusnI1V3c 7h56WM4kHOsyf1jBiv7a54g4Rst+w3uVoWW808dHui+VWH1JoQvPadY1zGXftLJifsJd +6G9si1+9wx8FEmjC0nfp94Zx0KHhS+hFlO/hG2QmciR0FiTTQ8RBydD47xzy8PowDQt QxwtgDMI0C/e+IGXUiMnn/6OERP20ExuYnayv0gFJPwKqipVCuKsvnhWsm8QOKY0eDHB /aPQ==
X-Gm-Message-State: AIVw111L5lPv1hWlD8Y6GFrzbPaW8xplNlhhAMNC9vh6PRo0+xWAOFWo jy2tWG0wfQsOf5J3E76/UiRAO9+WsA==
X-Received: by 10.36.13.10 with SMTP id 10mr3326143itx.51.1502427871267; Thu, 10 Aug 2017 22:04:31 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.107.164.42 with HTTP; Thu, 10 Aug 2017 22:04:30 -0700 (PDT)
In-Reply-To: <CAMm+LwhcTuQHQgNXkur5f6oKBLSXLtG=eNNF-93eVADFxYXbCw@mail.gmail.com>
References: <CAMm+LwiJ35J8-4_iJxkGqF8O+g-NN=YPL+1eyjSmD1pdQifDag@mail.gmail.com> <CABkgnnUwZ2s-DiN_DiZhyjoNk6X54270Ob1jv+2B8YhQx99_Ww@mail.gmail.com> <CAMm+LwjavkKWsh+VOGKiZJUyAU-qWHt7Xm2PAafaii=bfovYPg@mail.gmail.com> <CAMm+LwhcTuQHQgNXkur5f6oKBLSXLtG=eNNF-93eVADFxYXbCw@mail.gmail.com>
From: Martin Thomson <martin.thomson@gmail.com>
Date: Fri, 11 Aug 2017 15:04:30 +1000
Message-ID: <CABkgnnXhY3hP_t5+CJ_KFyd=zKRb4kjc6stZUz+ona-a3eU6Tg@mail.gmail.com>
To: Phillip Hallam-Baker <phill@hallambaker.com>
Subject: Re: [rfc-i] Sooo has anyone tried actually printing the new HTML style??
X-BeenThere: rfc-interest@rfc-editor.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: "A list for discussion of the RFC series and RFC Editor functions." <rfc-interest.rfc-editor.org>
List-Unsubscribe: <https://www.rfc-editor.org/mailman/options/rfc-interest>, <mailto:rfc-interest-request@rfc-editor.org?subject=unsubscribe>
List-Archive: <http://www.rfc-editor.org/pipermail/rfc-interest/>
List-Post: <mailto:rfc-interest@rfc-editor.org>
List-Help: <mailto:rfc-interest-request@rfc-editor.org?subject=help>
List-Subscribe: <https://www.rfc-editor.org/mailman/listinfo/rfc-interest>, <mailto:rfc-interest-request@rfc-editor.org?subject=subscribe>
Cc: "rfc-interest@rfc-editor.org" <rfc-interest@rfc-editor.org>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Errors-To: rfc-interest-bounces@rfc-editor.org
Sender: rfc-interest <rfc-interest-bounces@rfc-editor.org>

Scoped stylesheets isn't a feature that you can rely on.  Firefox does
(or did) support scoped stylesheets, but it wasn't widely implemented
or used and has several problems.

On 11 August 2017 at 14:25, Phillip Hallam-Baker <phill@hallambaker.com> wrote:
> OK so here is the bigger problem. Firefox and Chrome do not appear to
> recognize the scoped attribute on stylesheets. That is serious because it
> means that the only way to display SVGs reliably is going to be to either
> include them as external objects or process the style sheet and SVG to force
> uniqueness.
>
> Worse still is that even doing that, the results of including the stylesheet
> are different to linking externally. Even with a copy and paste.
>
> I would suggest MHTML but support to save in that format has disappeared
> from all the browsers I use. This is not looking like a happy camper
> situation.
>
>
>
> On Fri, Aug 11, 2017 at 12:13 AM, Phillip Hallam-Baker
> <phill@hallambaker.com> wrote:
>>
>> I was having issues on Chrome and Edge. Commenting out these lines did the
>> trick.
>>
>>   body {
>>     font-family: 'Noto Serif', "Times New Roman", Times, serif;
>>     width: 100%;
>>   }
>>
>>
>> On Thu, Aug 10, 2017 at 11:38 PM, Martin Thomson
>> <martin.thomson@gmail.com> wrote:
>>>
>>> Worked for me.  Firefox on Windows.  I can produce a PDF, though it's
>>> a tad large.
>>>
>>> On 11 August 2017 at 12:54, Phillip Hallam-Baker <phill@hallambaker.com>
>>> wrote:
>>> > I just completed my draft for the naming workshop. Seems to work fine
>>> > on the
>>> > screen but when I print... white text on white... argh!!!
>>> >
>>> > I am using the stylesheet from this with very minor tweakage:
>>> > https://rfc-format.github.io/draft-iab-rfc-css-bis/
>>> >
>>> >
>>> > Anyone skilled in stylesheetery?
>>> >
>>> > Example attached. This was produced from a Word document source. The
>>> > next
>>> > step being to generate xml2rfcv2 and v3 output, then markdown.
>>> >
>>> > I believe that the tool should work correctly with markdown or xml2rfc
>>> > v3
>>> > input.
>>> >
>>> >
>>> > _______________________________________________
>>> > rfc-interest mailing list
>>> > rfc-interest@rfc-editor.org
>>> > https://www.rfc-editor.org/mailman/listinfo/rfc-interest
>>> >
>>
>>
>
_______________________________________________
rfc-interest mailing list
rfc-interest@rfc-editor.org
https://www.rfc-editor.org/mailman/listinfo/rfc-interest