Lines Matching full:translator
239 def convert_image(img_node, translator, src_fname=None): argument
246 format (of the image) and the translator's output format.
248 app = translator.builder.app
252 src_fname = path.join(translator.builder.srcdir, img_node['uri'])
254 src_fname = path.join(translator.builder.outdir, img_node['uri'])
269 elif translator.builder.format == 'latex':
270 dst_fname = path.join(translator.builder.outdir, fname + '.pdf')
275 elif translator.builder.format == 'html':
277 translator.builder.outdir,
278 translator.builder.imagedir,
281 translator.builder.imgpath, fname + '.svg')
283 '*': path.join(translator.builder.imgpath, fname + '.svg')}
291 if translator.builder.format == 'latex':
299 dst_fname = path.join(translator.builder.outdir, fname + '.pdf')
305 translator.builder.images.pop(img_node['uri'], None)
306 _name = dst_fname[len(str(translator.builder.outdir)) + 1:]
318 if translator.builder.format == 'latex' and not dot_Tpdf:
319 svg_fname = path.join(translator.builder.outdir, fname + '.svg')