With \listfiles we can easily list the current version of all the packages loaded.
But it doesn't tell anything about the version of the TikZlibrary tikzmark.
How can I detect it?
The problem is, in particular, when I'm using Overleaf and I can't find the version using a distribution tool like texdoc tikzmark or similar.
MWE:
\listfiles
\documentclass{article}
\usepackage{tikz}
\usetikzlibrary{tikzmark}
\begin{document}
Something with \tikzmarknode{A}{TikZ Mark}
\begin{tikzpicture}[remember picture, overlay]
\draw[<-, red] (A) -- ++(1,-1);
\end{tikzpicture}
\end{document}
File list in the log:
*File List*
article.cls 2018/09/03 v1.4i Standard LaTeX document class
size10.clo 2018/09/03 v1.4i Standard LaTeX file (size option)
tikz.sty 2019/02/02 v3.1.1 (3.1.1)
pgf.sty 2019/02/02 v3.1.1 (3.1.1)
pgfrcs.sty 2019/02/02 v3.1.1 (3.1.1)
everyshi.sty 2001/05/15 v3.00 EveryShipout Package (MS)
pgfrcs.code.tex
pgfcore.sty 2019/02/02 v3.1.1 (3.1.1)
graphicx.sty 2017/06/01 v1.1a Enhanced LaTeX Graphics (DPC,SPQR)
keyval.sty 2014/10/28 v1.15 key=value parser (DPC)
graphics.sty 2017/06/25 v1.2c Standard LaTeX Graphics (DPC,SPQR)
trig.sty 2016/01/03 v1.10 sin cos tan (DPC)
graphics.cfg 2016/06/04 v1.11 sample graphics configuration
pdftex.def 2018/01/08 v1.0l Graphics/color driver for pdftex
pgfsys.sty 2019/02/02 v3.1.1 (3.1.1)
pgfsys.code.tex
pgfsyssoftpath.code.tex 2019/02/02 v3.1.1 (3.1.1)
pgfsysprotocol.code.tex 2019/02/02 v3.1.1 (3.1.1)
xcolor.sty 2016/05/11 v2.12 LaTeX color extensions (UK)
color.cfg 2016/01/02 v1.6 sample color configuration
pgfcore.code.tex
pgfcomp-version-0-65.sty 2019/02/02 v3.1.1 (3.1.1)
pgfcomp-version-1-18.sty 2019/02/02 v3.1.1 (3.1.1)
pgffor.sty 2019/02/02 v3.1.1 (3.1.1)
pgfkeys.sty
pgfkeys.code.tex
pgfmath.sty
pgfmath.code.tex
pgffor.code.tex
tikz.code.tex
expl3.sty 2019-01-28 L3 programming layer (loader)
expl3-code.tex 2019-01-28 L3 programming layer
l3pdfmode.def 2019-01-28 v L3 Experimental driver: PDF mode
l3keys2e.sty 2018-10-17 LaTeX2e option processing using LaTeX3 keys
xparse.sty 2018-10-17 L3 Experimental document command parser
supp-pdf.mkii
epstopdf-base.sty 2016/05/15 v2.6 Base part for package epstopdf
infwarerr.sty 2016/05/16 v1.4 Providing info/warning/error messages (HO)
grfext.sty 2016/05/16 v1.2 Manage graphics extensions (HO)
kvdefinekeys.sty 2016/05/16 v1.4 Define keys (HO)
ltxcmds.sty 2016/05/16 v1.23 LaTeX kernel commands for general use (HO)
kvoptions.sty 2016/05/16 v3.12 Key value format for package options (HO)
kvsetkeys.sty 2016/05/16 v1.17 Key value parser (HO)
etexcmds.sty 2016/05/16 v1.6 Avoid name clashes with e-TeX commands (HO)
ifluatex.sty 2016/05/16 v1.4 Provides the ifluatex switch (HO)
pdftexcmds.sty 2018/09/10 v0.29 Utility functions of pdfTeX for LuaTeX (HO)
ifpdf.sty 2018/09/07 v3.3 Provides the ifpdf switch
epstopdf-sys.cfg 2010/07/13 v1.3 Configuration of (r)epstopdf for TeX Live
***********

\usetikzlibrary{tikzmark,calc}give you? @Sigur No, the libraries are by different authors.tikzmarkis by LoopSpace, and is not documented in thepgfmanualwhereas many other libraries go back to the creators or maintainers of TikZ and are thus tied to the pgfmanual. – Feb 14 '19 at 20:01File: tikzlibrarycalc.code.tex 2019/02/02 v3.1.1 (3.1.1)for calc. – CarLaTeX Feb 14 '19 at 20:08texdoc tikzmarkon my machine gives mev1.6 from 2018/10/18.... what do you get? – Feb 14 '19 at 20:18texdoc? what a radical notion I just looked attikzlibrarytikzmark.code.texin emacs ... – David Carlisle Feb 14 '19 at 20:20texdocgives you the documentation. (I am still not sure I understand the question. We agree that\listfilesdoes not give you the version of any library, do we? This suggests that you may want to resort to other means. Looking at the documentation works, doesn't it?) – Feb 14 '19 at 20:22texdoc tikzmark" is a valid answer to your question (or can't overleaf users access the manual of the current version of the libraries/packages they are using?)? – Feb 14 '19 at 20:26texdoc tikzmark, and if you are using overleaf, quit overleaf and then invoketexdoc tikzmark". ;-) (According to this they are using the 2016 version of TeXLive....) – Feb 14 '19 at 20:28\listfilesor the log file, please do tell me what that should be. – Andrew Stacey Feb 14 '19 at 20:51tikzlibrarytikzmark.code.tex). However, I don't know the right way to provide that information (as it isn't included via\usepackage) hence if someone does know, I'd be grateful and add it to the next release. – Andrew Stacey Feb 14 '19 at 20:55\ProvidesPackagemacro does that. For instance:\ProvidesPackage{tikzmark}[2018-10-20 <version> TikZ mark library]. But it's not loaded by\usepackage, so I guess it should be\ProvidesFile. – Phelype Oleinik Feb 14 '19 at 21:00\ProvidesFileRCS{tikzlibrarycalc.code.tex}in the tikz libraries, and this makes use of stuff defined inpgfrcs.code.texif I am not mistaken. – Feb 14 '19 at 21:03\ProvidesPackageRCSmacro seems to be a wrapper around\ProvidesPackage. I'd try that first. – Phelype Oleinik Feb 14 '19 at 21:17texdocon my terminal. – CarLaTeX May 18 '19 at 07:21