ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Pablo Rodriguez via ntg-context <ntg-context@ntg.nl>
To: Alan Braslau via ntg-context <ntg-context@ntg.nl>
Cc: Pablo Rodriguez <oinos@gmx.es>
Subject: Re: multimedia inclusion added to the wiki
Date: Wed, 18 Jan 2023 18:25:09 +0100	[thread overview]
Message-ID: <360225dd-3a78-bd8d-2d6d-3d0ab7667389@gmx.es> (raw)
In-Reply-To: <20230118094547.7f102800@boo.my.domain>

On 1/18/23 17:45, Alan Braslau via ntg-context wrote:
> [...] 
> Thank you - this is indeed helpful.

Hi Alan,

many thanks for the kind words (also to Otared and Willi).

> I have two questions:
> 
> \userendering[key-name][video/mp4][video.mp4]
>   [embed=yes, auto]
> 
> It was my understanding that the mix of key=value with (single) option
> in the same comma-separated list does not work. Would someone clarify
> this?

This is the first time read something like that. I don’t know whether
something like this exists.

https://wiki.contextgarden.net/Multimedia_Inclusion#Including_Video
contains a sample with both keys.

Using the improved lpdf-wid.lmt included in
https://mailman.ntg.nl/pipermail/ntg-context/2023/107599.html, both keys
work.

> Secondly, I would have thought that embed=yes would include the
> multimedia file in the PDF stream. However,
> 
> 	The resulting PDF document requires a video.mp4 file on the same
> 	directory as your ConTeXt source file.
> 
> This should probably say "in the same directory as the PDF file", but
> is that true, or does it get embedded?

Sorry for the poor wording, it gets embedded. The source requires it for
generation (for the file to be embedded in the resulting PDF document).

I hope the new version is clearer now.

Many thanks for your help,

Pablo
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / https://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : https://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : https://contextgarden.net
___________________________________________________________________________________

      reply	other threads:[~2023-01-18 17:25 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-01-16 18:00 Pablo Rodriguez via ntg-context
2023-01-16 23:04 ` Otared Kavian via ntg-context
2023-01-17 17:14 ` Willi Egger via ntg-context
2023-01-18 16:45 ` Alan Braslau via ntg-context
2023-01-18 17:25   ` Pablo Rodriguez via ntg-context [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=360225dd-3a78-bd8d-2d6d-3d0ab7667389@gmx.es \
    --to=ntg-context@ntg.nl \
    --cc=oinos@gmx.es \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).