« first day (2359 days earlier)      last day (2589 days later) » 
00:00 - 20:0020:00 - 00:00

8:16 PM
Any pgfkeys gurus around?
 
@TeXnician hey there, I did something with my package, but I find the guide to be really not that helpful
 
@Moriambar Yeah, this isn't helpful (nobody said so), but it is a starter. Have you "finished" your package?
 
@DavidCarlisle regarding my answer:are you saying I got it the other way around?
in that case I'll delete it asap!
 
@Moriambar But there's not much to making a package (w.r.t the minimal stuff that needs to be there) and the clsguide seems to cover that ok, no?
 
@AlanMunn where it has to go, how to properly define commands. It seems to me a guide for experts in making packages. Maybe I'm too a noob to do it
 
8:20 PM
@AlanMunn You're right. But there should be a better start which is not full of advice you do not need for your first package (something more encouraging)...
@Moriambar I agree that it is not user-friendly (not for the end-user) ;)
 
@Moriambar I guess those are independent issues. The clsguide is simply designed to tell you the minimal stuff that should go into a package, and the various package and class management commands that are available. Where it goes is an issue of the distribution and how to define commands is understanding TeX and LaTeX more generally. So I think you're asking too much of one document.
 
@Moriambar started well: pointing out that [ht] restricts latex from trying other solutions, but I think suggesting to tb isn't as helpful as it could be as that is just as restrictive
 
hi to everybody and happy easter to new arrived
 
@AlanMunn Yeah, but we have so many starter guides how to begin with LaTeX, but not with packages etc.
 
@DavidCarlisle Ok, I added a p in tbp as an alternative
 
8:24 PM
@Moriambar thanks
 
@DavidCarlisle I have a problem to install classico.tds or classico fonts
 
@DavidCarlisle no, thank you
 
@TeXnician I guess people don't feel the need. If you know enough to write a class or a package, you should be able to figure out things from clsguide. But it's true that it could be helpful to have such a document.
 
@AlanMunn I see your point…
 
8:26 PM
@DavidCarlisle, @Moriambar I have seen the same procedure for optima fonts urw
 
@AlanMunn If I have the time I'll start this (just as an end-user) ;)
 
@Sebastiano still on about fonts?
 
@DavidCarlisle :) yes
 
@Moriambar What is your current package state?
 
@Sebastiano the ctan page for classico says it's part pf miktex so you should not have to install by hand at all
@Sebastiano why?
 
8:27 PM
@TeXnician to answer you… yes and no. In the sense that I don't know where to put it in order to be able to use \usepackage{mypackage}. So I have not tested, and I don't know what can change in doing the things I do in a package
@TeXnician quite confused :P
 
@DavidCarlisle for my test for my students
 
@Sebastiano Sorry, I don't know squat regarding fonts
 
@Moriambar a package is just a file that is input there are no special rules about what can be defined there.
 
@Moriambar You do want to write a package?
 
@ChristianHupfer You should scroll up a bit ;)
 
8:29 PM
@ChristianHupfer hiiiiiiiiiiiiiiiiii
This is pdfTeX, Version 3.14159265-2.6-1.40.17 (MiKTeX 2.9.6210 64-bit)
entering extended mode

