[poppler] pdftohtml, separate CSS file

Josh Richardson jric at chegg.com
Wed Jun 22 13:54:47 PDT 2011

Fair points.  Unless I hear other viewpoints, I'll make the separate CSS
file non-default.


On 6/22/11 11:40 AM, "Joaquin Cuenca Abela" <joaquin at cuencaabela.com>

>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
>>>>> This makes maintenance and overriding of the styling much easier, as
>>>>> as keeping the HTML file itself (nearly) completely content /
>>>>> 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
>>>>> to this?
>>>>I'd prefer if you added this through a flag other than modifying the
>>>>(since people always complain when you change the behavoiur of
>>>>> I am also cleaning up the tags so that they are all balanced and
>>>>> hence XML-compliant.
>>>>Makes sense, but please make this a separate patch.
>>>>> Once this is done along with CSS separated out, I'm
>>>>> not sure of a need for a separate ­xml mode for pdftohtml.  Thoughts
>>>>> this?
>>>>> Thanks, --josh
>>>>poppler mailing list
>>>>poppler at lists.freedesktop.org
>>>poppler mailing list
>>>poppler at lists.freedesktop.org
>> _______________________________________________
>> poppler mailing list
>> poppler at lists.freedesktop.org
>> http://lists.freedesktop.org/mailman/listinfo/poppler
>Joaquin Cuenca Abela -- presspeople.com: Fuentes de prensa y comunicados
>poppler mailing list
>poppler at lists.freedesktop.org

More information about the poppler mailing list