Re: [NTG-context] texi2pdf

2014-05-22 Thread Mojca Miklavec
On Sat, May 24, 2014 at 1:19 AM,   wrote:
>
> I have installed the standalone and it works well on my Xubuntu system.
>
> I tried to run texi2pdf, which not a part of the standalone system, but fails 
> due to: "...don't have any working TeX binary installed.."
>
> If the standalone has one I will add its path to my PATH and the texi2pdf 
> should work.

No, it probably won't work. You really need LaTeX to run texinfo.

> I'm trying to avoid installing a full TeXLive distribution on  this old 
> limited memory machine.

You don't have to install full TeX Live. Just install the basic scheme
(plain TeX) + "latexrecommended" collection. On one of my machines
that fits into 110 MB, but you could probably be even more picky and
install even less packages (or remove them later after installation).
Just start with tlpretest 2014, else your installation will become
obsolete before you know.

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


Re: [NTG-context] Testing TeX Live 2014: last call

2014-05-22 Thread Mojca Miklavec
Dear Pablo,

On Fri, May 23, 2014 at 7:00 AM, Pablo Rodriguez wrote:
>
> Only a question. When Luigi announced luajittex-0.78.2
> (http://www.ntg.nl/pipermail/ntg-context/2014/076633.html), he commented
> the possibility of having only luajittex in the future.
>
> What happened to that merging?

You probably misunderstood the message. Luigi kept developing
LuaJITTeX separately from LuaTeX until recently, at
https://foundry.supelec.fr/projects/luajittex, so the two projects
(luatex and luajittex) contained almost the same source code with only
minor differences and we had to compile them separately. Both projects
now coexist at https://foundry.supelec.fr/projects/luatex in the same
subversion repository and both binaries are built from the same
sources.

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


Re: [NTG-context] Testing TeX Live 2014: last call

2014-05-22 Thread Pablo Rodriguez
On 05/22/2014 11:21 PM, Mojca Miklavec wrote:
> Hi everyone,
> 
> I would like to invite you to try to install TL 2014 pretest to make
> sure that ConTeXt (and jit in particular) works as expected.

Hi Mojca,

I have found a what might be a bug in latest beta, but I don’t have to
report it right now.

Only a question. When Luigi announced luajittex-0.78.2
(http://www.ntg.nl/pipermail/ntg-context/2014/076633.html), he commented
the possibility of having only luajittex in the future.

What happened to that merging?

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
___


Re: [NTG-context] Centering tabulate env. using \setuptabulate

2014-05-22 Thread Wolfgang Schuster

Am 23.05.2014 um 04:17 schrieb Robert Zydenbos :

> This is a topic that is of great interest to me. I have been trying to make 
> tables in mkii (because I need XeTeX for my Indic fonts) that span across 
> pages and in which cells are more than one line (so I use the 'p' parameter).
> 
> I'm enclosing a test file below. Any suggestions?

You have you use the “split” keyword when you want your tables to be broken 
across pages, i.e.

\starttext

\placetable[split]{Table caption}
  {\starttabulate
   \NC Knuth \NC \input knuth \NC\NR
   \NC Tufte \NC \input tufte \NC\NR
   \NC Zapf  \NC \input zapf  \NC\NR
   \NC Knuth \NC \input knuth \NC\NR
   \NC Tufte \NC \input tufte \NC\NR
   \NC Zapf  \NC \input zapf  \NC\NR
   \stoptabulate}
   
\stoptext

Wolfgang
___
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] Setting the style and conversion of the reference numbers for the \in command

2014-05-22 Thread Wolfgang Schuster

Am 23.05.2014 um 01:09 schrieb Maggyero :

> Thank you Wolfgang, your hack is perfect. Hans, what do you think about 
> adding a style and color key in \setupreferencestructureprefix to avoid 
> having to use this defineprocessor hack?

The processor command is meant for this purpose to apply to a apply a different 
format for certain counters etc.

> And by the way, the name \setupreferencestructureprefix does not sound really 
> natural to me because we are talking about a reference NUMBER and there is 
> not always a prefix. What about changing it to something like \setupreference 
> or \setupreferencenumber (like \setuppagenumber)?

I agree that the name itself isn’t very good but you have to know that section 
numbers are considered as prefixes when they appear in front of the figure, 
table etc. counters.

Wolfgang

___
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] Centering tabulate env. using \setuptabulate

2014-05-22 Thread Robert Zydenbos
This is a topic that is of great interest to me. I have been trying to make 
tables in mkii (because I need XeTeX for my Indic fonts) that span across pages 
and in which cells are more than one line (so I use the 'p' parameter).

I'm enclosing a test file below. Any suggestions?

RZ

---start of test source---
% !TEX TS-program = ConTeXt (XeTeX)
\starttext

\input knuth

\setuptabulate[split=yes]

% ---> *** I WANT THIS TABLE TO BE CENTERED *** <---

