« first day (2849 days earlier)      last day (2082 days later) » 

6:02 AM
Who wants mate
 
 
4 hours later…
10:01 AM
@DavidCarlisle ooh
 
@PauloCereda That was predictable :)
@PauloCereda How are you enjoying your vast amount of free time?
 
@TeXnician ooh
@TeXnician not that much. :)
 
@PauloCereda Beware of incoming emails :)
 
@TeXnician I know! Expect one or two today. :)
 
@PauloCereda Ooh ;)
 
10:13 AM
@TeXnician ooh
 
10:57 AM
@PauloCereda 5159. A long way to go before you hit ω.
 
@HaraldHanche-Olsen ooh a challenge
 
 
2 hours later…
12:43 PM
Hi, is there a TeX-engine with a primitive for neutralizing \uppercase/\lowercase?
This might make life much easier, e.g., when with book.cls and hyperref.sty and
\pagestyle{headings} trying something like \appendix...\chapter{Remarks to chapter \protect\ref*{SoMe_LaBeL}}.
(In the page-headers things get uppercased via the \uppercase-primitive. Thus an attempt
takes place at referencing SOME_LABEL which in turn yields ?? and a message about
undefined references... Something like \chapter{Remarks to \nocasechange{\protect\ref*{SoMe_LaBeL}}} would be nice.) I know the \NoCaseChange-macro fro
 
@UlrichDiez No: the primitives just work 'the way they do'
@UlrichDiez I take it you've seen the expandable case-changer in expl3, where some macro arguments are automatically skipped?
\documentclass{article}
\usepackage{expl3}
\ExplSyntaxOn
\cs_new_eq:NN \MakeTextUpperCase \tl_upper_case:n
\ExplSyntaxOff
\begin{document}

\section{Foo}
\label{SoMe_LaBeL}
\MakeTextUpperCase{Remarks to some place \ref{SoMe_LaBeL}}

\end{document}
@UlrichDiez I guess we (team) should look to make sure raw \uppercase doesn't pop up anywhere it shouldn't (@DavidCarlisle): could you give an example (I'm surprised any exist in the core code)
 
I know that \lowercase and \uppercase work the way they do. My hope was that there is an engine with an additional primitive. To be honest: I don't do much with expl3. That's so much code to study... :-)
Besides this I got a bunch of old documents using book-class where \MakeTextUpperCase is not used for uppercasing page-headings... \MakeUppercase is used. That does nest the unexpandable \uppercase and the argument in \protected@edef... Now I got it: \let\MakeUppercase=\MakeTextUpperCase, \let\MakeLowercase=\MakeTextLowercase... Many thanks.
 
@UlrichDiez For expl3, it depends of course if you are happy to use the package or you want to reimplement yourself :)
@UlrichDiez Sounds like a plan: I suspect like many things, if we'd had the tokens in 1994 the more complex code would be used 'out of the box' anyway (@DavidCarlisle)
 
12:59 PM
It happens from time to time that I spend time on reinventing the wheel, not knowing that expl3 already has the wheel in question. ;-)
 
1:36 PM
Using \MakeTextUpperCase/\NoCaseChange on referencing-commands that also deliver textual phrases yields these phrases non-uppercased:

\documentclass{article}
\usepackage{hyperref}
\usepackage{expl3}
\ExplSyntaxOn
\cs_new_eq:NN \MakeTextUpperCase \tl_upper_case:n
\cs_new:Npn \NoChangeCase #1 {#1}
\tl_put_right:Nn \l_tl_case_change_exclude_tl { \nameref }
\tl_put_right:Nn \l_tl_case_change_exclude_tl { \NoChangeCase }
\ExplSyntaxOff

\begin{document}

\section{bar}
\label{SoMe_LaBeL}

\section{Foo}
 
