diff --git a/svg2tikz/tikz_export.py b/svg2tikz/tikz_export.py index 97463d2..d98fd27 100644 --- a/svg2tikz/tikz_export.py +++ b/svg2tikz/tikz_export.py @@ -1191,8 +1191,11 @@ def _output_group(self, group): if node.TAG == "g": string += self._handle_group(node) continue - - goptions = self.style_to_tz(node) + self.trans_to_tz(node) + try: + goptions = self.style_to_tz(node) + self.trans_to_tz(node) + except AttributeError as msg: + attr = msg.args[0].split("attribute")[1].split(".")[0] + logging.warning("%s attribute cannot be represented", attr) cmd = []