RE: [racket-users] repeated code in interactions of scribble

2017-10-03 Thread Jos Koot
)) (plus4 0) ] Conclusion. Thanks again for your help. Jos Koot _ From: Jos Koot [mailto:jos.k...@gmail.com] Sent: domingo, 24 de septiembre de 2017 13:01 To: 'Ben Greenman' Cc: 'Racket Users'; 'Jos Koot' Subject: RE: [racket-users] repeated code in interactions of scribble Th

RE: [racket-users] repeated code in interactions of scribble

2017-09-24 Thread Jos Koot
] Sent: domingo, 24 de septiembre de 2017 6:45 To: Jos Koot Cc: Racket Users Subject: Re: [racket-users] repeated code in interactions of scribble You can re-use helper functions by running the different example blocks with the same evaluator (example below). I don't know how to hyperlink one

Re: [racket-users] repeated code in interactions of scribble

2017-09-23 Thread Ben Greenman
You can re-use helper functions by running the different example blocks with the same evaluator (example below). I don't know how to hyperlink one interaction to another. - - - #lang scribble/manual @require[scribble/example] @(define my-eval (make-base-eval)) Beginning. @examples[#:eval

[racket-users] repeated code in interactions of scribble

2017-09-22 Thread Jos Koot
Hi, What would be the easiest way to avoid duplication of code in interactions within a scribble/manual document? I often place examples in such a document. In some of them I need the same auxiliary procedures. How to avoid duplicating them? The most nice solution would be the appearance of a