Re: [NTG-context] How to make a stretched pdf file
Am 23.05.2009 um 03:59 schrieb Zhichu Chen: Awesome, but still, the javascript things are gone :( I feared something like this will happen, I guess you get also problems with hyperlinks etc. Anyway, I'll try the resolution method. +1 By the way, is there any chance that I can use a stretched font without disturbing the output routine? I think I can try a narrow font and re-draw my pictures. AFAIK XeTeX has such a feature but is the presentation worth such tricks. Wolfgang ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] How to make a stretched pdf file
Awesome, but still, the javascript things are gone :( Anyway, I'll try the resolution method. By the way, is there any chance that I can use a stretched font without disturbing the output routine? I think I can try a narrow font and re-draw my pictures. On Sat, May 23, 2009 at 1:43 AM, Wolfgang Schuster wrote: > > Am 22.05.2009 um 16:48 schrieb Zhichu Chen: > >> Hi guys, >> >> This may sound crazy, but I have to do a presentation with a stretched >> output. >> >> The thing is, I have a laptop with a normal screen, and it'll be plugged >> to >> a very big wide screen monitor so that people can see the slides on the >> big screen. I have to look at my laptop and present for the people, so >> what I'm thinking is make a stretched output on my 4:3 screen which >> looks very narrowed and then the effect on the screen will be just as >> normal. >> >> Is there an easy option for this? > > > That was a nice exercise, here is a solution with a rather new mechanism > Hans wrote for me. > > \definepapersize[fake][SW] [SW] > \definepapersize[real][A5,landscape][A5,landscape] > > \setuppapersize[fake] > > \installpagehandler{deform}% > {\dowithnextbox > {\setuppapersize[real] > > \actualshipout{\scale[width=\paperwidth,height=\paperheight]{\flushnextbox}} > \setuppapersize[fake]} > \normalhbox} > > \setuppaper[method=deform] > > \starttext > > \subject{Tufte} > > \input tufte > > \page > > \subject{Knuth} > > \input knuth > > \stoptext > > Wolfgang > > ___ > If your question is of interest to others as well, please add an entry to > the Wiki! > > maillist : ntg-context@ntg.nl / > http://www.ntg.nl/mailman/listinfo/ntg-context > webpage : http://www.pragma-ade.nl / http://tex.aanhet.net > archive : https://foundry.supelec.fr/projects/contextrev/ > wiki : http://contextgarden.net > ___ > -- Best Regards Chen Zhi-chu Chen | Shanghai Synchrotron Radiation Facility No. 2019 | Jialuo Rd. | Jiading | Shanghai | P.R. China tel: 086 21 5955 3405 | zhichu.chen.googlepages.com | www.sinap.ac.cn ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] How to make a stretched pdf file
Am 22.05.2009 um 16:48 schrieb Zhichu Chen: Hi guys, This may sound crazy, but I have to do a presentation with a stretched output. The thing is, I have a laptop with a normal screen, and it'll be plugged to a very big wide screen monitor so that people can see the slides on the big screen. I have to look at my laptop and present for the people, so what I'm thinking is make a stretched output on my 4:3 screen which looks very narrowed and then the effect on the screen will be just as normal. Is there an easy option for this? That was a nice exercise, here is a solution with a rather new mechanism Hans wrote for me. \definepapersize[fake][SW] [SW] \definepapersize[real][A5,landscape][A5,landscape] \setuppapersize[fake] \installpagehandler{deform}% {\dowithnextbox {\setuppapersize[real] \actualshipout{\scale[width=\paperwidth,height=\paperheight] {\flushnextbox}} \setuppapersize[fake]} \normalhbox} \setuppaper[method=deform] \starttext \subject{Tufte} \input tufte \page \subject{Knuth} \input knuth \stoptext Wolfgang ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] How to make a stretched pdf file
Zhichu Chen wrote: On Sat, May 23, 2009 at 12:54 AM, Wolfgang Schuster wrote: Am 22.05.2009 um 18:47 schrieb Zhichu Chen: Is there an easy option for this? \setuppapersize[SM|SW] or a papersize with the the same width/height ratio as the projector. That won't go well. The projector is as stupid as it could be. It will honestly send what's shown on my laptop to the screen only stretch it to a special ratio. If I make a wide screen version. It will be a wide version on my laptop with the header and footer cut, I mean it won't fill my laptop screen. Then the projector will produce a wide version on a wide ratio. It'll be 256:100 rather than 16:10. Still not what I wanted. Can't you set the same resolution on your laptop as the projector has, the layout on your laptop is then deformed but the screen version is correct. Well, that's a good idea. But actually, that's not really "my" laptop so I can't test it right now. I hope the notebook is not too old (which I assume it can be) to support a wide screen resolution. set your laptop at the desired (i.e. projector) resolution before connecting it to the beamer i.e. don't let the beamer try to be clever and talk to the laptop ... just letting the laptop lie to the beamer that it has a matching resolution is often safer; it is seldom a problem if the presentation on the your laptop screen is somewhat deformed - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com | www.pragma-pod.nl - ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] How to make a stretched pdf file
On Sat, May 23, 2009 at 12:55 AM, luigi scarso wrote: > > > On Fri, May 22, 2009 at 6:32 PM, Zhichu Chen wrote: >> >> Well, since it's a presentation, I really have some "cool" style to >> show by using >> javascript. I think including separated pages will jeopardize it. > > and what about pdf -> ps ->(some transformations) ps -> pdf ? I don't know. I hope I can find an easy way. By easy, I mean simple and comfortable. ;) > -- > luigi > > > ___ > If your question is of interest to others as well, please add an entry to > the Wiki! > > maillist : ntg-context@ntg.nl / > http://www.ntg.nl/mailman/listinfo/ntg-context > webpage : http://www.pragma-ade.nl / http://tex.aanhet.net > archive : https://foundry.supelec.fr/projects/contextrev/ > wiki : http://contextgarden.net > ___ > > -- Best Regards Chen Zhi-chu Chen | Shanghai Synchrotron Radiation Facility No. 2019 | Jialuo Rd. | Jiading | Shanghai | P.R. China tel: 086 21 5955 3405 | zhichu.chen.googlepages.com | www.sinap.ac.cn ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] How to make a stretched pdf file
On Sat, May 23, 2009 at 12:54 AM, Wolfgang Schuster wrote: > > Am 22.05.2009 um 18:47 schrieb Zhichu Chen: > Is there an easy option for this? >>> >>> \setuppapersize[SM|SW] or a papersize with the the same width/height >>> ratio >>> as the projector. >> >> That won't go well. The projector is as stupid as it could be. It will >> honestly >> send what's shown on my laptop to the screen only stretch it to a special >> ratio. If I make a wide screen version. It will be a wide version on my >> laptop >> with the header and footer cut, I mean it won't fill my laptop screen. >> Then >> the projector will produce a wide version on a wide ratio. It'll be >> 256:100 >> rather than 16:10. Still not what I wanted. > > Can't you set the same resolution on your laptop as the projector has, > the layout on your laptop is then deformed but the screen version is > correct. Well, that's a good idea. But actually, that's not really "my" laptop so I can't test it right now. I hope the notebook is not too old (which I assume it can be) to support a wide screen resolution. > > Wolfgang > > ___ > If your question is of interest to others as well, please add an entry to > the Wiki! > > maillist : ntg-context@ntg.nl / > http://www.ntg.nl/mailman/listinfo/ntg-context > webpage : http://www.pragma-ade.nl / http://tex.aanhet.net > archive : https://foundry.supelec.fr/projects/contextrev/ > wiki : http://contextgarden.net > ___ > -- Best Regards Chen Zhi-chu Chen | Shanghai Synchrotron Radiation Facility No. 2019 | Jialuo Rd. | Jiading | Shanghai | P.R. China tel: 086 21 5955 3405 | zhichu.chen.googlepages.com | www.sinap.ac.cn ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] How to make a stretched pdf file
On Fri, May 22, 2009 at 6:32 PM, Zhichu Chen wrote: > Well, since it's a presentation, I really have some "cool" style to > show by using > javascript. I think including separated pages will jeopardize it. > and what about pdf -> ps ->(some transformations) ps -> pdf ? -- luigi ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] How to make a stretched pdf file
Am 22.05.2009 um 18:47 schrieb Zhichu Chen: Is there an easy option for this? \setuppapersize[SM|SW] or a papersize with the the same width/ height ratio as the projector. That won't go well. The projector is as stupid as it could be. It will honestly send what's shown on my laptop to the screen only stretch it to a special ratio. If I make a wide screen version. It will be a wide version on my laptop with the header and footer cut, I mean it won't fill my laptop screen. Then the projector will produce a wide version on a wide ratio. It'll be 256:100 rather than 16:10. Still not what I wanted. Can't you set the same resolution on your laptop as the projector has, the layout on your laptop is then deformed but the screen version is correct. Wolfgang ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] How to make a stretched pdf file
On Sat, May 23, 2009 at 12:46 AM, luigi scarso wrote: > > > On Fri, May 22, 2009 at 6:32 PM, Zhichu Chen wrote: >> >> Well, since it's a presentation, I really have some "cool" style to >> show by using >> javascript. I think including separated pages will jeopardize it. > > Ah, ok > I don't know -- I have a little experience with javascript but if you can > send me your pdf > I can check if javascripts fail , just for curiosity . Sure of course. Thank you very much. I'll make a personal mail in case for the attached file. > > > -- > luigi > > > ___ > If your question is of interest to others as well, please add an entry to > the Wiki! > > maillist : ntg-context@ntg.nl / > http://www.ntg.nl/mailman/listinfo/ntg-context > webpage : http://www.pragma-ade.nl / http://tex.aanhet.net > archive : https://foundry.supelec.fr/projects/contextrev/ > wiki : http://contextgarden.net > ___ > > -- Best Regards Chen Zhi-chu Chen | Shanghai Synchrotron Radiation Facility No. 2019 | Jialuo Rd. | Jiading | Shanghai | P.R. China tel: 086 21 5955 3405 | zhichu.chen.googlepages.com | www.sinap.ac.cn ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] How to make a stretched pdf file
On Sat, May 23, 2009 at 12:08 AM, Wolfgang Schuster wrote: > > Am 22.05.2009 um 16:48 schrieb Zhichu Chen: > >> Hi guys, >> >> This may sound crazy, but I have to do a presentation with a stretched >> output. >> >> The thing is, I have a laptop with a normal screen, and it'll be plugged >> to >> a very big wide screen monitor so that people can see the slides on the >> big screen. I have to look at my laptop and present for the people, so >> what I'm thinking is make a stretched output on my 4:3 screen which >> looks very narrowed and then the effect on the screen will be just as >> normal. >> >> Is there an easy option for this? > > \setuppapersize[SM|SW] or a papersize with the the same width/height ratio > as the projector. That won't go well. The projector is as stupid as it could be. It will honestly send what's shown on my laptop to the screen only stretch it to a special ratio. If I make a wide screen version. It will be a wide version on my laptop with the header and footer cut, I mean it won't fill my laptop screen. Then the projector will produce a wide version on a wide ratio. It'll be 256:100 rather than 16:10. Still not what I wanted. > > Wolfgang > > ___ > If your question is of interest to others as well, please add an entry to > the Wiki! > > maillist : ntg-context@ntg.nl / > http://www.ntg.nl/mailman/listinfo/ntg-context > webpage : http://www.pragma-ade.nl / http://tex.aanhet.net > archive : https://foundry.supelec.fr/projects/contextrev/ > wiki : http://contextgarden.net > ___ > -- Best Regards Chen Zhi-chu Chen | Shanghai Synchrotron Radiation Facility No. 2019 | Jialuo Rd. | Jiading | Shanghai | P.R. China tel: 086 21 5955 3405 | zhichu.chen.googlepages.com | www.sinap.ac.cn ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] How to make a stretched pdf file
On Fri, May 22, 2009 at 6:32 PM, Zhichu Chen wrote: > Well, since it's a presentation, I really have some "cool" style to > show by using > javascript. I think including separated pages will jeopardize it. Ah, ok I don't know -- I have a little experience with javascript but if you can send me your pdf I can check if javascripts fail , just for curiosity . -- luigi ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] How to make a stretched pdf file
Well, since it's a presentation, I really have some "cool" style to show by using javascript. I think including separated pages will jeopardize it. On Fri, May 22, 2009 at 11:55 PM, luigi scarso wrote: > > > On Fri, May 22, 2009 at 4:48 PM, Zhichu Chen wrote: >> >> Hi guys, >> >> This may sound crazy, but I have to do a presentation with a stretched >> output. >> >> The thing is, I have a laptop with a normal screen, and it'll be plugged >> to >> a very big wide screen monitor so that people can see the slides on the >> big screen. I have to look at my laptop and present for the people, so >> what I'm thinking is make a stretched output on my 4:3 screen which >> looks very narrowed and then the effect on the screen will be just as >> normal. >> >> Is there an easy option for this? > > hmm are you sure that there isn't a way to > choose a graphic mode for you output that do what you want ? > Otherwise, maybe you can make a pdf -> ps, > apply a matrix transformation with ghostscript to this ps and reconvert to > pdf > Or you can use something like > \starttext > \starTEXPage > \externalfigure[slides.pdf][page=1,width=...,height=...]\page > \externalfigure[slides.pdf][page=2,width=...,height=...]\page > \externalfigure[slides.pdf][page=3,width=...,height=...]\page > \externalfigure[slides.pdf][page=4,width=...,height=...]\page > ... > \stopTEXPage > \stoptext > > > -- > luigi > > > ___ > If your question is of interest to others as well, please add an entry to > the Wiki! > > maillist : ntg-context@ntg.nl / > http://www.ntg.nl/mailman/listinfo/ntg-context > webpage : http://www.pragma-ade.nl / http://tex.aanhet.net > archive : https://foundry.supelec.fr/projects/contextrev/ > wiki : http://contextgarden.net > ___ > > -- Best Regards Chen Zhi-chu Chen | Shanghai Synchrotron Radiation Facility No. 2019 | Jialuo Rd. | Jiading | Shanghai | P.R. China tel: 086 21 5955 3405 | zhichu.chen.googlepages.com | www.sinap.ac.cn ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] How to make a stretched pdf file
Am 22.05.2009 um 16:48 schrieb Zhichu Chen: Hi guys, This may sound crazy, but I have to do a presentation with a stretched output. The thing is, I have a laptop with a normal screen, and it'll be plugged to a very big wide screen monitor so that people can see the slides on the big screen. I have to look at my laptop and present for the people, so what I'm thinking is make a stretched output on my 4:3 screen which looks very narrowed and then the effect on the screen will be just as normal. Is there an easy option for this? \setuppapersize[SM|SW] or a papersize with the the same width/height ratio as the projector. Wolfgang ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] How to make a stretched pdf file
On Fri, May 22, 2009 at 4:48 PM, Zhichu Chen wrote: > Hi guys, > > This may sound crazy, but I have to do a presentation with a stretched > output. > > The thing is, I have a laptop with a normal screen, and it'll be plugged to > a very big wide screen monitor so that people can see the slides on the > big screen. I have to look at my laptop and present for the people, so > what I'm thinking is make a stretched output on my 4:3 screen which > looks very narrowed and then the effect on the screen will be just as > normal. > > Is there an easy option for this? > hmm are you sure that there isn't a way to choose a graphic mode for you output that do what you want ? Otherwise, maybe you can make a pdf -> ps, apply a matrix transformation with ghostscript to this ps and reconvert to pdf Or you can use something like \starttext \starTEXPage \externalfigure[slides.pdf][page=1,width=...,height=...]\page \externalfigure[slides.pdf][page=2,width=...,height=...]\page \externalfigure[slides.pdf][page=3,width=...,height=...]\page \externalfigure[slides.pdf][page=4,width=...,height=...]\page ... \stopTEXPage \stoptext -- luigi ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___