« first day (2032 days earlier)      last day (2902 days later) » 

cfr
2:35 AM
@barbarabeeton Not sure if this is of interest or not. Apologies for the noise if not.
2
A: tex4ebook and chess symbols

michal.h21The problem is that several symbols doesn't have Unicode counterparts, so we need to output them as two characters. In some cases it doesn't really fit the original. SkakNew.htf: SkakNew 32 121 '' '' 32 '!' '' 33 '”' '' 34 '#' '' 35 '$' '' 36 '%' '' 37 '&' '' 38 '&...

 
 
2 hours later…
Anonymous
4:51 AM
Somehow, I can't include the character # (number sign) in some-url in ... -> -> ->

{\color{orange}\underline{\href{some-url}{That's a link}}}
 
Anonymous
 
5:21 AM
@VincentVerheyen You shouldn't do that. hyperref has some features of marking links with color or a frame (even if the frame only consists of the bottom line).
 
Anonymous
5:52 AM
@Johannes_B I have looked into to those features, but couldn't get the desired result using those options. Instead, there always was a full frame around the links, and not only a line; which is why I opted for the current option.
 
Anonymous
@Johannes_B For example, both of the answers in Werner's answer here tex.stackexchange.com/a/26085/67761 don't work for me. The first option yields no line at all, and the second option yields a red frame, instead of just an under-line.
 
Anonymous
@Johannes_B So, what would you say as an answer to this question: How to style href's (underlined and coloured) throughout the document please?
 
6:34 AM
I posted a question, then found I had typo in my ties, which made the question invalid since after fixing my typo it works. is it ok to delete it when someone gave an answer? I do not want to be rude.
 
@Nasser Typos are usually closed as off-topic, since there is an infinite number of typos.
 
@Johannes_B when I tried to delete my question, I got a message saying there is answer and it is not recommended to delete it. The answer I have did not actually work for me. I should delete the question I think.
The way my question stands now, it makes no sense, since what I have actually works. So there is no problem to solve. I had silly typo.
 
@Nasser If you think the question should be deleted, delete it. But it is quite a long question for a typo.
 
@Johannes_B I know. I showed all the tries I had. But the last try that failed is becuase I used \3 instead of 3 when I was copying things.
may be a mod should delete it. This way the person who answered it does not get mad at me.
 
6:52 AM
@PedroTamaroff Well, as mentioned a figure is a floating environment, which means that LaTeX will position it in the text according to a specific algorithm (see tex.stackexchange.com/questions/39017 for details on that) in order to avoid bad page breaks, i.e. big empty areas at the bottom of pages. You can control this of course, see e.g. tex.stackexchange.com/questions/2275 and tex.stackexchange.com/questions/8625 in addition to the already mentioned post.
 
@PedroTamaroff the only reason for wrapping an image inclusion in a figure environment is so that latex can move it to help with page breaking. So that sounds like the expected behaviour, not a problem.
 
Anonymous
In the question How to style href's (underlined and coloured) throughout the document, I like Werner's answer, but as I have commented, it can't contain #'s in the URL. Could anybody know a fix please? Cf. How to be able to use the number sign (#) in the URL of an underlined href.
 
@Nasser it can be voted closed even if not delted
 
@DavidCarlisle The edited answer was corrected and it now answers my old question with the typo resolved. I'll accept it. It shows a method that can be useful to others.
 
@VincentVerheyen probably you can use \hash defined as \edef\hash{\string#}
 
Anonymous
6:58 AM
@DavidCarlisle As such:

\newcommand{\hash}{\edef\hash{\string#}}

I guess not, but then how to execute your suggestion please?
 
@VincentVerheyen no, just what I wrote (edef is a command definintion, like newcommand, but lower level)
 
Anonymous
@DavidCarlisle Ok, understood. Thanks, I'll try.
 
Anonymous
Comming back to that ...

\href{http://any-URL\hash}{sodales vel vitae}

Isn't working.
 
@VincentVerheyen may look later, got to go now
 
Anonymous
@DavidCarlisle Have a good go, hopefully hear you later. Thanks already for thinking about it so far.
 
7:51 AM
@DavidCarlisle Found a bug in keyval :-)
\RequirePackage{keyval}
\makeatletter
\define@key{test}{test}{\showtokens{#1}}
\setkeys{test}{test = {{foo}}, test ={{foo}}}
@DavidCarlisle ^^^
 
ohh I suspect that's possibly known Stephen reported {{ problems, changes.txt says * keyval.dtx: add \long on internal parsing macros to allow \par
in values, Only strip one {} group not two from values.
graphics/3446 but then a few months later 2014-05-08 David Carlisle <david.carlisle@latex-project.org>

* keyval.dtx: Revert change to {} parsing.
I can't recall what it broke, but I seem to remember deciding that fixing was harder than not fixing after all that time
 
@egreg I just looked at your reputation chart. April 2013 sticks out like that skyscraper in Dubai. :-)
 
@DavidCarlisle Yes, quite possibly (code is after all used a lot): just commenting as my performance stuff means first setting up some tests.
 
@Johannes_B presumably one of many undeserved bounties?
 
7:58 AM
@DavidCarlisle Plan A was to start from \keyval_parse:NNn as is but that didn't work so well, so plan B is to start from keyval
 
@DavidCarlisle Of course :-)
 
@JosephWright have a look at graphics/3446 then:-) I think fixing it broke pstricks or hyperref or some other such package that I didn't want to break and only one person had complained about dropping too many { in 20 years so I put it back, but in new code that wouldn't be an issue of course.
 
@DavidCarlisle Sure
@DavidCarlisle In \keyval_parse:NNn the current behaviour is always to strip exactly one set of surrounding braces, so I just have to not break that whilst trying to find all of the bottlenecks
 
@JosephWright parse the comma list as a native lua table oh no, wrong policy:-)
 
@DavidCarlisle Who knows :-)
@DavidCarlisle Probably has it's own issues: certainly ConTeXt's handling of keyvals is a bit different to LaTeX's
 
8:15 AM
@DavidCarlisle Certainly getting to a much faster version. Currently have
\def\q@recursion@tail{\q@recursion@tail}

\protected\long\def\Xsetkeys#1#2#3{% #1 = NoArgFunc, #2 = ArgFunc, #3 = keyvals
  \let\@tempc\@empty
  \XKV@do#1#2#3,\q@recursion@tail,}

\protected\long\def\XKV@do#1#2#3,{% #1 = NoArgFunc, #2 = ArgFunc, #3 = keyval
 \ifx\q@recursion@tail#3\@empty\else
  \XKV@split#1#2#3==\relax
  \expandafter\XKV@do\expandafter#1\expandafter#2\fi}

\protected\long\def\XKV@split#1#2#3=#4=#5\relax{%
  \KV@@sp@def\@tempa{#3}%
  \ifx\@tempa\@empty\else
    \if\relax\detokenize{#5}\relax
which works like \keyval_parse:NNn (pass processors rather than look up keys) but avoids the assignments we currently have, etc. Need to address babel, the braces and space stripping (all spaces at each end, not just one), but I think I can get some serious improvement
 
Good maen
 
@ChristianHupfer Quack!
 
@JosephWright how much slower is slower (compared say to time taken on package loading? ) do you need thousands or millions of key settings to see a difference?
 
@PauloCereda Shaky Bus Tours? ;-)
 
@DavidCarlisle Tens of thousands
 
8:20 AM
@ChristianHupfer in 40 minutes, yes. :)
 
@PauloCereda Oh my ...
 
@DavidCarlisle The bigger issue is the 'higher level' (l3keys) code, where I wrote it all ages ago and it's far too slow
@DavidCarlisle I'm looking at this as despite Frank's template ideas, most people seem to use keyval approaches 'live' (ConTeXt, pgf) with no pre-digestion and so performance is important
 
@JosephWright you do wonder if people follow Frank's 30-year plan of language layering, and all the real code is using positional arguments and just the top level styling keyval, whether there should be more than a few dozen rather than a few dozen thousand settings per document...
@JosephWright yes, I see that:-)
 
@DavidCarlisle As I said yesterday, I was looking at the options package and it's much, much faster than l3keys once you get to say 1000 keys
(I'm talking perhaps 100 times faster)
 
@PauloCereda Is there a guide in the bus also saying 'Over there you can see ... and this is the place where ....' ? ;-)
 
8:23 AM
@DavidCarlisle Certainly, but siunitx alone has something like 150 keys
 
@JosephWright yes but in a typical thesis, how many keys are actually set?
 
@ChristianHupfer No. :)
 
@JosephWright not saying you shouldn't optimise, just wondering...
 
@PauloCereda Perhaps you should be the guide then :D
 
@ChristianHupfer spot the looney!
 
8:28 AM
@PauloCereda Look into a mirror :-P
 
@DavidCarlisle The change in the brace handling broke biblatex thread.gmane.org/gmane.comp.tex.latex.latex3/3189/focus=3202
 
@UlrikeFischer ah and I didn't know anyone who could fix biblatex:-)
@JosephWright ^^
 
@DavidCarlisle Much of the user interface to TikZ is written in pgfkeys, whilst for ever table someone does using siunitx any per-cell data has to be set for every cell (say table-format = 3.4)
@DavidCarlisle I'll give it a once over: will gain siunitx speed, for example (a good demo of the idea that shared libraries allow improvement across the board)
@UlrikeFischer Thanks
 
@JosephWright yes I know really:-) in the initial template ideas we tried to arrange that the keyval stuff was resolved at definition time (more or less) but I don't think that ever worked completely.
 
@DavidCarlisle It does work (when I re-wrote I spent a long time making sure of that): I see the benefits but I do wonder if it's that useful, as 'in the wild' people want to adjust 'just this one case' a lot
@DavidCarlisle Take a look at xtemplate :-) Of course, the issue there is that it's not really right at a wider level
 
