« first day (1669 days earlier)      last day (3266 days later) » 
01:00 - 17:0017:00 - 00:00

1:08 AM
I feel like my answer is wrong; can I learn from someone else, here? tex.stackexchange.com/q/247124/17423
 
 
5 hours later…
6:22 AM
@Manuel As @DavidCarlisle says, they are not quite the same. They also date back a long way, to before e-TeX was required. The status of control sequences equal to \relax is slightly tricky in this area (as TeX makes things equal to \relax when using \csname ... \endcsname on an undefined control sequence).
 
6:36 AM
@JosephWright You beat me by a few seconds on tex.stackexchange.com/questions/247149/… ;-)
 
 
2 hours later…
8:29 AM
@SeanAllred The spacing around the arrows will be wrong
 
9:21 AM
@JosephWright Okey. The name still disconcerts me :)
 
 
2 hours later…
11:47 AM
@egreg Well that much is apparent :)
 
@SeanAllred \newcommand{\dblarr}[2]{\mathrel{\mathop{<arrows>}\limits^{#1}_{#2}}}
 
@egreg Ah, so \mathrel is the only thing really missing here? (Thanks :))
 
@SeanAllred Of course the syntax will be \dblarr{<above>}{<below>}
 
@egreg Naturally. Though if you remove the last part ((^.*)), wouldn't it be exactly the same as \dblarr^a_b?
There are a lot of extra things that go in the maths typesetting part of TeX that I haven't done adequate research in.
 
@SeanAllred No, there's the closing brace of \mathrel in the middle.
 
11:53 AM
@egreg Oh, right!
Do you think there's any point in editing tex.stackexchange.com/a/247143/17423 to make it 'not horrible practice'?
It's a pity OP accepted it and will likely let that code see the light of day. \hspace*{\fill}\\[30pt], etc.
 
@SeanAllred \hspace{\fill}? You’ve got to be joking :-/
 
@ArthurReutenauer I wish I were :(
 
@SeanAllred I see it now. It’s completely useless on top of that. I think it’s worthwhile editing it if you feel like it (or “fill” like it :-P)
 
@ArthurReutenauer Perhaps during my lunch today.
 
12:19 PM
Ha, Ulrike finally got to the bottom of that misguided’s user problem: tex.stackexchange.com/questions/247149/…
Note her answer is not at all an answer to the original question, but addressed the user’s actual problem. I’ll ask him to change the title of the question.
 
@ArthurReutenauer The X–Y problem at work.
 
@SeanAllred This one was particularly impressive. And it took four of us to extract information that would lead to an actual answer (Joseph, me, Akira and finally Ulrike).
 
@ArthurReutenauer XD A team effort!
We should make an index of these questions on meta. Link it out when we're trying to explain the X–Y problem.
 
12:43 PM
Yes, sounds like a good idea.
 
@SeanAllred Don't quite follow your comment on tex.stackexchange.com/a/246759
@SeanAllred Do you mean checking what format is in use when expl3 is loaded?
 
I have a question about how to consider macros... so when I store a definition of other macros in a new macro, is it actually replaced by the definition, or is it more so a representation which is loaded into my computer's memory?
Upon calling the macro*, is the macro replaced by the definition
 
@1010011010 Do you mean the difference between \let and \def?
 
12:58 PM
No, I mean that if I store a definition of 500 lines in a macro and call it every time an environment is started, are those 500 lines called every time the environment is used?
Or is it just a representation which is preloaded in the memory at the moment of declaration
 
@1010011010 Macro replacement: when you use \foo it is replaced by exactly the definition of \foo
@1010011010 Thus if \foo is 500 lines of text, that is what TeX inserts and has to process
@1010011010 TeX can't know what the meaning of the stored tokens will be at point of use, only what the tokens are
 
@JosephWright Hmm so I guess some of my macros aren't very efficient then....
 
@1010011010 it's tokenized but not otherwise compiled in any way, the replacement text as Joseph says is just the list pf macros (and is interpreted with the meaning of those tokens at the point of use not point of definition) (tex is a macro expansion language not a compiler, despite the current fad of calling it a compiler)
 
@1010011010 Depends what you are aiming to do. You can't avoid the fact TeX works by expansion.
 
@1010011010 in a macro expansion language, it's pointless trying to avoid macro expansion.
2
 
1:05 PM
@1010011010 If you need those 500 lines you need them
@DavidCarlisle So things like LaTeX are a bad idea, then? ;-)
@DavidCarlisle Will is coming to TUG2015 :-)
2
 
@JosephWright In an interview with Leslie Lamport he pretty explicitly said that the macro thing was not a good idea...
 
@JosephWright if avoiding macro expansion is a good idea, then yes.... might lead some people to suggest an alternative paradigm such as lua....
 
@1010011010 I was thinking more the argument of the plain TeX people who don't like anything that hides any primitives from the user (i.e. who hold that the user should always have written all of the macros they use themselves)
 
@1010011010 everybody hates the language they use and thinks it would be better to use something else, but actually tex's macro language has proved rather robust and usable despite the fact machines now are not comparable to those of 1979, very few languages have survived that transition so well.
 
@DavidCarlisle Doesn't C date from the 1970s?
@DavidCarlisle Also FORTRAN, of course
 
1:09 PM
@JosephWright yes but it spawned c++ sometime inbetween:-)
 
