ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* can not include  movie
@ 2008-11-27 15:16 Michail Vidiassov
  2008-11-28  9:34 ` Hans Hagen
  0 siblings, 1 reply; 11+ messages in thread
From: Michail Vidiassov @ 2008-11-27 15:16 UTC (permalink / raw)
  To: mailing list for ConTeXt users

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
___________________________________________________________________________________
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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: can not include  movie
  2008-11-27 15:16 can not include movie Michail Vidiassov
@ 2008-11-28  9:34 ` Hans Hagen
  2008-11-28 11:06   ` Michail Vidiassov
  0 siblings, 1 reply; 11+ messages in thread
From: Hans Hagen @ 2008-11-28  9:34 UTC (permalink / raw)
  To: mailing list for ConTeXt users

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
-----------------------------------------------------------------
___________________________________________________________________________________
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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: can not include  movie
  2008-11-28  9:34 ` Hans Hagen
@ 2008-11-28 11:06   ` Michail Vidiassov
  2008-11-28 14:08     ` Hans Hagen
  2008-11-28 15:38     ` can not include movie Mojca Miklavec
  0 siblings, 2 replies; 11+ messages in thread
From: Michail Vidiassov @ 2008-11-28 11:06 UTC (permalink / raw)
  To: mailing list for ConTeXt users

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

___________________________________________________________________________________
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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: can not include  movie
  2008-11-28 11:06   ` Michail Vidiassov
@ 2008-11-28 14:08     ` Hans Hagen
  2008-11-28 21:27       ` can not include movie AKA embedding 3d pdf Michail Vidiassov
  2008-11-28 15:38     ` can not include movie Mojca Miklavec
  1 sibling, 1 reply; 11+ messages in thread
From: Hans Hagen @ 2008-11-28 14:08 UTC (permalink / raw)
  To: mailing list for ConTeXt users

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
-----------------------------------------------------------------
___________________________________________________________________________________
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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: can not include movie
  2008-11-28 11:06   ` Michail Vidiassov
  2008-11-28 14:08     ` Hans Hagen
@ 2008-11-28 15:38     ` Mojca Miklavec
  1 sibling, 0 replies; 11+ messages in thread
From: Mojca Miklavec @ 2008-11-28 15:38 UTC (permalink / raw)
  To: mailing list for ConTeXt users

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
___________________________________________________________________________________
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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: can not include  movie AKA embedding 3d pdf
  2008-11-28 14:08     ` Hans Hagen
@ 2008-11-28 21:27       ` Michail Vidiassov
  2008-11-30 13:48         ` Hans Hagen
  0 siblings, 1 reply; 11+ messages in thread
From: Michail Vidiassov @ 2008-11-28 21:27 UTC (permalink / raw)
  To: mailing list for ConTeXt users

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

___________________________________________________________________________________
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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: can not include  movie AKA embedding 3d pdf
  2008-11-28 21:27       ` can not include movie AKA embedding 3d pdf Michail Vidiassov
@ 2008-11-30 13:48         ` Hans Hagen
  2008-12-01  6:33           ` Michail Vidiassov
  0 siblings, 1 reply; 11+ messages in thread
From: Hans Hagen @ 2008-11-30 13:48 UTC (permalink / raw)
  To: mailing list for ConTeXt users

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
-----------------------------------------------------------------
___________________________________________________________________________________
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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: can not include  movie AKA embedding 3d pdf
  2008-11-30 13:48         ` Hans Hagen
@ 2008-12-01  6:33           ` Michail Vidiassov
  2008-12-01 11:28             ` Hans Hagen
  0 siblings, 1 reply; 11+ messages in thread
From: Michail Vidiassov @ 2008-12-01  6:33 UTC (permalink / raw)
  To: mailing list for ConTeXt users

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

___________________________________________________________________________________
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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: can not include  movie AKA embedding 3d pdf
  2008-12-01  6:33           ` Michail Vidiassov
@ 2008-12-01 11:28             ` Hans Hagen
  2008-12-06 17:45               ` Michail Vidiassov
  0 siblings, 1 reply; 11+ messages in thread
From: Hans Hagen @ 2008-12-01 11:28 UTC (permalink / raw)
  To: mailing list for ConTeXt users

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
-----------------------------------------------------------------
___________________________________________________________________________________
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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: can not include  movie AKA embedding 3d pdf
  2008-12-01 11:28             ` Hans Hagen
@ 2008-12-06 17:45               ` Michail Vidiassov
  2008-12-08  7:26                 ` Hans Hagen
  0 siblings, 1 reply; 11+ messages in thread
From: Michail Vidiassov @ 2008-12-06 17:45 UTC (permalink / raw)
  To: mailing list for ConTeXt users

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
___________________________________________________________________________________
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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: can not include  movie AKA embedding 3d pdf
  2008-12-06 17:45               ` Michail Vidiassov
@ 2008-12-08  7:26                 ` Hans Hagen
  0 siblings, 0 replies; 11+ messages in thread
From: Hans Hagen @ 2008-12-08  7:26 UTC (permalink / raw)
  To: mailing list for ConTeXt users

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
-----------------------------------------------------------------
___________________________________________________________________________________
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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2008-12-08  7:26 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-11-27 15:16 can not include movie Michail Vidiassov
2008-11-28  9:34 ` Hans Hagen
2008-11-28 11:06   ` Michail Vidiassov
2008-11-28 14:08     ` Hans Hagen
2008-11-28 21:27       ` can not include movie AKA embedding 3d pdf Michail Vidiassov
2008-11-30 13:48         ` Hans Hagen
2008-12-01  6:33           ` Michail Vidiassov
2008-12-01 11:28             ` Hans Hagen
2008-12-06 17:45               ` Michail Vidiassov
2008-12-08  7:26                 ` Hans Hagen
2008-11-28 15:38     ` can not include movie Mojca Miklavec

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).