8:37 AM
@JosephWright not so much in the wild, as later that evening when Frank and I tried to make any examples of code we'd written that day, we'd always optimised out the interface we needed:-)
 
@DavidCarlisle Exactly
 
@JosephWright yes it "works" as in "works as specified", but it was never clear whether the specification was correct.
 
@DavidCarlisle When I looked at this and tried to make some test cases, I got the feeling you end up wanting something more like l3keys so you can fiddle about ad hoc
@DavidCarlisle Ah
@DavidCarlisle Of course, if we don't need multiple keyval interfaces then the \keyval_parse:NNn/l3keys split isn't needed and there's a possible (small) optimisation there
@DavidCarlisle I'll work on what I can solve at the moment: making l3keys faster :-)
@DavidCarlisle All good stuff for the team meeting
 
@JosephWright good plan. and I let people test pdftexversion in dviluatex, possibly less useful in the long run:-)
 
@Johannes_B: moderncv is again one of those 'ready-to-use' packages, I assume ;-)
 
8:48 AM
@ChristianHupfer I am sorry, moderncv is one of the most hideous things i have ever seen and it doesn't have a manual and the freaking warning is there for i don't know how many months.
Of course, you don't have any warning on l-templates, because the old version is still distributed.
\documentclass{article}
\usepackage{fontawesome}
\begin{document}
\faGlobe
wombat
\end{document}
@ChristianHupfer Since when is that failing with xelatex? ^^^^
 