@JosephWright In terms of efficiency primitives are the way to go, no?
 
@JosephWright f2008 (which I'm sure you use regularly) doesn't look much like f66 or even f77
@1010011010 not really.
 
@1010011010 Depends on your definition of efficiency: for raw speed, yes, but that can hurt other areas
 
@JosephWright Legibility ?
 
@1010011010 For one
 
1:10 PM
@1010011010 usability
 
@DavidCarlisle I'd argue that's a limitation of the user's know-how of the language, how to achieve certain effects, and so on
 
@1010011010 it's a question of whether you want \section{foo} in your document or 100 lines of primitices, selecting fonts, spacing and writing tables of contents data
 
@1010011010 A classic example to me is the comparison of
\ifx\foo\bar
  #1%
\else
  #2%
\fi
with
\ifx\foo\bar
  \expandafter\@firstoftwo
\else
  \expandafter\@secondoftwo
\fi
  {#1}
  {#2}%
 
@JosephWright I suppose that would be involved, but I was thinking of just saying, for instance, xelatex instead of pdflatex or latex.
 
@1010011010 no even if you know all the primitives it is a massively bad idea to use them in a document.
 
1:12 PM
@DavidCarlisle Exactly, so if you build the \section command and you know exactly what the most efficient way is, e.g. how often certain specific definitions reveal themselves in the document, then you're set, right?
 
(i.e. as you run the test script)
 
The first one avoids extra expansion/token parsing, but I always use the second form as it ends the conditional before working on the outcome. The 'minimalist' approach is only to use the second form if required, but that is very tricky
 
Since all the extra checks and extra flexibility is no longer necessary
 
Switching keyboards is never fun. Keep hitting keys I don't mean to.
 
@1010011010 "\build the \section command" = "define a macro" which you were saying should be avoided
 
1:13 PM
@SeanAllred l3build can happily do that
 
@DavidCarlisle I thought it implicitly clear that I wasn't promoting strictly the use of primitives and never using \def once in the document
 
@1010011010 Yes, but then when your write a different doc you need different code. Depends if you want to redo this every time you write something. That made more sense in the early 1980s (TeX slow) than today (TeX fast).
 
@JosephWright Yes, so do I misunderstand your original post? I understood from it that it had only been tested with a very limited set of drivers
 
@1010011010 since you said exactly the opposite that wasn't clear at all:-)
 
Supporting dvipdfmx specials, in my mind, shouldn't be that complicated -- but I'm sure I'm missing something
 
1:14 PM
@SeanAllred You do :-)
 
@JosephWright Maybe I'm wrong but when it comes to "feeling", I think faster code means better workflow, but maybe I'm wrong in such a statement
 
@SeanAllred Loading expl3 as a LaTeX package has an option to choose the driver: dvips, pdfmode, dvipdfmx, xdvipdfmx
 
Okay, whether the document compiles in 3 seconds or in 8 shouldn't matter too much, but still...
 
@SeanAllred When loaded in generic mode, we don't have option handling and I've not set up a similar mechanism. So you always get dvips if you load in generic mode with DVI output TeX.
 
@JosephWright So is there anything stopping that support from being abstracted away from the LaTeX package option framework, or is just a matter of hammering out the code?
 
1:17 PM
@SeanAllred Have you had any meaningful input on the colour conundrum so far?
 
@1010011010 Again, it depends. Someone like wipet would agree with you 100%, and argues that only such cases as are known to occur should be covered by any code, i.e. the code is specific to each doc/use case. I'd prefer to loose some speed in favour of some generality.
 
@1010011010 Not yet, except a few unhelpful comments on reddit saying that it's unanswerable
 
@SeanAllred It's reddit... expect reddit answers :p
 
@1010011010 Naturally
 
@SeanAllred Just a question of specifying some macro that if defined acts as an over-ride. Like I say, no technical reason it's not done but there hasn't been a requirement as-yet. This after all only affects a small subset of box operations at present.
 
1:18 PM
@JosephWright He has written his opmac, which also hopes to attack problems in plain TeX with somewhat more general macros...
 
@1010011010 it is the same in any language, for the vast majority of people writing programs in a high level language wins in terms of time to code and document reuse. For a few people using lower level code pays off as they can out-perform the compiler but that is a really small proportion, so some people (here for example) code linear algebra in assembler and have to re-do it every time a new chip comes out with a modified instruction set, but it is a very specialist activity
 
@1010011010 True
@DavidCarlisle Or indeed write an FPU in e-TeX
 
@DavidCarlisle I've thought about that too and I argued that in the case of a TeX document, a snapshot can prove useful (it is not completely unheard of to compile old documents with dated distributions and/or packages, ok it's not recommended either, but it's a last resort)
In the case of chips and such there's constantly a new one on the market, that instruction set you speak of changes every year and using a dated one directly means you're in a bad spot in comparison to the older releases... seems like less of a problem when it comes to a typesetting language which is more or less stable now anyway...
Not sure what LaTeX 3 will change, though, that is, how will it affect the basic format coming with new distributions
 
@1010011010 Well that's the plain position very much
@1010011010 If/when we get there, LaTeX3 docs will be distinct from LaTeX2e ones (there is just too much to change behind the scenes). However, we will start from the get-go with a mechanism to define a document date, with the idea being that both the format and packages 'record' changes.
@1010011010 One can bundle up the support files in use for a document, of course (this can be automated)
 
@JosephWright Yeah, the snapshot package, right?
 
1:27 PM
@1010011010 As you point out, something like wipet's OPmac is a bit odd here as the idea of using plain is often that it's frozen so nothing can change, but I assume OPmac isn't
@1010011010 Yes, for example. I was thinking more a scripting-based approach but the idea is the same.
 
@JosephWright With added benefit of snapshotting the format (which I assume the snapshot package doesn't do)
I'm not sure how much of OPmac is set in stone but looking at some of wipet's documents it looks like he extends OPmac on a document-by-document basis to meet the needs of that particular document
 
General question related to the 'plain is frozen' thing -- is pdfTeX the same kind of frozen as well, or is this limited to Knuth's TeX?
 
@1010011010 I believe the AMS snapshot the binaries :-) snapshot does list the format version, but that does of course get a bit tricky to archive
 
@1010011010 but if you spend a day (or more likely a week) recoding (say) \section to optimise it for your use it and you are using a big document with say 100 sections, then even if optimistically you save .1 second each run then you need to process your document 10 million or so times before that investment pays off if I got those sums right.
 
@1010011010 Quite, so there could still be issues
 
1:31 PM
It looks like I might have a real opportunity to suggest a TeX solution to something in-house
 
@SeanAllred pdftex wasn't frozen but the active development moved towards luatex so it's a bit orphaned.
 
@SeanAllred pdfTeX isn't frozen but (most) development has essentially moved to LuaTeX. There has been some work recently on 'fake' spaces (needed for accessiblity) for example.
 
"Create an application that would product a PDF output based on templates. The goal is to be able to design the printout using semi-programmable template and apply "data" to the template. [...] We might want to keep the scope small for the initial pass by limiting to simple data elements."
 
@SeanAllred Sounds like a job for TeX :-) (Or you could do it in LuaTeX/Lua)
 
@JosephWright I have a feeling LuaTeX is far too unstable for out purposes (healthcare), but I'll make the suggestion :)
And thanks for the info about the accessibility business :)
But all that could theoretically be done with \pdfspecial, no?
 
