samth
2017-1-15 09:32:40

@ben when do you get to POPL?


fahree
2017-1-15 14:58:36

Yes, I git grepped my way there. I guess I don’t understand how exact-chars does or does not recursively apply and/or how to escape from it.


fahree
2017-1-15 14:59:06

Also is there an explanation for the different kinds of arrows in the diagram at http://docs.racket-lang.org/scribble/core.html ?


fahree
2017-1-15 15:00:14

blue looks like subtyping.


fahree
2017-1-15 15:01:01

double-red looks like one-to-many fields


fahree
2017-1-15 15:01:15

so I’ll assume red is one-to-one, and dashed red is optional?


fahree
2017-1-15 15:48:19

“The substruct relationship is shown vertically with navy blue lines connected by a triangle; for example, a compound-paragraph is a block. The types of values on fields are shown via dark red lines in the diagram. Doubled lines represent lists and tripled lines represent lists of lists; for example, the blocks field of compound-paragraph is a list of blocks. Dotted lists represent functions that compute elements of a given field; for example, the block field of a traverse-block struct is a function that computes a block.”


fahree
2017-1-15 17:50:25

Making good progress: I’m putting an exact-chars style around "\somecommand{" then not around the arguments, then again around "}"


fahree
2017-1-15 18:13:02

shall I call the git repo acmart or acmart-scribble or scribble-acmart ?


fahree
2017-1-15 18:23:43

very preliminary version: https://github.com/fare/acmart


eeide
2017-1-15 18:52:29

@fahree Thanks for the pointer. I didn’t know that there was a “2017 ACM Master Article Template” at all.


fahree
2017-1-15 19:20:44

eeide: starting this year, it will replace previous acm templates


abmclin
2017-1-15 19:49:25

@abmclin has joined the channel


fahree
2017-1-15 20:27:34

can someone who understands bibliography in scribble explain to me how to use the proper acm style citation style?


fahree
2017-1-15 20:43:50

how do I enable a numeric style of bibliography?


fahree
2017-1-15 20:46:00

digs and finds number-style in scriblib/autobib


fahree
2017-1-15 21:08:03

OK, I declare preliminary victory on acmart above. Now to document it, fix corner cases, etc.


fahree
2017-1-15 21:08:23

I’d like someone who understands scribble packages to review the code.


fahree
2017-1-15 21:08:44

I’ll have to refactor a few things so the html backend should work properly.


fahree
2017-1-16 00:12:37

interestingly, my “Account password reset for Racket Package Catalog” was categorized as “spam” by gmail.


fahree
2017-1-16 00:15:42

dammit, while I was trying hard, someone else wrote an acmart package! https://github.com/LeifAndersen/acmart/tree/master


fahree
2017-1-16 00:18:37

@leif Hi!


leif
2017-1-16 00:38:49

@fahree hi


leif
2017-1-16 00:38:53

well…started to do it.


fahree
2017-1-16 00:48:02

How far along are you?


fahree
2017-1-16 00:48:07

Care to collaborate?


fahree
2017-1-16 00:48:44

I have it basically working in LaTeX mode, not quite for HTML mode.


fahree
2017-1-16 00:48:56

many rough corners, almost no documentation.


fahree
2017-1-16 00:49:25

I also tried to separate all utilities not specific to this mode in a separate file.


fahree
2017-1-16 00:51:13

I won’t improve it for a few days, but I intend to make it good before March.


fahree
2017-1-16 05:53:58

I see that acmart on github has many significant bugfixes as compared to the version on the ACM site. What is the recommended way of downloading ancillary stuff from git as opposed to from a zip file?


ddenniss
2017-1-16 06:26:52

Hi! Cannot find in documentation, how to use dynamic binding across the modules?


ddenniss
2017-1-16 06:32:12

a.rkt: (require "b.rkt") (define dyn (make-parameter 0)) (parameterize ((dyn 1)) (some-function))

b.rkt: (define (some-function) (println (dyn))


ddenniss
2017-1-16 06:33:53

It gives “unbound identifier”, but if i add (define dyn (make-parameter 2)) in b.rkt, I get printed 2, not 1, as I want to.


ddenniss
2017-1-16 06:34:44

Would appreciate any hint to the right direction


lexi.lambda
2017-1-16 07:14:16

@ddenniss: You need to provide the parameter from one module and require it in the other.


lexi.lambda
2017-1-16 07:15:18

So you’d either need to move the definition to b.rkt and provide it from there, or flip the imports around and have b.rkt import a.rkt. If you can’t do either of those things, you could move the definition to a third module that both of them import.