("C:/Users/user2/Desktop/LA-IPSAAR Classi (Palazzolo A.) 2016-17/Test ingresso
classi prime LA 16-17/Test d'ingresso classi prime rec.tex"
LaTeX2e <2017/01/01> patch level 3
Babel <3.9r> and hyphenation patterns for 76 language(s) loaded.
("C:\Program Files\MiKTeX 2.9\tex\latex\extsizes\extarticle.cls"
Document Class: extarticle 1996/10/08 v1.0 Non Standard LaTeX document class
("C:\Program Files\MiKTeX 2.9\tex\latex\base\leqno.clo")
 
@Sebastiano my advice would be to use computer modern, and concentrate more on the questions than the font.
4
 
@TeXnician No, please give a short summary :-P I am lazy as many other users (excluded those in the chat ;-))
 
@DavidCarlisle :(
 
@ChristianHupfer short summary: yes but I find the process and its guides quite complicated (please read: probably I'm not that skilled in TeX to be able to do so)
 
@DavidCarlisle what is my problem?
 
8:31 PM
@Sebastiano not sure why the sad face. That's what I would do.
 
@Moriambar I am not skilled as well ... package writing is not really difficult, in my point of view.
 
@ChristianHupfer you are way more skilled than I am.
 
@Sebastiano I know nothing about miktex but as I say the ctan page says classico is part of miktex ctan.org/tex-archive/fonts/urw/classico
 
@Moriambar If you need some specific help just ask.
 
@ChristianHupfer Skilled ≠ wizard
 
8:32 PM
@Moriambar I am the unskilled non-wizard, the third state ;-)
 
@TeXnician I have my "package" in a .tex file. Fine it was nice. then what?
 
@Moriambar Rename it to .sty and use \usepackage{} ;)
 
@Moriambar rename the file from xxx.tex to xxx.sty and you are done. it is now a package.
 
@ChristianHupfer you know about robust commands. I saw a comment of yours.
 
@Moriambar And remove \makeatletter...\makeatother statements (if there are any of them)
 
8:33 PM
@DavidCarlisle @TeXnician ah, it can stay there in my document root?
 
@Moriambar yes
 
@ChristianHupfer there are none
@DavidCarlisle fantastic thanks
 
@Moriambar Maybe start the first line with \ProvidesPackage{}
 
@Moriambar Does your package provide robust commands, or better: do the macros you provide need to be robust?
 
@TeXnician the guide was clear about that. Shouldn't it be second after \Requiring LaTeXe?
 
8:35 PM
@Moriambar blasphemy :-P
 
@ChristianHupfer this is a question that one way more skilled than me asks
 
@Moriambar Depends on what you want to give to the community. What does your package provide?
 
@Moriambar I wouldn't bother with the requiring latex2e bit these days, that was just to give an error in latex2.09 which isn't an issue now. But also that is not rellated to it being a package, you could put that in the .tex file that you input.
 
@Moriambar You could do that. If you assume your users use LaTeX2.09 ;)
 
@TeXnician I just followed the guide!
 
8:37 PM
i'm ttrying
 
@Moriambar It's a bit outdated, you know ;)
 
@Sebastiano Sorry, hello to you!
 
Good night, folks.
 
@TeXnician I know but since it's the guide, I have to folow it
@TeXnician night thanks
 
@Moriambar which guide do you mean? clsguide.pdf?
 
8:38 PM
@TeXnician @ChristianHupfer @DavidCarlisle great, seems to be working. Thanks
@ChristianHupfer yes they told me it's the guide to make packages.
@ChristianHupfer btw yours was a great answer today!
 
\NeedsTeXFormat{LaTeX2e}

\ProvidesPackage{moriambar}

\newcounter{foo}

\newcommand{\foo}{%
I am called
\refstepcounter{foo}%
\thefoo\ times!%
}

\endinput
\documentclass{article}

\usepackage{moriambar}

\begin{document}
\foo
\end{document}
 
@ChristianHupfer lol
 
@Moriambar Oh, thank you very much. The question was good indeed. (I think, I was the first one who upvoted it)
 
@ChristianHupfer thanks, sometimes I'm bound to ask good questions too :)
 
@Moriambar: Don't forget to use \RequirePackage instead of \usepackage within packages
 
8:44 PM
@ChristianHupfer Yes thanks, the guide was specific about that. Also, I do not require any packages
 
@Moriambar mortal beings like us need to ask -- we aren't TeX gods ;-)
@Moriambar Ah, well, not problem then.
 
@ChristianHupfer Indeed
@ChristianHupfer nope, I simply tipeout some font-specific things. I hope, when I get something going, to expand it: @TeXnician expressed interest in having it scanning fonts throughout the system
 
I salute you guys, let's see if I can do something. thank you all very much
 
@Sebastiano so long
 
@Moriambar Oh font thingies... then. I am more into counters ... so count on me ;-)
 
8:48 PM
@ChristianHupfer I see. It all started in order to get the right column width for a book. Then making my examples to bring to the lecture, I had to change fonts and kept having to type the same things and… you know…
 
@Moriambar Is it about spacings needed/occupied by fonts then?
 
@ChristianHupfer it prints out the length of the alphabet of the current font and the current baselineskip an textwidth
actually currently only the first two (I did not import the other commands)
 
@Moriambar Sounds interesting
 
@ChristianHupfer really? I think it is not that useful
 
@Moriambar It sounds to be a diagnostic/supporting tool
 