1:33 PM
@SeanAllred scientific word:-)
 
@DavidCarlisle It depends on how perfectionist you are, really. I could easily code a full day to get my version of \section precisely the way I wanted it... not saying I would do it faster in plain TeX (even if I had the knowledge)
 
@DavidCarlisle Can't incorporate external software when there's any chance of there being a legal problem :) company policy, and a good one for our industry, I think
Things are fractured enough as it is
 
@1010011010 so it comes down from 10million to a few thousand but it's still most likely lost time and a higher maintenance cost going forward, especially if anyone else ever needs to maintain the document.
 
@DavidCarlisle Even if the format and packages are frozen?
Or are you referring to extendinhg existing functionality?
 
The code for pdfTeX is GPL'd :( This might make things difficult to swallow. How do you go about explaining that even if a program is GPL'd, its use is free?
 
1:37 PM
@1010011010 if a document never changes you may as well just keep the pdf. But any document that is maintained changes due to circumstances or technology, so someone wants an ebook or whatever replaces ebooks in 2020, if you use standard document markup chances re there are standard tools to do whatever, if you have just some one-off macro set that works in one document, that no one else knows how to extend or convert, the document is far less useful.
 
free libre/gratis?
 
@SeanAllred Well known, surely?
 
@SeanAllred do you have linux at work?
 
@JosephWright Well, when I sent in the docs to our legal team requesting permission to work on AUCTeX, they denied it. (I'm going to fight that when I have more time.)
 
@SeanAllred Fair enough: the LaTeX team have quite definite stability requirements, and Lua(TeX) doesn't meet them either
@SeanAllred But you use Emacs?
 
1:39 PM
@DavidCarlisle Actually that's a good point. We don't use linux (windoze), but we do distribute documents made with Word
 
@SeanAllred ah shame, it would be harder to argue against gpl'ed software if you had a linux base:-)
 
@SeanAllred Classic corporate situation by the sound of things: paid-for software is fine even though the license may be restrictive, free software no good as there is no payment/terms/...
 
@JosephWright keeps bread on my table.
 
@DavidCarlisle Indeed
 
@DavidCarlisle and keeps my life miserable
 
1:40 PM
@SeanAllred win-win then.
 
@DavidCarlisle So mean. :)
"If I could just get a job that uses and enhances TeX, I would be sooo happy."
Anyone know anyone who can speak from experience here? I might shoot them an email asking for advice.
 
