« first day (3773 days earlier)      last day (1143 days later) » 

12:16 AM
Why isn't dark mode available for TeX.SE? I think it would be useful...
 
 
7 hours later…
7:25 AM
@JairoA.delRio because beta tests are only done on the flag ship pages.
 
HI
whic is the max size of a count ?
find
2^31- in absolute
value
 
@Maïeul the maximum assignable to a count register is 2147483647
 
thanks
 
@Maïeul and that is absolute, TeX uses a symmetric range, so the smallest number is -2147483647.
 
yep !
I think it enough
for my need
 
7:38 AM
@Maïeul if not, take a look at the bigintcalc package.
 
I hope noone would have 2147483647 varaints in its text
 
8:06 AM
@Skillmon quack
 
8:45 AM
Humorous unit of measurement: Sheppey (Length).

A measure of distance equal to about 7⁄8 of a mile (1.4 km), defined as the closest distance at which sheep remain picturesque.
@Plergux ^^
 
9:16 AM
@PauloCereda hmmm.... this seems to imply that at a closer distance sheep are not nice to look at >:( :p
 
9:28 AM
@Plergux oh no
 
@PauloCereda But considering it's the name of a place that means "Sheep Island" I'm inclined to overlook it. :p
 
@Plergux ooh
 
10:05 AM
I LOL'ed
 
10:52 AM
@PauloCereda lol. but don't they pride themselves of having "way too much" of feelings? Or is it just the Spaniards who have the "hot-blooded-latino-syndrome"? :p
 
11:19 AM
@PauloCereda /distinct rabbit sound
@barbarabeeton I'm curious, which proposed changes?
 
11:33 AM
@JairoA.delRio There are browser addons and user scripts to make all sites dark mode
 
12:06 PM
@DavidCarlisle Your brilliant typewriter package came up at texnique.fr/osqa/questions/9874/… . Is it possible to only use it for part of a document?
 
@samcarter_waiting_for_summer no, but only because I wrote it as a joke so it redefines everything, eg all the math commands and \hrule as --------- It wouldn't be that hard to stick all the commands of the package inside \def\typewritersetup{.......} and then execute `\typewritersetup in a local group. (The version on github already has several extra features over the one on ctan)
 
@DavidCarlisle The package seems to be incredible popular for a joke :)
 
@samcarter_waiting_for_summer same is true of afterpage
 
@DavidCarlisle Thanks for the hint about the github version!
 
12:31 PM
@samcarter_waiting_for_summer ah just looked at the link you gave the github version specifically has extra facilities to work with other fonts than cmtt so might be just what is needed (it is still a global document change though)
@samcarter_waiting_for_summer oh no the comments make clear a local version is wanted, tough (well you can do the typewriter as a separate pdf then include the pdf)
 
12:52 PM
@samcarter_waiting_for_summer TeX Gyre Schola....
 
@DavidCarlisle Nice!
 
\documentclass{article}

\usepackage{unicode-math}
\setmainfont{TeX Gyre Schola}
\setmathfont{TeX Gyre Schola Math}

\usepackage{graphicx}

\begin{document}

\section{Something}
Some boring text in a normal font. Some boring text in a normal font.
Some boring text in a normal font. Some boring text in a normal font.
Some boring text in a normal font. Some boring text in a normal font.
Some boring text in a normal font. Some boring text in a normal font.
Some boring text in a normal font. Some boring text in a normal font.
\documentclass{standalone}
\setcounter{section}{1}
\usepackage{typewriter}

\begin{document}
\noindent\begin{minipage}{\textwidth}
\section{Something}
Some boring text in a normal font. Some boring text in a normal font.
Some boring text in a normal font. Some boring text in a normal font.
Some boring text in a normal font. Some boring text in a normal font.
Some boring text in a normal font. Some boring text in a normal font.
Some boring text in a normal font. Some boring text in a normal font.
 
Ah, cheating :)
 
