Dear All, ConTeXt user manual says movies are just like figures, but when I process \starttext \placefigure[here]{none}{\externalfigure[demo.mov][width=0.7\textwidth, height=.7\textwidth, label=demo, preview=yes]} \stoptext with context filename.tex using the latest minimals without any custom settings I do not get movie included. What can be wrong? I am a ConTeXt newbie and fail to see any possible place for errors in the above test case. Sincerely, Michail
Michail Vidiassov wrote:
Dear All,
ConTeXt user manual says movies are just like figures, but when I process
\starttext \placefigure[here]{none}{\externalfigure[demo.mov][width=0.7\textwidth, height=.7\textwidth, label=demo, preview=yes]} \stoptext
with
context filename.tex
works ok in pdftex \starttext % www.pragma-ade.com/general/manuals/texwork.mov \setupinteraction[state=start] \placefigure [here] {none} {\externalfigure[texwork.mov][width=0.7\textwidth, height=.7\textwidth,label=demo,preview=yes]} \stoptext in luatex i simply didn't implement it yet (will do it soon) Hans ----------------------------------------------------------------- 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 -----------------------------------------------------------------
Dear Hans and All, you wrote:
ConTeXt user manual says movies are just like figures, but when I process
works ok in pdftex
\placefigure [here] {none} {\externalfigure[texwork.mov][width=0.7\textwidth, height=.7\textwidth,label=demo,preview=yes]}
in luatex i simply didn't implement it yet (will do it soon)
Am I correct to assume that the default engine in minimals is luatex? On the other hand, I do not need movies, I am looking for code that makes PDF annotation to handle particular file type of externalfigure. And current movie inclusion code is marked as buggy and using obsolete pdf features in commets anyway. But where to look for luatex-related code to use as an example and starting point for u3d handling? Sincerely, Michail
Michail Vidiassov wrote:
But where to look for luatex-related code to use as an example and starting point for u3d handling?
not there; maybe next year ----------------------------------------------------------------- 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 -----------------------------------------------------------------
Dear Hans and All, On Fri, 28 Nov 2008, Hans Hagen wrote:
But where to look for luatex-related code to use as an example and starting point for u3d handling?
not there; maybe next year
And also concerning "mov" including he wrote
in luatex i simply didn't implement it yet (will do it soon)
Is the function backends.pdf.insertmovie in core-inc.lua a part of unfinished effort or simply broken or dead-end? On the other hand, if there is no way now to create 3D annotation for u3d externalfigure in luatex/context combination, then another way is to include a pdf file with 3d annotation. Is there any way in luatex/context to include a pdf file with annotations (without losing them). Not necessary embedding it into a page, but also as a separate page, embedded file stream opening in a separate window, a reference to a separate file with a relative path - anything less ugly than an URL to some web location. Sincerely, Michail
Michail Vidiassov wrote:
Dear Hans and All,
On Fri, 28 Nov 2008, Hans Hagen wrote:
But where to look for luatex-related code to use as an example and starting point for u3d handling? not there; maybe next year
And also concerning "mov" including he wrote
in luatex i simply didn't implement it yet (will do it soon)
Is the function backends.pdf.insertmovie in core-inc.lua a part of unfinished effort or simply broken or dead-end?
just unfinished (inclusion of movies etc is somewhat abnormal so i'll make the code nicer when i redo the backend) i uploaded an alpha zip which has mov inclusion working (when no problems are reported we can make a beta sometime next week)
Is there any way in luatex/context to include a pdf file with annotations (without losing them). Not necessary embedding it into a page, but also as
currently not, at some point the img code will give access to the pdf to be included and then i can write an annotation merge routine (slightly tricky since we don't want clashes) Hans ----------------------------------------------------------------- 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 -----------------------------------------------------------------
Dear Hans, On Sun, 30 Nov 2008, Hans Hagen wrote:
i uploaded an alpha zip which has mov inclusion working Where to?
Is there any way in luatex/context to include a pdf file with annotations (without losing them). Not necessary embedding it into a page, but also as
currently not, at some point the img code will give access to the pdf to be included and then i can write an annotation merge routine (slightly tricky since we don't want clashes)
Is merging annotations necessary when FileAttachment annotations and/or Reference XObjects are used as in attachfile, attachfile2 or embedfile LaTeX packages? The PDF format allows the inclusion of les inside the PDF document. The included files can be bound to an annotation on a page. Or they can be recorded in a sorted list of embedded les. The packages attachle or attachle2 follow the first approach, package embedle uses the latter method. To see them in action, for an example, try page 194 (and the following pages) of http://www.math.ualberta.ca/~bowman/m117/m117.pdf I seems whole PDF files with 3D in them have been put into streams unchanged and are opened in a separate window if user clicks so. Remember, 3D are annotations. Sincerely, Michail
Michail Vidiassov wrote:
Dear Hans,
On Sun, 30 Nov 2008, Hans Hagen wrote:
i uploaded an alpha zip which has mov inclusion working Where to?
website ----------------------------------------------------------------- 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 -----------------------------------------------------------------
Dear Hans, On Mon, 1 Dec 2008, Hans Hagen wrote:
i uploaded an alpha zip which has mov inclusion working Where to?
website
Sorry for stupid question :( That inclusion does really work but for a minor problem - label parameter is ignored and the label (or name as it is displayed by the Reader - that is what in the T key of movie annotation dictionary) is always set to "dummy". To reproduce - context the following \pdfcompresslevel=0 \pdfminorversion=7 \starttext \placefigure[here]{none}{\externalfigure[nonexistentfile.mov][label=mylabel,width=0.7\textwidth, height=.7\textwidth]} \stoptext and look into pdf with text/binary editor or open it in Adobe Reader. Sincerely, Michail
Michail Vidiassov wrote:
Dear Hans,
On Mon, 1 Dec 2008, Hans Hagen wrote:
i uploaded an alpha zip which has mov inclusion working Where to? website
Sorry for stupid question :( That inclusion does really work but for a minor problem - label parameter is ignored and the label (or name as it is displayed by the Reader - that is what in the T key of movie annotation dictionary) is always set to "dummy".
To reproduce - context the following
\pdfcompresslevel=0 \pdfminorversion=7 \starttext \placefigure[here]{none}{\externalfigure[nonexistentfile.mov][label=mylabel,width=0.7\textwidth, height=.7\textwidth]} \stoptext
and look into pdf with text/binary editor or open it in Adobe Reader.
remin dme to look into it end of next week ----------------------------------------------------------------- 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 -----------------------------------------------------------------
Dear Michail, On Fri, Nov 28, 2008 at 12:06 PM, Michail Vidiassov wrote:
Am I correct to assume that the default engine in minimals is luatex?
No. Minimals are just a distribution. You can use whatever engine you want. There's no default engine. You can say --engines=luatex or --engines=pdftex when you install minimals, but the default is just --engines=all. If you process you files with texexec, the default engine will be pdftex, but you can also use "texexec --xtx" or "texexec --lua". If you process your files with "context", the default (only possible?) engine will be LuaTeX. The more important question is where the most development is happening. And there has recently been hardly any development in pdfTeX/mkii, which is even more true for future. LuaTeX/mkiv is still a bit unstable, but more fun to use. Mojca
participants (3)
-
Hans Hagen
-
Michail Vidiassov
-
Mojca Miklavec