@SeanAllred barabara
 
@DavidCarlisle Ah! of course :) Don't they (AMS) technically own the rights to TeX?
 
@SeanAllred I worked freelance as tex consultant for a while (9 months or so) after leaving University post doc, before starting here, didn't like it much:-)
 
@DavidCarlisle Consulting is a whole other animal :)
 
1:48 PM
@SeanAllred apparently you are supposed to think of random amounts of money and charge people and stuff, I suspected I wasn't doing it right when clients were telling me I wasn't charging enough...
3
 
@DavidCarlisle You know, I ran into the same problem :)
 
2:03 PM
A couple of people work typesetting stuff with LaTeX and ConTeXt, they apparently earn enough to sustain a small company.
Patrick Gundlach (speedata.de) and Steffen Wolfrum (werksatz.com) in Berlin, both using ConTeXt.
Jano Kula in Prague, also using ConTeXt (I don’t know the name of his company).
Grzegorz Murzynowski, Wiktor Dziubiński et al. in Łódź (parcat.eu)
 
@DavidCarlisle Do you know if Scientific Word uses an actual TeX?
 
@SeanAllred yes and yes
 
The latter give talks at BachoTeX, demonstrating their rather impressive 500- or 1000-page catalogues of random things, in 10 or 12 different languages.
 
@ArthurReutenauer Yes, but they're providing a service and then selling the service :)
@DavidCarlisle Now that is precedent. The engine is embedded in the software, or is distributed separately? (Does it require a distribution?)
 
@SeanAllred Right; well if you want to be paid to work directly on TeX, you can apply for a grant by TUG or DANTE :-)
@SeanAllred I’m pretty sure it’s embedded.
 
2:10 PM
@ArthurReutenauer If only I could :) Moonlighting is prohibited where I am -- it's a salaried position
I coudl always do the work for free
@ArthurReutenauer Embedded as in the source code is embedded or the binary is embedded? Because I'm actually pretty sure the former is a problem...
 
@SeanAllred Kind of the same paradox as your use of software, except the other way (you’re not allowed to be paid, but you can do it for free :-P)
 
@SeanAllred you know I've not actually seen it since about 1995:-) in those days there were not really any "distributions" as such you got TeX on a big tape and compiled it... As far as I recall it's as you expect a separate tex executable hidden in the background running wen you ask to print, they also had tie up to maple (later I think mupad) working in a similar way.
 
@SeanAllred I would guess the latter.
@DavidCarlisle Oh yes, using TeX from Maple! That was my very first introduction to TeX, in the spring of 1997 :-)
 
@ArthurReutenauer Quite a strange system, isn't it? :)
 
@SeanAllred If you are thinking about licencing, the original tex sources are not gpl...
 
2:13 PM
@DavidCarlisle Yes, they're public domain :)
@DavidCarlisle But that would additionally require dvipdf or both dvi2ps|ps2pdf
 
@ArthurReutenauer well in SW's case it was more the other way round, you wrote the document using tex syntax in the editor but it would get maple to evaluate expressions
 
@SeanAllred Was going to say the same thing as David. Knuth’s TeX is most certainly not GPL’d.
 
@SeanAllred I seem to think they had their own dvi driver
 
@DavidCarlisle Oh right, so probably not what I saw back then. Can’t remember for sure though.
 
@DavidCarlisle In those days, I wouldn't be surprised. pdfTeX was still pretty new.
 
2:15 PM
By the way, I nearly had a licence issue with XeTeX ...
 
@ArthurReutenauer Oh? Story time!
 
@SeanAllred I would ideally wait a couple of days, but it’s almost solved now.
 
@SeanAllred but also probably didn't do what they needed eg cutting and pasting images from the windows clipboard means you really want windows metafile support in the driver (actually i saw a question asking about that the other day..)
 
@SeanAllred It starts here: sourceforge.net/p/xetex/bugs/54 where Martin Schröder points out, correctly, that since one source file of XeTeX uses poppler, that is under the GPL, the whole of XeTeX should be relicenced under the GPL.
(Martin would know, he followed the development of free-as-in-speech PDF libraries pretty closely at some point, and the offending source file was to read with reading PDF files.)
Note the report is four years old, but I only became aware of it last week.
 
@ArthurReutenauer Yeah I was about to say -- 2011 is a long time for a question like that to stand
 
2:19 PM
Problem with relicencing XeTeX is of course that we would have to chase the copyright holders, one of which is SIL International, Jonathan’s employer up to 2008.
@SeanAllred Well I only became involved in XeTeX one month ago, so I plead not guilty. But generally speaking yes, it’s not good.
 
