« first day (5072 days earlier)      last day (77 days later) » 

04:58
@barbarabeeton are you just adding qedhere or tag{qedhere} to empheq or are you talking the normal case without empheq in play?
05:43
@daleif -- I tried several approaches, with and without the \tag \qedhere by itself places the tombstone on the baseline. But with empheq, the \tag approach fails with an error. I didn't find the example I remember that embedded a picture in an equation, and used a different mechanism to force the tombstone to the bottom. I can send you the file I used to test, and you can try it out for yourself. I'm going to sleep now; I'll send it in the morning.
06:24
@daleif One can also argue that the box sitting on the baseline looks more correct. The second one looks a bit arbitrarily placed to me.
cfr
cfr
every time I think I'm done with ifthen, I find somewhere I can't figure out a substitute. what is the safest thing to substitute?
07:23
@cfr Well expl3 can do everything that ifthen can, or if you want classical catcodes then etoolbox covers a lot
cfr
cfr
07:48
@JosephWright I wanted to replace \ifthenelse{\equal{}{}}{}{} but I can't figure out an equivalent.
(I meant to write \ifthenelse rather than just ifthen above.)
from fancyhdr.pdf:
@mickep I don't agree when the equation has a larger depth, then it looks awkward
cfr
cfr
\newcommand{\mymarks}{
\ifthenelse{\equal{\leftmark}{\rightmark}}
{\rightmark} % if equal
{\rightmark--\leftmark}}
@cfr Well that's \tl_if_eq:NNTF, although most of the time string comparisons are more useful
@cfr Well that's \tl_if_eq:NNTF, although most of the time string comparisons are more useful
@barbarabeeton I'm not sure empheq has tag support. Remember that internally it uses aligned and friends and then build eq no's separately.
@daleif OK, we then disagree. Let me just add: Placing the tombstone all the way down is to me a bit like placing an equation label in the middle between the two lines of a two-line formula.
08:05
@mickep Which a lot of people do.
@daleif Yes, and here a lot of people walk against red light... :)
@daleif the second one looks very low to me
@DavidCarlisle Oh no, shall we be on the same side, then there is no way to tease you...
@mickep I'm sure you will find a way
08:56
To me the first look horrible, and placing it like proof from amsthm seems such a waste of space. I'd like to give the users the ability to choose.
09:09
@daleif well you have only a sum in your example where it is difficult to see the baseline, if you put some text after it, it looks better with the box on the line. But if one additionally put a box around the equation then the lower box looks better. So imho it depends on the content of the equation and there should be a choice.
09:37
@daleif as Ulrike says in any real case you have stuff after the summation and putting the box on the last baseline rather than on a line on its own seems more normal. Your second version has the box floating (or perhaps better sinking) weirdly disjointed from the expression
 
