tim986
2020-6-8 10:10:36

I’d like to present a slideshow in a google meet; so I think I need it to run in an application window that I can then share. Currently slideshow runs full screen and I want to see the awe on my audience’s faces, so I need to see the rest of the meeting. Has anyone any experience of doing this?


spdegabrielle
2020-6-8 10:44:57

I think you need to launch it as slideshow -s <w> <h> mypresentation.rkt -s <w> <h>, --size <w> <h> : use a <w> by <h> window I can’t find it in the manual, but all the options are in the command line -h

spdegabrielle@Miriams-MBP bin % ./slideshow -h          slideshow [ <option> ... ] [<slide-module-file>]  where <option> is one of  -M <monitor>, --monitor <monitor> : display to <monitor> (count from 0)  -d, --preview : show next-slide preview (useful on a non-mirroring display)  -p, --print : print  -P, --ps : print to PostScript  -D, --pdf : print to PDF  -o <file> : set output file for PostScript or PDF printing  -e, --not-paper : use slide as PostScript or PDF bounding box  -c, --condense : condense  -x, --export : short for `--pdf -c -o <slide-module-file-without-suffix>.pdf`  -t <page>, --start <page> : set the starting page  -q, --quad : show four slides at a time / --widescreen : set default slide aspect to 16:9 \ --fullscreen : set default slide aspect to 4:3 (current default)  --save-aspect : record selected aspect in preferences  -r, --no-resize : don't resize window when the connected display changes  -n, --no-stretch : don't stretch the slide window to fit the screen  -s <w> <h>, --size <w> <h> : use a <w> by <h> window  -a, --squash : scale to full window, even if not matching aspect  -z, --zero-margins : when printing, draw the slides to the edge of the page  -m, --no-smoothing : disable anti-aliased drawing (usually faster)  -i, --immediate : no transitions  --trust : allow slide program to write files and make network connections  --no-prefetch : disable next-slide prefetch  --preview-prefetch : use prefetch for next-slide preview  --keep-titlebar : give the slide window a title bar and resize border  --right-half-screen : display slides on right half of the screen  --comment : display commentary in window  --comment-on-slide : display commentary on slide  --letterbox <color> : set the color of the letter box; default to black  --time : time seconds per slide  --elapsed-time : show an elapsed timer on the preview window  --clock : show clock  --help, -h : Show this help  -- : Do not treat any remaining argument as a switch (at this level)  /\|\ Brackets indicate mutually exclusive options.  Multiple single-letter switches can be combined after one `-'; for  example: `-h-' is the same as `-h --'  After requiring <slide-module-file>, if a `slideshow' submodule exists,  it is required. Otherwise, if a `main' submodule exists, it is required. spdegabrielle@Miriams-MBP bin %


spdegabrielle
2020-6-8 10:52:03

@tim986 This is a new use-case; normally you use it with a projector as a second screen. might be worth asking on racket-users to see if anyone there has tips.


soegaard2
2020-6-8 10:52:44

If you have a laptop - consider attaching an external screen.


spdegabrielle
2020-6-8 10:53:22

haha yes that is a good tip


spdegabrielle
2020-6-8 10:54:17

(i’m stuck working home at the moment and don’t have the luxury of a second screen - @tim986 may be in the same situation as me)


tim986
2020-6-8 10:54:28

I tried (hastily) using the man screen on my laptop to run slideshow (from drracket) in with a view to seeing if my 4k external screen could use that “screen”/“window”. I ended up with slideshow running into my external monitor :disappointed:


tim986
2020-6-8 10:55:25

Ideally, I have the slideshow and google meet hangout on the same monitor. It’s for an interview, so as much as I can I want to be looking folk in the eye.


tim986
2020-6-8 10:56:11

(Problem is that I can’t see my projected screen on hangouts… I think they do that to avoid the tunnel-o-mirrors effect)


spdegabrielle
2020-6-8 10:58:17