@ArthurReutenauer and also users would be inconvenienced, many have problems integrating gpl in commercial workflows as Sean just commented.
 
Anyway, I was not looking forward to having one more licence discussion - it happens regularly with hyph-utf8 and it’s always awkward to have to contact copyright holders who haven’t been active in 20 years, etc.
@DavidCarlisle That too.
 
@ArthurReutenauer :)
 
But it’s all solved now I rewrote that file with PoDoFo, available under the LGPL.
Now I only have to let Karl now to make sure PoDoFo is included in the TeX Live sources for next years.
 
LGPL... that's a good one to remember. Any hope for pdfTeX to be relicensed? ;)
 
2:23 PM
Peter Breitenlohner and the binary builders may start to hate me, but I can live with that (it’s either that or a gazillion angry XeTeX users, so I’m choosing the former).
@SeanAllred I wonder if for pdfTeX it’s not a policy choice. But I don’t know for sure.
 
@ArthurReutenauer Wait a sec! What's XeTeX official license?
Because that also has native PDF output
And support for fonts is surely a boon
 
@SeanAllred MIT/X11. Or something like that. Pretty open in any case.
 
@ArthurReutenauer :D This might be what I'm looking for, then :) pdfTeX, XeTeX, and LuaTeX will all get a mention.
 
@SeanAllred well not really, just dvi
 
@SeanAllred Do you want the exact wording?
 
2:26 PM
...which conveniently covers all of the major engines.
@ArthurReutenauer A link would be useful, yes :)
@DavidCarlisle Then what produces the PDF? dvipdfmx?
 
@SeanAllred another x I think:-) xdvipdfmx
 
@DavidCarlisle New keyboards, I tell you. PITA.
 
Yup
 
@SeanAllred @DavidCarlisle I think the leading x is for XeTeX or XDV, and the trailing one is for extended.
 
2:28 PM
@ArthurReutenauer I thought it was just a hold-over from 90's style usernames: xXx~TheHack3rL0rd~xXx
Off to my meeting :)
 
@SeanAllred No, all these x aggregated organically :-)
See you
Damn, I missed lunch time.
 
2:48 PM
Quack from São Paulo!
 
@PauloCereda Quaaaaack :-)
 
@Johannes_B <3
 
My team leader was very receptive of the suggestion :)
 
@PauloCereda My table in the cafeteria was hijacked by two girls, one of them i have never seen before. What is going on? :-)
 
@Johannes_B Sit with them and start a conversation. :)
 
2:57 PM
@Johannes_B oh no, German table hijack!
 
It's your table! XD
 
@SeanAllred Yep! Just don't tell them you are a LaTeX fetishist. :)
 
@PauloCereda From experience, I can confirm that this isn't received well.
 
@SeanAllred Me too. :) Never thought a girl that small could hit me so hard in the face.
3
 
@ArthurReutenauer Does xetex have an official (i.e. maintained) page? Submitting a request for EULA review.
 
@SeanAllred That would be the closest you can get to an official page.
 
Thanks @JosephWright @ArthurReutenauer :)
 
@SeanAllred I bought the domain name XƎTEX.net one night when I was drunk (many years ago, when I had just started using XeTeX), I may make use of it now ;-) It’s parked for the moment.
2
 
@ArthurReutenauer Do it!
@ArthurReutenauer At least use a redirect :)
 
@SeanAllred Actually the sources for xdvipdfmx are in the TeX Live repository, and alas, I just checked that xdvipdfmx is under the GPL (wasn’t aware of it).
 
3:06 PM
@ArthurReutenauer Noooooooooooooo
 
@PauloCereda @SeanAllred I invited them to our LaTeX regulars table tomorrow. They don't want to come.
 
@ArthurReutenauer Makes sense as
U:\>dvipdfmx --version
This is dvipdfmx Version 20150315 by the DVIPDFMx project team,
modified for TeX Live,
an extended version of dvipdfm-0.13.2c developed by Mark A. Wicks.

Copyright (C) 2002-2015 the DVIPDFMx project team
Copyright (C) 2006 SIL International.

This is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
 
@ArthurReutenauer Wait, where?
I suppose it could still be run in DVI mode, couldn't it? Would that preclude the font support?
 
@Johannes_B Tell there will be a duck involved. :) Women love ducks.
 
@SeanAllred you need a driver that understands the extended dvi format
 
3:08 PM
@SeanAllred XeTeX uses an extended DVI format (XDV) to allow for system fonts
 
@SeanAllred Pretty much, I’m afraid.
 
Well then, I might just have to write another driver. >:(
Perhaps this is the real reason TeX isn't used more in industry. At the very least, this is going in my article research notes.
 
@SeanAllred That said, if the issue is that your employer wants to be charged for xdvipdfmx use, we can send them a bill ;-)
 
