[NTG-context] Is there a way to completely remove all auxiliary and resulting files?

2015-03-24 Thread Norbert Melzer
Is there a way to completely delete all files, that were created during a
context run?

Similar to the `-c`/`-C` options in `latexmk`?

I could create a script using bat/sh but I would prefer to not have to
maintain 2 cleanscripts for the different environments that are used to
create the document.
___
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  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___

Re: [NTG-context] Is there a way to completely remove all auxiliary and resulting files?

2015-03-24 Thread Procházka Lukáš Ing . - Pontex s . r . o .

Hello,

typing context.exe with no argument yields:

C:\Lukas\Jobs\R6-011.ZDS\1-PDPS\B-StavCast\SO_201\Detailscontext.exe


mtx-context | ConTeXt Process Management 0.61
mtx-context |
mtx-context | basic options:
mtx-context |
mtx-context | --run  process (one or more) files (default 
action)
mtx-context | --make create context formats
mtx-context |
mtx-context | --ctx=name use ctx file (process management 
specification)
mtx-context | --interfaceuse specified user interface (default: 
en)
mtx-context |
mtx-context | --autopdf  close pdf file in viewer and start pdf 
viewer afterwards
mtx-context | --purgepurge files either or not after a run 
(--pattern=...)
mtx-context | --purgeall purge all files either or not after a 
run (--pattern=...)
...
mtx-context | wiki : http://contextgarden.net


So isn't context.exe --purgeall what you're looking for?

Lukas


On Tue, 24 Mar 2015 15:04:38 +0100, Norbert Melzer timmel...@gmail.com wrote:


Is there a way to completely delete all files, that were created during a
context run?

Similar to the `-c`/`-C` options in `latexmk`?

I could create a script using bat/sh but I would prefer to not have to
maintain 2 cleanscripts for the different environments that are used to
create the document.




--
Ing. Lukáš Procházka | mailto:l...@pontex.cz
Pontex s. r. o.  | mailto:pon...@pontex.cz | http://www.pontex.cz
Bezová 1658
147 14 Praha 4

Tel: +420 241 096 751
Fax: +420 244 461 038

___
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  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___

Re: [NTG-context] Is there a way to completely remove all auxiliary and resulting files?

2015-03-24 Thread Hans Hagen

On 3/24/2015 3:04 PM, Norbert Melzer wrote:

Is there a way to completely delete all files, that were created during
a context run?

Similar to the `-c`/`-C` options in `latexmk`?

I could create a script using bat/sh but I would prefer to not have to
maintain 2 cleanscripts for the different environments that are used to
create the document.


--purgeall

-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | voip: 087 875 68 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  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___

[NTG-context] Adjusting vertical location of a margin figure

2015-03-24 Thread Mari Voipio
Dear all,

in the user manuals I'm working with we'd like to put a graphic in the
margin when the text includes a warning or other important
information. I have found multiple ways of putting a graphic in the
margin (see below), but none of them works perfectly. In some the
graphic is placed to the baseline of the first row of the paragraph,
in others it is placed lower down and in short paragraphs ends up by
the next paragraph. What I want is a symbol in the margin aligned to
the top of the paragraph. Is this possible?
The graphic is always in the beginning of the paragraph, it doesn't
appear in the middle.

This is what I have this far:


\setupwhitespace[medium]


\starttext

\inmargin{\externalfigure[warning]}
\input tufte

\inmargin{\externalfigure[warning]}
Really short paragraph.


\inleft{
\placefigure[none][]{}
{\externalfigure[warning]}
}
\input tufte


\placefigure[leftmargin,none]{}{\externalfigure[warning]}
\input tufte

\placefigure
[inleft,none]
{}
{\externalfigure[warning]}
\input tufte

\placefigure
[inleft,none]
{}
{\externalfigure[warning]}
Really short paragraph.

\stoptext

Of course I have the option of making the symbols textheight, in which
case \inmargin (aligning to baseline) would work. However, I'd rather
keep them bigger if that is possible.


Thanks,

Mari


warning.pdf
Description: Adobe PDF document
___
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  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___

[NTG-context] \appendtoks and structuring commands

2015-03-24 Thread Sam Ḥilluc
Hi list,

I'm trying to leverage the structuring facilities of context. In my previous
setup I added a title page automatically by using:
\appendtoks
\placetitle
\to \everystarttext

But now that I'm using environments and products, it doesn't seem to work.

Here is a minimal (not) working example:
% env.tex
\startenvironment env
\setuppapersize[A5]
\appendtoks
Title page
\to \everystarttext
\stopenvironment


% prj.tex
\startproject prj
\environment env
\stopproject

% prd.tex
\startproduct prd
\project prj

\starttext
Bla bla
\stoptext
\stopproduct

Note that when using \everystoptext rather than \everystarttext, it does work
(it adds the text to the last page)

So what am I doing wrong ?

-- 
H.-E.
___
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  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___

Re: [NTG-context] buggy extra space after ff ligature

2015-03-24 Thread Otared Kavian
Hi Pablo,

I can confirm that the first « ff » ligature has an extra space, as it may be 
seen in the attached PDF.
(Running ConTeXt  ver: 2015.03.10 12:09 MKIV beta  fmt: 2015.3.17  int: 
english/english)

Best regards: OK


ff-ligature.pdf
Description: Adobe PDF document

 On 23 Mar 2015, at 17:56, Pablo Rodriguez oi...@gmx.es wrote:
 
 Dear list,
 
 I’m afraid I’ve hit a bug:
 
\setuphyphenation[method=traditional]
\definefontfeature[default][default][itlc=yes]
\setupitaliccorrection[global,always]
 
\setuphead[section][style=\it]
\starttext
\section{Different Efficiencies}
\section{Different Effectivity}
\stoptext
 
 The first title has an extra space after the ff ligature. I think this
 may be a bug.
 
 Could anyone confirm it?
 
 Many thanks for your help,
 
 Pablo
 -- 
 http://www.ousia.tk
 ___
 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  : http://foundry.supelec.fr/projects/contextrev/
 wiki : http://contextgarden.net
 ___

___
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  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___