@samcarter_waiting_for_summer it would be possible to make a version that could switch as I say but require more re-ordering of the code than I'd want to do today (or ever) to separate out global changes from ones that need to be local, it really messes with the define font callback so by default messes up every font so you'd need to switch that in an out as well and ... so not cheating, working code that may actually answer the requirement:-)
 
@DavidCarlisle :) I left a comment pointing to your solution. Thanks for all the ideas!
 
1:07 PM
@samcarter_waiting_for_summer note if you include the pdf it's not an image in the sense of a screenshot like the above it is still text in the resulting pdf and can be selected as such (although you get every letter twice until @UlrikeFischer tells me how to do the tagging so the over-printing isn't copied)
@JosephWright I have some minutes to post ...
Oh correct that, if I cut and paste from xpdf I only get the text once. The code is smarter than I thought:-)
 
@DavidCarlisle Such clever code! Must have been written by a very clever author!
 
@DavidCarlisle well with adobe I get SSoommeetthhiinnngg, and with sumatra
S S
o o o
m m m m
e e e
@DavidCarlisle so I think you should surround the letter with a bdc mark that sets the char as actual text.
 
In mac preview it works fine and copies each letter only once
 
@DavidCarlisle Yay
 
1:44 PM
@UlrikeFischer how is xpdf managing to copy the letters only once, it's hard to believe they expected the mis-aligned overprinting and auto-correct for that..
 
@DavidCarlisle I don't know. How often does your code print a letter? Is it always the same number or randomly between 1-4?
 
@samcarter_waiting_for_summer Exactement!
@UlrikeFischer always twice as part of a virtual font setup that includes a directlua chunk that adds the random offsets
@UlrikeFischer oh you get 4 maybe it overprints more often I don't remember:-)
 
@DavidCarlisle well looking at the pdf is seems to be constantly two overprints, I have no idea why sumatra got 4 once, but perhaps it was from the next line -- you are stressing the copy&paste heuristic a bit imho. Adobe reads 2 and sometimes drops one, probably when it is too near.
 
@UlrikeFischer so if I add the actual text magic does that survive being included via \includegraphics into another document or does that go the way of links with current opublic drivers?
 
2:00 PM
@DavidCarlisle imho they should survive, but let me test it.
@DavidCarlisle seems to work fine. When I mark a part of the text:
\pdf_bdc:nn{Span}{/ActualText(Some)}
Some\pdf_emc: Some
and include as graphic, the first copy&paste fine: Some SSoommee
 
@UlrikeFischer, @DavidCarlisle Updated xetex.def is in TL'21 :)
@UlrikeFischer, @DavidCarlisle Means of course all of the tests need updating
 
@UlrikeFischer maybe I should do that one day.
@JosephWright that and different luatex and xetex logs....
 
@DavidCarlisle if you do it char by char you naturally get a quite larger pdf ;-)
 
@DavidCarlisle I'm looking now
 
@UlrikeFischer I think it would have to be char by char in this context though, although could make it a package option
 
2:16 PM
@DavidCarlisle you could add a method to obfuscate the text ;-)
 
2:33 PM
@UlrikeFischer or an EU-redact option that redacted one of the over-printed characters
 
@DavidCarlisle ;-)
 
@UlrikeFischer you won't believe this but I found some teh in the first draft of the mail you just got.
 
@DavidCarlisle :)
 
@DavidCarlisle ? I didn't get a mail yet.
 
@UlrikeFischer team list
 
2:42 PM
@DavidCarlisle I'm not getting anything there, the last mail is the one from Chris this morning.
@DavidCarlisle now it is there...
 
3:12 PM
@DavidCarlisle, @UlrikeFischer OK, I think I know what is happening with LuaTeX: one for l3build
 
@JosephWright ?
 
@UlrikeFischer I know why (most) of the failures are happening: I'll put the details in an issue
 
@JosephWright correcting bugs always affects someone's workflow!
 
@JosephWright @UlrikeFischer oh in hyperref the results don't just wrap one further along they seem to have stopped wrapping at all?
 
@DavidCarlisle I only checked in the 2e repo - which tests should I be looking at?
 
