« first day (1867 days earlier)      last day (3362 days later) » 

05:18
0
Q: How do I remove the left margin of enumerate in the second level?

crocket\documentclass{article} \usepackage{microtype} \usepackage[T1]{fontenc} \usepackage{enumitem} \newcommand{\currentsection}{3.5} \setlist[enumerate,1]{label=\currentsection.\arabic*} \begin{document} \begin{enumerate} \item ohai \begin{enumerate} \item ok \item hi \end{enumerate} \item oha...

 
2 hours later…
07:26
@crocket You do not need to advertise your question on chat. Every user here look the question ;-)
 
2 hours later…
09:04
Hi everybody
@moose Hello
I've got a short question: I would like to start a question on TeX.SE like "How are / should BibTeX fields be used?". The answers can explain any BibTeX field (e.g. "comment", "title", "review", "owner", "file", ...).

The question would be very broad, hence I hesitate to ask it like this. My real question is "Is 'comment' used in the created PDF output or is it just for me to organize my literature?". But I really would like to make the question broader as I came across this type of question a couple of times.
Do you think I should ask such a broad question? (I wouldn't care if we made the question / answers community wiki)
@PauloCereda Ooo Paulo, I've just seen you have a new profile image. A duck-bee. Reminds me of youtube.com/watch?v=txj6ROnIUIo
@moose ooooh
09:45
@egreg I like to give you little jobs to do, keep you occupied.
@DavidCarlisle Keeping me from writing the best answers, so you can provide your lesser ones?
@moose the answer to your real question is "it depends"
@egreg existing answers with ticks never normally stops you from posting an attempt to steal
@DavidCarlisle I guess it depends on the bibliography style I use? Is there any standard/common "save" field to use which will not get displayed?
@moose only the ad hoc standard of what the standard bib styles do but in this case it's very loose as you can use any name at all as a field name and bibtex just silently ignores it so any field not used by the style you are using is a "comment" and conversely any such field might be used by another style
so moose-my-private-bibtex-data-dont-write-a-bst-that-uses-this="something" might work for example.
@DavidCarlisle Haha, that might be a bit inconvenient ;-)
Thank you for your quick answer.
10:01
@DavidCarlisle My mail has too many recipients for the team list :-(
Ok, I have to go again. Bye bye!
10:23
@DavidCarlisle Did you get the direct version?
Hey guys, does \pgfmathsetmacro{\x}{random(1,10)} actually work? It doesn't change after every compile.
@Alenanno You need to wait for the seed to tick over, so at least a minute
@JosephWright Even though I added \pgfmathsetseed{\pdfuniformdeviate 10000000}?
@Alenanno Works here
\documentclass{article}
\usepackage{pgf}
\begin{document}
\pgfmathsetseed{\pdfuniformdeviate 10000000}
\pgfmathsetmacro{\x}{random(1,10)} \x
\end{document}
@JosephWright That changes sooner than the minute is over?
10:30
@Alenanno Yes
@Alenanno The actual seed is stored in \pgfmath@rnd@z, so you can see that as-standard it doesn't change on every run
@JosephWright How much sooner? Here it doesn't.
@Alenanno If I do
\pgfmathsetseed{\pdfuniformdeviate 10000000}
\makeatletter
\show\pgfmath@rnd@z
the seed is different almost every run (I caught it the same once)
@JosephWright Ah.
@JosephWright And does it work for you to include negative numbers in the range?
@Alenanno No, it doesn't like that
@JosephWright Yeah, I noticed. Thanks for the help!
11:20
@DavidCarlisle I see Rainer has decided my message was OK after all :-)
12:01
@JosephWright I replied, is he going to have to authorise each one individually?
@JosephWright ah perhaps. I didn't notice you had sent it to me and to the team, gmail would probably only show it once anyway
@JosephWright ah my reply is awaiting mod approval...
12:15
@DavidCarlisle Perhaps: the list is a bit long but all are relevant I think
12:51
@JosephWright for the l3 case changing stuff do you have an uppercase variant that drops accents? (thinking about xgreek, mostly but also some French styles I think) I suppose you could extract the relevant data from the "decomp" field in unicodedata to get the base letter, unless there is specific uppercase data elsewhere in UCD?
@DavidCarlisle I've not done this yet, but I am aware of the Greek situation!
@DavidCarlisle I checked up on French: as I understand it, the 'dropping accents' thing there was really just to do with using typewriters and was never part of proper typographic use
@JosephWright yes not so much whether you had done it so much as whether the data was actually in the UCD or had to be constructed from outside
@DavidCarlisle I do have a list of mapping for Greek, taken from xgreek but modified as some of those are wrong (for example, 'hacks' to align non-letter chars with cased letters)
@JosephWright possibly but whatever the history people get very attached to whatever style they expect:-)
@DavidCarlisle The input I got was that Unicode mappings are 'wrong' but as it's stable we are stuck with them. I've not checked the UCLDR
@DavidCarlisle True, but as I say the feedback I had was that this would be 'out and out wrong', not just 'a stylistic choice'
@DavidCarlisle I've probably got to revise things anyway: I'd like to use the new 'raw' Unicode data directly and not pre-compose the intermediate data file. I think that's doable as with a Unicode engine \lccode and \uccode should be regarded as 'fixed' for all code points.
13:02
@JosephWright for Greek? (yes it was noticeable the only people arguing for Greek accents on uppercase didn't seem to have used Greek for 3000 years).
@DavidCarlisle I'm thinking of using 'list of exceptions then \lccode/\uccode': we need about 500 special cases, which is not too bad as we need 300+ data entries with the 'packed' approach anyway.
@DavidCarlisle No, for French. Greek seems complex: the rules for modern Greek require accent removal, but for ancient Greek the UCD might well be correct!
@DavidCarlisle Yes, I'd picked all of that up. Makes life slightly tricky as really the standard mappings should I think be 'in common use today'.
@JosephWright something to get back to after luatex .85:-)
@DavidCarlisle I should really do the Greek stuff :-)
@DavidCarlisle Hans has certainly given us something to do
meanwhile I don't think you are "watching" this, but it seems to be making progress github.com/michal-h21/luatex-harfbuzz-shaper
@DavidCarlisle I am now
13:08
@JosephWright :-)
@DavidCarlisle Problem will be that Hans isn't about to make it easy to load HarfBuzz 'out of the box' (which is what would be ideal)
@JosephWright Not tried running it (not really stable enough to try a cygwin compilation) but things seem to be happening
@JosephWright well that is loading a shared library so doesn't need any direct support from luatex core but may need support from texlive infrastructure to see if its possible to have a suitable shared library version of harfbuzz on all platforms.
@DavidCarlisle Hmm
@DavidCarlisle I meant that ideally Hans et al. would actually include HarfBuzz in LuaTeX itself
@JosephWright yes the followon from the above would be that use would be the same but distribution would probably be easier if it was statically linked to the luatex executable, but that would mean forking luatex probably (or at least a variant compliation of same sources)
@DavidCarlisle Indeed
@DavidCarlisle If it does work out then getting it into TL and MiKTeX would be excellent news
13:16
@JosephWright which is why I opened an issue the other day to guide them towards using the version of harfbuzz that's already in texlive for ease of compilation (and compatibility with xetex)
@DavidCarlisle Ah
@DavidCarlisle Can't see it :-(
@JosephWright -- i'm no expert in either greek nor what you're doing to support unicode "natively", but i do know that the handling of diacritics for classical greek is much different from that for modern greek. from the couple of semesters of modern greek i've struggled through, i know for sure that modern greek preferably uses only a single fairly "neutral" accent mark, but for classical greek, if even one accent/diacritic is removed, the meaning could be changed drastically.
@DavidCarlisle I guess with the L3 hat on this is something we'd really like to have
maybe you can split greek into two?
@barbarabeeton Certainly
@barbarabeeton As I explained at TUG2015, we can have different case changing outcomes. What's awkward is that I'm told that the standard Unicode mappings are the 'wrong' ones: ancient Greek, probably done by people who don't actually use the language day-to-day
13:19
@barbarabeeton gr and eek ?
@barbarabeeton The issue arises with both monotonic and polytonic modern Greek (and indeed that split isn't our issue: it will be present in the input anyway)
@JosephWright oh might have been a comment on a commit rather than an issue. i'll find later.
@JosephWright oh so you can search too:-)
@DavidCarlisle -- if you'd been in xanthi for the tug meeting to witness my attempt at a greeting, you'd realize just how appropriate that is!
13:24
@DavidCarlisle I looked up your public activity ...
@DavidCarlisle, @barbarabeeton Are you one the hyphenation list? I wonder what Google want ...
@JosephWright structured search!
@JosephWright world domination?
@JosephWright Oh my!
@JosephWright -- i think i can find out the background of the unicode greek mappings. would you like me to do that? and i think i can also find someone who can be considered an expert in classical greek who'd be willing to check it. (for that, i would ask diana wright, who was pierre mackay's companion in his last years; she's a classical greek scholar herself.)
13:26
I am expecting an email from Nadella, so I can officially announce Microsoft Arara. :)
@barbarabeeton The UCD mappings are what they are, it's just a question of saying 'the standard mappings may be unsuitable for modern Greek, you should use ...'
@JosephWright -- yes, if you mean "tex-hyphen". haven't seen any message like that yet, but will look for it.
@barbarabeeton hmm LPPL discussions again.... (@JosephWright)
@barbarabeeton I'm pretty sure the request I've had is right, I just haven't implemented it :-) (The same has come up for things like web browsers, and they seem to have been convinced that a dedicated mapping was required)
@DavidCarlisle I'm not sure the issue is the LPPL per se, my guess is they want something with a very permissive license and the LPPL is simply an example of one that's not permissive enough
13:49
@DavidCarlisle I am in fact quite curious if someone could get it working under Windows, I mean at least compiling Luaharfbuzz library, I managed to get Luarocks working on Windows, but compilation of C modules doesn't seem to work
@DavidCarlisle -- yes. ugh. my understanding is that the lppl was fought over long and hard with debian, and only grudgingly did they accept the logic that the renaming requirement was necessary for stability. there were probably other aspects too, but i eschew legal jargon as fervently as i can. if you don't know the details, then probably frank is the only person who does, and i'm sure he won't be happy to go into this again.
@barbarabeeton Renaming is no longer required (LPPL1.3c)
14:05
@JosephWright -- well, requested then. i think tex is fortunate in having most developers in agreement with the reason for the request, and honoring it.
@barbarabeeton Certainly, though there are cases where using the same name is justified (see luatexbase recently or biblatex or ...)
@JosephWright -- well, mojca has just posted a cogent and enlightening response to the google request. if google is willing to foot the legal expenses, then perhaps it's possible to resolve this mess. i agree with the authors who want recognition for their work, or at least a "guarantee" that no one else will be able to claim it, hence the insistence that their name remain with the work. poor mojca.
@barbarabeeton Complex indeed
@barbarabeeton These things are very personal, of course: I've had more-or-less the opposite discussion with Frank (I don't want my name on anything done for the team, TUG, ...)
@barbarabeeton CC0 would deal with the re-licensing business (as it's intended to be almost equivalent to public domain) but as you say people can then find their names removed from stuff.
14:21
@JosephWright -- yes, but you assign credit to the team, and i think you'd be unhappy if some plagiarist in lower slobbovia undeservedly claimed ownership.
@barbarabeeton Yes but that would be both possible and actionable irrespective of the license (even CC0). Taking a public domain work and putting your name on it is possible but doesn't mean it's got any legal standing.
@JosephWright -- true, but legal action is expensive. not everyone has bottomless pockets or the desire to further expose oneself.
@barbarabeeton Certainly
14:41
Is biblatex now the recommended thing to use for citations? I haven't done it recently - my memory is a bit fuzzy.
@michal.h21 I use the cygwin version of texlive so more like linux than windows, except when it isn't like linux at all:-) the complete texlive build works OK as all the cygwin dependencies have been sorted out, so it just needs make but I'm hesitant to try code that is still in development:-)
@FaheemMitha It is the best system. Unless someone (e.g. a journal) force you to use bibtex+bst I would always recommend to use biblatex + biber.
@FaheemMitha possibly except that if it is for submission to anywhere then most places probbably only accept documents using bibtex
@DavidCarlisle In this case it's for "private" use. What is "submission to anywhere"? Meaning a journal?
@FaheemMitha if anything goes wrong you can blame ask @JosephWright.
14:48
I'm looking for bibtex legal support. I found:
@DavidCarlisle Or @plk or @Audrey
@FaheemMitha yes or online journal-like-thing like arxiv.org
But they only mention biblatex-juradiss and biblatex-jura.
@JosephWright you are more likely to be here
How about jurabib?
@DavidCarlisle Ok. What's the problem with bibatex/biber?
14:50
@FaheemMitha jurabib has nothing to do with biblatex
@FaheemMitha nothings wrong with it but journals may not accept it as they have a bibtex based workflow
@JosephWright No, I just want support for quoting legal cases/decisions. Unrelated question.
@FaheemMitha It's an entirely different approach to 'classical' BibTeX, particularly if you are using Biber not BibTeX for sorting
@DavidCarlisle @JosephWright Ok.
biblatex-juradiss and biblatex-jura are both German related.
Oh jurabibappears to be more for academic law texts.
@JosephWright random MWE on main site,
(/usr/local/texlive/2015/texmf-dist/tex/generic/pgf/systemlayer/pgfsys-common-p
df.def)
! unexpected use of \pdfvariable.
<to be read again>
l
l.418 \pgfutil@setuppdfresources
after I added luatex85.sty :(
15:02
@DavidCarlisle Ooh
@DavidCarlisle Link?
1
Q: How to insert output of Lua script verbatim at location with LuaLaTeX?

gsprI'm using TikZ' graph layout engine, and I'm very confused as to why \graph {1, 2, 3, 2--3}; draws the desired graph, while \graph {\directlua{dofile("foo.lua")}}; does not when foo.lua just contains tex.print("1, 2, 3, 2--3") I'm obviously very confused with regards to \directlua… Edit...

@JosephWright first thing was pdflastobj not defined as I had missed out a block using \pdffeedback from luatex85.sty (just pushed that) but it still dies in the pgf code
@JosephWright scratch that, works now
Ah there any actual lawyers on this site?
@FaheemMitha Yes, there's one at least
@JosephWright Do tell.
Unless it's a secret.
@FaheemMitha Was just checking that it is in his profile
15:10
@JosephWright Ah, Germany.
@FaheemMitha I've met him :-)
@JosephWright I see. In a legal context, or a TeX context?
@FaheemMitha A TeX context
@JosephWright Ah, Ok. So, he's active in the TeX community.
@FaheemMitha @JosephWright and I were in Germany in the summer....
15:13
@DavidCarlisle That's nice. Did you drink German beer?
@FaheemMitha Not in my case (I don't drink alcohol)
@JosephWright Oh. Me neither, really. And I never cared for beer.
@JosephWright are you on this list? Your message to dev-luatex awaits moderator approval
@JosephWright more work for us, it seems....
15:51
@DavidCarlisle No, not on the dev list
@DavidCarlisle Am just reading that now
@JosephWright hadn't noticed hans had added that so my reply bounced from latex and luatex lists
@DavidCarlisle Mag support loss is worth knowing about: drop that mag fix thing in the .ini file entirely!
@JosephWright yes be interesting to see if it still accepts the number but doesn't magnify or if it just errors
@DavidCarlisle :-)
@DavidCarlisle Luckily, this is not a problem for LaTeX ;-)
@JosephWright it's an interesting approach to supporting the largest portion of your user base
15:56
@DavidCarlisle Hans' user base is him
@JosephWright I always thought that technically alcohol was a solution. :)
@JosephWright no support for ducks in bee costumes then:(
^^ I should be banned for such a bad joke.
@PauloCereda Depends on what you mean: I'm a chemist, remember, so pure ethanol is an alcohol
Then again, so is neat methanol and no-one would drink that
@JosephWright I am a simpleton, so most things I say are silly. :)
15:59
@JosephWright no, always add some purple colour before drinking
@DavidCarlisle :-)
@DavidCarlisle More seriously, that statement about math codes is a bit troubling
@JosephWright "troubling" is a reasonable translation of my thoughts, yes.
@DavidCarlisle I tried a chemistry joke but I got no reaction from @Joseph. :)
^^ oooh
@PauloCereda !
@JosephWright Oh no! :)
Today it seems I am stupider than the other days. I will shut up for the greater good. :)
16:03
@DavidCarlisle On the other hand, it seems they will fix \savinghyphencodes, and the ^ notation tidy up sounds good
@Joseph: in other related news, I revived some of my childhood moments yesterday by watching Beakman's World. Was it popular in the UK?
@PauloCereda Not one I've herd of, but perhaps after my 'time'
@JosephWright C'mon, we are almost the same age. :)
@JosephWright although I had wondered before about that area. In the change to allow 256 math \fam, I restricted the symbol font declarations to 16 and just allowing math alphabets to use the higher ones but it occurred to me the other day that if \DeclareMathSymbol used the U form when defined then it wouldn't have bit packing restrictions from \mathchardef
@Joseph: except @David, he is really old. :)
16:05
@PauloCereda if I'm really old, what's that Italian bloke?
@PauloCereda never heard of it, not clear that it ran in the UK
Hi guys
@Alenanno Hi
@Alenanno Hi (I'm sure you've offended the women and ducks present:-)
@DavidCarlisle Guys includes women too from what I gather, but not ducks I'm afraid. :P
@Alenanno Yes although more-so in US than British usage. (Ducks don't really matter anyway)
@DavidCarlisle ooh he's from the Roman time? :)
@DavidCarlisle I think it was an American show.
@Alenanno Oh.
@PauloCereda :P
So... I kind of have completed my version of the Advent Calendar challenge, except for one thing I feel too newbie about, but... Should I paste 350 lines of code in an answer or use an external link? lol
@PauloCereda Latine loquor optime
@Alenanno don't use external links
@DavidCarlisle Paste it is then.
16:26
@Alenanno my christmas answer from a previous year is around 300 lines long:
77
A: Holiday contest! Drawing a picture of Krampus for Yule

David CarlisleYou did ask for a Christmas tree? (I updated the tree to straighten it out) \font \t=cmtt10 at 1.5pt \t \baselineskip 1...

@DavidCarlisle Ah ok, thanks :D
@egreg ooh
@egreg we'd never noticed
@DavidCarlisle Posted, although I'm not as proud as I could be. :P
16:45
@Alenanno not as scary as my krampus, but I voted anyway:-)
@Alenanno Congrats!
Thank you all *sheds a tear*
17:16
@DavidCarlisle I've been over the LuaTeX SVN: I can't see anything like '\mathcode will not work'
@JosephWright yes I had a browse around as well. Hopefully I'll get a reply to my question about what he meant.... I'm wondering if I should try to set up a build from the luatex svn rather than texlive as it feels like it lags behind at times like this...
@DavidCarlisle They have branches :-)
@JosephWright ah you mean I'd have to build the right thing. . I was a bit put off as I failed building the standalone xetex but once I fetched the whole texlive tree basically just typing make worked and all the cygwin dependencies got resolved somewhere.
 
1 hour later…
18:27
@JosephWright phew:-) (Hans reply:-)
 
2 hours later…
yo'
yo'
20:29
Yay, I'm getting a tee-shirt!
20:55
@yo' yaaaay
@yo' -- wear it in good health
22:01
@DavidCarlisle Indeed
 
2 hours later…
23:49
I would like to plot a diagram in latex. I found that xfig can do this for me.
I am using windows 7, I installed cygwin. In addition, I have installed xfig during the cygwin installation.
My question is that, I can't open xfig inside cygwin. is there any specific software that I should install?

« first day (1867 days earlier)      last day (3362 days later) »