W3C home > Mailing lists > Public > public-media-annotation@w3.org > July 2011

Re: Print Marging in ReSpec.js

From: Robin Berjon <robin@robineko.com>
Date: Mon, 4 Jul 2011 23:18:08 +0200
Cc: public-media-annotation@w3.org
Message-Id: <BF41F9D3-DAA8-40F6-82ED-95949EF0569E@robineko.com>
To: Florian Stegmaier <stegmai@dimis.fim.uni-passau.de>
Hi Florian,

On Jun 29, 2011, at 10:58 , Florian Stegmaier wrote:
> currently, we are using ReSec.js in our "API for Media Resource" specification [1]. Everything works really fine, but in a few places, the content will be lost if it is printed. This is mostly the case inside the automatically generated WebIDL section, where a interface definition gets lengthy (e.g., see 4.2 AsyncMediaResource interface). Would it be possible to have a print margin inserted?

I think that the primary problem is specifying how to get the WebIDL to wrap without losing its indentation, rather than adding a margin? Or have I misunderstood the issue? Do you have a print CSS that you think would work? If you do, please send it to me and I'll add it to the current CSS. Otherwise, if it's a WebIDL wrapping issue, then I'll open a bug for it  several people have tried to fix it and failed so far, so I'm afraid it may take me a little while to figure out what works :) Note that if it's the issue I think it is, then it probably affects non-ReSpec specs that have lines that are too long in any other situation as well. Not that that means I won't try to fix it, but I might have to resort to some ugly JS-based line-wrapping instead of CSS :)

Robin Berjon
  robineko  hired gun, higher standards
Received on Monday, 4 July 2011 21:18:32 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 16:24:48 UTC