« first day (3542 days earlier)      last day (1374 days later) » 

6:51 AM
Is there a relateed question?
 
8:10 AM
@TorbjørnT. THANKS! Yes, that is exactly what I was looking for. Now I will have to change carefully my document hehe... Thanks!!
 
8:21 AM
I am having some problems regarding the slides. Consider this MWE:
\documentclass{beamer}

\begin{document}

\begin{frame}
Want something
\begin{enumerate}
\setcounter{enumi}{2}
\only<1-4>{
\item<+-> Some text.
\begin{itemize}
\item<+-> More text.
\item<+-> Text.
\item<+-> Last text.
\end{itemize}
}
\setcounter{enumi}{3}
\item<+(1)-> Text
\begin{itemize}
\item<+(1)-> Another text
\item<+(1)-> Text
\begin{itemize}
\item<+(1)-> Some text
\item<+(1)-> More text
\end{itemize}
\end{itemize}
\end{enumerate}

\end{frame}

\end{document}
Before \setcounter{enumi}{3} (i.e. the number 4) everything is OK. However, when I want to display one \item per slide starting from \setcounter{enumi}{3}, it shows a lot of \items together
How can we fix it? What causes this? Thank you!!
BTW the error also appears using a short syntax (please answer with this example):
\documentclass{beamer}

\begin{document}

\begin{frame}
Want something
\begin{enumerate}[<+->]
\setcounter{enumi}{2}
\only<1-4>{
\item Some text.
\begin{itemize}
\item More text.
\item Text.
\item Last text.
\end{itemize}
}
\setcounter{enumi}{3}
\item Text
\begin{itemize}
\item Another text
\item Text
\begin{itemize}
\item Some text
\item More text
\end{itemize}
\end{itemize}
\end{enumerate}

\end{frame}

\end{document}
@JosephWright something I want to say is that your blog is just awesome. It helps a lot! Just saw a typo: here: texdev.net/2014/01/28/the-overlay-syntax-and-pause-in-beamer search for onlside and fix it. Congrats!!
 
8:38 AM
@UlrikeFischer The six related functions have been added.
 
9:01 AM
@MarcelKrüger not at the moment, but it's a great idea to add support...
 
 
2 hours later…
10:51 AM
@MarcelKrüger I will try to test later. The encoding seems to behave now, at least on my pc winedt uses ansi, need to check on the laptop later. But the stream is encoded differently, lualatex writes [<00230048006D0023>] while luametalatex creates a [(...)] with 00 bytes followed by a unicode code point. The creation date is interesting: /CreationDate(D:20200712123727Mitteleuropäische Sommerzeit).
 
11:20 AM
good morning to everyone....
How I can help this user, please?
@Sebastiano please help me I am not able to make it work. I need urgent help — Abhay Patil 9 mins ago
Thank you very much for your contributes. Good lunch.
@manooooh hiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiii 😎😎😎😎😎😎
 
11:37 AM
@manooooh How about this workaround:
\documentclass{beamer}

\begin{document}

\begin{frame}
Want something
\begin{enumerate}[<+->]
\setcounter{enumi}{2}
\item<only@1-4> Some text.
\pause
\begin{itemize}
\item More text.
\item Text.
\item Last text.
\end{itemize}
\setcounter{enumi}{3}
\item Text
\begin{itemize}[<+->]
\item Another text
\item Text
\begin{itemize}
\item Some text
\item More text
\end{itemize}
\end{itemize}
\end{enumerate}

\end{frame}

\end{document}
the \setcounter{enumi}{3} is not really necessary, because the item before is already 3...
However it seems that you only want to show one top-level item at a time, maybe splitting the enumeration into multiple environment might be the easier approach?
\documentclass{beamer}

\begin{document}

\begin{frame}
Want something
\begin{onlyenv}<1-4>
\begin{enumerate}[<+->]
\setcounter{enumi}{2}
\item Some text.
\begin{itemize}
\item More text.
\item Text.
\item Last text.
\end{itemize}
\end{enumerate}
\end{onlyenv}

\begin{onlyenv}<5->
\begin{enumerate}[<+->]
\setcounter{enumi}{3}
\item Text
\begin{itemize}
\item Another text
\item Text
\begin{itemize}
\item Some text
\item More text
\end{itemize}
\end{itemize}
\end{enumerate}
\end{onlyenv}

\end{frame}
 
12:21 PM
@UlrikeFischer The string encoding difference is a design choice to always use (...) strings. IMO that makes UTF-16 strings more readable because at least the latin1 part can still be deciphered and it is a bit smaller.
@UlrikeFischer I am currently debugging the CreationDate issue, it's a bit odd. It is a Windows specific issue where os.date (which should just be a wrapper around strftime) does not correspond to it's specification.
 
@MarcelKrüger hm, currently the editor opens it as ansi, and "blub" shows as "#Hm#" so not really readable. In which encoding do you open the pdf?
 
