[poppler] pdftohtml, separate CSS file

Marc J. Driftmeyer mjd at reanimality.com
Wed Jun 22 14:18:41 PDT 2011


If you don't have to routinely update your CSS and extend the sites you 
design's content with new formatting you clearly aren't working on sites 
that are heavy in demand and drive a lot of diverse content.

More to the point, you're not working that deeply with CSS 2, let alone 
3 if that's the case. One of the main reasons for separating the 
structure from the formatting is to extend the reuse of the structure to 
other viewports.

SIncerely,

Marc J. Driftmeyer

On 06/22/2011 11:40 AM, Joaquin Cuenca Abela wrote:
> I disagree. It's useful to have everything on a single file (if there
> are no images), for instance you can pipe the result to stdout for
> scripts and things like that. What benefit do you get by splitting the
> html and the css? I split them all the time on my web projects, but
> it's rare to have to further edit / maintain these files, and you're
> going to break existing scripts / pipelines if you change the default
> behaviour. I think you need a very good reason to do that.
>
> 2011/6/22 Josh Richardson<jric at chegg.com>:
>> On second thought, what if I provide the old behavior via a switch?  I
>> think that the separate CSS file is the better default behavior.
>>
>> Thanks, --josh
>>
>> On 6/22/11 11:15 AM, "Josh Richardson"<jric at chegg.com>  wrote:
>>
>>> Ok, will do.  --josh
>>>
>>> On 6/22/11 12:59 AM, "Albert Astals Cid"<aacid at kde.org>  wrote:
>>>
>>>> A Wednesday, June 22, 2011, Josh Richardson va escriure:
>>>>> Experienced web developers always separate their CSS from their HTML
>>>>> file
>>>>> This makes maintenance and overriding of the styling much easier, as
>>>>> well
>>>>> as keeping the HTML file itself (nearly) completely content / semantics
>>>>> focused.
>>>>>
>>>>> In the complex mode, I would like to separate out the styling into a
>>>>> separate CSS file, referenced from the output HTML file.  Any
>>>>> objections
>>>>> to this?
>>>> I'd prefer if you added this through a flag other than modifying the
>>>> behaviour
>>>> (since people always complain when you change the behavoiur of something)
>>>>
>>>>> I am also cleaning up the tags so that they are all balanced and XHTML,
>>>>> hence XML-compliant.
>>>> Makes sense, but please make this a separate patch.
>>>>
>>>> Albert
>>>>
>>>>> Once this is done along with CSS separated out, I'm
>>>>> not sure of a need for a separate ­xml mode for pdftohtml.  Thoughts on
>>>>> this?
>>>>>
>>>>> Thanks, --josh
>>>> _______________________________________________
>>>> poppler mailing list
>>>> poppler at lists.freedesktop.org
>>>> http://lists.freedesktop.org/mailman/listinfo/poppler
>>>
>>> _______________________________________________
>>> poppler mailing list
>>> poppler at lists.freedesktop.org
>>> http://lists.freedesktop.org/mailman/listinfo/poppler
>>>
>> _______________________________________________
>> poppler mailing list
>> poppler at lists.freedesktop.org
>> http://lists.freedesktop.org/mailman/listinfo/poppler
>>
>
>

-- 
Marc J. Driftmeyer
Email :: mjd at reanimality.com <mailto:mjd at reanimality.com>
Web :: http://www.reanimality.com
Cell :: (509) 435-5212
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/poppler/attachments/20110622/97c3aa51/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: mjd.vcf
Type: text/x-vcard
Size: 316 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/poppler/attachments/20110622/97c3aa51/attachment.vcf>


More information about the poppler mailing list