Blech.
@ArthurReutenauer XD Well, we'll see.
I'm still going to try and push this through. TeX in general is unbelievably important to me and it would mean a lot to me personally to be able to use it in some small way.
 
gah... isnt there some explanation on how to clip a pstricks image to its borders?
 
3:12 PM
@SeanAllred The text of the licence is in the behemoth that is the TeX Live sources, precisely here: tug.org/svn/texlive/trunk/Build/source/texk/dvipdfm-x/…
 
ive tried searching for it in the docs, but searching through 3 thousand pages isnt fruitful, most of the time
 
@SeanAllred It’s actually just the text of the GPLv2.
 
@ArthurReutenauer As indicated by the title, yep.
I wonder if that is GPL'd per dependencies (like XeTeX almost was)
 
@SeanAllred As Joseph pointed out, dvipdfmx, on which xdvipdfmx is (obviously) based, was already under the GPL, and it’s very much the core of the program (again, I suppose that’s obvious), even though the extended DVI file support is an important part too.
 
@ArthurReutenauer Well yes, but I'm talking about the dependencies of dvipdfmx :)
Just like you were able to drop in a replacement for Poppler, perhaps a similar replacement can be made.
GPL really isn't conducive to industry use, and the industry has the potential to be a large contributor to the project and its popular image.
 
3:17 PM
Hi, is there any “default”/“known” way of avoiding a page break between “Proof.” and an enumerate/itemize. The code I have is \begin{proof} \leavevmode \begin{enumerate} ... Any fast suggestion (I can't find anything on TeX.SX, but my bad relationship with the search engine comes from long time ago.)
 
@SeanAllred Sort-of misses the point of the GPL ;-)
 
@SeanAllred I don’t know who made the decision of placing dvipdfm-x under the GPL. But the core code is pretty much custom, I’d say.
 
@JosephWright Well naturally, but we aren't an FSF project :)
 
@Manuel not having \leavevmode would be a good start, the rest depends on the definition of proof environment
 
@SeanAllred What I mean is that I suspect that you’d have to rewrite dvipdfm-x, and then xdvipdfmx, from scratch.
 
3:18 PM
@ArthurReutenauer Up until a few month ago, I used GPLv3 as a go-to license because I didn't know what else to use.
 
@DavidCarlisle But then the first item is indented (just written at the same level of Proof.), which, to me, is not a good start :P
 
@ArthurReutenauer If that's the case, then I believe I could make a strong argument for it to be re-licensed. It has decently few authors.
 
The definition of proof is the “default” with thmtools+amsmath. thmtools adds a few things but in the end the original amsmath definition is there.
 
@SeanAllred Well, feel free, if that would be useful to you. I’m happy to be kept in the loop, but don’t expect me to contribute to the discussion too much, I’d rather spend my time on real things :-P
 
@Manuel no as I say it depends how you define proof but if you have \leavevmode all bets are off as then you have a blank all white paragraph between the heading and the list and chances are anything the heading does to suppress a page break will only apply to the blank paragraph.
 
3:21 PM
@ArthurReutenauer Completely understand :)
 
@DavidCarlisle Well, then my question is, what is the preferred way of starting a proof (or any theorem-like environment) with an enumerate or family without the first item being on the same line as the “Proof.” (i.e., not indented).
 
@SeanAllred really even in a commercial environment GPL shouldn't be so much of a problem (an awful lot of commercial code is compiled with gcc for example) it would be bad for us as it would limit the use of a library but it is hard to see how you would be extending xetex or xdvipdfmx programs and so GPL has few restrictions (although whether corporate policy allows that is another matter of course)
 
@DavidCarlisle My mind is a bit frazzled -- could you add some punctuation? (sorry:()
 
@SeanAllred His . key just fell off the keyboard hahaha
 
@Manuel with amsthml a \linebreak in argument 8 of \newtheoremstye forces a linebreak after the proof heading
@SeanAllred short version: what would you possibly want to do that was prevented by GPL?
 
3:26 PM
@SeanAllred One of the most horrifying licence discussions was when Mojca was contacted in 2010 about one pattern file in hyph-utf8 that was in the public domain. The reason why that’s potentially a problem is because in most countries, there is apparently no mechanism to voluntarily place one’s intellectual property in the public domain - with the notable exception of the US and the UK (admittedly a rather large exception).
@SeanAllred So some Linux distributions apparently refuse “public domain” as a valid status.
 
@DavidCarlisle But I don't want a linebreak always, just when I use some list.
 
@Manuel with amsthm?
 
@DavidCarlisle Well, the very thing it was written to prevent: to embed (or otherwise customize) code from a project in something non-GPL.
@ArthurReutenauer Wait, really? You can't just say 'Please, take my work. It's yours. I don't care. Just don't bother me.'
 
@SeanAllred but that's what I mean, do you really need to compile xetex from source to make a derivative work (GPL conditions all over) or just call xetex as a program to print stuff (probably unrestricted if you do it with care)
 
@SeanAllred Yes, but do you need to embed? As opposed to just running the binary.
 
3:28 PM
@DavidCarlisle Yeah (I guess), also with thmtools, but I think I could manage to do it in thmtools
 
@SeanAllred Yes: see noted on Creative Commons site for example
 
@SeanAllred no.
 
@SeanAllred Yes, really :-)
 
