« first day (2398 days earlier)      last day (2528 days later) » 

cfr
12:39 AM
@AlanMunn Do you have a working example? I mean, obviously, you can do that. But I don't think it will be pretty!
@DavidCarlisle Maybe people understand it?
@AlanMunn You need manual intervention is the problem. For example,
\documentclass[border=10pt]{standalone}
\usepackage[linguistics]{forest}
\begin{document}
\begin{forest}
  for tree={
    nice empty nodes,
    calign=fixed angles
  }
  [C,calign primary angle=45
    [, before computing xy={for children={l'=0pt} }
      [, grow'=west, [D ] [E ]
      ]
      [, grow'=east, [A ] [B ]]
      ]
    ]
  ]
\end{forest}
\end{document}
@AlanMunn I don't think calign primary angle=45 can be doing anything useful. Is it necessary?
If I remove it, it makes no difference to the result at all. @AlanMunn
 
@cfr Yeah, that was probably there from a previous version.
 
cfr
@AlanMunn There doesn't seem to be a nice package for drawing unrooted trees. That is, one which doesn't require the clunky verbosity of the standard TikZ stuff. And the graph drawing stuff I can never really get to grips with.
@AlanMunn The thing is, how does this extend to the other examples? It isn't nice ...
 
12:54 AM
@cfr Well my intuitive idea was to make styles that would do the job. Since the basic structure is still a tree, the syntax of forest should still make things simpler.
 
cfr
@AlanMunn Forest doesn't do cyclical placement the way TikZ does. That makes it tricky. I guess I don't see how you'd handle the others in anything like an intuitive way. How were you thinking of the trees in the edit, for example?
 
@cfr Well the intuitive idea was that there's always one node that can be used as a root node, and the rest of the tree simply depends on growing the dependents from empty nodes in the right direction. But maybe that's not practical.
 
cfr
@AlanMunn You are going to lose all Forest's advantages, I think, and just get the disadvantages.
 
@cfr Maybe. :)
@cfr But thanks for your example, that helps a lot. I'll play around to see if what I have in mind could possibly work.
 
cfr
@AlanMunn Forest won't let you have the angles of growth you want, I think. Otherwise, it would make sense. So you have to move things later. But that means you have to take care to avoid overlapping etc. and ensure there's enough space and not too much and so on. But then it isn't clear why use Forest.
@AlanMunn Not growth. I mean edge angles. What you want is to be able to say is that you want edge angles of 120 or 90 or whatever, but that's not going to work.
 
1:12 AM
@cfr I see. My impression from the other trees was that you wouldn't need to do that too much. Most of the trees seem to have straight lines or regular angled pairs.
 
cfr
@AlanMunn Then maybe I just don't understand your idea.
 
@cfr I'll play around and show you what I end up with. Might take a day or two though.
 
cfr
@AlanMunn Not once you turn them into rooted trees, though. Then you have cases where you need one to go up and end up with y equal to !uu.y.
But its sibling needs to be at -90. So I guess you can with a growth direction of -22.5 or something?
 
cfr
1:26 AM
@AlanMunn Fixed angles may not be what you want:
Though deleting it only makes things worse ...
 
1:45 AM
@cfr Yeah, you can get some crazy stuff.
But I did manage this:
 
 
5 hours later…
7:00 AM
@JosephWright: mod (and perhaps other stuff) seems to be excluded from xfp. Is there a reason for this? Or is the documentation just incomplete? It - mod seems to exist when looking at interface3 (in the form \int_mod:nn).
 
7:19 AM
@Werner Don't think it's on the list of keywords which Bruno implemented, I guess as it's not really an fp function (it returns an int ...)
 
7:47 AM
@Werner You can use of course n - m * floor(n/m)
Morning @DavidCarlisle: did you get a chance to look at the driver stuff?
@DavidCarlisle Yes :)
 
8:11 AM
@JosephWright not as much as I'd hoped but I have looked at it all and hope to get chance now before the meeting to look again. Basically I think we should move in that direction, so add the extra options to graphicx, use the new def files, then see what breaks in the wild.
 