\starttabulate [|p(.5\textwidth)|p(.2\textwidth)|]
\dorecurse{4}{
\NC 
Nu laat ik je iets zien in een tabel, die met tabulate gemaakt is. \NC Het is 
overigens maar een experiment, maar we zullen zien wat er gebeurt. {\bf And I 
want all this to be centered.} \NC \NR
\NR
\NC Als dit werkt, dan gaan we heel fanatiek hiermee verder. \NC Dan gaan we 
allerlei prachtige zaken in ConTeXt zetten, met XeTeX. \NC \NR
\NR
} % end of \dorecurse
\stoptabulate


En nu iets met een ander mechanisme. Maar we moeten zien in hoeverre al deze 
mooie dingen formatteerbaar zijn.
\blank


% ---> *** I WANT THIS TABLE TO BE CENTERED TOO, AND SPLIT ACROSS PAGES *** <---

\dorecurse{5}{
\setupTABLE[row][each][rulethickness=.5pt,distance=1.5em,offset=\dimexpr3mm,split=repeat]
\bTABLE
\bTR \bTD Dit is iets in een TABLE. Of ik het begrepen heb? \eTD  \bTD 
Misschien wel. \eTD \eTR
\bTR \bTD \eTD \bTD En als ik nu maar éen cel schrijf? Het zou namelijk kunnen, 
dat hiermee tegen de een of andere regel gezondigd wordt, die in documentatie 
niet te vinden is. En in dat geval gaat het hele experiment niet op, of, nou 
ja, slechts ten dele. {\bf But drat, I want this box to be split across 
pages!}\eTD \eTR
\eTABLE
\blank

} % end of \dorecurse

\midaligned {
\setupTABLE[row][each][rulethickness=1.5pt,distance=1mm,offset=\dimexpr2mm+2pt,split=repeat]
\startTABLE
\NC Text 1 \NC Text 2 \NC\NR
\NC Text 3 \NC Text 4 \NC\NR
\stopTABLE
}

\stoptext
---end of test source---

___
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] Experience with DITA XML or XSL/FO

2014-05-22 Thread Mica Semrick
Hi Hans,

Thanks for your reply. I found my way to foxet, but never got it working. I've 
written several mapping files for XML with good results, but DITA is a bit of a 
different beast. 

DITA is geared towards technical writing, and its main features are defined 
content types, a mechanism for controlled reuse below the file level, a modular 
structure, and built in extensibility of its XML vocabulary. It comes with its 
own toolkit that filters out and pulls in content and it uses FOP to produce 
PDF (hence my mention of FO). Since the toolkit must process the XML to resolve 
linked content and remove content, it is not recommended to directly typeset 
the XML like you could do with DocBook. I see a few ways to achieve what I 
want, which is a PDF produced my ConTeXt: target a merged XML file that the 
dita toolkit has produced, produce a concatenated HTML file and typeset that, 
or typeset the fo file before FOP gets to it. Of those approaches, the first 
seems like the best idea, but I wanted to query the list before proceeding.

Thanks for your time.

Best,
Mica
___
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] [***SPAM***] texi2pdf

2014-05-22 Thread hwitloc

I have installed the standalone and it works well on my Xubuntu system.

I tried to run texi2pdf, which not a part of the standalone system, but fails 
due to: "...don't have any working TeX binary installed.."   

If the standalone has one I will add its path to my PATH and the texi2pdf 
should work.  
I'm trying to avoid installing a full TeXLive distribution on  this old limited 
memory machine. 

Any advice would help.

Thenks
___
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] Edit the arrows default Metapost

2014-05-22 Thread Hans Hagen

On 5/23/2014 12:42 AM, Fabrice Couvreur wrote:


Hello,
Is it possible to change the appearance Metafun arrows default to make
them resemble those of PSTricks that I find most beautiful.


you can mess with some of the parametersm like ahlength and ahangle or 
just define your own heads


Hans

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


Re: [NTG-context] Experience with DITA XML or XSL/FO

2014-05-22 Thread Hans Hagen

On 5/22/2014 7:11 PM, Mica Semrick wrote:

Hi list,

I've been contemplating making a ConTeXt output or parser for DITA XML and was 
wondering if anyone has worked with DITA and ConTeXt before? If you have and 
could offer any advice and/code, that would be most helpful!


I must admit that I've never heard of DITA XML. Concerning FO ... I once 
made something for mkii, and I think I must have some first code for 
mkiv but never saw a good reason for finishing that (shouldn't be too 
hard) especially because in practice it's often easier to directly write 
an xml mapping and then use the mechanisms that context has available 
for getting a better output.


Hans

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


Re: [NTG-context] Testing TeX Live 2014: last call

2014-05-22 Thread Hans Hagen

On 5/22/2014 11:21 PM, Mojca Miklavec wrote:

Hi everyone,

I would like to invite you to try to install TL 2014 pretest to make
sure that ConTeXt (and jit in particular) works as expected.

https://www.tug.org/texlive/pretest.html