@UlrichDiez That's tricky to the point of almost-impossible, at least until/unless those commands are implemented expandably (the whole question of how one deals with the 'textual result' of non-expandable commands is a big worry within the team)
@UlrichDiez To be honest, I suspect that a non-expandable approach at the document level is likely best: one can then set a flag for such commands to 'tell' them which case to select.
@UlrichDiez The expandable approach was driven by the fact it is natural to expect to do the equivalent of \edef\foo{\MagicUppercase{stuff}} and get STUFF stored: lots of other languages work more-or-less that way (but of course would have \nameref-equivalent return some text)
@UlrichDiez The case changing code is experimental for a reason: there are open questions. This is a good one :)
 
Does anyone know an easy way to crossreference dates across documents?
I suppose the date is just the value of the \date macro?
 
@UlrichDiez You should talk to Chris Rowley about what 'text' is :) Here, the issue is that the hyperlink part isn't text, or at least that's how it feels to me
 
1:52 PM
Maybe the xr package.
 
@JosephWright and here again we are at the point where uppercasing should be better done through font changes ;-)
 
@UlrikeFischer Of course :)
@UlrikeFischer Still wouldn't be expandable ... I think at least for programmatic strings, that is important
@UlrikeFischer I wonder how easy the context-dependent stuff would be to do that way (terminal sigma, for example)
@UlrikeFischer, @UlrichDiez This is as I say a tricky area, and one that probably needs more thought. At TUG2018 the team were thinking about which data structures need expl3 interfaces, and that should lead to some work on cross-references ...
 
@JosephWright Hm. I don't know if pdflatex can build ligatures with "word boundary". With lualatex it should be not a problem.
@JosephWright Yes, but uppercasing programmic strings is imho quite different to uppercasing text output.
 
@UlrikeFischer Sure: I was mainly trying to get at the fact that it's rather complicated
@UlrikeFischer Yes: it's much easier :)
 
2:44 PM
... even without hyperlinks this expansion-thingie turns out to be confusing... ;-)

\documentclass{article}
\usepackage{nameref}
\usepackage{refcount}
\usepackage{expl3}
\ExplSyntaxOn
\cs_new_eq:NN \MakeTextUpperCase \tl_upper_case:n
\tl_put_right:Nn \l_tl_case_change_exclude_tl { \nameref }
\ExplSyntaxOff

\AtBeginDocument{%<-this is so nice...
\newcommand\mynameref{}%
\let\mynameref=\nameref
}%


\parindent=0pt

\begin{document}

\section{title in lowercase}
\label{lowercaselabel}

01 -- \MakeTextUpperCase{Remarks to \mynameref{lowercaselabel}}
 
3:10 PM
Perhaps instead of preventing the carrying-out of referencing-commands and preventing the change to uppercase/lowercase of referencing-commands' arguments within \tl_upper_case:n / \tl_lower_case:n, referencing-commands and the like can be redefined within \tl_upper_case:n / \tl_lower_case:n to do all expansion-work possible (gathering textual phrases or questionmarks) before reaching a level where things are done in protected fashion. Could, e.g., look like this:

\documentclass{article}
\usepackage{hyperref}
 
@PhelypeOleinik now I am (for a while)
 
3:44 PM
@UlrichDiez you don't have to use \let the package has an option to overload teh standard \Make... commands.
 
4:32 PM
@UlrichDiez That sort of approach has occurred to me: it's a question of agreeing on what commands 'know' about what
@UlrichDiez At the moment, the stuff in expl3 is experimental and not really tied to what is a pretty special case (I'd I guess favour having 'pure text' passed ...)
 
4:44 PM
@manooooh I do have a guampa and really like my yerba now and then! :)
@DavidCarlisle how dare you recommend the obsolete example-image ? :)
 
5:04 PM
@Skillmon ohhh nice! :) I never taste mate with a guampa! I think those look a lot like
 
 
1 hour later…
6:30 PM
@DavidCarlisle Thank you for pointing this out. Stupid me - I should have read the manual more carefully... :-(
 
@UlrichDiez Oh never read the manuals, that's cheating, I only knew because I wrote it, not because I'd read a manual:-)
 
