From 87cddce361c3b477029d13b27bdaa57190b2d74b Mon Sep 17 00:00:00 2001
From: Norbert Preining <norbert@preining.info>
Date: Sun, 15 Mar 2020 03:01:24 +0000
Subject: CTAN sync 202003150301

---
 macros/luatex/optex/op-demo.tex | 18 ++++++++----------
 1 file changed, 8 insertions(+), 10 deletions(-)

(limited to 'macros/luatex/optex/op-demo.tex')

diff --git a/macros/luatex/optex/op-demo.tex b/macros/luatex/optex/op-demo.tex
index 6ff462ceab..96c32f9056 100644
--- a/macros/luatex/optex/op-demo.tex
+++ b/macros/luatex/optex/op-demo.tex
@@ -5,7 +5,7 @@
 \parindent=10pt                % typesetting parameters
 \hyperlinks \Blue\Blue         % active hyperlinks
 \activettchar`                 % in-text verbatim by `...`
-\intthook={\localcolor\Red}    % in-text verbatim Red
+\everyintt={\Red}              % in-text verbatim Red
 \enquotes                      % use \"text" for English quotation  
 
 \tit Demonstration
@@ -56,18 +56,16 @@ an active link if the `\hyperlinks` sequence
 is used at the beginning of the document.
 Internal links are activated too.
 
-\label[tab-sec]
-\sec Tables
+\sec[tab-sec] Tables 
 
 The `\table` sequence can be used 
 instead of \"low level" `\halign`.
 The following table is framed by `\frame` sequence 
 in order to get a double frame.
 
-\label[my-tab]
 \bigskip
-\caption/t  Testing table.
-\smallskip\nobreak
+\caption/t [my-tab]  Testing table.
+\cskip
 \centerline{%
    \frame{\table{|r|c|l|}{\crl
            \bf Title A & \bf Title B & \bf Title C \crll
@@ -77,12 +75,12 @@ in order to get a double frame.
 \sec Images
 
 The images (PDF, JPG, PNG, TIFF) can be inserted 
-by `\inspic` sequence. The `\label` and `\caption/f` 
+by `\inspic` sequence. The `\caption` 
 can be added if you need to refer to a figure.
 
-\centerline {\picwidth=2.7cm \inspic op-ring.png }
 \label[my-pic]
-\nobreak
+\centerline {\picwidth=2.7cm \inspic{op-ring.png}}
+\cskip
 \caption/f The nonempty ideal of a simple ring --
            the ring itself.
 
@@ -97,7 +95,7 @@ This is verbatim.
 \endtt
 or it can be included by `\verbinput` from external file.
 
-\verbinput (98-100) op-demo.tex
+\verbinput (96-98) op-demo.tex
 
 \sec Math
 
-- 
cgit v1.2.3

