Hi Friends:
With minlatex.rkt functions I can successfuly render HTML with LaTeX in
one-page documents (directly from DrRacket or with Scribble --html). But for
multi-page options, for example with Scribble --htmls, the render is something
like:
\[e^{i \pi}+1=0\]
Question: Is there a way to r
Yeah, I would guess that too. Anyway, it doesn't seem to do all
phases. So I just shift the phase down every time I see a
begin-for-syntax.
Thanks for your help.
~Leif Andersen
On Wed, Dec 16, 2015 at 10:52 PM, Stephen Chang wrote:
> I'm not sure. I would guess that it corresponds to the label
I'm not sure. I would guess that it corresponds to the label phase?
On Wed, Dec 16, 2015 at 10:37 PM, Leif Andersen wrote:
> Ah, okay, thanks. One question, I notice that you can pass in #f to
> #:phase, I presume that is similar to for-label, can I use that to
> indicate I would like it to match
Ah, okay, thanks. One question, I notice that you can pass in #f to
#:phase, I presume that is similar to for-label, can I use that to
indicate I would like it to match on all phases?
~Leif Andersen
On Wed, Dec 16, 2015 at 10:02 PM, Stephen Chang wrote:
> There's a #:phase option available when
The Overeasy package uses the Racket logger. Add "info@overeasy" to
your logging selector, such as in the DrRacket Log window, or in
environment variables or on the command line:
http://docs.racket-lang.org/reference/logging.html
Neil V.
--
You received this message because you are subscribe
There's a #:phase option available when specifying literals:
http://docs.racket-lang.org/syntax/Parsing_Syntax.html?q=syntax-parse#%28form._%28%28lib._syntax%2Fparse..rkt%29._syntax-parse%29%29
On Wed, Dec 16, 2015 at 9:55 PM, Leif Andersen wrote:
> Okay, that makes sense, thanks.
>
> So out of
Okay, that makes sense, thanks.
So out of curiosity, when doing a `syntax-parse`, is there any way I
can pass in phase level 1 quote as a literal?
~Leif Andersen
On Wed, Dec 16, 2015 at 6:44 PM, Sam Tobin-Hochstadt
wrote:
> That depends on what you're trying to do, but probably not. Going unde
On Wednesday, December 16, 2015 at 4:21:12 PM UTC-8, Neil Van Dyke wrote:
> David K. Storrs wrote on 12/16/2015 06:50 PM:
> > I'm just getting started with rackunit, and I was very surprised when I
> > found that it simply emits nothing if a test succeeds.
> >
>
> The Overeasy package does this,
I recommend using "raco test" to run your code. It will cooperate with
rackunit and print out the number of successful tests.
Jay
On Wed, Dec 16, 2015 at 6:50 PM, David K. Storrs wrote:
> Hi folks,
>
> I'm just getting started with rackunit, and I was very surprised when I found
> that it simpl
On Wed, Dec 16, 2015 at 03:50:08PM -0800, David K. Storrs wrote:
> Hi folks,
>
> I'm just getting started with rackunit, and I was very surprised when I found
> that it simply emits nothing if a test succeeds. Every other testing
> framework I've used before will print "ok" (or etc) on a succes
David K. Storrs wrote on 12/16/2015 06:50 PM:
I'm just getting started with rackunit, and I was very surprised when I found
that it simply emits nothing if a test succeeds.
The Overeasy package does this, using the Racket logger. Add
"info@overeasy" to your logging selector, such as in the
Hi folks,
I'm just getting started with rackunit, and I was very surprised when I found
that it simply emits nothing if a test succeeds. Every other testing framework
I've used before will print "ok" (or etc) on a successful test, so that you can
differentiate between "the test succeeded" and
That depends on what you're trying to do, but probably not. Going under a
`quote-syntax` doesn't change things, it's just that those identifiers are
usually used in a macro somewhere else. But it would depend on your
application.
Note the handling of submodules, though, in particular the call to
`
Ah, cool. Thanks.
Does that also mean that if I see a `syntax` form inside of a
`begin-for-syntax` it goes back to phase 0?
Thanks.
~Leif Andersen
On Wed, Dec 16, 2015 at 6:25 PM, Sam Tobin-Hochstadt
wrote:
> The identifiers are the same, but only when comparing their phase-1
> bindings. When
The identifiers are the same, but only when comparing their phase-1
bindings. When doing traversal of syntax objects, you need to keep track of
the phase that identifiers are meaningful at.
Here's a version of your paste comparing at the right phase:
http://pasterack.org/pastes/95574
Here's some
Hello,
I am finding that when I have a syntax object:
#'(begin-for-syntax (define-values (x) 5), when I expand it it becomes:
#'(begin-for-syntax (define-values (x) '5). However, the quote in that
expansion will not be free-identifier=? to the one if I were to type
it out by hand:
#'(begin-for-sy
I think the missing `f` in the left-hand margin reflects a missing
`defmodule`. Adding
@defmodule[some-module]
or
@declare-exporting[some-module]
makes `f` appear as expected.
At Wed, 16 Dec 2015 13:34:57 -0800 (PST), Matthew Butterick wrote:
> > Maybe there should be a `scribble/lp-manual
> Maybe there should be a `scribble/lp-manual` to provide the manual
> style in the same way as `scribble/manual`.
Perhaps, since it also implicates semantic issues, not just formatting. For
instance, the following code produces a "<*>" link in the left-hand margin, but
not an "f" link (as would
One solution is to attach `manual-doc-style` to a title:
#lang scribble/lp2
@(require scribble/manual)
@title[#:style manual-doc-style]{Example}
@chunk[
(define (f x) (+ x 1))]
If you don't want to show a title, then it gets trickier.
Maybe there should be a `scribble/lp-manual` to
That looks like a bug to me, and a "nothing to do" failure in other
cases seems like a misfeature.
I'll fix it, but pkg-build will stay wrong until the next release,
since pkg-build always uses the current release.
Thanks for the report!
At Wed, 16 Dec 2015 11:09:07 -0800, Matthew Butterick wrot
If you make these two Scribble files and click "Scribble HTML" in DrRacket, the
second one (with `#lang scribble/manual) will render in the current manual
style. But the first one (with `#lang scribble/lp2`) will render in the older
manual style.
This rendering issue surfaced on the list before
Bug or feature? The pkg-build server claims my pollen-tfl package has
"dependency problems." Yet the only "problem" seems to be that I've
(deliberately) disabled compilation of the files:
http://pkg-build.racket-lang.org/server/built/deps/pollen-tfl.txt
I would think `raco setup` would be grat
2015年12月16日水曜日 1時43分03秒 UTC+9 Alejandro López:
> I want to know how to put a background image in a viewport
In graphic use, I recommend 2htdp/image library.
If you need to treat .bmp or .png so on, you can paste the file images into
your code.
(Dr. Racket's menubar, select [Insert] - [Insert Imag
23 matches
Mail list logo