6:58 PM
@DavidCarlisle I know. :-) By the way: The situation is even worse with me: Often I do not only read the manual but the commented sources/sections about implementation as well. But today I run out of coffee, thus I'm sort too restless to fall into the state of coding-trance necessary for comprehending all these things... :-)
 
7:23 PM
@FaheemMitha

It is not clear to me what you mean by "crossreference dates across documents".

Within LaTeX you can use \label and \ref/\pageref/\nameref/\autoref/\hyperref etc for
cross-referencing within a document.

Do you wish to access a label from another document?

If so, the packages XR and XR-hyper can indeed be the right tools of choice...

-----------------------------

The macro \date takes an argument and defines the macro \@date to expand to that argument.

The macro \maketitle in turn, which with standard documentclasses like article, report and book,
 
7:40 PM
Here‘s a Football-palindrome. My husband claims that his team allowed their opponents (admittedly only a 5th division side they met in the first round of the FA Cup) to score in the 90th minute to make sure of that.
 
@UlrichDiez I just want to reference the date of another document. So, if letter1 has date, set to say August 1st 2018, then I want to reference that date in letter2 without having to manually write the date. And of course that should automatically change if I change the date in letter2, though I suppose that might force a recompile of letter1 or something.
I think the xr package handles similar things, but I've not tried anything exactly like that.
 
@UlrikeFischer :)
@FaheemMitha But that needs the date in each doc to be stored programmatically: most of the time it's just typed in or dynamic (\today)
 
7:59 PM
@manooooh I got one as a gift from an exchange pupil of my sister.
 
@JosephWright Can you expand on what you mean by "stored programmatically"?
 
@FaheemMitha You need some structure that can be picked up on. The xr package uses data in the .aux file, from \label and such like. But dates aren't stored like that: they don't get written anywhere. So you'd need some 'predictable' data store.
 
@JosephWright I see. Bottom line - the date would need to be saved to aux?
So not so trivial, then.
Actually, once there was a discussion about copying bits of text across documents. That could work here, I guess.
 
@FaheemMitha easiest thing is to have a file doc1-date.tex that just has the text of the date and \input it into both documents
 
@DavidCarlisle Would it need to have a tex suffix?
 
8:09 PM
@FaheemMitha not if you don't want
 
@DavidCarlisle Ok.
 
8:32 PM
@Skillmon that pupil was from South America?
 
@manooooh of course :) She is from Paraguay.
 
@Skillmon excellent! In Paraguay the tereré predominates, so the guampa must look more like that than mate 🤔
@Skillmon do you drink it often?
 
@manooooh not lately. I used to but this year I haven't drunk it once. And currently we have summer, I don't see myself drinking a litre of semi-hot "tea"...
@manooooh perhaps I should drink it cold...
 
@Skillmon ya, the customs prevent it. Here in Argentina (where were you from?) we drink mate all year round, we are the ones who consume more yerba in the whole world
@Skillmon if you have the need do it :), in that case you would be drinking tereré
 
@manooooh I'm from Germany. There is no cultural pressure on me if I do things in a non-traditional way :)
 
8:42 PM
@Skillmon haha
@Skillmon did you put sugar to the guampa or tereré?
 
@manooooh no, not ever, I'm German, not Barbaric :)
 
@Skillmon o.O
 
@manooooh I don't favour sugar in my yerba, neither do I like it in coffee. Just personal preferences.
 
@Skillmon maybe sweetener?
@Skillmon it's ok, I suppose you want to take care
 
@manooooh getting worse. Sweetener adds a strange taste I really don't like. Sugar would be better. There is a lemonade made with Mate I drink quite often. That one has sugar in it.
 
8:48 PM
@Skillmon I don't know it. That sounds good, hot or cold?
 
@manooooh cold. I really like it. But 50 % of people think it tastes like a cold ashtray.
@manooooh The other half likes it. There are only extremes on that drink.
 
@Skillmon my God what a disaster xD. What is the age range for those drinks in Germany?
 
I have question, Is there a way to put References section on bottom right corner, in this answer? I will be grateful if that can be resolved
1
A: Tikzposter image alignment