@Johannes_B I don't understand
 
@ChristianHupfer This better?: Seit wann ist das mit xelatex Ermangelung
@ChristianHupfer just trying to help, as ever...
 
@DavidCarlisle You should definitely improve your Google Translator skills :-P
 
@DavidCarlisle Looked at that change in keyval, can see why it got reverted :-)
 
@ChristianHupfer Nevermind :-)
 
8:57 AM
@JosephWright I should never have trusted the OP:-)
 
@Johannes_B Are you referring to xelatex and fontawesome?
 
@ChristianHupfer yes.
 
@Johannes_B It does not compile?
 
@ChristianHupfer No.
 
@Johannes_B @ChristianHupfer: Not quite sure what you mean but it breaks for me in miktex because xelatex finds the pfb: MiKTeX2.9/fonts/type1/public/fontawesome/FontAwesome.pfb. I have forgotten if xetex shouldn't do this or if one must block the folder.
 
yo'
8:59 AM
I hate overfull boxes.
 
@UlrikeFischer vvvv
(./nickModerncvDotfill.aux) )

xdvipdfmx:fatal: pdf_ref_obj(): passed invalid object.

Output file removed.
 
@Johannes_B Yes, add \XeTeXtracingfonts=1. Are you using texlive?
 
@UlrikeFischer Actually I don't know what @Johannes_B means (but that's the way it goes concerning the communication between @Johannes_B and me ;-)), but I think he refers to the moderncv xelatex failure due to fontawesome
 