@DavidCarlisle @ArthurReutenauer Of course I don't, and neither does this application :) but you asked for a reason why and I gave one :)
@DavidCarlisle But I see your point.
I'm just expecting to have to have a frank conversation about the content-license versus the program-license and its use.
 
@SeanAllred but it's a crucial difference GPL is mainly concerned with creating derived works, not use.
 
3:29 PM
In the past, I've had difficulty explaining that distinction
 
@SeanAllred TeX itself of course does not have this restriction, and TeX has been incorporated into a variety of such in the past
 
@SeanAllred That’s what the CC0 is for - I suppose that legally that means you’re still the copyright holder, but since you waive all responsibility you’re pretty much safe from lawsuits if anything goes wrong with your work - one would hope.
 
And this is why I am not a lawyer.
What a headache.
@JosephWright But the problem with using Knuth's TeX is that you still don't have a PDF at the end of the day
 
@SeanAllred Isn’t it? :-) I guess you could try and make the point that you’re actually a zombie and have been for 70 or whatever the requisite number of years is, but I’m not sure that would hold in court.
 
@ArthurReutenauer By the time I'm through the stress of all this, I just might look the part.
 
3:33 PM
@SeanAllred The applications I'm thinking of have all provided their own drivers, so that was not an issue. In recent years, of course, there has been a tendency toward a smaller number of drivers, all as you note GPL
 
@SeanAllred Haha.
@JosephWright What about xdv2pdf, by the way? I don’t know its licence off-hand.
 
@ArthurReutenauer No, but it's no longer around is it?
 
But of course @SeanAllred would probably have a hard time convincing his employer to use an unmaintained, Mac-only driver ;-)
 
@ArthurReutenauer Seems to be OSX specific
XD yeah
 
@SeanAllred @JosephWright I’m looking for solutions ;-)
 
3:35 PM
@ArthurReutenauer searchcode.com/codesearch/view/25328491 suggests it's not GPL and isn't all that long
 
Half a dozen years ago there was a question on the GUTenberg list by someone seeking to use an old driver called dvitops (I think that was the name).
 
@ArthurReutenauer James Clark's one of the best at the time:-)
 
@DavidCarlisle Yes, that’s what I heard too, it was very good.
 
@ArthurReutenauer I spend all day every day using XSLT, of which James was the original lead designer:-)
 
@DavidCarlisle And what a wonderful spec it is
 
3:40 PM
Anyway, the OP had a document from 1994 and absolutely refused to update it since he expected to still be compilable (it was late 2007 or early 2008 when he asked the question). There were about 3 or 4 specials for including graphics (using dvitops’ specials syntax), so obviously I suggested to change them to use \includegraphics instead.
But the OP didn’t want to, so, since the mention of dvitops had aroused my curiosity, I got the sources from CTAN and managed to compile it with gcc and a minimal amount of tweak to the sources.
I then went back to the list to explain how simple it was to compile dvitops and went ahead to describe my hacks.
This had the desired effect: the OP gave up on using dvitops.
 
@ArthurReutenauer :-)
 
@DavidCarlisle Ah yes, I knew I had heard that name somewhere. Too bad there’s no free XSLT 2.0 processor.
 
@ArthurReutenauer saxon has a free build
@ArthurReutenauer xslt spec xt implementation, nsgmls, groff are all from same:-)
 
@DavidCarlisle Thanks, I think I noticed before, about Saxon. Actually I don’t have much use for it anyway, the only time I tried out XSL stylesheets was for UDHR in Unicode that are 2.0, but it wasn’t too much work to make them into 1.0
Incidentally, XƎTEX.net is now live (for me) and redirects to Sourceforge.
 
@ArthurReutenauer I don't think I'd want to do that with mine (I have a hundred thousand lines of the stuff:-)
@ArthurReutenauer works here:-)
 
4:00 PM
@DavidCarlisle Good :-)
 
why exactly does \wrapfigure place my images 6 pages later, and how can I prevent that?
 
Normally it doesn't move them at all, presumably you gave it some constraints that were achievable. hard to say without seeing code:-)
 
uh, I include the image as
\begin{wrapfigure}{r}{0.5\textwidth}
\input{bild.tex}
\end{wrapfigure}
from what I though, that should just put it on the right of the page and then wrap text around it?
 
@CBenni with r not R then it should not move at all. Do you hav e the paragraph starting immediately after \end{wrapfig} ? and of course what's in the input file?
 
@DavidCarlisle how do you mean exactly?
both r and R are achieving the same result for me
And uh, I can fix it to have text afterwards, its within a proof environment
 