3:25 PM
@JosephWright l3build check test1
 
@JosephWright see the diff here:
17 hours ago, by David Carlisle
! (hyperref)             text {\ifnum 1>\c@secnumdepth \else \protect \numberline {\csname thesection\endcsname }\fi Test section}
  (hyperref)             reference {section.5}
  (hyperref)             toclevel {1}
  (hyperref)             type {toc}.
--- 99,106 ----
  Package hyperref Info: Reference (link) `section.6' on input line ....
  Package hyperref Info: bookmark on input line ...:
  (hyperref)             thecounter {1.1}
! (hyperref)             text {\ifnum 1>\c@secnumdepth \else \protect \numberline
 
4:06 PM
Hi friends. I'm new to this chat. Is this used for helping on small problems or is just for general conversations?
 
@Mafsi anything really but if there is much code it's better to use the main site as it's easier to format code there
22
A: Chat's etiquette regarding questions

David CarlisleIt's OK to ask on chat but you should not expect an answer (although you may get one anyway). The Q&A site is designed for asynchronous help, you ask a question and it stays visible and can be answered by anyone at any time that they feel convenient. If you ask in chat then although the archive...

 
@DavidCarlisle Not much code. I'm not a programmer and I tried form 7 am till 1pm to write 2 newcommands that accepts optional arguments. Although I searched on the main site and tried it seems that I miss something
 
@Mafsi classically \newcommand\mycommand[2][zzz]{code with #1 and #2} is used as \mycommand{abc} or equivalently \mycommand[zzz]{abc}
@Mafsi that is the optional argument has to be first and you can only have one. There are alternative definition forms that allow fancier things, so it depends what you need.
 
@DavidCarlisle I saw you on the main site. You make things so simple, but for a humanistic mind is nuclear science :P
 
@Mafsi well it helps to have been using latex for over 30 years
 
4:29 PM
:57196932
\newcommand\marginlabel[1]{\mbox{}\marginpar{\raggedright\hspace{0pt}#1}}
\newcommand{\bnote}[1]{\marginlabel{\small\curs{\textcolor{Crimson}{#1}}}}

This is the orgiginal code
Here is what I tried:
\newcommand{\txtcol}[2][Black]{\textcolor{#1}{#2}}
\newcommand{\marginlabel}[2]{\mbox{}\marginpar{\raggedright\hspace{0pt}#1}}
\newcommand{\Mnote}[1][Black]{\marginlabel{\small\textit{\txtcol{#1}{#2}}}}
So, I want to write my margin note like this:
\Mnote[Crimson]{I/m a margin label}
 
you have defined Mnote with 1 argumnet but you use #1 and #2 so you need [2][Black] for one optional argument defaultuig Black and one mandatory argument
 
@DavidCarlisle yeah I tried to edit the post but is not working twice
 
@Mafsi conversely you have defined \marginlable to take two arguments but only use #1 so whatever is passed as the second argument is discarded
@Mafsi here as in main site it is much more useful to post examples that are complete documents then we could simply run them to debug rather than spotting things by eye
 
\newcommand\Mnote[2][Black]{\mbox{}\marginpar{\raggedright\color{#1}\hspace{0pt}#2}} I guess
 
5:15 PM
@DavidCarlisle Oh, my God! Was so simple... I tried to define them in cascade: color text with 2 arg, then the margin label that gets the optional arg from the previous command...Thanks a lot, @DavidCarlisle!!
 
@JosephWright an actual relevant and meaningful PR, where is the world going to
2
 
6:34 PM
@Skillmon -- Apologies for delay; I had to read through everything since you asked, to see if anyone else answered. No. Okay. The proposal was to change TeX itself to insert a \par-like operation in certain places where it would usually be expected, but isn't automatic. I'm not competent to explain the details, and in fact hope I haven't already misinterpreted things. (My opinion: sounds useful but needs further study by people who really understand how things work now.)
 
6:48 PM
Hark! The Herald Angels Sing: tomorrow is St. David‘s Day!
 
@UlrikeFischer where did I put that purple hat
 
@DavidCarlisle purple hat? I was more expecting something like this:
 
7:11 PM
@DavidCarlisle ooh I need to work on it
@UlrikeFischer ooh
 
@barbarabeeton ok, thank you very much for looking into it, Barbara!
@barbarabeeton and don't worry about the delay, my sister is visiting us, so it's not like I was sitting the whole evening in front of the pc awaiting an answer.
 
@Skillmon ooh sis
 
@Skillmon -- Well, it's approaching midafternoon here, and my other project for today is to get as far along as I can figuring out our taxes, even if not all the needed information has been reported yet. The big question is, will we have to pay, or get a refund. (Or one of each, one federal and the other state. That's what happened last year.) Have a good visit.
 
@barbarabeeton there might be Schokoladenkuchen
 
@PauloCereda -- I've got some chocolate-covered ginger here that I can dip into if I get desperate.
 
7:19 PM
@barbarabeeton ooh that sounds like a great backup plan :)
 
@PauloCereda -- Always!
 
@barbarabeeton don't remind me of taxes. I'll have to do ours as well (though I already know that we'll get much back, I'm not looking forward to it).
@PauloCereda counter-ooh?
 
@Skillmon <3
 
@PauloCereda ooh, a carrot! Here, have one, too: <3
 
@Skillmon ooh
 
7:28 PM
@PauloCereda doing our part to get the counter up.
 
@Skillmon :)
 
@Skillmon -- Soon we'll have to put an "ooh" counter on you.
 
@barbarabeeton ooh no!
 
@barbarabeeton ooh a rabbit counter
@Skillmon <3
 
@PauloCereda counting rabbits is futile, they reproduce too fast.
 
7:30 PM
@PauloCereda -- Trying to count rabbits is a losing effort. They multiply inexplicably fast.
 
@Skillmon Fib-ooh-nacci :)
3
 
@PauloCereda CARROT STORM: <3 <3 <3 <3 <3 <3 <3 <3 <3 <3 <3 <3 <3 <3 <3 <3 <3 <3 <3 <3 <3 <3 <3 <3 <3 <3 <3 <3 <3 <3 <3 <3 <3 <3 <3 <3 <3 <3 <3 <3 <3 <3 <3 <3 <3 <3 <3 <3 <3 <3 <3 <3 <3 <3 <3 <3 <3 <3 <3 <3 <3 <3 <3 <3 <3 <3 <3 <3 <3 <3 <3 <3 <3 <3 <3 <3 <3 <3 <3 <3 <3 <3 <3 <3 <3 <3 <3 <3 <3 <3 <3 <3 <3 <3 <3 <3 <3 <3 <3 <3 <3 <3 <3 <3 <3 <3 <3 <3 <3 <3 <3 <3 <3 <3 <3 <3 <3 <3 <3 <3 <3 <3 <3 <3 <3 <3 <3 <3 <3 <3 <3 <3 <3 <3 <3 <3 <3 <3 <3 <3 <3 <3 <3 <3 <3 <3 <3 <3 <3 <3 <3 <3 <3 <3 <3 <3 <3 <3
2
 
@Skillmon ooh
 
@PauloCereda more like l-ooh-gistic growth.
 
@Skillmon :)
@barbarabeeton :)
 
 
2 hours later…
@DavidCarlisle -- ?? explain, please. I'm certainly not advocating doing away with rabbits.
 
@DavidCarlisle You're mean
 
@CarLaTeX you are confusing me for someone else:
Nov 12 '19 at 8:49, by Paulo Cereda
@CarLaTeX you are mean
 
10:02 PM
@DavidCarlisle oh no
@samcarter_waiting_for_summer kotaku.com/…
 
10:54 PM
@barbarabeeton I have a secret invite:-)
 
11:11 PM
I uploaded a new package ;-)
 
@UlrikeFischer More blame? ;-)
 
@DavidCarlisle -- Gee, I hope you enjoy it.
 
@PhelypeOleinik yes ;-)
 

« first day (3773 days earlier)      last day (1143 days later) »