8:53 PM
@ChristianHupfer yes I mean: you select a font or two and check whether the current column suits it. It may be more complicated (i.e. calculating the mean number of char per line given the textwidth, or the "expected" textwidth range)
 
Question "Is using LaTeX really all time-wasting nonsense?" on Quora.
 
@Dr.ManuelKuehner thanks, I have a lesson talking about this too next friday!
 
@Dr.ManuelKuehner A blasphemic question by a lazy guy, most likely ;-)
 
@ChristianHupfer Haha. Probably.
@Moriambar You are welcome.
 
@Moriambar So the reported 127pt is the total sum of character box widths for A-Z?
 
9:01 PM
@Dr.ManuelKuehner I won't talk about any mathematics. I just want that math is seen as something extra that TeX system do
 
@ChristianHupfer Do you know TikZ well? (I have a pgfkeys question).
 
@ChristianHupfer \settowidth of {abcdefghijklmnopqrstuvwxyz}
 
@Moriambar I see, so the 'inter word' spacings are included?
 
@ChristianHupfer no, they are variable. I don't seem to get your question
 
@AlanMunn Not well enough, I think
 
9:05 PM
@ChristianHupfer usually one uses (can use) the length of the lowercase alphabet to find out the measure for the text
which should be around 2-2.5 times that length
 
@Moriambar I meant: abc will have some spacing when being typeset: a ___b___c (exaggerated)
 
@ChristianHupfer ok. I know that… but I don't get your point
 
@Moriambar :D ... I just wanted to know whether this spacing is included then in your calculation with \settowidth. I think, it's the case
 
@ChristianHupfer are you saying I should printout the default glue?
@ChristianHupfer nono it's a box with the lowercase alphabet
 
@Moriambar so only the total of the real box widths of the individual characters?
 
9:09 PM
@ChristianHupfer it's standard and can be used to determine the measure, for example. With the ex-height one can "predict" the need for extra baselineskip
@ChristianHupfer no, the total of the box containing all of the characters
@ChristianHupfer so yes, but it's written differently :)
 
@ChristianHupfer Ok. I have two keys that execute code and one depends on the other. I don't know how to make them order independent when used.
 
@AlanMunn So the 'result' of both keys is different if keyA is used before keyB is applied? Can't you store some boolean flag whether keyA was used before keyB or vice versa?
 
@ChristianHupfer Yes, that's the right description. But I think I'm missing something basic in that I shouldn't have to check the order in which the keys are used.
 
@ChristianHupfer Ok, starting adding fonts, I start to see the shortcomings of my poor knowledge. I have to study then
 
@AlanMunn Apart from the implementation with keys, isn't this a general problem of calling ('executing') \macroA before \macroB? I.e. \macroA leaves the system in State A which is evaluated by \macroB, otherwise the order wouldn't matter
 
9:19 PM
@ChristianHupfer Yes, but I think there must be a way to structure the keys such that independent of the order in the list, keyA gets executed before keyB.
 
@AlanMunn execution keys are 'executed' after parsing, so this is an issue about the order of parsing, I think
 
@ChristianHupfer And clearly something that is beyond me at the moment. :)
 
@AlanMunn Nor is it achievable for me at the state of my knowledge about pgfkeys
 
@ChristianHupfer oh well. Thanks for talking it through.
 
@AlanMunn you can put keys into two families and then process first the keys of family one and then the remaining keys.
 
9:32 PM
@UlrikeFischer Could you point me to an example of how that's done?
 
@Moriambar Sorry, I was distracted...
 
@AlanMunn check "key filtering" in the documentation.
 
@ChristianHupfer no problem. More important things to do. I reached a good point now, I can print things for different fonts. I don't like how I do it, but what in my programmer's mind has to be done I'm not sure can be done via TeX/LaTeX primitives (it's not the result I'm after, but the way to achieve it). But on my silly package I'll call it a day
@ChristianHupfer @DavidCarlisle I still have the Dark One book going, maybe with that I'll be able to make my package perfect :P
 
@Moriambar Dark One? LaTeX Companion? :D
 
@ChristianHupfer @egreg is the Dark Master. Not that I don't like the dark side. It's well known they have cookies
 
9:40 PM
@Moriambar Ah, that one written in the language of Mordor ;-)
 
@ChristianHupfer exactly that one. I'm lost at ash-nazg kimbatul
 
