texlive[76087] Master/texmf-dist: inlinegraphicx (18aug25)

commits+karl at tug.org commits+karl at tug.org
Mon Aug 18 21:02:25 CEST 2025


Revision: 76087
          https://tug.org/svn/texlive?view=revision&revision=76087
Author:   karl
Date:     2025-08-18 21:02:24 +0200 (Mon, 18 Aug 2025)
Log Message:
-----------
inlinegraphicx (18aug25)

Modified Paths:
--------------
    trunk/Master/texmf-dist/doc/latex/inlinegraphicx/README.md
    trunk/Master/texmf-dist/doc/latex/inlinegraphicx/inlinegraphicx-doc.pdf
    trunk/Master/texmf-dist/doc/latex/inlinegraphicx/inlinegraphicx-doc.tex
    trunk/Master/texmf-dist/tex/latex/inlinegraphicx/inlinegraphicx.sty

Modified: trunk/Master/texmf-dist/doc/latex/inlinegraphicx/README.md
===================================================================
--- trunk/Master/texmf-dist/doc/latex/inlinegraphicx/README.md	2025-08-18 19:02:15 UTC (rev 76086)
+++ trunk/Master/texmf-dist/doc/latex/inlinegraphicx/README.md	2025-08-18 19:02:24 UTC (rev 76087)
@@ -1,5 +1,9 @@
 inlinegraphicx is a package with 'inline graphicx insertion', with automatic size and position.
+
 -----------------------------------------------------------------------------------------------
+
 Author  : Cédric Pierquet
+
 email   : cpierquet at outlook.fr
+
 Licence : Released under the LaTeX Project Public License v1.3c or later, see http://www.latex-project.org/lppl.txt
\ No newline at end of file

Modified: trunk/Master/texmf-dist/doc/latex/inlinegraphicx/inlinegraphicx-doc.pdf
===================================================================
(Binary files differ)

Modified: trunk/Master/texmf-dist/doc/latex/inlinegraphicx/inlinegraphicx-doc.tex
===================================================================
--- trunk/Master/texmf-dist/doc/latex/inlinegraphicx/inlinegraphicx-doc.tex	2025-08-18 19:02:15 UTC (rev 76086)
+++ trunk/Master/texmf-dist/doc/latex/inlinegraphicx/inlinegraphicx-doc.tex	2025-08-18 19:02:24 UTC (rev 76087)
@@ -27,8 +27,8 @@
 \hypersetup{pdfborder=0 0 0}
 \usepackage[margin=2cm]{geometry}
 \setlength{\parindent}{0pt}
-\def\TPversion{0.1.0}
-\def\TPdate{06/11/2024}
+\def\TPversion{0.1.1}
+\def\TPdate{18/08/2025}
 \usepackage{tcolorbox}
 \usepackage{pgffor}
 \tcbuselibrary{breakable,skins,hooks,listingsutf8}
@@ -138,7 +138,7 @@
 	\begin{tabular}{c}
 		\texttt{Cédric Pierquet}\\
 		{\ttfamily c pierquet -- at -- outlook . fr}\\
-		\texttt{\url{https://github.com/cpierquet/inlinegraphicx}} \\
+		\texttt{\url{https://forge.apps.education.fr/pierquetcedric/packages-latex}} \\
 	\end{tabular}
 \end{center}
 
@@ -220,7 +220,7 @@
 The macro for inline insertion is \ShowCode{\\inlinegraphics}.
 
 \begin{DemoCode}{listing only}
-\inlinegraphics(*)[scale=...,strut=...]{image}
+\inlinegraphics(*)[scale=...,strut=...]<includegraphics options>{image}
 \end{DemoCode}
 
 The starred version remove depth positioning, wheres normal version include depth.
@@ -254,10 +254,16 @@
 \ttfamily{\LARGE Inline (\inlinegraphics[strut={(É)}]{example-image-16x10}É) q\inlinegraphics{example-image-16x10}H insertion}.
 \end{DemoCode}
 
+\begin{DemoCode}{}
+\ttfamily{\large Inline insertion, (\inlinegraphics[strut={()}]<angle=10>{example-image-16x10}) with option given to includegraphics.}
+\end{DemoCode}
+
 \pagebreak
 
 \section{History}
 
+\texttt{0.1.1: Pass option to includegraphics within the macro}
+
 \texttt{0.1.0: Initial version}
 
 \section{The code}

Modified: trunk/Master/texmf-dist/tex/latex/inlinegraphicx/inlinegraphicx.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/inlinegraphicx/inlinegraphicx.sty	2025-08-18 19:02:15 UTC (rev 76086)
+++ trunk/Master/texmf-dist/tex/latex/inlinegraphicx/inlinegraphicx.sty	2025-08-18 19:02:24 UTC (rev 76087)
@@ -1,10 +1,11 @@
 % Author        : C. Pierquet
-% licence       : Released under the LaTeX Project Public License v1.3c or later, see http://www.latex-project.org/lppl.txtf
+% licence       : Released under the LaTeX Project Public License v1.3c or later, see http://www.latex-project.org/lppl.txt
 
 \NeedsTeXFormat{LaTeX2e}
-\ProvidesPackage{inlinegraphicx}[2024/11/06 0.1.0 Insert inline graphicx]
+\ProvidesPackage{inlinegraphicx}[2025/08/18 0.1.1 Insert inline graphicx]
 
 %====HISTORY
+% v 0.1.1	Alt options for includegraphics
 % v 0.1.0	Initial version
 
 %====BASE
@@ -22,7 +23,7 @@
 \setKVdefault[inlinegraphics]{scale=1,strut={qH}}
 
 %====MACRO
-\NewDocumentCommand\inlinegraphics{ s O{} m }{%
+\NewDocumentCommand\inlinegraphics{ s O{} D<>{} m }{%
 	%1 = no depth/raisebox
 	%2 = keys (scale + strut)
 	%3 = file
@@ -31,7 +32,7 @@
 	\IfBooleanTF{#1}%
 		{%
 			\settoheight{\totheightinlinegraphicx}{\hbox{\inlinegraphicstrut}}%
-			\includegraphics[height=\inlinegraphicsscale\totheightinlinegraphicx]{#3}%
+			\includegraphics[height=\inlinegraphicsscale\totheightinlinegraphicx,#3]{#4}%
 		}%
 		{%
 			\settototalheight{\totheightinlinegraphicx}{\hbox{\inlinegraphicstrut}}%
@@ -40,7 +41,7 @@
 			\setlength{\inlinedepthgraphicsscale}%
 				{\dimexpr\depthinlinegraphicx-\inlinegraphicsinvscale\totheightinlinegraphicx\relax}%
 			\raisebox{-\inlinedepthgraphicsscale}{%
-				\includegraphics[height=\inlinegraphicsscale\totheightinlinegraphicx]{#3}%
+				\includegraphics[height=\inlinegraphicsscale\totheightinlinegraphicx,#3]{#4}%
 			}%
 		}%
 }



More information about the tex-live-commits mailing list.