Re: [NTG-context] Recursive search in resources folder

2018-07-05 Thread Marcus Vinicius Mesquita
Thank you.

Marcus Vinicius

On Thu, Jul 5, 2018, 10:47 Hans Hagen  wrote:

> On 7/5/2018 3:21 PM, Marcus Vinicius Mesquita wrote:
> > Dear list,
> >
> > In a project I received, there are a lot of images distributed in
> > several folders like:
> >
> > figures/folder1
> > ...
> > figures/folderN
> >
> > Which is the syntax for ConTeXt to find recursevely all images under the
> > folder figures in the main folder of the project?
> >
> > I tried
> >
> > \setupexternalfigures[location=global,directory=figures]
> >
> > then ConTeXt finds the images in the figures folder, but not in the
> > subfolders folder1, folder2, ... folderN
> see workflows-mkiv.pdf
>
>
> -
>Hans Hagen | PRAGMA ADE
>Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
> tel: 038 477 53 69 | www.pragma-ade.nl | 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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___

Re: [NTG-context] Epub broken

2018-07-05 Thread Rik Kabel

On 7/5/2018 17:18, Hans Hagen wrote:

On 7/5/2018 4:47 PM, Rik Kabel wrote:

On 7/5/2018 10:27, Hans Hagen wrote:

On 7/4/2018 3:17 PM, Rik Kabel wrote:

The following example fails with recent betas, but not with TL18:

define fails


Sorry to be so terse in the original note. By failure, I mean that 
the generated .epub document is incorrect; parts are out of order, as:

new beta


Thank you, Hans, for the quick repair.

I understand that ePub is not a priority 
(https://www.mail-archive.com/ntg-context@ntg.nl/msg87829.html) but I 
would like to make a request to put into the queue. Currently references 
(via \reference or \definelabel[xyz] ... \xyz, perhaps other mechanisms 
as well) do not generate ID attributes where they are created, and so 
references to them (which do generate href=#...) link to nothing. Even 
creating an empty div with an appropriate class (labelname, 
enumerationname, reference?) and the id attribute would help. Currently 
there is no placeholder in the html file to locate the proper place to 
insert this information with an external filter.


Of course, once that is done, there are lots more. So it goes.

--
Rik


___
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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___

Re: [NTG-context] Epub broken

2018-07-05 Thread Hans Hagen

On 7/5/2018 4:47 PM, Rik Kabel wrote:

On 7/5/2018 10:27, Hans Hagen wrote:

On 7/4/2018 3:17 PM, Rik Kabel wrote:

The following example fails with recent betas, but not with TL18:

define fails


Sorry to be so terse in the original note. By failure, I mean that the 
generated .epub document is incorrect; parts are out of order, as:

new beta


-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
   tel: 038 477 53 69 | www.pragma-ade.nl | 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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___

Re: [NTG-context] Epub broken

2018-07-05 Thread Rik Kabel

On 7/5/2018 10:27, Hans Hagen wrote:

On 7/4/2018 3:17 PM, Rik Kabel wrote:

The following example fails with recent betas, but not with TL18:

define fails


Sorry to be so terse in the original note. By failure, I mean that the 
generated .epub document is incorrect; parts are out of order, as:



(When one section is removed, the disorder is gone, so a smaller test 
file will not exhibit this problem.)


In a larger document, endnotes are scrambled as well, with two index 
marks for some and none for others. The generated .pdf (which is a 
throw-away when trying to produce epub) does not show the same problems.


The .epub file is attached.

--
RIk


test.epub
Description: application/epub
___
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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___

Re: [NTG-context] Epub broken

2018-07-05 Thread Hans Hagen

On 7/4/2018 3:17 PM, Rik Kabel wrote:

The following example fails with recent betas, but not with TL18:

define fails



-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
   tel: 038 477 53 69 | www.pragma-ade.nl | 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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___

Re: [NTG-context] Recursive search in resources folder

2018-07-05 Thread Hans Hagen

On 7/5/2018 3:21 PM, Marcus Vinicius Mesquita wrote:

Dear list,

In a project I received, there are a lot of images distributed in 
several folders like:


figures/folder1
...
figures/folderN

Which is the syntax for ConTeXt to find recursevely all images under the 
folder figures in the main folder of the project?


I tried

\setupexternalfigures[location=global,directory=figures]

then ConTeXt finds the images in the figures folder, but not in the 
subfolders folder1, folder2, ... folderN

see workflows-mkiv.pdf


-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
   tel: 038 477 53 69 | www.pragma-ade.nl | 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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___

[NTG-context] Recursive search in resources folder

2018-07-05 Thread Marcus Vinicius Mesquita
Dear list,

In a project I received, there are a lot of images distributed in several
folders like:

figures/folder1
...
figures/folderN

Which is the syntax for ConTeXt to find recursevely all images under the
folder figures in the main folder of the project?

I tried

\setupexternalfigures[location=global,directory=figures]

then ConTeXt finds the images in the figures folder, but not in the
subfolders folder1, folder2, ... folderN

TIA

Marcus Vinicius
___
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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___