@Moriambar Speak 'friend' and enter :-P
 
@Moriambar Cookies? Did you say cookies?
 
@ChristianHupfer one of my best arduino projects. Voice controlled moria gate (true story)
 
@egreg which proves that you and @PauloCereda are the same person :-D
 
9:42 PM
@egreg ehr... you being the Dark Master, well you should provide them to us
 
@Moriambar Nobody will ever call you being nerdy ;-)
 
@ChristianHupfer no way! :-P I'm the classic "Moriambar of all trades, but master of none"
@ChristianHupfer to balance out my nerdiness I also wrote a couple of short stories, and am going to start on a novel
2
 
@Moriambar My cookies? No way!
 
@UlrikeFischer Thanks. That will take some time for me to digest.
 
@egreg I don't buy your cookies, they are scratched...
@Moriambar Any particular topic?
 
9:47 PM
@ChristianHupfer I was writing that you should take them from him… but then got inexplicably scared by @egreg's dark powers. I think that he will \expandafter something that I will grow to regret
 
@Moriambar Or \noexpand the subject of your novel
 
@Moriambar No, he will \let\you\down ;-)
 
@ChristianHupfer well the stories are part of the setting of a dystopian futuristic RPG of my best friend; the novel is something more or less about… wel it's complicated, we'll see when it's all out, now it's in. Ooh, I also wrote a philosophy book (which I should review and print, but I keep procrastinating)
@egreg I have the title already. The subject is nonexpandable
 
@AlanMunn Yes it isn't really easy to understand -- I'm not sure how much I would understand if I didn't know the xkeyval conzept. Btw: I didn't follow the discussion so I don't know if you really need pgfkeys -- I normally prefer the l3keys-module from expl3, imho easier to understand.
 
@ChristianHupfer nah, he won't. He will \let\moriambarspackagecommands\relax
 
9:51 PM
@UlrikeFischer I'm using pgfkeys because the code is being used in tikz.
 
@Moriambar Procrastination is good -- it keeps us from working ;-)
 
@ChristianHupfer If only I could procrastinate my job and keep on LaTeX working… I find myself doing the things the other way around, which is not good!
 
@UlrikeFischer The basic problem I have is that I want to set keyA={foo} which calculates the length of foo and then keyB uses that length to set another key's value. If I call keyA before keyB, it works, but intuitively I would like them to be order independent.
 
Well guys, it's TeX Book time. Thanks to all for the package-support. So long!
 
Hi, I am new to `\usepackage{floatrow}` I used `\usepackage{sidecap}` before with `\usepackage[]{caption}[2015/09/17]
\captionsetup[figure]{labelfont=bf, format=plain, justification=justified}` Should I leave the `\usepackage[]{caption}` part in the document after switching to floatrow, or can floatrow mag FIGURE 2: bold itself?
 
9:54 PM
@Moriambar Yes, I know/understand your reasoning. I am very active this week because there's Easter Break at school, in a few days, I've to teach again, so not much time for me to procrastinate...
 
@ChristianHupfer I'll go back to work on tuesday. So I'm very active too for the same reason
 
@AlanMunn But I would suggest to look at l3keys anyway: you can build a working solution with it and then move it to pgfkeys.
 
@Moriambar You can work on TeX.SE during office hours, I have to stand in front of pupils and teach, no way to answer questions on TeX.SE
 
10:29 PM
@ChristianHupfer I can but shouldn't, since I can be fired, or at least scolded/punished. From 8 am to 5 pm any TeX.SE of mine is a risk
 
@Moriambar Of course, that's a risk
 
@ChristianHupfer the downside of my job (regarding any computer related activity) is that I am at the pc screen for the whole time, so sometimes I don't want to see the damn thing when I get home
 
@Moriambar I can understand that ...
 
10:44 PM
@ChristianHupfer My ultraTeXmania will come to an end when I won't bear to be at the computer anymore, and I will go back to read some books. We'll see…
 
11:01 PM
@ChristianHupfer now that I go: tomorrow goal will be 143 :) we'll see
 
@Moriambar 143?
 
@ChristianHupfer yup, you'll see :) good night
 
@Moriambar Sounds like a threat :D Good night!
 
00:00 - 20:0020:00 - 00:00

« first day (2359 days earlier)      last day (2589 days later) »