-M <monitor>, --monitor <monitor> : display to <monitor> (count from 0) should let you choose the monitor if you use -s w h you should be able to arrange the windows I’ve not tried hangouts videoconf - can you tell it to only send a particular window like teams/zoom/jitsi meet?


soegaard2
2020-6-8 10:59:17

In Teams you can choose between sharing a screen or a particular window. Hangout probably has the same options available.


spdegabrielle
2020-6-8 11:00:41

spdegabrielle
2020-6-8 11:12:19

hangouts doesn’t let you choose screen or window but fortunately using the -M 0 lets us select the correct screen spdegabrielle@Miriams-MBP bin % ./slideshow -M 0 ~/Downloads/talks-master/mredtalk3/talk.ss


tim986
2020-6-8 11:17:53

@spdegabrielle: thanks for pointing me at the -M switch. Strangely my builtin monitor is -M 1 :shrug: — but when I get the right monitor, I can share the application/window i.e. slideshow with no decorations.


tim986
2020-6-8 11:18:25

I think you may have just missed a trick in choosing the right window.


spdegabrielle
2020-6-8 11:19:57

Nicely spotted. That’s good to know as some of our vendors use hangouts.


spdegabrielle
2020-6-8 11:20:04

TYVM !


tim986
2020-6-8 11:20:25

np


tim986
2020-6-8 12:01:38

Is there any way to force a line break in a para in slideshow?


soegaard2
2020-6-8 12:04:49

Can blank-line be used?


tim986
2020-6-8 12:05:43

that adds a whole new blank line, doesn’t it the line that <--- (blank-line) I want to split the line that I want to split ?


tim986
2020-6-8 12:06:34

no harm in trying, though


tim986
2020-6-8 12:09:03

it doesn’t even do that… my para ends up with an extra-long space, because whatever the result of (blank-line) is (which is probably just a narrow, vertical pict of a certain height) is spliced in with spaces on either side.


soegaard2
2020-6-8 12:12:40

Strange - @para["Foo \n Bar"] The Bar doesn’t show up in the output.


soegaard2
2020-6-8 17:10:05

@tim986 Did you find a solution?


tim986
2020-6-8 17:18:18

I’m afraid I worked around by restructuring the presentation.


tim986
2020-6-8 17:20:56

Despite hiccups… hacking a present together in Lisp is so much more fun than using google-slides


soegaard2
2020-6-8 17:23:26

I must admit that I still use Keynote for presentations. One nice feature is “Magic Move”. Suppose you have a slide A, make a copy, call it B. If you move/scale/rotate elements on slide B then the “Magic Move” transition will make a smooth animation from slide A til B.


soegaard2
2020-6-8 17:23:52

I can’t insert a Racket REPL though :slightly_smiling_face:


tim986
2020-6-8 17:32:32

:thinking_face: magic move should be doable — I was going to say you’d need to tag elements you want to magically move — but eq? identity should be good enough if you can dig out the applicable transformations on such an object.


ben
2020-6-8 18:18:46

I usually do my own formatting (vl-append) instead of trying to work with para


soegaard2
2020-6-8 18:47:20

The information is there - I can’t “see” how to get it though.


soegaard2
2020-6-8 20:34:26

When I run raco scribble in the folder flomat-doc I get warnings about “some broken cross references”. Some of these are fair (I have used defproc for them yet, however I notice that some of the identifiers already have been defproced. Is there a command line option that I need?

soegaard@mbp2 flomat-doc % raco scribble +m --dest html --redirect-main <http://docs.racket-lang.org> manual-flomat.scrbl &amp;&amp; open html/manual-flomat.html [Output to html/manual-flomat.html] Warning: some cross references may be broken due to undefined tags: (dep ((lib "flomat/flomat.rkt") ptr-col)) (dep ((lib "flomat/main.rkt") augment)) (dep ((lib "flomat/flomat.rkt") cholesky)) (dep ((lib "flomat/main.rkt") cholesky)) (dep ((lib "flomat/flomat.rkt") ./!))


ndmitchell
2020-6-8 21:02:17

@ndmitchell has joined the channel