« first day (3396 days earlier)      last day (1520 days later) » 

12:18 AM
@mickep current contact details seem to be here if you want to try... ccny.cuny.edu/profiles/michael-vulis (pretty sure that's the same person)
 
 
1 hour later…
1:40 AM
@mickep -- Micropress "vanished" some years ago; the latest date on their website is 2004, and I don't know of anyone who has been in contact since then. The email address found by @DavidCarlisle is, I'm sure, the same person; a different page at CCNY gives the information that he was involved with VTeX.
 
 
5 hours later…
6:52 AM
@DavidCarlisle @barbarabeeton OK, it is clearly worth a try! Thanks!
 
 
5 hours later…
11:39 AM
@JosephWright After breaking my head a couple of days and reading some LUA and looking at l3build's code I understood what was going on and why my basic example didn't work :(. Here's how it goes:
@JosephWright The files declared in typesetdemofiles = { "example.tex" } and typesetfiles = { "demopkg.dtx" } remain in the variable` (file)` that uses typeset (file), this means that the default behaviour for example.tex and demopkg.dtx is the same, no matter how much you customize typeset_demo_tasks (), the typeset (file) function will recompile example.tex.
@JosephWright Solution (one more trick than anything else), put `if file == "example.tex" then return 0 end` within `typeset (file)`
The problem with this is that it forces me to write the entire `typeset (file)`, but it solves my problem.
@JosephWright Here I have a question (idea), you can add a variable typesetdemoauto = true|false, with default value true (the current behaviour) and false that will remove the files in typesetdemofiles from (file)? or add the variable samplefiles = { ... } that behaves the same as typesetdemofiles and the function `typeset_sample_tasks () to control the execution?
@JosephWright and that the files are not added to (file) of course.
 
@p Ah, right, yes: the demo hook it really for additional things
 
 
2 hours later…
1:32 PM
@PabloGonzálezL Ah, right, I see why you are confused: the hook is really for files that are not listed as all in typesetfiles or typesetdemofile: I'll clarify
 
1:55 PM
 
@PauloCereda -- Oh, that's very beautiful! The amazing tail on the "Q" makes the purpose of kerning quite clear. It is good to know that such resources are now online.
 
@JosephWright But if I remove typesetdemofiles = {"example.tex" }, example.pdf will not be installed locally (l3build install --full --dry-run) and will not be attached to the .zip file :(
 
@PabloGonzálezL Yeah, true: the hook is really for a rather specific case, where the demos are complex but get run into the main docs
@PabloGonzálezL I have a plain to extend typeset(), give me a few minutes
 
2:11 PM
@JosephWright Great, my trick isn't bulletproof either :(
For installation inside /home/pablo/texmf:
- source/latex/demopkg/demopkg.dtx
- source/latex/demopkg/demopkg.ins
- doc/latex/demopkg/demo/example.pdf
- doc/latex/demopkg/demopkg.pdf
- doc/latex/demopkg/demo/example.pdf
- doc/latex/demopkg/CTANREADME.md
- tex/latex/demopkg/demopkg.sty
- doc/latex/demopkg/demo/example.tex
example.pdf listed twice
 
@barbarabeeton indeed!
 
2:29 PM
@PabloGonzálezL New plan: have a specialtypesetting which can have per-file cmd and func entires
 
2:40 PM
@JosephWright Great, that means I can create a function to compile example.tex and it will be included in the list of l3build install --full?
 
3:27 PM
user image
4
Please nobody upvote me anymore :-)
 
@campa but you need to get 100000 to get the comma centred:-)
 
@DavidCarlisle Oh, well, in a few decades I'll get there...
 
@campa a simpler challenge: get a silver badge and 4 bronze ones without getting any more votes
 
 
2 hours later…
5:24 PM
Hello hello! Can someone remind me that site where you draw a mathematical operation, and the site generates the corresponding code?
I've lost it - and it was so useful!
 
@GustavoLouisG.Montańo detexify.kirelabs.org/classify.html for symbols
 
@DavidCarlisle - Yes that's it!! I haven't used this since college; how wonderful. Thanks mate :)
 
@GustavoLouisG.Montańo or mathpix.com/ocr for whole expressions
 
How interesting! Thanks for both links, David
"I have been using LaTeX since 1987"...............incredible
 
@GustavoLouisG.Montańo but I'm not as old as @egreg
 
5:31 PM
Both since 1987 :)?
 
5:48 PM
Hello all. I'm going to try to tackle solving this question myself and it seems like l3regex might do the trick in a hack way by scanning a .bib file for all instance of keyword="$1" and then invoking a command on each $1 (i.e. the capture group).
At the CTAN package repository, the only documentation available seems to be comments in the .dtx file. Is this file readable by TeXDoc? DocTeX? Some obscure command line utility?
The reason I ask is because figuring out what the actual regex syntax is and what's simply formatting for the syntax is a wee bit of a nightmare.
 
@COTO There isn't an l3regex standalone package anymore. l3regex is contained in expl3, so \usepackage{expl3} already loads l3regex. You can see the documentation with texdoc interface3.
 
I'll try that, thanks.
 
6:09 PM
@COTO dtx files are latex documents, but typically you can just use texdoc packagename to get the doc (but l3regex is now documented in interface3 as Phelype says)
 
Just reading through the documentation now. The regex utilities appear to have what I'm looking for, but I'm wondering how well they'll work with commands in pgfkeys. Which is going to be my next problem: figuring out how to build string-valued lists and compute their intersection. But... this is for later. One nightmare at a time. @___@
 
@COTO I don't think I'd use l3regex or pgfkeys for that (and certainly not both of them together) The natural way would be to use a bibtex style that only adds entries that have a specific keyword
 
6:27 PM
@DavidCarlisle: I'm aware that bibtex does that for inserting the references themselves, but I'm looking at it for citations. For example, \citetopic{dogs,cats} would find all bibtex entries that include either "dogs" or "cats" (or both) in their keyword list and then reference these documents. The equivalent list of bibtex keys could be anywhere from 1 to 10 items long.
The idea is that I want to be able to add in new references ex post facto, tag them with specific keywords, and then not have to worry about going through the document hunting for all the \cite commands where the new document should be referenced in existing references.
 
@COTO ah sorry I misread the question, still regex seems the wrong thing as you want exact string matches against a list of strings don't you? rather than regex matching
 
The regex matching is just so I can manually parse the bibtex file and basically turn each match of the string template @book{ (thekey) ..., keyword="(thetopics)" } into an equivalent command \topicsforbibtexkey{(thekey)}{(thetopics)}.
Then the \topicsforbibtexkey would handle splitting the thetopics list into individual topics (a split on the character ; since some topics would include a comma) and for each topic, invoke some command \registerkeyfortopic{(thekey)}{(topic}} which would build a list of keys for each topic.
Finally, the command \citetopic{topic1,topic2} would compute the union of the keyword lists for topics topic1 and topic2, and behave equivalently to a \cite command with this keyword list.
This is the dream, at any rate.
 
6:42 PM
@GustavoLouisG.Montańo Yes.
 
@COTO I think I'd modify the bst file to write the keyword information into the tex file rather than reading the bib file directly
 
@DavidCarlisle: Where can I find the bst file? What is it?
 
@COTO the file you referenced with \bibliographystyle{plain} so plain.bst in your case, which for me is: kpsewhich plain.bst /usr/local/texlive/2019/texmf-dist/bibtex/bst/base/plain.bst
 
Oh wow. OK. LaTeX style files. I get cross-eyed trying to interpret thems. With the time I have, I think I'm just going to write something in node.js that parses the .bib file and spits out a refbytopic.tex file with all the key lists by topic hard-coded.
If I have something like \cite{\topics{a},\topics{b}} that expands to \cite{a,b,a,c}, it won't give me the a reference twice, no? It will treat it like \cite{a,b,c} or some permutation of a, b and c, right?
That way, \topics could be a simple key-value lookup that returns a string. Easy peasy.
I'll have to rerun the application every time I update the .bib file, but no big deal. :)
 
7:28 PM
@COTO should be easy with biblatex, basically a filtered bib with short, citelike entries.
 
@UlrikeFischer: Thanks. I'll look into it.
 
 
1 hour later…
8:43 PM
@PabloGonzálezL Upload off to CTAN
 
9:16 PM
@JosephWright Fantastic...you can give me a "dummy" example for my 'example.pdf' file with the new version of 'l3build'... I'll wait anxiously until tomorrow to try it out :)
 
specialtypesetting = { }
specialtypesetting["example.tex"] = {cmd = "lualatex -interaction=nonstopmode"}
@PabloGonzálezL ^^^
 
@JosephWright Thank you very much... I will adapt my example :)
@JosephWright Note for next time...maybe a couple of "cosmetic" fixes in l3build.1
 
@PabloGonzálezL Probably: I generated that a while ago
 
 
2 hours later…
11:14 PM
@UlrikeFischer I'm thinking about the siunitx/textcomp question: trying some stuff out in the v3 codebase
 
@JosephWright how do want to handle it? As "textcomp is always there"?
@DavidCarlisle could you make bm working with unicode-math if there were a working \mathversion{bold} font?
 

« first day (3396 days earlier)      last day (1520 days later) »