From 055cb0343380f136e16e224e1bdac4952f9b7ece Mon Sep 17 00:00:00 2001 From: Munehiro Yamamoto Date: Sun, 5 Sep 2021 16:32:49 +0900 Subject: [PATCH] pdftex.def, luatex.def: supported Adobe Illustrator format (.ai) --- luatex.def | 6 ++++-- pdftex.def | 6 ++++-- 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/luatex.def b/luatex.def index 102e897..8d4823e 100644 --- a/luatex.def +++ b/luatex.def @@ -573,8 +573,8 @@ \fi \fi \def\Gin@extensions{% - .pdf,.png,.jpg,.mps,.jpeg,.jbig2,.jb2,% - .PDF,.PNG,.JPG,.JPEG,.JBIG2,.JB2% + .pdf,.ai,.png,.jpg,.mps,.jpeg,.jbig2,.jb2,% + .PDF,.AI,.PNG,.JPG,.JPEG,.JBIG2,.JB2% } \@namedef{Gin@rule@.jpg}#1{{jpg}{.jpg}{#1}} \@namedef{Gin@rule@.jpeg}#1{{jpg}{.jpeg}{#1}} @@ -587,6 +587,8 @@ \@namedef{Gin@rule@.mps}#1{{mps}{.mps}{#1}} \@namedef{Gin@rule@.pdf}#1{{pdf}{.pdf}{#1}} \@namedef{Gin@rule@.PDF}#1{{pdf}{.PDF}{#1}} +\@namedef{Gin@rule@.ai}#1{{pdf}{.ai}{#1}} +\@namedef{Gin@rule@.AI}#1{{pdf}{.AI}{#1}} \@namedef{Gin@rule@.eps}#1{{eps}{.eps}{#1}} % MPS conversion \def\GPT@LoadSuppPdf{% diff --git a/pdftex.def b/pdftex.def index e9fd018..358ed76 100644 --- a/pdftex.def +++ b/pdftex.def @@ -584,8 +584,8 @@ E \else \fi \fi \def\Gin@extensions{% - .pdf,.png,.jpg,.mps,.jpeg,.jbig2,.jb2,% - .PDF,.PNG,.JPG,.JPEG,.JBIG2,.JB2% + .pdf,.ai,.png,.jpg,.mps,.jpeg,.jbig2,.jb2,% + .PDF,.AI,.PNG,.JPG,.JPEG,.JBIG2,.JB2% } \@namedef{Gin@rule@.jpg}#1{{jpg}{.jpg}{#1}} \@namedef{Gin@rule@.jpeg}#1{{jpg}{.jpeg}{#1}} @@ -598,6 +598,8 @@ E \else \@namedef{Gin@rule@.mps}#1{{mps}{.mps}{#1}} \@namedef{Gin@rule@.pdf}#1{{pdf}{.pdf}{#1}} \@namedef{Gin@rule@.PDF}#1{{pdf}{.PDF}{#1}} +\@namedef{Gin@rule@.ai}#1{{pdf}{.ai}{#1}} +\@namedef{Gin@rule@.AI}#1{{pdf}{.AI}{#1}} \@namedef{Gin@rule@.eps}#1{{eps}{.eps}{#1}} % MPS conversion \def\GPT@LoadSuppPdf{%