You are invited to play with your installation and different settings
and to test some of your documents.

Theoretically we are already past the freeze date, but if any major
problems show up, there might be still time for a fix.


I guess that in that case we should call it a current (instead of beta).

Hans

-
  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] Setting the style and conversion of the reference numbers for the \in command

2014-05-22 Thread Maggyero
Thank you Wolfgang, your hack is perfect. Hans, what do you think about
adding a style and color key in \setupreferencestructureprefix to avoid
having to use this defineprocessor hack?

And by the way, the name \setupreferencestructureprefix does not sound
really natural to me because we are talking about a reference NUMBER and
there is not always a prefix. What about changing it to something like
\setupreference or \setupreferencenumber (like \setuppagenumber)?
___
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] Edit the arrows default Metapost

2014-05-22 Thread Fabrice Couvreur
Hello,
Is it possible to change the appearance Metafun arrows default to make them
resemble those of PSTricks that I find most beautiful.
Regards,
Fabrice
___
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] Testing TeX Live 2014: last call

2014-05-22 Thread Mojca Miklavec
Hi everyone,

I would like to invite you to try to install TL 2014 pretest to make
sure that ConTeXt (and jit in particular) works as expected.

https://www.tug.org/texlive/pretest.html

You are invited to play with your installation and different settings
and to test some of your documents.

Theoretically we are already past the freeze date, but if any major
problems show up, there might be still time for a fix.

The version of ConTeXt that will end up in TL is 2014.05.21 22:04.

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


[NTG-context] Experience with DITA XML or XSL/FO

2014-05-22 Thread Mica Semrick
Hi list,

I've been contemplating making a ConTeXt output or parser for DITA XML and was 
wondering if anyone has worked with DITA and ConTeXt before? If you have and 
could offer any advice and/code, that would be most helpful!

Best,
Mica
___
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] Setting the style and conversion of the reference numbers for the \in command

2014-05-22 Thread Wolfgang Schuster

Am 22.05.2014 um 18:51 schrieb Maggyero :

> I have found how to get the conversion of numbers in references (the 
> 'prefixconversion' key in '\setupreferencestructureprefix' command), but I 
> still do not know how to change their style. I have tried the 'style' key and 
> 'prefixstyle' key but without success.
> 
> After checking in ConTeXt source, I have realised that there is no such 
> 'style' key for the '\setupreferencestructureprefix' command. Is there 
> another command to change the style? If not, it would be great if Hans could 
> add that feature.
> 
> Minimal example:
> 
> \setupreferencestructureprefix[section][default][%
> prefixconversion=Romannumerals,
> prefixstyle=\bf]

\defineprocessor[sectionstyle][style=italic,color=red]
\defineconversionset[sectionconversion][][sectionstyle->Romannumerals]
\setupreferencestructureprefix[section][default][prefixconversionset=sectionconversion]

Wolfgang

___
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] Setting the style and conversion of the reference numbers for the \in command

2014-05-22 Thread Maggyero
I have found how to get the conversion of numbers in references (the
'prefixconversion' key in '\setupreferencestructureprefix' command), but I
still do not know how to change their style. I have tried the 'style' key
and 'prefixstyle' key but without success.

After checking in ConTeXt source, I have realised that there is no such
'style' key for the '\setupreferencestructureprefix' command. Is there
another command to change the style? If not, it would be great if Hans
could add that feature.

Minimal example:

\setupreferencestructureprefix[section][default][%
prefixconversion=Romannumerals,
prefixstyle=\bf]

\starttext
\input knuth (Cf. \in{section}[mysection].)
\section[mysection]{My section}
\stoptext
___
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] pdf X/1-a:2001 format for print output.

2014-05-22 Thread john Culleton
On Thu, 22 May 2014 17:59:31 +0200
Peter Rolf  wrote:

> Am 22.05.2014 16:07, schrieb john Culleton:
> > The above format is required for pdf files
> > containing color for many American printers.
> > I am looking for the minimal case. In the
> > wiki there is an example:
> > 
> > \setupbackend
> >   [format=PDF/X-1a:2001,
> >intent=SWOP2006_Coated3v2.icc]
> > 
> > Is this sufficient? Or must I also use this
> > code:
> 
> They are not needed in PDF/X. But its good to
> be able to search PDF documents for a specific
> author or a title. No metadata, no search
> result pointing to your document.
> 
> > 
> > \setupinteraction
> >   [title=TITLE,
> >subtitle=SUBTITLE,
> >author=AUTHOR,
> >keyword={{KEYWORD1, KEYWORD2}, KEYWORD3}]
> > 
> > I don't see the relationship of this last
> > example to non-interactive pdf X/1-a:2001
> > output for print. 
> >
> 
> Well, there is none. You set the metadata via
> '\setupinteraction'. That's all.
> Interactive features (like links) are even
> forbidden in PDF/X-1a. Also no transparency and
> no RGB colors.
> 
> 
> HTH,  Peter
> 
Thanks for your help!
> 
> ___
> 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
> ___
> 
> 
> ___
> Unlimited Disk, Data Transfer, PHP/MySQL Domain
> Hosting http://www.doteasy.com 