@DavidCarlisle More or less what I'm going to suggest :)
 
8:28 AM
@JosephWright I suppose we should take a stronger view of breaking in the wild if an \ifnum dies on an active > is a bug or a feature (I tend to the latter view, but have some sympathy for existing documents....)
 
@DavidCarlisle Back with the business that really there should be a fixed set of actives ...
 
@JosephWright slots 0-255 :-)
 
@DavidCarlisle :)
 
@JosephWright if there had been in 1985, yes, but harder to get there now in 2e.
@JosephWright do you know how well beamer would react on <> if they were active but let to their non-active versions (if that was done before beamer loaded)
 
9:08 AM
@DavidCarlisle Not well!
 
9:24 AM
@JosephWright that's what I guessed....
 
 
2 hours later…
11:01 AM
@JosephWright @egreg ping:-)
 
@DavidCarlisle But you didn't believe me when told you that people making < active get what they deserve ;-(
 
11:20 AM
@UlrikeFischer David is mean
 
Question: I'm writing multiple documents (e.g. lecture notes or exams). I would like for all of them to have the same layout. Is it better to write my own class or my own package?
 
@PauloCereda why am I mean for showing concern for people that @UlrikeFischer says deserve no sympathy?
 
Until now I just copy-pasted a huge preamble.
 
@DavidCarlisle Default trigger, actually. :) My bad. :)
 
@Buochserhorn whichever seems most natural to you, to the system they are both just \input more or less.
 
11:22 AM
I haven't done either yet. What do you suggest? What is easier?
 
@Buochserhorn there is no difference in difficulty, at it's simplest it just comes down to saving your existing preamble code as xxx.sty or xxx.cls basically if you are defining something that makes sense with multiple classes make it a package if you are setting up the entire document layout and headings etc, it probably should be a class
 
@DavidCarlisle Awesome, thanks. I'll go for a class then!
 
11:52 AM
@DavidCarlisle Where did I say that they deserve no sympathy? I'm full of sympathy for people loosing they document due to missing backups or shooting in other ways in their own knees ;-). But perhaps we could blame csquotes here. In 10.3 Valid Active Quotes it doesn't mention < as a problematic active quote.
3
 
@UlrikeFischer Yes, I'll take a look
 
 
2 hours later…
1:55 PM
@UlrikeFischer geometry again. there's only so many times I can ask:(
 
@DavidCarlisle ;-). At least such question can be answered fast. It is either luatex85 or shellesc ...
 
@DavidCarlisle Might need to talk to CTAN ...
 
2:19 PM
@JosephWright if I'd had no response I'd have contacted ctan by now, but each time he says he'll update a new one....
 
2:56 PM
@daleif do you think the "superscript" question can become a series on appendix G? :)
 
3:19 PM
@JosephWright Thanks...
 
3:38 PM
@DavidCarlisle Sure, but it's over a year now: something has to give at some stage
 
@JosephWright so it is, I thought it was more recent.
 
@DavidCarlisle Write again and CC the CTAN people?
 
@JosephWright writing now...
 
3:53 PM
@JosephWright youve got mail:-)
 
@DavidCarlisle I remember an answer from you where you gave some six lines for having LaTeX code run in plain TeX (one of them something like \input latex IIRC) — I can't find it now; do you remember it by any chance? You probably intended it as a joke at the time, but I'd like to play with it now for some reason :)
 
27
A: Is there any software that converts latex file to tex file?

David CarlisleAdding \def\patterns#1{} \catcode`\{=12 \let\newtoks\relax \let\dump\relax \let\+\relax \input latex.ltx To a LaTeX file makes it a plain TeX file. This is a LaTeX answer I gave to a question earlier today which runs without error in pdftex as modified: \def\patterns#1{} \catcode`\{=12 \let\...

 
haha yes that's the one, thanks!
 
4:10 PM
@Moriambar probably, might be a small audience, but Google vil find it and it will probably help someone. I for one does not understand much of it.
 