This is XeTeX, Version 3.14159265-2.6-0.99992 (TeX Live 2015) (preloaded format=xelatex 2016.4.30)  24 MAY 2016 11:04
entering extended mode
 restricted \write18 enabled.
 %&-line parsing enabled.
**nickModerncvDotfill.tex
(./nickModerncvDotfill.tex
LaTeX2e <2016/03/31>
Babel <3.9q> and hyphenation patterns for 81 language(s) loaded.
(/usr/local/texlive/2013/texmf-dist/tex/latex/base/article.cls
Document Class: article 2014/09/29 v1.4h Standard LaTeX document class
(/usr/local/texlive/2013/texmf-dist/tex/latex/base/size10.clo
\listfiles
\documentclass{article}
\XeTeXtracingfonts=1
\usepackage{fontawesome}
\begin{document}
\faGlobe
wombat
\end{document}
 
@Johannes_B Your system looks a bit curious. Why are you using a 2013 tree with a 2015 TL? Beside this xetex is using like in my case a pfb instead of the otf font
Requested font "FontAwesome/I/OT" at 10.0pt
 -> /usr/local/texlive/2013/texmf-dist/fonts/type1/public/fontawesome/FontAweso
me.pfb
 
9:09 AM
locutus@Todesstern:~/sandbox/rw2008/StackExchange> xelatex xelatexfontawesomeissue.tex
This is XeTeX, Version 3.14159265-2.6-0.99992 (TeX Live 2015) (preloaded format=xelatex)
restricted \write18 enabled.
entering extended mode
(./xelatexfontawesomeissue.tex
LaTeX2e <2016/03/31>
Babel <3.9q> and hyphenation patterns for 81 language(s) loaded.
(/usr/local/texlive/2015/texmf-dist/tex/latex/base/article.cls
Document Class: article 2014/09/29 v1.4h Standard LaTeX document class
(/usr/local/texlive/2015/texmf-dist/tex/latex/base/size10.clo))
@Johannes_B: The same error as in the moderncv question code -- Apparently I don't have the .otf file installed
 
yo'
9:22 AM
@PauloCereda Are you a set theorist or what?!
 
yo'
9:39 AM
@Paulo (or a set terorist?)
 
10:15 AM
@yo' or a set heroist?
 
10:29 AM
is texstudio open to change requests? If I see another person confused by mangled error messages I think I'll scream:
@Nasser No. As I say that is not the tex error message, that is your editor showing you the start of a message, and the end of the message, and omitting the important part that says which command is undefined. Look at tex's console output or log file. — David Carlisle 1 min ago
 
@TorbjørnT. ah thanks (I suppose I should post something there:-)
 
@DavidCarlisle TeXstudio has a button "log" which shows you more.
 
10:45 AM
@Nasser ^^^
@UlrikeFischer still it's not exactly unnatural to assume that an error message display Undefined control sequence. \variable is to be read as saying \variable is undefined.
 
@DavidCarlisle It tries to show the text on the error line. E.g. a line like "blblub xxxxxxxxx \variable vlvlvld bldldld" would lead to "Undefined control sequence. blblub xxxxxxxxx \variable". With another error it would look like this "Missing = inserted for \ifnum. blblub xxxxxxxxx \variable". Like in real log-messages one has to learn the structure of such messages.
 
@UlrikeFischer yes but if the editor is only going to show a compressed message it should learn the structure and show the relevant bit. It could detect an undefined control sequence error and show the command that is not defined.
 
@DavidCarlisle There exist already a feature request: sourceforge.net/p/texstudio/feature-requests/1068
 
@UlrikeFischer ooh I'll comment there, thanks!
@UlrikeFischer commented there:-)
 
11:20 AM
@UlrikeFischer most likely happened again.. tex.stackexchange.com/questions/311176/…
 
12:01 PM
@DavidCarlisle Yes probably. It would naturally much easier if the engines would add the command name in the first line directly. That would be e.g. a useful change in luatex for once ...
 
yo'
12:20 PM
@UlrikeFischer oh! :)
 
 
2 hours later…
2:43 PM
This must be a clear dupe:
0
Q: Why does my document 'error' when using '%'

Michelle_BI am designing gamecards in LaTeX Everything is going pretty ok so far but when i try to insert the %-sign for a question about percentages my file keeps giving errors. I tried putting the percentage between dollarsigns because i know just % will make it a 'remark' and that the dollarsign makes...

 
3:35 PM
@UlrikeFischer Apparently, you can upgrade to a newer TeX Live with tlmgr. The question you linked states, that this i fixed in TL 13. If i recall correctly, i haven't had that issue before. Are you aware of any changes of XeTeX?
 
@DavidCarlisle Profiling work in progress:
% 9830 keyval
% 15925 X with braces retained and all spaces leading removed
% 18087 X with braces and \trimspaces
% 22282 Y (babel safe)
% 55508 current expl3
using \pdfelapsedtime: this is all for \keyval_parse:NN` or emulation thereof
@DavidCarlisle Parsing 3 keys + 2 blanks 10k times
 
@JosephWright and pgf or options package somewhere between 4 and 5?
 
@DavidCarlisle Difficult to compare as I'm only looking at the 'identify a key and value' part at the moment: the model we have separates that out from 'look up a key'. That's where I think the real issue is: expect checkins!
 
@JosephWright OK
 
@DavidCarlisle The docs for options discuss the speed requirements, but that is getting as far as finding and executing /some/key/path not just getting to a series of key-value pairs
@DavidCarlisle babel is a pain: costs a lot of time to be 'safe'. I'll see if I can do better on that part
 
3:45 PM
@JosephWright tell it to stop making characters active:-)
 
@DavidCarlisle Certainly when DocStripped for IniTeX mode I plan to omit this part :-)
 
@JosephWright we should probably have just made punctuation characters always active.
 
@DavidCarlisle \ifdim\wd\z@>1.5\p@ …
 
@egreg ?
 
@DavidCarlisle What would you do for this case if . is active expanding to whatever?
 
3:51 PM
@JosephWright Do you want to answer? I would need to take a closer look at the manual. latex-community.org/forum/…
@ChristianHupfer You are a very patient person, you can answer the following question: latex-community.org/forum/…
 
@egreg well I meant in the document. package code can be different but \catcode`\.\active \edef.{\string.} ?
 
@Johannes_B You're joking -- I am not really patient. I am a patient rather :-P
 
@ChristianHupfer Still, wanna answer? I'll get you cookies if we ever meet ;-)
 
@Johannes_B I'll take a look, but not because of the cookies. Spare them for @PauloCereda ;-)
 
@ChristianHupfer Cookies :-)
 
3:57 PM
@Johannes_B Why should I answer a TeXMaker question?
 
@ChristianHupfer Because the answer suited for the question would be RTFM and i cannot do that.
 
@Johannes_B Ususal issue: TeX works by expansion, not as a functional language
 
@Johannes_B Why? Is it better when I write RTFM which is of course an acronym for Read The Fabulous Manual (;-)) ? ;-)
 
