summaryrefslogtreecommitdiff
path: root/support
diff options
context:
space:
mode:
authorNorbert Preining <norbert@preining.info>2023-10-21 03:01:29 +0000
committerNorbert Preining <norbert@preining.info>2023-10-21 03:01:29 +0000
commit6deeaf1bda76263051b929f5d5401c98d85e74ef (patch)
tree385460fec9e3be1f3e98950bde1c729aa3a8aa5b /support
parentc9ab6fbcc0f960c5e669419f2565ff121a7f33fd (diff)
CTAN sync 202310210301
Diffstat (limited to 'support')
-rw-r--r--support/TeX4ht/source/ChangeLog7
-rw-r--r--support/TeX4ht/source/tex4ht-4ht.tex13
-rw-r--r--support/TeX4ht/source/tex4ht-html4.tex6
-rw-r--r--support/texshop/README.txt2
-rw-r--r--support/texshop/texshop520.html40
-rw-r--r--support/texshop/texshop521.html32
6 files changed, 56 insertions, 44 deletions
diff --git a/support/TeX4ht/source/ChangeLog b/support/TeX4ht/source/ChangeLog
index 310051b589..835982e89e 100644
--- a/support/TeX4ht/source/ChangeLog
+++ b/support/TeX4ht/source/ChangeLog
@@ -1,3 +1,10 @@
+2023-10-20 Michal Hoftich <michal.h21@gmail.com>
+
+ * tex4ht-4ht.tex (tcolorbox.4ht),
+ * tex4ht-html4.tex (html4.4ht): added support for the Listings
+ library of the Tcolobox package
+ https://puszcza.gnu.org.ua/bugs/?312
+
2023-10-18 Michal Hoftich <michal.h21@gmail.com>
* tex4ht-4ht.tex (cprotect.4ht): remove spurious characters from the
diff --git a/support/TeX4ht/source/tex4ht-4ht.tex b/support/TeX4ht/source/tex4ht-4ht.tex
index d9c2de66c3..577a1f2e9b 100644
--- a/support/TeX4ht/source/tex4ht-4ht.tex
+++ b/support/TeX4ht/source/tex4ht-4ht.tex
@@ -1,4 +1,4 @@
-% $Id: tex4ht-4ht.tex 1395 2023-10-18 20:38:31Z michal_h21 $
+% $Id: tex4ht-4ht.tex 1396 2023-10-20 16:07:23Z michal_h21 $
% tex tex4ht-4ht or ht tex tex4ht-4ht
%
% Copyright 2009-2023 TeX Users Group
@@ -28490,7 +28490,7 @@ We need to use dvips driver with XeLaTeX
\get:xcolorcss{tcbcolframe}\:tcbcolframe%
\get:xcolorcss{tcbcolupper}\:tcbcolupper%
% make unique ID for this box
- \def\:tcbcolid{tcolobox-\arabic{:tcbcolcount}}
+ \gdef\:tcbcolid{tcolobox-\arabic{:tcbcolcount}}
% Open box
\a:tcolorbox%
% set label if it exists
@@ -28530,6 +28530,15 @@ We need to use dvips driver with XeLaTeX
\def\:tempb{\d:tcolorbox\o:tcb@endboxanddraw:}
\HLet\tcb@endboxanddraw\:tempb
+% tcolorbox supports libraries, but it loads them
+% in a way that doesn't register them for the use
+% with .4ht files.
+% this fix is for tcblistingscore.code.tex
+\NewConfigure{tcblisting}{1}
+\def\:tempb{\o:endtcblisting:\d:tcolorbox\a:tcblisting}
+\HLet\endtcblisting\:tempb
+
+
% this code prevents emptying of the box title when
% some Tcolorbox options are used
\def\:tempb{}
diff --git a/support/TeX4ht/source/tex4ht-html4.tex b/support/TeX4ht/source/tex4ht-html4.tex
index 5d5e52f60d..0d10aaf33e 100644
--- a/support/TeX4ht/source/tex4ht-html4.tex
+++ b/support/TeX4ht/source/tex4ht-html4.tex
@@ -1,4 +1,4 @@
-% $Id: tex4ht-html4.tex 1393 2023-10-16 12:00:17Z michal_h21 $
+% $Id: tex4ht-html4.tex 1396 2023-10-20 16:07:23Z michal_h21 $
% Compile 4 times: latex tex4ht-html4
% Copy html4.4ht into the work directory before all but the last compilation.
%
@@ -16458,6 +16458,10 @@ Blue = 1-minimum(1,Yellow *(1-Black)+Black)
% there is rule p + div elsewhere in TeX4ht. we want to nullify it.
\Css{.tcolorbox .lowerbox{margin-top:0pt;}}
+
+% remove unwanted margins and border from listings inside tcolorbox
+% https://puszcza.gnu.org.ua/bugs/?312
+\Configure{tcblisting}{\Css{\#\:tcbcolid\space.lstinputlisting{margin-bottom:0em;margin-top:0em;border: none;}}}
>>>
%%%%%%%%%%%%%%%%
diff --git a/support/texshop/README.txt b/support/texshop/README.txt
index cd08ec751f..2dafa22db9 100644
--- a/support/texshop/README.txt
+++ b/support/texshop/README.txt
@@ -7,4 +7,4 @@ The main author is Richard Koch, koch@uoregon.edu, with supporting contributions
Consult the program web site, https://pages.uoregon.edu/koch/texshop/texshop.html,
for full source code, an extensive Changes document, and other information.
-The current version, 5.20, was released on October 10, 2023. \ No newline at end of file
+The current version, 5.21, was released on October 20, 2023. \ No newline at end of file
diff --git a/support/texshop/texshop520.html b/support/texshop/texshop520.html
deleted file mode 100644
index c083d0d097..0000000000
--- a/support/texshop/texshop520.html
+++ /dev/null
@@ -1,40 +0,0 @@
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
-
-<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
-<head>
- <title>TeXShop</title>
- <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
- <style type="text/css" media="screen">@import "v1.css";</style>
-</head>
-
-<body>
-
-Version 5.19 was never released. The following changes were made in 5.20:
-<p><ul>
-<li> Some people complained that line numbers in the source file are too small to read. A new preference under the "Source" tab allows users to choose between small and large line numbers.
-
-<p><li> The Typst project by Martin Haug and Laurenz Mädje is a complete rewrite of both the input language and the typesetting abilities of TeX and LaTeX. See <a href="https://typst.app">https://typst.app</a> for details. A TeXShop user, Jeroen Scheerder, recently created an engine file that allows TeXShop to typeset Typst sources. Version 5.20 of TeXShop contains that engine in ~/Library/TeXShop/Engines/Inactive/Typst. This folder also contains simple typst source files, called templates, and instructions explaining how to download and install typst. Thus users can
-easily experiment with Typst using TeXShop.
-
-<p><li> Typst source files have extension ".typ". This file extension was added to the list of extensions that TeXShop is willing to create and open, and to the list of file types that TeXShop can typeset. Moreover, source files with extension ".typ"
-can be added to ~/Library/TeXShop/Templates and then will appear in the Templates pulldown menu in the source window.
-
-<p><li> Version 5.18 of TeXShop contains a preference which adds a flag whenever Ghostscript is called telling the program to process transparency operators. This flag is understood by Ghostscript 9.51 and later, so TeXShop has code which checks the version of Ghostscript running, and does not add the flag when the version is earlier than 9.51.
-But very shortly after the release of TeXShop 5.18, Matthias Schmidt read that code and discovered that it did nothing because it was deactivated by a line of debugging code I forgot to remove. I silently fixed the bug and most people updating to version 5.18 received a version without this bug. Since the bug was minor, I decided not to release a new version just to fix it. It is fixed for everyone in version 5.20.
-
-<p><li> The TeXShop manual was updated slightly to describe the changes in version 5.20. Uwe Schmock has also improved the manual and some of his changes are in the latest version.
-
-<p><li> Max Horn runs an important web site which may be unknown to most TeXShop users. The site is
-<a href="https://github.com/TeXShop/TeXShop">https://github.com/TeXShop/TeXShop</a> and contains
-the source code for most versions of TeXShop since the program began. While the Horn site was under construction,
-I sent him old sources obtained by turned on computers that had last run twenty years ago; they started right up! That is how I found the original sources for the earliest TeXShop, which are linked from the the main TeXShop page,
-<a href="https://pages.uoregon.edu/koch/texshop/texshop.html">https://pages.uoregon.edu/koch/texshop/texshop.html</a>.
-
-<p> I am ashamed to admit that git remains a mystery to me. So Horn has access to valuable information I know nothing about. Here's an example. Horn recently reported that the 5.18 sources suddenly contained a complete copy of the final program. That was 90 megs of useless information. Sure enough, a copy had accidentally been saved in the wrong spot.
-This problem was immediately fixed on the web, but I'm gradually digesting a list from Horn of other elements in the current sources that are probably no longer relevant.
-
-
-</ul>
-
-</body>
-</html>
diff --git a/support/texshop/texshop521.html b/support/texshop/texshop521.html
new file mode 100644
index 0000000000..e97568bfc3
--- /dev/null
+++ b/support/texshop/texshop521.html
@@ -0,0 +1,32 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+ <title>TeXShop</title>
+ <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
+ <style type="text/css" media="screen">@import "v1.css";</style>
+</head>
+
+<body>
+
+The following changes were made:
+<p><ul>
+<li> Jeroen Scheerder improved the support of Typst by using the Packages system now under
+construction in that project. Packages are similar to style and class files in the LaTeX world;
+they extend the capabilities of the typesetting system. Scheerder separated each sample program
+provided in TeXShop 5.20 into a package and a template. The package is hidden away in
+~/Library/Application Support/typst and the template is available in the TeXShop templates pulldown
+in the source window. This makes it possible to start a new project by selecting an initial template
+and adding material to it. The templates can be edited by users to fit their precise requirements.
+<p><li> If a source project opened an html window in TeXShop, and the source was then closed without first closing the html window, TeXShop would sometimes crash. This is fixed.
+<p><li>The Chinese localization in 5.20 had one item translated by Google rather than the official localizer.
+This is fixed.
+<p><li> A small number of Interface Builder connections led to objects that no longer exist. This caused
+cautionary items in the log file, although TeXShop ran fine. The connections are gone and the log entries no longer appear.
+<p><li>The log file complained that "unarchiving safe plist type 'NSString' occurred" and warned that this would
+be disallowed in the future. This is fixed and the log entry is gone.
+
+</ul>
+
+</body>
+</html>