@daleif Ok, I'm kind of away till saturday, but I wil try and do the subscripts and the radicals next :) I know that's a small-rep job, but I like it (as long as there is at least one who reads it.
 
 
1 hour later…
5:36 PM
ooh banana pie
 
5:48 PM
@PauloCereda The important thing is that it's not a banana pizza!
 
@CarLaTeX but it could be a banana phone > click here, safe link < :)
Don't mind me, I am particularly stupid today. :)
 
@PauloCereda I'm wondering where do you find these things! LOL
 
@CarLaTeX We ducks are very knowledgeable. :)
 
@PauloCereda Oooh
 
@DavidCarlisle May I report an issue in interface3.pdf to you?
 
6:18 PM
@TeXnician yes but I'll blame @JosephWright
 
@DavidCarlisle Great. On page 4 you explain conditional functions. In the margin there's the correct \sys_if_engine_xetex, but the explanation says it would indicate something about \xetex_if_engine...
 
@CarLaTeX ^^^^^^^^^^^^^^^^
@TeXnician Oh blame was correctly assigned:-) "we" re-organised the system specific commands last year (or so) probably some of the doc escaped, no doubt we'll fix, thanks
 
@DavidCarlisle You're welcome. Btw the third error with something l3 related I reported this month...
 
@TeXnician that's because you had the novel idea of reading the doc instead of reverse engineering the source code
3
 
@DavidCarlisle I know, but it's only to guess how many problems I would have encount... found there ;)
 
6:40 PM
user image
2
@PauloCereda ^^^
 
@UlrikeFischer OH MY
 
7:02 PM
@DavidCarlisle I'm wondering which is the worst: the pineapple or the banana one LOL
 
@CarLaTeX that's what the page I found was discussing
@UlrikeFischer you should have asked your nfss question 20 years ago, I'd have answered it by now. I can get it to load a font of the right size, just missing how to tell the nfss font loader not to do anything else...
something like this but the end of the size function is wrong. I may have to read the documentation:-)
\documentclass[parskip=half-]{scrartcl}
\usepackage{fontspec,xfp}

\newcommand\requestmycombofont[1]{%
\ifcsname mycombofont.#1\endcsname
\else
  \font \one = {file:lmmono10-regular.otf}  at \fpeval{#1*10}pt
  \font \two = {file:lmsans10-regular.otf}  at \fpeval{#1*15}pt
  \expandafter\font \csname mycombofont.#1\endcsname
                 = "combo: 1 -> \fontid \one            ;
                           2 -> \fontid \two , 0x41-0x5A;"%
\fi
\csname mycombofont.#1\endcsname
}

\makeatletter
%\errorcontextlines1000
 
7:23 PM
@CarLaTeX sweet pizzas are very famous in Brazil
 
@PauloCereda if you have eaten one all your invites to Italy are cancelled
 
@DavidCarlisle oh no
 
@PauloCereda don't worry I won't tell @CarLaTeX
 
@DavidCarlisle phew
 
@PauloCereda just say Ho solo mangiato pizza con pomodoro e mozzarella
 
7:29 PM
@DavidCarlisle ooh pappa col pomodoro
@DavidCarlisle I wonder if @egreg sings Rita Pavone :)
 
@PauloCereda Sweet pizzas are not pizzas! @DavidCarlisle are you doing proselytism in Brazil?
 
@CarLaTeX oh
@DavidCarlisle:
Interesting...
 
7:45 PM
@DavidCarlisle That's an interesting idea, I would never have thought about the size function. I will have to read up what it should output.
 
@PauloCereda J'écris des articles dans de nombreuses langues.
 
@UlrikeFischer Not quite Wittgenstein had in mind. :)
 
@DavidCarlisle ooh
 
@UlrikeFischer normally it generates the external font name from the bits so cmr10 or ecrm1000 or whatever is needed, but here I've already loaded the font inside the size function, so need to somehow stop the main code doing the wrong thing. probably that's not so far off but I might be out of time tonight so thought I'd just drop it here in case anyone wanted to finish off
@PauloCereda I assume you have read this for example amazon.de/gp/product/386894088X/…
 
@TeXnician Fixed in the sources
 
7:58 PM
@JosephWright Thanks. Another one to wait for an update (after the recent l3build path issue) ;)
 