@JosephWright I haven't even looked at the example yet.
 
@Johannes_B: Is this a joke?
We are deleting inactive accounts! Confirm your account!
 
4:02 PM
@ChristianHupfer Ask @StefanKottwitz, i don't know.
 
@Johannes_B: It's SPAM
 
@ChristianHupfer What is spam?
 
@Johannes_B I'll send you a PM in LC
 
@ChristianHupfer Alright.
 
@Johannes_B Sent.
 
4:09 PM
@ChristianHupfer Is this a PM you got?
 
@Johannes_B Yes, I detected it some minutes ago in my inbox
 
@ChristianHupfer The user joined yesterday.
@StefanKottwitz Can you do a complete sweep of messages by that owner? Is banning the same as deleting a member?
 
@Johannes_B I saw that. I expected it to be spam. I clicked on the link provided, already expecting nothing healthy and it wants me to enter my cell phone number, together with advertisement of ring tones ;-)
 
@ChristianHupfer I am a little bit allergic to a guy sending PMs to our users. I wonder how many have found that. I did not get a message.
 
@Johannes_B Well, if you wouldn't have lured me to that pond of darkness LC, I would not have detected it (for a long time) ;-)
 
4:20 PM
@ChristianHupfer Neither would have I noticed it. So, thanks for reporting, we are looking into it.
 