5 hours later…
14:15
@UlrikeFischer one could imagine qedhere=baseline and qedhere=bottom options.
14:43
@daleif or an optional shift parameter (like amsmath \raisetag)
15:07
@DavidCarlisle which annoyingly only works if amsmath have moved the tag. Wiuld be nice if that limitation was removed. I do not remember why we wanted to manually move it (perhaps it was a \tag*{\qedhere} situation and \raisetag did nothing at all.
In German a Reisetag would be a day of travelling.
15:23
@DavidCarlisle @UlrikeFischer \l_tmpa_tl :D
\DocumentMetadata{lang=en-US, pdfversion=2.0, testphase={phase-III,math,table,title,firstaid}, uncompress}
\documentclass{article}
\ExplSyntaxOn
\tl_show:N \l_tmpa_tl % > \l_tmpa_tl={Span}{pdf}.
\ExplSyntaxOff
\begin{document}
Duck :D
\end{document}
@Skillmon one day we will teach you about spaces
@PabloGonzálezL yes, what is the question?
@DavidCarlisle Well it only took half an hour with a small test using tl_put without understanding what was going on...l_tmpa_tl is always supposed to be clean.
@daleif it works if amsmath has positioned it (not for example for \[ or \begin{equation}
@PabloGonzálezL no it's always supposed to be unreliable and possibly used by some other package
@PabloGonzálezL there is no reason to use the scratch macros in your own code unless you are trying to stay with emtex's upper limit of csnames
@DavidCarlisle I use it in small tests and then replace it with the relevant variables.
@PabloGonzálezL ok but you can't assume any initial value
15:39
@DavidCarlisle Yes, but here it's cheating ...I didn't expect tagPDF to have it busy :(
@PabloGonzálezL that is user error on your part then, even though, being tagpdf, you may be tempted to blame @UlrikeFischer
@DavidCarlisle Not to confuse with a Reistag, which would be a day on which we eat rice.
@Skillmon what about days where you eat rice while travelling, I hope you dont tell me you give up and start adding spaces?
@DavidCarlisle that would be a Reisereistag, not to confuse with a Reisreisetag which would be a day on which we travel for rice.
@Skillmon all sounds reasonable, and not a single spurious \relax added at the start.
15:43
@DavidCarlisle Me parece una excelente idea :)
Oh, and also you must not confuse a Reisetag with a Tagesreise, the former is one day of a travel that might be longer, the latter is a travel that takes a day (or less).
@DavidCarlisle well, we didn't need to collect any rice since we brought it with us, so there was no spurious \relax to be grabbed. (?)
@Skillmon fortunately you didn't need a table
@DavidCarlisle hm, must be a leftover from some test. I need to check that.
@UlrikeFischer yes but even then it's a "be nice to @PabloGonzálezL" not "bug fix"
@DavidCarlisle well we claim that the kernel doesn't use them, and tagpdf is starting to be "kernel".
15:57
@UlrikeFischer yes but that's in interface3 so means l3kernel anything that happens after that is fair game
cfr
cfr
@JosephWright but it doesn't give me the same result.
 }
 \cs_new_nopar:Nn \__cfrlm_doc_lreq:
 {
-    \ifthenelse { \equal { \firstleftmark } { \firstrightmark } } {} { \firstrightmark }
+  \tl_if_eq:NNTF \firstleftmark \firstrightmark {} {\firstrightmark }
+    %^^A \ifthenelse { \equal { \firstleftmark } { \firstrightmark } } {} { \firstrightmark }
 }
 \fancyhf[rh]
 {
@cfr you want ee or VV not NN to expand the marks (probably)
@cfr ifthenelse does a test after a \protected@edef so you would need to locally set \protect to \noexpand (or not support it) then use e expansion to get the same test
cfr
cfr
@DavidCarlisle with ee I definitely get an error. I'll try VV
@cfr a MWE would help but ee should be OK as long as \let\protect\noexpand
cfr
cfr
@DavidCarlisle gives a different wrong result. I'll try to make a smaller example.
16:22
@cfr you can naturally do a \protected@edef first, but why is that needed? if they are different a simple \tl_if_eq:NNTF should be ok?
cfr
cfr
17:03
@UlrikeFischer it gives the wrong result.
@Skillmon Don't forget to bring you box of Reisreisetagesreis (which you can buy at a specialised Reisreisetagesreisgeschäft hopefully for a reasonable Reisreisetagesreispreis)!
@JasperHabicht Oh, German humor!
@mickep =) Right, I hear nobody laughing, so it was an excellent German joke.
@JasperHabicht Oh, another one.
17:44
@mickep :o)
cfr
cfr
% \iffalse
%<*driver>
\documentclass[10pt,british]{ltxdoc}
\EnableCrossrefs
\CodelineIndex
\RecordChanges
\usepackage{babel}
\usepackage{extramarks,fancyhdr}
\usepackage{ifthen}
\usepackage[a4paper,headheight=14pt,marginparwidth=45mm,hmarginratio=4:1,vscale=.8,hscale=.7,verbose]{geometry}
\usepackage{kantlipsum}
\ExplSyntaxOn
\pagestyle{fancy}
\fancyhf{}
\renewcommand \sectionmark[1]{\markboth{\thesection{} ~ #1}{}}
\renewcommand \subsectionmark[1]{\markright{\arabic{subsection} ~ #1}}
\fancyhf[lh] {
@JasperHabicht I heard they have a special offer on Thursdays, it's called the Reisreisetagesreistagespreis.
2
cfr
cfr
@DavidCarlisle ^^
in this version the header at the top of page 3 is wrong. in other variations, the header in the index (the last page in this case) is wrong. or I can generate errors instead of erroneous output.
@Skillmon why doesn't de hold the records for longest place names? it seems an odd achievement to overlook given the linguistic features available.
@UlrikeFischer natural to you ....
@Skillmon Nice!
@cfr Because there's no reason to be this precise when it comes to city names. Most of them are historic names, and the people in the past were not likely to say a name for 2 minutes straight. There are composite words as names for places, but those usually are only made using two nouns or maybe three (e.g. Schweinfurt means "pig's ford", or names ending in "-hausen" which basically means place where someone lived). Some places have long names, but still in the reasonable range.
17:58
@cfr Well, of course we Germans could easily have the longest place names, but we are also known to be efficient, and this would just not be efficient ... no, we are just lazy and try to avoid too long place names I think =)
2
It seems that Hellschen-Heringsand-Unterschaar is the municipality with the longest name in Germany. And one of only two municipalities with two hyphens.
cfr
cfr
@JasperHabicht which really doesn't stand a chance in international competition.
18:14
@cfr Certainly not! It is truly embarassingly short!
cfr
cfr
@Skillmon obviously you have to name very small places with very long names. that way, you get your records while inconveniencing as few people as possible.
@cfr Well I live in a town with less than 2000 residents with the lovely name Waldeck (forst corner). I don't want it to be renamed.
@JasperHabicht I always liked the name Weil der Stadt (birthplace of Johannes Kepler) roughly translated as "Well, the city" but in German the word "Weil" is nowadays understood as "because", so it's "because the city".
cfr
cfr
@Skillmon well, no, I wouldn't want to live with such a name, though you can always shorten it for official purposes and keep the long version for the tourists :-).
@Skillmon Yes, indeed a strange name
@cfr But in Germany, you are doomed anyways, because it is very likely that you visited some school named Annette-von-Droste-Hülshoff-Gesamtschule and you need to state that in every CV throughout your lifetime ...
18:25
@cfr Such signs normally have only two poles, I assume?
cfr
cfr
@JasperHabicht :-)
@JasperHabicht they're often attached to the wall, but otherwise, yes. they also don't typically include pronunciation hints for eng speakers. (regardless of how much such hints may be needed.)
@cfr Well, with 4 L in a row, a pronunciation hint is surely a good idea ...
cfr
cfr
weird the signs below are monoglot english.
@cfr Maybe they did not find paper that is large enough
cfr
cfr
@JasperHabicht that's only 2 letters. 'll` is a single letter.
18:31
@cfr I see
cfr
cfr
@JasperHabicht :-)
@JasperHabicht we have lots of them. I guess like 'ss'? but there are no single glyphs to represent them. so we have fewer glyphs but more letters in the alphabet. makes for efficiency in font design.
@cfr you also have the cunning habbit of changing the spelling of the town depending on the context, just to make sure tourists stay lost
cfr
cfr
@JasperHabicht 'll' is the most notorious letter in Welsh ;).
@cfr hm, in Germany no one (I know) would call double consonants a single letter.
(at least not when speaking about the German language and its orthography)
@cfr Yeah, well, sometimes ch is also considered one letter, or even sch, but they are also not single-glyph letters. But in Fraktur, ch and ck where represented as obligatory ligatures
Right, nowadays we would not say that ch is just one letter. It is a bit different
cfr
cfr
18:37
@DavidCarlisle naturally. 'to Llanfairpwll PG' -> 'i Lanfairpwll PG'. but Cardiff if more interesting. 'i Gaerdydd', 'yng Nghaerdydd', 'Casnewydd a Chaerdydd'.
@JasperHabicht 'ch' is another single letter. so 'ch' is sorted after all the 'c's and has its own section in a dictionary.
@cfr In German, you would not do that. China comes before Cider.
cfr
cfr
I don't think we have threes, though. but 'c' mutates to 'ngh' in some contexts. but only 'ng' is considered a single letter. (and it is a weird single letter which never starts an unmutated word.)
@JasperHabicht I didn't think so. but, yes, 'chi' comes after 'cyn', 'llawer' comes after 'lolipop' and so on. pre e-dictionaries, it made look-in-the-dictionary ... interesting.
@JasperHabicht interesting. that makes sense of why those letters tend to get ligatures, maybe. (or maybe not.)
@cfr that happened also in Spain's Spanish, where ch and ll where considered single letter. A relatively recent (no idea when) normalization removed that, though. I've seen (at my in-laws home) some dictionary with the traditional order. Messy, especially when the thing happened midword ;-)
@cfr In German, there are two ways to sort ä, ö and ü: ä = a or ä = ae, which is also a bit strange sometimes as you never really know which sorting rules are applicable
cfr
cfr
@DavidCarlisle we also change the name of England. and use names involving the 'll' for both you country and capital. whereas we're very nice to the scots: easy name with no mutations ever. (but admittedly it's often 'the Scotland' and the word for 'the' changes a little tiny bit now and again.)
18:52
@cfr well, German also has a ss ligature which actually sticked, it looks like this: ß
@JasperHabicht I'd personally go the ae route though. I think it's more clear.
cfr
cfr
@JasperHabicht aaah. we're consistent at least. that seems like a way to confuse yourselves as well as @DavidCarlisle.
@cfr So you use Edinburgh for instance? Or only the name of the country?
@Skillmon hmmm... A phonetically ordered dictionary for English would be... Interesting. 😉
@Rmano bear and beard are far away from each other! :D
Or lead and lead
cfr
cfr
@Skillmon well, no. and we don't use 'Scotland' but 'yr Alban'.
18:55
@cfr ooh, so Scotland is basically the same as Albania?
cfr
cfr
@Skillmon that's what I meant earlier, only I don't know how to type it.
@Skillmon 😂
@cfr well, it's right on my keyboard, so just come over and hit on that one.
cfr
cfr
@Skillmon apparently 'Albania' is 'Albania'. who would've guessed?
@cfr please pretty please tell me that the ending "-ia" is a belittlement or something in Welsh!
cfr
cfr
18:57
@Skillmon :-) I can't type pound signs either. I render them in latex and copy-paste.
@cfr Ha! That's the way to go!
cfr
cfr
@Skillmon not that I know of. sorry.
@cfr that's the way I produce the visible space glyph thingy. I open LaTeX and enter \verb*| | and copy over the symbol :)
@cfr more seriously: Have you tried the compose button?
@cfr at least on my machine ♫ss yields ß (even though I could type it directly)
cfr
cfr
@Skillmon well caps-lock is compose, but I don't know what combination I'd need for a pound sign. € is fine. which probably means I'll be executed for treason or something these days.
ß
@cfr I meant the "ß" problem
Pounds should be ♫-l for me (that's compose+hyphen+L)
cfr
cfr
19:01
@Skillmon I realise :-). and thanks. though I do need pound signs slightly more often.
@cfr see above :)
cfr
cfr
£
@cfr they are never equal
cfr
cfr
@Skillmon diolch yn fawr!! is there a list somewhere? I just guess.
@DavidCarlisle \ifthenelse says otherwise.
@cfr I get
> left:1{} one.
> right:\foreignlanguage {british}{\bbl@restore@actives 1 a}.
> left:3{} three.
> right:.
> left:5{} Implementation.
> right:.
19:03
@cfr a quick google search yields unix.stackexchange.com/questions/248017/…
from
\cs_new_nopar:Nn \__cfrlm_doc_lreq: {
  \group_begin:
\let\protect\noexpand
  \tl_show:e{left: \firstleftmark}
  \tl_show:e{right: \firstrightmark}
\tl_if_eq:eeTF { \firstleftmark } { \firstrightmark } {} {\firstrightmark }
@cfr ^^
which ones would you expect to be equal?
cfr
cfr
@DavidCarlisle they are equal in the change history and index. \ifthenelse gets that right. but I can't figure out an expl3 alternative which gives me the right answer in the index and the main document.
@cfr which are equal, the values shown all look different, so I don't know which you expect to test equal
cfr
cfr
@DavidCarlisle on the last page you should get 'Index : : Index' i.e. the middle is blank because the marks are both 'Index' (at least once expanded).
@cfr oh do I need to run makeindex etc to actually build an index (I just ran pdftlatex a couple of times and tested the marks, as above)
@cfr so my last page is 5 implementation
cfr
cfr
19:09
@DavidCarlisle I ran makeindex and the glossary thing. that's why my so-called minimal example contains so many \DescribeMacros I needed the index to run to a second page.
@DavidCarlisle should be 6.
@cfr let me try again aafte makeindes (using is gind.ist I assume)
> left:Index.
> right:Index.
cfr
cfr
@DavidCarlisle makeindex -s gind.ist ... ; makeindex -s gglo.ist -o <file>.gls <file>.glo.
@DavidCarlisle exactly.
@cfr yes that's what I get
cfr
cfr
so I can get the correct result before the index, but am stuck with three rather than two 'Index'. or I can get just two 'Index', but the result before that is wrong. but I can't get the right result in both places without \ifthenelse.
cfr
cfr
19:16
@DavidCarlisle yes. that's what I get with the mwe. but the header on page 3 is wrong. I can change the code so the header on 3 is correct, but then I get an extra 'Index'. or I can use \ifthenelse and I get both the right header on 3 and only two 'Index'.
that is, the header on 3 should be 1 one : 1 a : 2 two and not 1 one : british1 a : 2 two. does that make sense?
@cfr untested but you can probably do \protected@edef\blubA{\firstleftmark}\protected@edef\blubB{\firstrightmark} and then compare \blubA and \blubB (assuming that ifthenelse does this expansion)..
@cfr but perhaps it would be better not to use extramarks but the new marks code.
@cfr hm, my quick google tells me it depends on the used desktop environment which compose combinations are available. Though I think your keyboard layout might have additional impact. So the definitive list is hard to find.
cfr
cfr
@UlrikeFischer I would love to use the new marks code but it doesn't work with ltxdoc. it works beautifully until you get to the multicol bit, but then it is ... interesting.
@cfr I get the same vaues with ifthen an tl_e
@cfr I used
\cs_new_nopar:Nn \__cfrlm_doc_lreq: {
  \group_begin:
\let\protect\noexpand
%  \tl_show:e{left: \firstleftmark}
%  \tl_show:e{right: \firstrightmark}
[\tl_if_eq:eeTF { \firstleftmark } { \firstrightmark } {tl-no} {tl-yes-\firstrightmark }]
\group_end:
[\ifthenelse { \equal { \firstleftmark } { \firstrightmark } } {ifthen-no} {ifthen-yes-\firstrightmark }]
}
Then all the pages that use that header show the same branch for tl_if_eq and ifthenelse
cfr
cfr
@DavidCarlisle I definitely don't get the same.
@DavidCarlisle let me try that
(but it should be the same?)
19:26
@cfr only the last page Index has marks that test equal and they test equal with expl3 and iftenelse
cfr
cfr
@DavidCarlisle yes, but the mark comes out incorrectly on page 3. I get e.g. 1 one : [tl-yes-british1 a][ifthen-yes-1 a] : 2 two at the top of 3. i.e. expl3 gives me british1 a. ifthenelse gives me 1 a.
@DavidCarlisle i included the index because I can solve the header problem on 3 in isolation, but in doing so I get the wrong result in the index.
it's the same branch, but something is different about how it comes out.
@cfr but you only use it in the test (and you get not-equal with either test) I typeset it for debugging but using either test the test is not-equal so you use \firstrightmark ohhh I see
You probably want [\tl_if_eq:eeTF { \firstleftmark } { \firstrightmark } {tl-no} {\let\protect\relax tl-yes-\firstrightmark }] so that you restore \protect for typesetting and just have it \noexpand for the test
so without the debugging \tl_if_eq:eeTF { \firstleftmark } { \firstrightmark } {} {\let\protect\relax \firstrightmark }
@cfr or move the \group_end: inside both branches of the test (which is what ifthenelse does)
@cfr vvv
\group_begin:
\let\protect\noexpand
\tl_if_eq:eeTF { \firstleftmark } { \firstrightmark }
{\group_end:} {\group_end: \firstrightmark }
cfr
cfr
@DavidCarlisle diolch!!
[might be ddiolch!! in some contexts.
19:42
@cfr beio pwy bynnag a ddywedodd wrthych am ailddiffinio amddiffyn
cfr
cfr
@DavidCarlisle I can guess what you intended to say if I put it back through google translate.
cfr
cfr
20:00
@UlrikeFischer this also works now I remembered I removed \makeatletter when minimising the example. diolch!
@cfr I am sure my Welsh was perfect, if you needed to use google translate to help you read it, I can't help with that, sorry. @PauloCereda has a similar problem with Portuguese as I recall.
@cfr tuttle.github.io/python-useful/compose-key-cheat-sheet.html this is quite good, it groups similar things
A pity there's no compose on the tablet... :-(
20:32
@Rmano but it looks quite incomplete.
20:43
@JosephWright was there a recent-ish change in l3doc regarding \marg? For me it changes fonts in one of my documentations. I have some code to turn \meta into always using \ttfamily, but somehow \marg uses \rmfamily now.
Hm, looks like it used to use a nested \meta but was changed to use \__codedoc_meta:n instead.
cfr
cfr
@Rmano diolch. it does look a bit incomplete. and I think @Skillmon said it varies. one very annoying thing about my keyboard is that the key I need for € can't also be used for compose. not that I particularly miss caps lock most of the time.
@cfr hm, on my layout Compose is activated with Mod3+Tab (and Mod3 is what you'd call the CapsLock key)
cfr
cfr
@Skillmon I changed caps lock to work as compose. configuring keyboards in linux seems to be something of a dark art. since none of the layout keyboard types have ever corresponded to any actual keyboard I've owned, it always seems somewhat random. and kde always claims not to recognise settings x11 accepts, but then overwrites the rest anyway. and also my mouse, touchpad and pointer-thing settings. kde is just determined to fight about everything.
20:59
@cfr yes, I tried to setup Neo (an optimised German setup) on my wife's laptop using KDE. It worked reasonably well, but the keyboard shortcuts were somewhat messed up (they are hardcoded to physical buttons in KDE, so whichever default keyboard layout I specify wins, and now locking is on Super+E because that's where the L is in Neo).
cfr
cfr
@Skillmon capslock + tap makes a sound, takes me up the transcript and then starts tabbing through, I guess, all the clickable items.
@cfr And I don't mangle with the layout myself, I just let the Neo community do their splendid job (though there are some applications which don't like the entire range of the layout, most notably the menus of my WM don't accept layer 4 and 6)
@cfr well, that's Neo doing its magic for me :)
cfr
cfr
@Skillmon you have to install the kcm module and change the kde settings to match the config settings for x. however, if kde's kcm doesn't offer the settings you want, things get interesting (and sometimes kde doesn't seem to recognise its own settings either). so for pointing devices I have a shell script which runs to override kde at key points or on demand.
@cfr also for the composition maps: You can take a look whether ~/.XCompose exists. If it does you can look up available compose sequences there.
cfr
cfr
@Skillmon no such file, sadly. :(
 
2 hours later…
23:02
@Rmano "A as is Aisle; G as in Gnome; H as in Hour; K as in Knife; P as in Pterodactyl" I see no problems with a dictionary being in phonetic order :-)

« first day (5072 days earlier)      last day (77 days later) »