Feature
Described in title. This can be achieved by not ignoring <head>, <link> or <style> in HTMLParser but in PicTexTranslator, then fetch all styles before actually calling self._css_parser.parse(self.css).
Additional information
It is hard to decide when to fetch currently (as the parsing is partially lazy). Also I guess you will need a fetcher and base_url (optional) for the arguments of __init__.
Feature
Described in title. This can be achieved by not ignoring
<head>,<link>or<style>in HTMLParser but inPicTexTranslator, then fetch all styles before actually callingself._css_parser.parse(self.css).Additional information
It is hard to decide when to fetch currently (as the parsing is partially lazy). Also I guess you will need a
fetcherandbase_url(optional) for the arguments of__init__.