@UlrikeFischer The strings in the pagestream are not readable because they are glyph ids instead of having any defined encoding, but the same system is used for all engine generated PDF strings.
 
@MarcelKrüger ah right, I misunderstood your comment.
 
cis
1:10 PM
What is actually the difference between 'package' and 'library'?
 
@cis In which context?
 
cis
1:29 PM
@MarcelKrüger I asked myself when it makes sense to outsource functionalities as a library.
Regarding the writing of a package.
 
@cis In LaTeX, I would treat library and package mostly as synonyms. The things we usually call packages in LaTeX would be called a library in most other languages.
@cis The main criteria for deciding if some functionality should become a separate library/package should be if the functionality is in some way logically separate from the remaining code, if there is a clear interface between the different parts and if the potentially separate part is useful on it's own.
 
@cis If you refer to what TikZ/pgfplot/tcolorbox etc. call libraries then it is mostly a package that adds functionality which might not be of large use to others (i.e. other packages or users) but basically an extension of the base package.
 
 
1 hour later…
2:40 PM
@cis core latex has packages but nothing called libraries. are you referring to tikz or lua libraries or something else?
@JosephWright @UlrikeFischer (multiple) makeindex runs supported davidcarlisle.github.io/latexcgi/test#makeindex
 
cis
@MarcelKrüger @TeXnician @DavidCarlisle Ok, so it seems to be essentially a distinction by name.
Approximately: library = package belonging to a main package.
 
@cis you didn't say what "libraries" you had in mind. A Lua Library is a software library that doesn't usually have anything to do with a package. tikz (only) has something called a library that is associated to tikz, so I don't think "library = package belonging to a main package." is even approximately true in general
 
@DavidCarlisle wow, that works very well. Leave this nomencl example online - I never can remember the arguments ;-).
 
@DavidCarlisle You are reinventing arara ;)
 
@TeXnician but better (@PauloCereda:-)
 
cis
2:51 PM
I have certainly leaned on TikZ / pgfplot / tcolorbox or similar.

But I didn't know that the term library essentially appeared there.

I thought that whenever you want to outsource parts of a main package that belong together, that's called a library.
 
@cis no graphics package has outsourced lots of code to files like dvips.def, pdftex.def etc, article.cls has code in size10.clo size11.clo etc, none of these are callled libraries, it is a tikz/pgf specific terminology: \usetikzlibrary{decorations.pat....
 
@UlrikeFischer The Windows date issue is fixed now (or at least worked around).
 
@MarcelKrüger but you didn't push yet didn't you?
 
3:08 PM
@UlrikeFischer Now it's there.
 
3:23 PM
@PauloCereda That would be great. Then a luametalatex rule could invoke luametatex directly and wouldn't need the luametalatex wrapper.
 
@DavidCarlisle they should've been called modules (in pgf they are called modules, I have no idea why TikZ didn't follow suite and called them library).
 
@Skillmonlikestopanswers.xyz Actually, I like it because in ConTeXt it is clear that modules are ConTeXt modules and libraries belong to TikZ :D
(on the user end)
 
3:38 PM
@TeXnician and what about pgfmodules?
 
@Skillmonlikestopanswers.xyz I don't call them from the user end, so I do not need to differentiate them from ConTeXt modules. Tbh, I see your point with the inconsistency and just wanted to point out that I like the user interface for TikZ that way.
 
@TeXnician well, if one is a ConTeXt user, I guess it doesn't bother too much, but I never used ConTeXt, so all I see is the inconsistency... :)
 
@Skillmonlikestopanswers.xyz Actually, in ConTeXt I'm trying to avoid TikZ because Metapost is so much faster, so I really don't care much about it nowadays…
 
@TeXnician and I never used Metapost/MetaFun, too :)
 
@TeXnician we really should hook up that better for lualatex too
 
3:45 PM
@Skillmonlikestopanswers.xyz It does not seem too common nowadays although it has some advantages (its equation solver is nice when doing elementary geometry). There's a German maths magazine I know that uses Metapost since it has been launched: wurzel.org
@DavidCarlisle Yes, this would be great. Although luamplib is already working quite well for most LaTeX needs.
When talking about Metapost: @MarcelKrüger Is your luametalatex able to include metafun-xl/luametafun?
 
