[racket-users] Re: Scribble cannot use include-section when developing package library

2019-06-08 Thread Chen Xiao
Greenman's answer is right, resolve this problem absolutely.

在 2019年6月8日星期六 UTC+8下午4:13:56,Chen Xiao写道:
>
> When I developing my racket pacakge(simple-svg), I found I can't use 
> include-section and defmodule together.
>
> First, I split my scribble docs to separate files, and use include-section 
> to include them.
>
> Then I found cross reference not works.
>
> I found when use scribble/manual to scribble package doc, it demand each 
> section have a defmodule[package-name]!
>
> include-section means you have multiple section in docs, so to let the 
> cross reference work, you should add defmodule in each scribble file.
>
> it means each section should have a defmodule.
>
> This let cross reference work, but , it produces many annoying warnings, 
> it said I use defmodule multiple times, yes, of course.
>
> I tried, but don't find good ways to work this out.
>
> So I change separate docs to a single scribble file, and move all defproc 
> and codeblock to the subsections.
>
> No more warnings and cross reference works.
>
> But it make the docs looks so neat and loose the include-section power.
>
> How to solve it? someone notice this?
>

-- 
You received this message because you are subscribed to the Google Groups 
"Racket Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to racket-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/racket-users/ef422960-de12-4ae4-814c-c2d2dc14a208%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [racket-users] [ann] marionette: control Firefox from Racket

2019-06-08 Thread Dexter Lagan
  Pure awesomeness. Thank you for sharing!

Dex

> On Jun 8, 2019, at 5:46 PM, Bogdan Popa  wrote:
> 
> Hey everybody!
> 
> I just wrote `marionette`, a library that lets you control the Firefox
> web browser from Racket and I figured I'd share it!
> 
> * the source code is here: https://github.com/bogdanp/marionette,
> * you can install the package by running `raco pkg install marionette` and
> * the docs will be available on the package server within the next day or so.
> 
> It's still early days but a lot of the basic functionality you would
> expect is already supported.  If you give it a try, let me know what you
> think!
> 
> - Bogdan
> 
> -- 
> You received this message because you are subscribed to the Google Groups 
> "Racket Users" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to racket-users+unsubscr...@googlegroups.com.
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/racket-users/m2lfyc2i6q.fsf%40192.168.0.139.
> For more options, visit https://groups.google.com/d/optout.

-- 
You received this message because you are subscribed to the Google Groups 
"Racket Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to racket-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/racket-users/224B383E-0698-44D6-91B3-05929D2D58D0%40gmail.com.
For more options, visit https://groups.google.com/d/optout.


[racket-users] [ann] marionette: control Firefox from Racket

2019-06-08 Thread Bogdan Popa
Hey everybody!

I just wrote `marionette`, a library that lets you control the Firefox
web browser from Racket and I figured I'd share it!

* the source code is here: https://github.com/bogdanp/marionette,
* you can install the package by running `raco pkg install marionette` and
* the docs will be available on the package server within the next day or so.

It's still early days but a lot of the basic functionality you would
expect is already supported.  If you give it a try, let me know what you
think!

- Bogdan

-- 
You received this message because you are subscribed to the Google Groups 
"Racket Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to racket-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/racket-users/m2lfyc2i6q.fsf%40192.168.0.139.
For more options, visit https://groups.google.com/d/optout.


Re: [racket-users] Scribble cannot use include-section when developing package library

2019-06-08 Thread Ben Greenman
In the separate files, try:

  @defmodule[simple-svg #:link-target? #f]

-- 
You received this message because you are subscribed to the Google Groups 
"Racket Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to racket-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/racket-users/CAFUu9R7rb-ugBnguBp%3DsLV9atEHXGA3fcKJ-b%3DPuopNvhVpDHA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


[racket-users] Scribble cannot use include-section when developing package library

2019-06-08 Thread Chen Xiao
When I developing my racket pacakge(simple-svg), I found I can't use 
include-section and defmodule together.

First, I split my scribble docs to separate files, and use include-section 
to include them.

Then I found cross reference not works.

I found when use scribble/manual to scribble package doc, it demand each 
section have a defmodule[package-name]!

include-section means you have multiple section in docs, so to let the 
cross reference work, you should add defmodule in each scribble file.

it means each section should have a defmodule.

This let cross reference work, but , it produces many annoying warnings, it 
said I use defmodule multiple times, yes, of course.

I tried, but don't find good ways to work this out.

So I change separate docs to a single scribble file, and move all defproc 
and codeblock to the subsections.

No more warnings and cross reference works.

But it make the docs looks so neat and loose the include-section power.

How to solve it? someone notice this?

-- 
You received this message because you are subscribed to the Google Groups 
"Racket Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to racket-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/racket-users/1d7d63ae-aacf-4de7-8a0e-418018216791%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.