Ruixi ZhangMy rather naïve attempt: \documentclass[25pt,a0paper,portrait]{tikzposter} \usepackage[utf8]{inputenc} \title{Ti\emph{k}Z Poster Example} \author{Duck} \date{\today} \institute{Duck Institute} \newenvironment{mytikzfigure}[1][]{ \def \rememberparameter{#1} \vspace{10pt} \refstepcounter{fi...

 
@Skillmon wow, with that presentation it looks more like a liquor than anything else
 
@manooooh age range? It's considered as a lemonade containing caffeine. As such children don't get it (only because parents don't allow them). Mostly students drink it.
 
8:57 PM
@Skillmon we will never know if any children don't get it - here celebrates parties with a lot of alcohol from 14-15 years :/, maybe in Germany the parents are more restrictive. When did she give you the guampa?
 
@FaheemMitha
The xr package does not handle such things, sorry.
The xr package is there for accessing the labels belonging to the \label..\ref-cross-referencing-mechanism of another document. For doing this, it needs those .aux-files that came into being when compiling that other document.

What do you mean by "date of a document"?

Do you mean the date of submission?
Do you mean the date of compilation?
Do you mean one of the file-dates of the .pdf-file?
Do you mean ...

Be that as it may. Seems you wish to obtain a.pdf-output-file, let's call it "letter2.pdf" where the content is autoadju
 
@manooooh 2 or 3 years ago... And German parents are not more restrictive than that. Perhaps we wished to, but teenagers find their way. My (really young) children don't get anything containing caffeine.
 
@UlrichDiez I mean the date set using \date. Sorry that I was unclear.
 
@Skillmon that's fine. I didn't know you were father, congrats
 
@manooooh I've got three lovely daughters.
2
 
9:03 PM
@Skillmon if the kids are well-educated they will not do the things that their parents forbade them. Another thing is that they are badly learned
 
@manooooh I consider myself as well-educated but I assure you, I drank beer when I was 14 (not regularly, though).
 
@Skillmon a bit of rebellion is not bad
 
9:18 PM
@Skillmon @barbarabeeton ^^^^^^ :)))
 
@manooooh enjoy your yerba!
 
@Skillmon thank you! The person on the right is my mum, I'm going to and from my room to the kitchen to drink and leave the mate haha
 
9:51 PM
:46296323 This is an answer to an unwritten question. Would you like me to post a question?
Never mind, answer deleted.
 
@FaheemMitha
This is an example, consisting of the .tex-input-files "OneFile.tex" and  "OtherFile.tex".
Each of them is a document.

Within "OneFile.tex" the \label-command is (ab?)used for having the date available for cross-referencing. The name of the label delivering the date is "DateOfOneFile".
During compilation \label..\ref-data of "OneFile.tex" is stored within the file "OneFile.aux".

"OtherFile.tex" via the xr-hyper-package imports the referencing-labels from "OneFile.aux".
Thus within "OtherFile.tex" the date of "OneFile.tex" is available via referencing-commands like \ref and \r
@FaheemMitha I don't think that the effort is needed. After all, there's a lot resources out there in the WWW where people can find info about xr/xr-hyper... ;-) By the way: I deleted my answer as I saw the need for correcting and re-posting before the time-span for editing was over... I reposted right a few seconds ago... ;-)
 
10:21 PM
Ah - now I found this little angle-arrow-button "link my next chat message as reply to this"... ;-)
@FaheemMitha @FaheemMitha I just found out about this nice little angle-arrow-button "link my next message as reply to this". ;-) I just reposted my answer. I deleted as I saw the need of doing some corrections...
 
10:40 PM
@UlrichDiez Since you've provided an answer, I might as well provide a question. :-)
But it will have to wait till tomorrow...
 
10:56 PM
@FaheemMitha I've to leave the chat now. (Duty calls.;-) ) It was a pleasure to have conversation with you.
 
@UlrichDiez Ok. Talk to you later.
 

« first day (2849 days earlier)      last day (2082 days later) »