-- 
John Culleton
Wexford Press
Free list of books for self-publishers:
http://wexfordpress.net/shortlist.html
PDF e-book: "Create Book Covers with Scribus"
available at
http://www.booklocker.com/books/4055.html
___
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] pdf X/1-a:2001 format for print output.

2014-05-22 Thread Peter Rolf
Am 22.05.2014 16:07, schrieb john Culleton:
> The above format is required for pdf files
> containing color for many American printers. I am
> looking for the minimal case. In the wiki there
> is an example:
> 
> \setupbackend
>   [format=PDF/X-1a:2001,
>intent=SWOP2006_Coated3v2.icc]
> 
> Is this sufficient? Or must I also use this
> code:

They are not needed in PDF/X. But its good to be able to search PDF
documents for a specific author or a title. No metadata, no search
result pointing to your document.

> 
> \setupinteraction
>   [title=TITLE,
>subtitle=SUBTITLE,
>author=AUTHOR,
>keyword={{KEYWORD1, KEYWORD2}, KEYWORD3}]
> 
> I don't see the relationship of this last example
> to non-interactive pdf X/1-a:2001 output for
> print. 
>

Well, there is none. You set the metadata via '\setupinteraction'.
That's all.
Interactive features (like links) are even forbidden in PDF/X-1a. Also
no transparency and no RGB colors.


HTH,  Peter


___
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] [bug?] no space before \cite[data][] and after \abbreviation

2014-05-22 Thread Wolfgang Schuster

Am 22.05.2014 um 14:35 schrieb pol stra :

> Hello,
> 
> I used "see \cite[data]" in a document and I obtained "seeAuthor" without 
> space between "see" and "Author". I think it is a bug.
> 
> I also had troubles with abbreviations (although it might be a bad use from 
> myself):
> setting "\abbreviation{AB}{Abbreviation}"
> 
> "an \AB some text" will give "an ABsome text" => missing space after 
> abbreviation
> "an {\AB} some text" will give "an AB some text" => OK
> "an \infull{AB} some text" will give "an  some text" => missing expanded 
> abbreviation

Spaces after commands (e.g. \TeX) are ignored, to keep the space you have to 
add “\ ” or “{} ” after the command.

\abbreviation{AB}{Abbreviation}

\starttext
text \AB\ text \AB{} \infull{AB} text
\stoptext


There is also a automatic way for this where you don’t have add any thing after 
the command but there are a few exceptions where this doesn’t work.

\abbreviation{AB}{Abbreviation}

\setupsynonyms
  [abbreviation]
  [next=\autoinsertnextspace]

\starttext
text \AB text
\stoptext

Wolfgang___
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] pdf X/1-a:2001 format for print output.

2014-05-22 Thread john Culleton
The above format is required for pdf files
containing color for many American printers. I am
looking for the minimal case. In the wiki there
is an example:

\setupbackend
  [format=PDF/X-1a:2001,
   intent=SWOP2006_Coated3v2.icc]

Is this sufficient? Or must I also use this
code:

\setupinteraction
  [title=TITLE,
   subtitle=SUBTITLE,
   author=AUTHOR,
   keyword={{KEYWORD1, KEYWORD2}, KEYWORD3}]

I don't see the relationship of this last example
to non-interactive pdf X/1-a:2001 output for
print. 

-- 
John Culleton
Wexford Press
Free list of books for self-publishers:
http://wexfordpress.net/shortlist.html
PDF e-book: "Create Book Covers with Scribus"
available at
http://www.booklocker.com/books/4055.html
___
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] \startbackground with footnote

2014-05-22 Thread Wolfgang Schuster

Am 22.05.2014 um 14:25 schrieb Xan :

> Hi,
> 
> I have a footnote in \startbackground \stopbackground environment and the 
> footnote is not displayed. Can anyone give me any hint?

Add the command \automigrateinserts before \starttext.

Wolfgang
___
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] ConTeXt mkiv and rsfs fonts

2014-05-22 Thread Wolfgang Schuster

Am 22.05.2014 um 11:02 schrieb Otared Kavian :

> Thanks Mikael!
> That’s it: the real name of palatino in mkiv is TeX Gyre Pagella, and in math 
> mode one has to use TeX Gyre Pagella Math… 
> I am going to update the page on the wiki about calligraphic math.
> 
> Another question (maybe Wolfgang has more to say about it): is the word « 
> mainface » is a mandatory name for the font family which is defined? Because 
> if I change it to « MyMainFace » then mkiv reports an error:
> 
>Math error: parameter \Umathquad\displaystyle is not set


It doesn’t matter which name you use for the typeface but all styles (serif, 
sans, math etc.) need the same name for the first argument of \definefontfamily.