@TeXnician Team meeting earlier today means I have some stuff to do and ship probably over the weekend
 
@JosephWright would it be worth putting a graphicx.dtx into graphics-def/dev branch?
 
@JosephWright Sounds good. Let's see whether you'll be in time :)
 
@DavidCarlisle Probably: I'll look at doing that so we can get the ideas right
 
@TeXnician o?? :-)
 
8:01 PM
@DavidCarlisle I'll do that after the various L3 stuff I think
 
@JosephWright I cloned it out again just before the call but I think I switched to dev branch the wrong way my current state sounds painful
$ git status
HEAD detached at origin/dev
nothing to commit, working directory clean
 
@DavidCarlisle :)
@DavidCarlisle git reset --hard origin/dev
@DavidCarlisle Like I said earlier, it's a 'disposable' branch anyway
 
@JosephWright last time I ended up with a local dev that was automatically tied to the origin I thought but perhaps not, let me try the reset thing
@JosephWright thanks my head has been re-attached
2
@JosephWright yes so good place to practice: Your branch is up-to-date with 'origin/dev'.
 
@DavidCarlisle Exactly
 
@DavidCarlisle I have something working, but i'm not sure if the base font and the combo font can not be separated somehow.
\documentclass[parskip=half-]{scrartcl}
\usepackage{fontspec,xfp}

\newcommand\requestmycombofont[1]{%
\font \one = {file:lmmono10-regular.otf} at \fpeval{#1*10}pt
\font \two = {file:lmsans10-regular.otf} at \fpeval{#1*15}pt
\def\mycombofont{"combo: 1 -> \fontid \one ;
2 -> \fontid \two , 0x41-0x5A;"}
}

\makeatletter
\DeclareSizeFunction{ulrike}{\ulrike@sfcnt\@font@warning}
\def\ulrike@sfcnt#1{%
\requestmycombofont{\fpeval{\f@size/10}}%
\expandafter\def\expandafter\external@font\expandafter{\mycombofont}
 
8:15 PM
@UlrikeFischer yes probably the size function should somehow take the two names as arguments so you can specify ulrike*{lmmono}{lmsans} or some such
 
@DavidCarlisle The combo font can consist of more parts. So probably something like ulrike*{combofontdescription} is better and the code will then have to retrieve the (externally) defined combo code. The main question is if there are side effects, if one call fonts like this (I already found one: github.com/lualatex/luaotfload/issues/414) and if it works reliably ;-).
 
@PauloCereda Every morning one of her hits.
 
8:31 PM
@AlanMunn Wittgenstein the man who once threatened Popper with a poker? Neither of them has any known connection to ducks.
 
@UlrikeFischer Wittgenstein was famous for talking about the rabbit-duck, in his Philosophical Investigations en.wikipedia.org/wiki/Philosophical_Investigations
 
@AlanMunn how interesting. I didn't know this!
 
@UlrikeFischer He's an important figure in the philosophy of language, so we linguists tend to know a bit about his work. I didn't know the poker story though.
 
8:56 PM
Evening
 
@Moriambar Afternoon
 
@AlanMunn right
 
@Moriambar :)
 
9:57 PM
0
A: Subtleties in placing subscript: explaining what TeX is actually doing

MoriambarI will continue with the steps described in the question mentioned above. I will report here the steps that are equal to the other answer in order to make this answer self-contained too. Step 0 - Notation and definitions Any symbol fonts (ie font family 2 in TeX language) must have at least 22...

@daleif ^^^
 
 
2 hours later…
11:31 PM
@AlanMunn Rabbit-duck? It's a deer from behind, you can see if you tilt your head to the right. Wittgenstein did not know that.
 
@StefanKottwitz LOL. So it's three ways ambiguous.
 
@AlanMunn So Wittgenstein was actually watching at a butt, while philosophically thinking about ambiguous faces. :-)
 
@StefanKottwitz Where's Freud when you need him.
 
@AlanMunn Oh, I did not tell you the fourth way.
 
@StefanKottwitz :D
 

« first day (2398 days earlier)      last day (2528 days later) »