[latex3-commits] [latex2e-public] r1424 - test file for includegraphics at start of paragraph

noreply at latex-project.org noreply at latex-project.org
Fri Mar 17 14:24:53 CET 2017


Author: carlisle
Date: 2017-03-17 14:24:53 +0100 (Fri, 17 Mar 2017)
New Revision: 1424

Added:
   trunk/required/graphics/testfiles/tlb-clubpenalty-001.lvt
   trunk/required/graphics/testfiles/tlb-clubpenalty-001.tlg
Log:
test file for includegraphics at start of paragraph

Added: trunk/required/graphics/testfiles/tlb-clubpenalty-001.lvt
===================================================================
--- trunk/required/graphics/testfiles/tlb-clubpenalty-001.lvt	                        (rev 0)
+++ trunk/required/graphics/testfiles/tlb-clubpenalty-001.lvt	2017-03-17 13:24:53 UTC (rev 1424)
@@ -0,0 +1,17 @@
+\documentclass{article}
+\input{test2e}
+\addtolength\textwidth{100pt}
+% Check that a paragraph does not start in a local group
+% so hiding the resetting of \clubpenalty (which is local
+% despite commenst in ltsect suggesting otherwise.
+\usepackage[draft]{graphics}
+\begin{document}
+\section{Section}
+1zzz
+
+\includegraphics{example-image-a}%bad
+\START
+\showthe\clubpenalty
+2zzz
+
+\END 
\ No newline at end of file

Added: trunk/required/graphics/testfiles/tlb-clubpenalty-001.tlg
===================================================================
--- trunk/required/graphics/testfiles/tlb-clubpenalty-001.tlg	                        (rev 0)
+++ trunk/required/graphics/testfiles/tlb-clubpenalty-001.tlg	2017-03-17 13:24:53 UTC (rev 1424)
@@ -0,0 +1,4 @@
+This is a generated file for the LaTeX2e validation system.
+Don't change this file in any respect.
+> 150.
+l. ...\showthe\clubpenalty



More information about the latex3-commits mailing list