\definefontfamily [typefaceone] [serif] [Latin Modern Roman]
\definefontfamily [typefaceone] [math]  [Latin Modern Math]

\definefontfamily [typefacetwo] [serif] [TeX Gyre Pagella]
\definefontfamily [typefacetwo] [math]  [TeX Gyre Pagella Math]

\setupbodyfont[typefacetwo]

\starttext

\input knuth

\setupbodyfont[typefaceone]

\input knuth

\stoptext

Wolfgang
___
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] [bug?] no space before \cite[data][] and after \abbreviation

2014-05-22 Thread pol stra
Hello,

I used "see \cite[data]" in a document and I obtained "seeAuthor" without space 
between "see" and "Author". I think it is a bug.

I also had troubles with abbreviations (although it might be a bad use from 
myself):
setting "\abbreviation{AB}{Abbreviation}"

"an \AB some text" will give "an ABsome text" => missing space after 
abbreviation
"an {\AB} some text" will give "an AB some text" => OK
"an \infull{AB} some text" will give "an  some text" => missing expanded 
abbreviation

setting:
"\definesynonyms[abbrev][abbrevs][\infull]
\setupsynonyms[style=normal]
\abbrev{AB}{Abbreviation}"

"an \AB some text" will give "an ABsome text" => missing space after 
abbreviation
"an {\AB} some text" will give "an AB some text" => OK
"an \infull{AB} some text" will give "an Abbreviation some text" => OK

Is it bugs or I do something wrong ?

Best regards,
  ___
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] \setnumber

2014-05-22 Thread Otared Kavian
Actually you are right: one can setup the userpage numbers by just saying 
way=byblock (no need to repeat numberconversionset).
Here is a complete example:

\defineconversionset[frontpart:pagenumber][][romannumerals]
\defineconversionset[bodypart:pagenumber] [][numbers]
\defineconversionset[backpart:pagenumber] [][characters]
\setupuserpagenumber[way=byblock]

\starttext

\startfrontmatter
\placecontent
\stopfrontmatter

\startbodymatter
\chapter{First chapter}
\input ward.tex
\section{A section}
\input dawkins.tex

\stopbodymatter

\startbackmatter
\chapter[title={Index},number=no]
\input tufte.tex
\stopbackmatter
\stoptext

Best regards: OK


On 22 May 2014, at 13:50, Werner Hintze  wrote:

> This is the problem: It works, but I don’t unterstand why. I make just my 
> first steps with ConTeXt…
> 
> Anyway: I found out, that this is the best solution:
> 
> \defineconversionset[frontpart:pagenumber][][romannumerals]
> \defineconversionset[bodypart:pagenumber][][numbers]
> \defineconversionset[backpart:pagenumber] [][characters
> \defineconversionset[appendix:pagenumber][][Characters]
> \setupuserpagenumber[numberconversionset=pagenumber,way=byblock]
> Now it’s not nessecary to reset the pagenumber.
> 
> Thanks for the hint about the Sample texts.
> 
> Best regards.
> 
> WH
> 
> On 22 May 2014, at 12:56, Otared Kavian wrote:
> 
> On 22 May 2014, at 12:44, Werner Hintze we.hin...@gmail.com wrote:
> 
> Thank you once more! This looks better. It’s a pity that such things are not 
> »wikified«… ;)
> 
> Once you think you have well understood something do not hesitate to wikify 
> it…
> 
> But there is a new surprise: What is knute.tex, ward.tex and tufte.tex? Are 
> there more of those texte? And how does one finde them?
> 
> Look where you have installed the ConTeXt tree, in the following directory
> 
> tex/texmf-context/tex/context/sample
> you’ll find some other sample files which can be input for testing: they are 
> very useful!
> 
> Best regards: OK
> 
> 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
> ___

___
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] \startbackground with footnote

2014-05-22 Thread Xan
Hi,

I have a footnote in \startbackground \stopbackground environment and the 
footnote is not displayed. Can anyone give me any hint?

thanks in advance,
Xan
___
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] \setnumber

2014-05-22 Thread Werner Hintze
This is the problem: It works, but I don’t unterstand why. I make just 
my first steps with ConTeXt…


Anyway: I found out, that this is the best solution:

\defineconversionset[frontpart:pagenumber][][romannumerals]
\defineconversionset[bodypart:pagenumber][][numbers]
\defineconversionset[backpart:pagenumber] [][characters
\defineconversionset[appendix:pagenumber][][Characters]
\setupuserpagenumber[numberconversionset=pagenumber,way=byblock]

Now it’s not nessecary to reset the pagenumber.

Thanks for the hint about the Sample texts.

Best regards.

WH


On 22 May 2014, at 12:56, Otared Kavian wrote:


On 22 May 2014, at 12:44, Werner Hintze  wrote:

Thank you once more! This looks better. It’s a pity that such 
things are not »wikified«… ;)


Once you think you have well understood something do not hesitate to 
wikify it…