4:40 PM
@MarcelKrüger I'm still fighting with chinese so I'm a bit hampered ;-(. In the hex editor I still see the "Sommerzeit" and the adobe reader don't show the dates. \latelua isn't there either right?
 
5:17 PM
@UlrikeFischer I might have forgotten to mention that in the README, but l3build install does nt automatically rebuild the formats, so you might have to rebuild them in order to pickup the changes.
 
@MarcelKrüger I saw this. But which changes need a rebuild? Is the lua in the format?
 
@TeXnician MetaPost works in luametalatex (Especially I was able to run some dynamic glyph generation code there) but it's a bit like LuaMetaTeX in general: Quite some primitives got dropped but the Lua interface got more powerful, so to run existing code you might have to reimplement some stuff in Lua. (Especially the infont primitive is gone)
Specifically about metafun-xl/luametafun (I guess that are the MetaPost macros form lmtx?): They rely on some Lua support code from ConTeXt which is not part of luametalatex (which intentionally avoids using any ConTeXt code), so you have to port it. But theoretically it should be possible.
 
cis
@Skillmonlikestopanswers.xyz

Which representation do you prefer?
 
@MarcelKrüger and what did I do now?? I don't think I changed anything but now it breaks:
LaTeX2e <2020-10-01> pre-release-6 (develop 2020-7-12 branch)
 L3 programming layer <2020-06-18> xparse <2020-03-03>(article.cls
Document Class: article 2020/04/10 v1.4m Standard LaTeX document class
(size10.clo))(test-utf8-meta.aux)(ts1cmr.fd)
! registered function call [65589]: [string "preloaded"]:3564: attempt to index a nil value (local 'file')
stack traceback:
        [string "preloaded"]:3564: in function 'luametalatex-pdf.open'
        [string "preloaded"]:1374: in upvalue 'get_pfile'
        [string "preloaded"]:1400: in function <[string "preloaded"]:1399>.
 
cis
@Skillmonlikestopanswers.xyz Or do you need that with the services of the stroke order tutor? It's completely sausage. All right, please
 
5:24 PM
@UlrikeFischer Everything is in the format except for luametalatex.lua, luametalatex-init.lua and luametalatex-pdf-image-*.lua
 
cis
@Skillmonlikestopanswers.xyz
 
@cis personally I prefer the vertical one, but providing both wouldn't hurt, would it?
 
cis
@Skillmonlikestopanswers.xyz Yes, for my worksheets I need some kind of wide, not high.
 
@UlrikeFischer The message means that the system couldn't open the output file.
 
@MarcelKrüger ah okay, so better rebuild always.
 
cis
5:25 PM
@Skillmonlikestopanswers.xyz But both is provided
 
@MarcelKrüger oh, a new version of "adobe blocked it" ;-)
 
@UlrikeFischer I didn't even add a check there because I thought that that is unlikely to ever happen. I forgot that Windows is a bit special in that regard.
 
@MarcelKrüger windows is a bit special in many regards ;-). The dates look fine now, and I got my editor to behave and to avoid the chinese.
 
@UlrikeFischer Great. I improved the error message when the file can't be opened a bit, especially the OS error string is included in the help text to help with debugging.
 
5:40 PM
@MarcelKrüger what about \latelua?
 
@UlrikeFischer I will add it, wait a few minutes.
 
5:57 PM
@UlrikeFischer \latelua should work now.
 
@UlrikeFischer ^ you should complain about the slow service:-)
 
@JosephWright I have been wondering if the \color_model_new:nnn should directly write the separation object, or this should happen at the first color use. The first is easier, but the second would allow to predefine spotcolors (e.g. pantone) in the same way other colors are predefined.
 
@UlrikeFischer Ah, yes, might be a good idea
 
@JosephWright @UlrikeFischer if you want a break from colour:-) do you think the error lesson is good enough as a first release, if so I'll ask JouleV to translate and merge the existing PR so there would be too full languages in place before tug2020
 
6:15 PM
@DavidCarlisle Looks good to me
 
@JosephWright OK thanks I'll sort it out
 
@DavidCarlisle "edite the document" in the more lesson.
 
@UlrikeFischer thanks
 
@DavidCarlisle -- Would you like another read?
 
@barbarabeeton you could skim it over thanks but there are not many new words, main change since you looked I moved the non-error "end occurred at group level 1" case to the "more" extension lesson
 
6:33 PM
@MarcelKrüger is there something missing to create pdf objects? if I do (with l3pdf) \pdf_object_now:nn{dict}{/A/B} I don't see an object.
 
@UlrikeFischer Fixed.
 
6:52 PM
@DavidCarlisle -- Looking good. A few minor comments/suggestions, Email on the way.
 
@barbarabeeton thanks
 
7:28 PM
@MarcelKrüger Okay, thanks for the info. I guess I'll wait with that ;)
 
8:19 PM
@UlrikeFischer This may happen if you filter the PDF through pdftk before loading it in the text editor. Pdftk removes unused (i. e. nowhere referenced) objects.
 
@MarcelKrüger the objects seems to be there now, but the chinese is back too ;-(. And if I force the encoding I can see some things, but it looks much less nice formatted than the output of e.g. lualatex.
@AlexG That was with a directly generated pdf.
 
8:34 PM
Everyone seen Frank's abstract for TUG2020 :)
 
 
2 hours later…
10:52 PM
@JosephWright Producing tagged PDF at LaTeX level
 

« first day (3542 days earlier)      last day (1374 days later) »