@Johannes_B Thanks!
 
4:40 PM
Finally somebody got the Tenacious Badge ;-)
No, it's not me ;-)
@TorbjørnT.: By the way, congrats for 'Epic' !
 
5:13 PM
If I have title for a list, how can I keep from breaking the page before the list? \nopagebreak doesn't work. E.g., List of things\nopagebreak\begin{enumerate}\item Thing\end{enumerate}
 
21
Q: How to prevent a page break before an itemize list?

FrankIt is not nice to have a page break right after the colon and have the list start on a new page: And here, finally, is the list of mission-critical items: \begin{itemize} ... \end{itemize} How can I prevent that?

 
@AlanMunn Thanks! The selected answer does avoid breaks but, as noted, swallows the vertical space before the list.
 
@AndrewCashner Yes, there are a couple of other suggestions there too. I think lockstep's answer is perhaps a bit better/
 
5:34 PM
@AlanMunn Indeed -- this works: \NewDocumentCommand{\KeepTitleWithList}{}{\@beginparpenalty=10000} used inside an environment so that it's contained in a group.
 
6:02 PM
@ChristianHupfer Thanks.
 
 
2 hours later…
8:02 PM
@Johannes_B I don't see who you mean by "the user" or "that owner"
@Johannes_B thanks for luring @ChristianHupfer to the forum :-) there are some unanswered questions even though you take care of most
 
8:21 PM
@Johannes_B Saw the spammer. He had 171 messages in the outbox (pending) and 5 sent (read) but as I saw to people who can't be fooled that way. I deleted the spammer profile together with the spam messages. Thanks!
 
@UlrikeFischer I thanked you in the change log, so people know who to blame if it all goes wrong:-) (thanks for the fix!)
 
@StefanKottwitz Thanks!
 
@ChristianHupfer @Johannes_B now I disabled the PM feature for users with status newly registered
 
@StefanKottwitz That's a good idea, in my point of view. Spamming rights must be earned ;-)
 
8:39 PM
I am trying to use the newfile package to write a multiline file. Something like \def\foo{a\\b}\addtostream{mystream}{\foo} but where a and b are on different lines.
I should have kept searching. I got ^^M and ^^J confused.
Now I need to look for a question that tells me what the difference is.
 
8:59 PM
Hi
 
@StrongBad control m is ascii 13, control j is ascii 10 , normally 10 is set to \newlinechar so makes a line break in messages
 
@DavidCarlisle thanks
 
9:17 PM
@Johannes_B No, I don't know of changes, it could also be a fontspec problem. In my case after some fc-cache rounds and similar it worked again. It also worked when I used \newfontfamily{\FA}{FontAwesome.otf}
@DavidCarlisle my pleasure ;-). Did you check the other drivers?
 
9:38 PM
@UlrikeFischer pdftex and luatex but it's just in the literal pdf so not really that driver specific (as it only applies to drivers that can take pdf)
@UlrikeFischer seems like backlog of things I'm planning to update to ctan after tl2016 cutoff is growing, 147 packages at current count:-)
 
10:15 PM
@DavidCarlisle ;-) Lots of work for the ctan team ...
 
@UlrikeFischer yes well then @JosephWright will probably slip them a new l3kernel or biblatex or something, just so they don't get bored:-)
 
Thanks a lot guys for today. Good night.
 
yo'
A party gone well, I just don't understand that it's only 13 pints of beer and 10 shots among 7 people...
 

« first day (2032 days earlier)      last day (2902 days later) »