But there is a new surprise: What is knute.tex, ward.tex and 
tufte.tex? Are there more of those texte? And how does one finde 
them?


Look where you have installed the ConTeXt tree, in the following 
directory


tex/texmf-context/tex/context/sample

you’ll find some other sample files which can be input for testing: 
they are very useful!


Best regards: OK
___
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
___

Re: [NTG-context] \setnumber

2014-05-22 Thread Otared Kavian

On 22 May 2014, at 12:44, Werner Hintze  wrote:

> Thank you once more! This looks better. It’s a pity that such things are not 
> »wikified«… ;)

Once you think you have well understood something do not hesitate to wikify it…

> But there is a new surprise: What is knute.tex, ward.tex and tufte.tex? Are 
> there more of those texte? And how does one finde them?

Look where you have installed the ConTeXt tree, in the following directory

tex/texmf-context/tex/context/sample

you’ll find some other sample files which can be input for testing: they are 
very useful!

Best regards: OK
___
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] \setnumber

2014-05-22 Thread Werner Hintze
Thank you once more! This looks better. It’s a pity that such things 
are not »wikified«… ;)


But there is  a new surprise: What is knute.tex, ward.tex and tufte.tex? 
Are there more of those texte? And how does one finde them?



On 22 May 2014, at 12:32, Otared Kavian wrote:

Actually the issue was discussed some time ago and Wolfgang Schuster 
explained that.
In fact after sending you the previous answer I realized that he 
explained also that the right way is to use \defineconversionset and 
then reset the userpagenumber when necessary: look at the following 
example:


 begin example
\defineconversionset[frontpart:pagenumber][][romannumerals]
\defineconversionset[bodypart:pagenumber] [][numbers]
\defineconversionset[backpart:pagenumber] [][characters]

\starttext
\startfrontmatter
\input knuth.tex
\stopfrontmatter

\startbodymatter
\setupuserpagenumber[number=1]
\input ward.tex
\stopbodymatter

\startbackmatter
\setupuserpagenumber[number=1]
\input tufte.tex
\stopbackmatter
\stoptext
 end example

It would be nice to wikify things each time one learns something…

Best regards: OK

On 22 May 2014, at 12:24, Werner Hintze  wrote:


Thank you! This works.

But tell me: How do you know this? The manual and the website don’t 
explain it this way…


Best regards

Werner

On 22 May 2014, at 12:16, Otared Kavian wrote:

Hi,

In fact you should use
\setupuserpagenumber[number=1]
as in the following example:

 begin example
\starttext
\startfrontmatter
\setupuserpagenumber[numberconversion=Romannumerals]
\input knuth.tex
\stopfrontmatter

\startbodymatter
\setupuserpagenumber[numberconversion=numbers]
\setupuserpagenumber[number=1]
\input ward.tex
\stopbodymatter
\stoptext
 end example

Best regards: OK

On 22 May 2014, at 11:37, Werner Hintze we.hin...@gmail.com wrote:

I don’t unterstand \startfrontmatter, \starbodymatter etc.

I thought, the frontmatter has roman numerals, the bodymatter normal 
and so on. This is not automatically so. Now founf how to make this, 
bus the problem is: I can’t reset the page number. I believed, it 
shoul work like this:


\startfrontmatter
\setupuserpagenumber[numberconversion=Romannumerals]
% some stuff
\stopfrontmatter

\startbodymatter
\setupuserpagenumber[numberconversion=numbers]
\setnumber[page]{1}
%some stuff
\stopbodymatter
This doesn’t work, may be because \setnumber is not a command in 
ConTeXt?


Where is my error?

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

___
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
___
___
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] \setnumber

2014-05-22 Thread Otared Kavian
Actually the issue was discussed some time ago and Wolfgang Schuster explained 
that.
In fact after sending you the previous answer I realized that he explained also 
that the right way is to use \defineconversionset and then reset the 
userpagenumber when necessary: look at the following example:

 begin example
\defineconversionset[frontpart:pagenumber][][romannumerals]
\defineconversionset[bodypart:pagenumber] [][numbers]
\defineconversionset[backpart:pagenumber] [][characters]

\starttext
\startfrontmatter
\input knuth.tex
\stopfrontmatter

\startbodymatter
\setupuserpagenumber[number=1]
\input ward.tex
\stopbodymatter

\startbackmatter
\setupuserpagenumber[number=1]
\input tufte.tex
\stopbackmatter
\stoptext
 end example

It would be nice to wikify things each time one learns something…

Best regards: OK

On 22 May 2014, at 12:24, Werner Hintze  wrote:

> Thank you! This works.
> 
> But tell me: How do you know this? The manual and the website don’t explain 
> it this way…
> 
> Best regards
> 
> Werner
> 
> On 22 May 2014, at 12:16, Otared Kavian wrote:
> 
> Hi,
> 
> In fact you should use
> \setupuserpagenumber[number=1]
> as in the following example:
> 
>  begin example
> \starttext
> \startfrontmatter
> \setupuserpagenumber[numberconversion=Romannumerals]
> \input knuth.tex
> \stopfrontmatter
> 
> \startbodymatter
> \setupuserpagenumber[numberconversion=numbers]
> \setupuserpagenumber[number=1]
> \input ward.tex
> \stopbodymatter
> \stoptext
>  end example
> 
> Best regards: OK
> 
> On 22 May 2014, at 11:37, Werner Hintze we.hin...@gmail.com wrote:
> 
> I don’t unterstand \startfrontmatter, \starbodymatter etc.
> 
> I thought, the frontmatter has roman numerals, the bodymatter normal and so 
> on. This is not automatically so. Now founf how to make this, bus the problem 
> is: I can’t reset the page number. I believed, it shoul work like this:
> 
> \startfrontmatter
> \setupuserpagenumber[numberconversion=Romannumerals]
> % some stuff
> \stopfrontmatter
> 
> \startbodymatter
> \setupuserpagenumber[numberconversion=numbers]
> \setnumber[page]{1}
> %some stuff
> \stopbodymatter
> This doesn’t work, may be because \setnumber is not a command in ConTeXt?
> 
> Where is my error?
> 
> 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
> 
> ___
> 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
___

Re: [NTG-context] \setnumber

2014-05-22 Thread Werner Hintze

Thank you! This works.

But tell me: How do you know this? The manual and the website don’t 
explain it this way…


Best regards

Werner


On 22 May 2014, at 12:16, Otared Kavian wrote:


Hi,

In fact you should use
\setupuserpagenumber[number=1]
as in the following example:

 begin example
\starttext
\startfrontmatter
\setupuserpagenumber[numberconversion=Romannumerals]
\input knuth.tex
\stopfrontmatter

\startbodymatter
\setupuserpagenumber[numberconversion=numbers]
\setupuserpagenumber[number=1]
\input ward.tex
\stopbodymatter
\stoptext
 end example

Best regards: OK

On 22 May 2014, at 11:37, Werner Hintze  wrote:


I don’t unterstand \startfrontmatter, \starbodymatter etc.

I thought, the frontmatter has roman numerals, the bodymatter normal 
and so on. This is not automatically so. Now founf how to make this, 
bus the problem is: I can’t reset the page number. I believed, it 
shoul work like this:


\startfrontmatter
 \setupuserpagenumber[numberconversion=Romannumerals]
 % some stuff
\stopfrontmatter

\startbodymatter
 \setupuserpagenumber[numberconversion=numbers]
 \setnumber[page]{1}
 %some stuff
\stopbodymatter
This doesn’t work, may be because \setnumber is not a command in 
ConTeXt?


Where is my error?

___
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
___
___
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] \setnumber

2014-05-22 Thread Otared Kavian
Hi,

In fact you should use 
\setupuserpagenumber[number=1]
as in the following example:

 begin example
\starttext
\startfrontmatter
\setupuserpagenumber[numberconversion=Romannumerals]
\input knuth.tex
\stopfrontmatter

\startbodymatter
\setupuserpagenumber[numberconversion=numbers]
\setupuserpagenumber[number=1]
\input ward.tex
\stopbodymatter
\stoptext
 end example

Best regards: OK

On 22 May 2014, at 11:37, Werner Hintze  wrote:

> I don’t unterstand \startfrontmatter, \starbodymatter etc.
> 
> I thought, the frontmatter has roman numerals, the bodymatter normal and so 
> on. This is not automatically so. Now founf how to make this, bus the problem 
> is: I can’t reset the page number. I believed, it shoul work like this:
> 
> \startfrontmatter
> \setupuserpagenumber[numberconversion=Romannumerals]
> % some stuff
> \stopfrontmatter
> 
> \startbodymatter
> \setupuserpagenumber[numberconversion=numbers]
> \setnumber[page]{1}
> %some stuff
> \stopbodymatter
> This doesn’t work, may be because \setnumber is not a command in ConTeXt?
> 
> Where is my error?
> 
> ___
> 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
___

[NTG-context] \setnumber

2014-05-22 Thread Werner Hintze

I don’t unterstand \startfrontmatter, \starbodymatter etc.

I thought, the frontmatter has roman numerals, the bodymatter normal and 
so on. This is not automatically so. Now  founf how to make this, bus 
the problem is: I can’t reset the page number. I believed, it shoul 
work like this:


\startfrontmatter
\setupuserpagenumber[numberconversion=Romannumerals]
% some stuff
\stopfrontmatter

\startbodymatter
\setupuserpagenumber[numberconversion=numbers]
\setnumber[page]{1}
%some stuff
\stopbodymatter

This doesn’t work, may be because \setnumber is not a command in 
ConTeXt?


Where is my error?___
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] ConTeXt mkiv and rsfs fonts