4:06 PM
@CBenni wrapfig allows {r} for right aligned at current spot, or {R} for right aligned, floating, so as you use r the figure should not move away at all, never mind 6 pages.
@CBenni a proof environment is (in most definitions) a list and the first rule of wrapfig is, don't put it in or near a list.
 
T.T
what am I gonna do then?
 
  - You must not specify a wrapfigure in any type of list environment or
    or immediately before or immediately after one.  It is OK to follow
    a list if there is a blank line ("\par") in between.
@CBenni follow the instructions in wrapfig.sty :-)
 
Also, isnt that technically a bug?
 
@CBenni no.
 
so it is actually impossible to put a wrapfigure into a proof... urgh.
 
4:09 PM
@CBenni A bug is when software says it does something and then doesn't. When the documentation says that you should not do something, but you do, that's "user error".
 
Do you have any suggestion as to what I can do however? Or is it just a "cant do that without massive effort"
 
@CBenni It's always possible to achieve any effect, but perhaps not with wrapfig, for modifying list shapes it's tricky to do something in general but something is usually possible, depends a lot on the details of the proof environment and the text that is being wrapped though.
@CBenni first hit for "wrap text in theorem" is this, there were loads of others, something probably does your use case:
4
Q: How to wrap around a figure in a theorem-like environment?

EmreI want to illustrate my examples, which are set in a theorem-like environment. Is it possible to wrap the text and equations around the figures? I have read about several packages but I can't get them to work in a theorem. Am I doing something wrong?

 
4:24 PM
yeah ok whatever, too much hassle. remove the theorem environment for that proof and faked it to look the same. I am trying to get work done here and not experiment with new packages. Theres a deadline to meet. Thanks anyways @DavidCarlisle
 
@CBenni not unreasonable, wrapfig is already beyond what's reasonable to do in tex, so avoiding extending it is probably wise:-)
 
I dont quite understand the design decision "you cant use it near lists." however - to me, that sounds like "we were unable to get it to work, so were just not gonna support that"
 
@CBenni It's not a design decision, it's what could be achieved in a reasonable amount of code.
@CBenni yes except not "we" just Donald Arseneau, who's one of the best TeX practitioners on the planet, latex reshapes paragraphs to add the item labels and locally over-rides almost all paragraph related primitives (including \par) in order to do that, so having something that also reshapes paragraphs to add the image cutout and works seamlessly across list and non list material is decidedly non trivial.
 
4:39 PM
@DavidCarlisle I didn’t know wrapfig overrode \par. That’s a little scary :-)
 
@ArthurReutenauer \list overrides \par
@egreg you lost the tick but you did have the right answer
your redefinitions lose the automatic italic correction added by the default definitions you should use \DeclareTextFontCommand as shown in egreg's answer — David Carlisle 1 min ago
 
I didn't find a question/answer on the site about this: is there a way to tell Beamer to put the slides in an order that is different than the order they appear in the .tex file? I tried putting them in my preferred order in the \includeonlyframes{} list but they come out in the order they are found in the file
 
@DavidCarlisle With a command defined by you, I guess.
 
yo'
@repurposer you mean slides or frames?
 
@egreg Alan I think, can't remember, I suspect it was Frank/Chris's suggestion (goes back a long way to the original 2e sketches)
@ArthurReutenauer \parshape only applies to one paragraph so if you need to cut out 4 lines and the paragraph only has 2, wrapfig needs to catch \par and construct a new shorter \parshape for the next paragraph to hold the bottom of the image, trouble is list environments use exactly the same trick of using \par and \everypar to propagate a \parshape....
 
4:47 PM
@DavidCarlisle You can probably guess what I'm thinking here
 
@JosephWright you are probably thinking that you should have finished xgalley by now?
 
@DavidCarlisle I have finished xgalley :-) I need people to test it
@DavidCarlisle At least, this area is finished: it's display (math) that is outstanding
@DavidCarlisle No-one has really checked my global/local mix :-(
 
@JosephWright something to do on the plane?
 
@DavidCarlisle :-)
@DavidCarlisle What's needed for the current case is clearly \galley_cutout_left:nn
 
@JosephWright and for that to be compatible with the rest of the document infrastructure?
 
4:51 PM
@DavidCarlisle Sounds cool, actually. But also scary ;-)
 
@DavidCarlisle That's the problem, of course: we need lists implementing appropriately. I can probably hack something up :-)
 
@PauloCereda Asked one of them. Likes ducks, but only crispy :-(
 
@ArthurReutenauer Frank said to me once that xgalley is more complex conceptually than xor. I'm not sure I guy that, but it is certainly a tricky beast.
 
@ArthurReutenauer lists are one of the more complicated latex structures, there's a reason Leslie relaxed after they were defined and just defined everything else to be a list: center, verbatim, quote, ....
back later...
 
01:00 - 17:0017:00 - 00:00

« first day (1669 days earlier)      last day (3266 days later) »