2014-05-22 Thread Otared Kavian
Thanks Mikael!
That’s it: the real name of palatino in mkiv is TeX Gyre Pagella, and in math 
mode one has to use TeX Gyre Pagella Math… 
I am going to update the page on the wiki about calligraphic math.

Another question (maybe Wolfgang has more to say about it): is the word « 
mainface » is a mandatory name for the font family which is defined? Because if 
I change it to « MyMainFace » then mkiv reports an error:

 Math error: parameter \Umathquad\displaystyle is not set

Thanks again and best regards: OK

On 22 May 2014, at 10:40, Mikael P. Sundqvist  wrote:

> On Thu, May 22, 2014 at 10:36 AM, Otared Kavian  wrote:
>> \definefontfamily [mainface] [rm] [Palatino]
>> \definefontfamily [mainface] [math] [Latin Modern Math]
> 
> What if you change those lines to
> 
> \definefontfamily [mainface] [rm] [TeX Gyre Pagella]
> \definefontfamily [mainface] [math] [TeX Gyre Pagella Math]
> ?
> 
> My guess is that palatino is a pointer to TeX Gyre Pagella.
> 
> /Mikael
> ___
> 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
___


Re: [NTG-context] ConTeXt mkiv and rsfs fonts

2014-05-22 Thread Mikael P. Sundqvist
On Thu, May 22, 2014 at 10:36 AM, Otared Kavian  wrote:
> \definefontfamily [mainface] [rm] [Palatino]
> \definefontfamily [mainface] [math] [Latin Modern Math]

What if you change those lines to

\definefontfamily [mainface] [rm] [TeX Gyre Pagella]
\definefontfamily [mainface] [math] [TeX Gyre Pagella Math]
?

My guess is that palatino is a pointer to TeX Gyre Pagella.

/Mikael
___
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] ConTeXt mkiv and rsfs fonts

2014-05-22 Thread Otared Kavian
Hi Aditya,

Thanks for the hints: actually what I wanted to do was to use a calligraphic 
font which is a little bit more « script-y » as you put it (in particular for 
the letters A, B, D, S, U). Indeed using Khaled Hosny’s setup of xits one may 
get what I wanted to do.

The solution suggested by Mikael is perfect when using Latin Modern in mkiv, 
since it shows that in mkiv it is possible, and very easy, to use any opentype 
font for the slots corresponding to uppercasescript and lowercasescript.
When using palatino, I have to uderstand yet how to use palatino also in math 
mode… I don’t know what has to be changed in the following setup:

\definefontfamily [mainface] [math] [Latin Modern Math]

since replacing « Latin Modern Math » with « Palatino » does not work. Here is 
the example in which I would like to have palatino in math mode (for instance 
in \sin, or the variable x):

 begin example
\definefallbackfamily[mainface][math][Asana 
Math][range={uppercasescript,lowercasescript}]
\definefontfamily [mainface] [rm] [Palatino]
\definefontfamily [mainface] [math] [Latin Modern Math]
\setupbodyfont[mainface]

\starttext
This is \type{\cal}: 
${\cal ABCDEFGHIJKLMNOPQRSTUVWXYZ}$

This is \type{\cal}: 
${\cal abcdefghijklmnopqrstuvwxyz}$

The space of distributions on $\Omega$ is denoted by ${\cal D}'(\Omega)$, while 
${\cal S}({\Bbb R}^n)$ is the space of Schwartz functions, and ${\cal S}'({\Bbb 
R}^n)$ is its dual.

Let $\phi(x) := \sin(|x|^2){\rm e}^{-|x|^2}$ and $T \in {\cal S}'({\Bbb R}^n)$ 
given above.
\stoptext
 end example

When one says
\setupbodyfont[palatino]
instead of 
\setupbodyfont[mainface]
then the font used in math mode is also palatino, but then the uppercasescript 
is not what I would like to have…

Best regards: OK

On 21 May 2014, at 23:33, Aditya Mahajan  wrote:

> On Wed, 21 May 2014, Aditya Mahajan wrote:
> 
>> On Wed, 21 May 2014, Otared Kavian wrote:
>> 
>>> Hi all,
>>> It seems that the rsfs fonts (Ralph Smith’s Formal Script fonts) do not 
>>> work: the procedure explained at the page
>>> 
>>> http://wiki.contextgarden.net/rsfs
>>> works fine with mkii, but not in mkiv.
>> 
>> I do not have the time to look into this in detail. But hopefully the hint 
>> below will help you get started.
>> 
>> If I understand you correctly, you are looking for a caligraphic font that 
>> is more "script-y" than the default \cal.
>> 
>> From what I understand, such glyphs are present as stylistic alternatives in 
>> unicode math fonts. See for example this thread
>> 
>> http://www.ntg.nl/pipermail/ntg-context/2010/050885.html
>> 
>> (I remember that there was another thread along these lines, but I cannot 
>> find it right now).
> 
> Found it: http://www.ntg.nl/pipermail/ntg-context/2011/061665.html
> 
> Aditya___
> 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
___