Re: [NTG-context] Typefile with Chinese, Korean or Japanase text

2018-02-19 Thread Jeong Dal
Dear Wolfgang,

I found that the previous run “mtxrun - script font…” cheked the fonts for 
TeXLive 2017.
So I run “setuptex” for ConTeXt standalone and run “mtxrun” again.
After that I compiled the same file.
The result is that \tt works as Nanum Gothic Coding but \ss still not working.
“Nanum Gothic” file was not found yet.

I am using Mac OSX 10.13 and latest beta.

Thank you.

Best regards,

Dalyoung

> 2017. 12. 7. 오전 2:17, ntg-context-requ...@ntg.nl 
>  작성:
> 
> You need fonts [1-3]  which contains hangul characters (don’t forget to 
> set a math font because it is used for the symbols in enumerations) and 
> you have to enable linebreaking for korean with the \setscript command.
> 
>  begin example
> \definefallbackfamily [mainface] [rm] [Nanum Myeongjo] [preset=range:korean]
> \definefontfamily [mainface] [rm] [DejaVu Serif]
> 
> \definefallbackfamily [mainface] [ss] [Nanum Gothic] [preset=range:korean]
> \definefontfamily [mainface] [ss] [DejaVu Sans]
> 
> \definefallbackfamily [mainface] [tt] [Nanum Gothic Coding] 
> [features=none,preset=range:korean]
> \definefontfamily [mainface] [tt] [DejaVu Sans Mono] [features=none]
> 
> \definefontfamily [mainface] [mm] [DejaVu Math]
> 
> \setupbodyfont[mainface]
> 
> \setscript[hangul]
> 
> \starttext
> 
> 이 FAQ 은 자주 반복되는 질문과 그에 대한 대답을 간단명료한 양식으로
> 모아 엮어졌습니다.
> 
> {\ss 이 FAQ 은 자주 반복되는 질문과 그에 대한 대답을 간단명료한 양식으로
> 모아 엮어졌습니다.}
> 
> \starttyping
> 이 FAQ 은 자주 반복되는 질문과 그에 대한 대답을 간단명료한 양식으로
> 모아 엮어졌습니다.
> \stoptyping
> 
> \stoptext
>  end example

___
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] Typefile with Chinese, Korean or Japanase text

2018-02-19 Thread Pablo Rodriguez
On 02/19/2018 10:15 PM, Jeong Dal wrote:
> Dear Wolfgang,
> 
> Two months ago, you suggested an example for typefile with korean. I
> just read it at that time and I try your sample today. 
> Although there are Nanum Gothic and Nanum Gothic Coding in my system
> font, no output of korean for \ss and \tt.
> I run ‘mtxrun —script font —reload —force
> [...]
> Why ConTeXt couldn’t locate the font files?
> 
> I am using Mac OSX 10.13 and latest beta.

Hi Jeong,

as far as I can remember, I experienced a similar problem with these
fonts. I needed the first option to get the fonts embedded in the PDF
document.

Go to tex/texmf-cache and remove the directory luatex-cache.

Run "mtxrun --generate" and compile the sample again.

If that doesn’t work, try to copy those fonts to tex/texmf-fonts (and
reload fonts with mxtrun)..

I hope it helps,

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

Re: [NTG-context] Typefile with Chinese, Korean or Japanase text

2018-02-19 Thread Jeong Dal
Dear Wolfgang,

Two months ago, you suggested an example for typefile with korean. I just read 
it at that time and I try your sample today. 
Although there are Nanum Gothic and Nanum Gothic Coding in my system font, no 
output of korean for \ss and \tt.
I run ‘mtxrun —script font —reload —force
in the terminal, but the output is same. In the log file, it reads that 

selectfont  > The requested fallback font 'Nanum Gothic' for typeface 
'mainface' style 'ss' was ignored because no files where found.
selectfont  > The requested fallback font ‘Nanum Gothic Coding' for 
typeface 'mainface' style 'tt' was ignored because no files where found.


Why ConTeXt couldn’t locate the font files?

I am using Mac OSX 10.13 and latest beta.

Thank you.

Best regards,

Dalyoung

> 2017. 12. 7. 오전 2:17, ntg-context-requ...@ntg.nl 작성:
> 
> You need fonts [1-3]  which contains hangul characters (don’t forget to 
> set a math font because it is used for the symbols in enumerations) and 
> you have to enable linebreaking for korean with the \setscript command.
> 
>  begin example
> \definefallbackfamily [mainface] [rm] [Nanum Myeongjo] [preset=range:korean]
> \definefontfamily [mainface] [rm] [DejaVu Serif]
> 
> \definefallbackfamily [mainface] [ss] [Nanum Gothic] [preset=range:korean]
> \definefontfamily [mainface] [ss] [DejaVu Sans]
> 
> \definefallbackfamily [mainface] [tt] [Nanum Gothic Coding] 
> [features=none,preset=range:korean]
> \definefontfamily [mainface] [tt] [DejaVu Sans Mono] [features=none]
> 
> \definefontfamily [mainface] [mm] [DejaVu Math]
> 
> \setupbodyfont[mainface]
> 
> \setscript[hangul]
> 
> \starttext
> 
> 이 FAQ 은 자주 반복되는 질문과 그에 대한 대답을 간단명료한 양식으로
> 모아 엮어졌습니다.
> 
> {\ss 이 FAQ 은 자주 반복되는 질문과 그에 대한 대답을 간단명료한 양식으로
> 모아 엮어졌습니다.}
> 
> \starttyping
> 이 FAQ 은 자주 반복되는 질문과 그에 대한 대답을 간단명료한 양식으로
> 모아 엮어졌습니다.
> \stoptyping
> 
> \stoptext
>  end example

___
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] issue with character and \xmlprettyprinttext

2018-02-19 Thread Pablo Rodriguez
Hans,

I have the following sample:

  \startbuffer[demo]
  
  b
  \␣
  
  \stopbuffer

  \startxmlsetups xml:initialize
 \xmlsetsetup{#1}{doc|p|code}{xml:*}
  \stopxmlsetups

  \xmlregistersetup{xml:initialize}

  \startxmlsetups xml:doc
 \xmlflush{#1}
  \stopxmlsetups

  \startxmlsetups xml:p
 \startpar\xmlflush{#1}\stoppar
  \stopxmlsetups

  \startxmlsetups xml:code
\xmlprettyprinttext{#1}{tex}
  \stopxmlsetups

  \starttext
 \xmlprocessbuffer{main}{demo}{}
  \stoptext

For some strange reason, "\␣" is problematic only when
\xmlprettyprinttext (or \xmlinlineprettyprinttext) is set to tex.

Is this a bug or am I missing something?

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

Re: [NTG-context] In-Margin Title + whitespace/indent bug

2018-02-19 Thread Hans Hagen

On 2/19/2018 9:28 PM, Wolfgang Schuster wrote:




Brian Hunt 
18. Februar 2018 um 13:48
Hi all,

I reported a curiosity on tex.stackexchange.com 
 and a user noted that it appears to be 
a bug / regression that should be reported as the issue occurs in the 
latest beta (2018.02.14 22:56) but not TL2017 (2017.05.15 21:48).  You 
can see the details here:


https://tex.stackexchange.com/questions/415332

I trust there is adequate detail there to reproduce but please advise 
if more information could assist.


Best,
Brian
--

/from the personal account of:/

*Brian M Hunt *mailto:brianmh...@gmail.com>>
Direct: +1-289-684-4677
LinkedIn:https://linkedin.com/in/brianmhunt

/This e-mail may contain information that is private, privileged, 
confidential and/or exempt from disclosure. Except as per this notice 
no waiver of any kind is intended by sending this e-mail, and this 
email is intended only for the named recipient(s) or the subscribers 
of a forwarding service the email is sent directly to and to which 
service you are an authorized recipient. Use, dissemination or copying 
without authorization is prohibited. Please notify the sender and 
destroy all copies of this e-mail if you have received this email in 
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://context.aanhet.net
archive : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___
Wolfgang Schuster 
19. Februar 2018 um 20:33
I can’t provide a fix but I was able to create a minimal example which 
shows

the "disable" option for \blank produces the unwanted space.

\setuplayout
  [backspace=2in,
   width=middle]

\setupindenting [yes,medium]
\setupwhitespace[line]

\starttext

\noindent\inmargin{Ward}%
\directcheckedvspacing{disable}%
\input ward

\stoptext

Wolfgang


Hans Hagen 
19. Februar 2018 um 21:09
On 2/19/2018 8:33 PM, Wolfgang Schuster wrote:
I can’t provide a fix but I was able to create a minimal example 
which shows

the "disable" option for \blank produces the unwanted space.

\setuplayout
   [backspace=2in,
    width=middle]

\setupindenting [yes,medium]
\setupwhitespace[line]

\starttext

\noindent\inmargin{Ward}%
\directcheckedvspacing{disable}%
\input ward

\stoptext

Wolfgang


\noindentation doesn't have the side effects of \noindent


This is a shortened version of the original question with a section title
in the margin (\setuphead[...][alternative=margintext]) where \noindent
is part of the code (strc-ren.mkiv).

ok, so there we need to use \noindentation then


-
  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] In-Margin Title + whitespace/indent bug

2018-02-19 Thread Wolfgang Schuster




Brian Hunt 
18. Februar 2018 um 13:48
Hi all,

I reported a curiosity on tex.stackexchange.com 
 and a user noted that it appears to be 
a bug / regression that should be reported as the issue occurs in the 
latest beta (2018.02.14 22:56) but not TL2017 (2017.05.15 21:48).  You 
can see the details here:


https://tex.stackexchange.com/questions/415332

I trust there is adequate detail there to reproduce but please advise 
if more information could assist.


Best,
Brian
--

/from the personal account of:/

*Brian M Hunt *mailto:brianmh...@gmail.com>>
Direct: +1-289-684-4677
LinkedIn:https://linkedin.com/in/brianmhunt

/This e-mail may contain information that is private, privileged, 
confidential and/or exempt from disclosure. Except as per this notice 
no waiver of any kind is intended by sending this e-mail, and this 
email is intended only for the named recipient(s) or the subscribers 
of a forwarding service the email is sent directly to and to which 
service you are an authorized recipient. Use, dissemination or copying 
without authorization is prohibited. Please notify the sender and 
destroy all copies of this e-mail if you have received this email in 
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://context.aanhet.net
archive : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___
Wolfgang Schuster 
19. Februar 2018 um 20:33
I can’t provide a fix but I was able to create a minimal example which 
shows

the "disable" option for \blank produces the unwanted space.

\setuplayout
  [backspace=2in,
   width=middle]

\setupindenting [yes,medium]
\setupwhitespace[line]

\starttext

\noindent\inmargin{Ward}%
\directcheckedvspacing{disable}%
\input ward

\stoptext

Wolfgang


Hans Hagen 
19. Februar 2018 um 21:09
On 2/19/2018 8:33 PM, Wolfgang Schuster wrote:
I can’t provide a fix but I was able to create a minimal example 
which shows

the "disable" option for \blank produces the unwanted space.

\setuplayout
   [backspace=2in,
width=middle]

\setupindenting [yes,medium]
\setupwhitespace[line]

\starttext

\noindent\inmargin{Ward}%
\directcheckedvspacing{disable}%
\input ward

\stoptext

Wolfgang


\noindentation doesn't have the side effects of \noindent


This is a shortened version of the original question with a section title
in the margin (\setuphead[...][alternative=margintext]) where \noindent
is part of the code (strc-ren.mkiv).

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

Re: [NTG-context] In-Margin Title + whitespace/indent bug

2018-02-19 Thread Hans Hagen

On 2/19/2018 8:33 PM, Wolfgang Schuster wrote:

I can’t provide a fix but I was able to create a minimal example which shows
the "disable" option for \blank produces the unwanted space.

\setuplayout
   [backspace=2in,
    width=middle]

\setupindenting [yes,medium]
\setupwhitespace[line]

\starttext

\noindent\inmargin{Ward}%
\directcheckedvspacing{disable}%
\input ward

\stoptext

Wolfgang


\noindentation doesn't have the side effects of \noindent


Brian Hunt 
18. Februar 2018 um 13:48
Hi all,

I reported a curiosity on tex.stackexchange.com 
 and a user noted that it appears to be 
a bug / regression that should be reported as the issue occurs in the 
latest beta (2018.02.14 22:56) but not TL2017 (2017.05.15 21:48).  You 
can see the details here:


https://tex.stackexchange.com/questions/415332

I trust there is adequate detail there to reproduce but please advise 
if more information could assist.


Best,
Brian
--

/from the personal account of:/

*Brian M Hunt *mailto:brianmh...@gmail.com>>
Direct: +1-289-684-4677
LinkedIn:https://linkedin.com/in/brianmhunt

/This e-mail may contain information that is private, privileged, 
confidential and/or exempt from disclosure. Except as per this notice 
no waiver of any kind is intended by sending this e-mail, and this 
email is intended only for the named recipient(s) or the subscribers 
of a forwarding service the email is sent directly to and to which 
service you are an authorized recipient. Use, dissemination or copying 
without authorization is prohibited. Please notify the sender and 
destroy all copies of this e-mail if you have received this email in 
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://context.aanhet.net
archive : https://bitbucket.org/phg/context-mirror/commits/
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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___




--

-
  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] In-Margin Title + whitespace/indent bug

2018-02-19 Thread Wolfgang Schuster

I can’t provide a fix but I was able to create a minimal example which shows
the "disable" option for \blank produces the unwanted space.

\setuplayout
  [backspace=2in,
   width=middle]

\setupindenting [yes,medium]
\setupwhitespace[line]

\starttext

\noindent\inmargin{Ward}%
\directcheckedvspacing{disable}%
\input ward

\stoptext

Wolfgang


Brian Hunt 
18. Februar 2018 um 13:48
Hi all,

I reported a curiosity on tex.stackexchange.com 
 and a user noted that it appears to be 
a bug / regression that should be reported as the issue occurs in the 
latest beta (2018.02.14 22:56) but not TL2017 (2017.05.15 21:48).  You 
can see the details here:


https://tex.stackexchange.com/questions/415332

I trust there is adequate detail there to reproduce but please advise 
if more information could assist.


Best,
Brian
--

/from the personal account of:/

*Brian M Hunt *mailto:brianmh...@gmail.com>>
Direct: +1-289-684-4677
LinkedIn:https://linkedin.com/in/brianmhunt

/This e-mail may contain information that is private, privileged, 
confidential and/or exempt from disclosure. Except as per this notice 
no waiver of any kind is intended by sending this e-mail, and this 
email is intended only for the named recipient(s) or the subscribers 
of a forwarding service the email is sent directly to and to which 
service you are an authorized recipient. Use, dissemination or copying 
without authorization is prohibited. Please notify the sender and 
destroy all copies of this e-mail if you have received this email in 
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://context.aanhet.net
archive : https://bitbucket.org/phg/context-mirror/commits/
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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___

[NTG-context] Merging source ConTeXt files during compilation of main file

2018-02-19 Thread Jaroslav Hajtmar
Hello ConTeXist.
I have one main file and a large number of component files. I would like to 
merge all files in the right order without having to do it manually.
Is there a way to automatically merge several source files during the 
compilation of ConTeXt source text, which are loading using the input command 
or the component command? Example:

\starttext

Source code of main source….

\component file1
\component file2
\component file3 % etc.

Source code of main source….

\stoptext


The result should be one single source file that is created by merging all 
files and which can be compiled as one file:

\starttext

Source code of main source….

Contents of  file1

Contents of  file2

Contents of  file3

% etc.

Source code of main source….

\stoptext


Consequently, this file can be compiled, for example, with the online version 
of ConTeXt at live.contextgarden.net.

Thanx for any advice.

Jaroslav Hajtmar
___
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] Learning how to use \setupbtxrendering

2018-02-19 Thread Otared Kavian
Hi Alan, and all the Gurus on the list,

Many thanks for your help and comments. I am sending again this message which, 
by mistake, was sent only to Alan, in order to get some help.

The manual mkiv-publications.pdf contains indeed many explanations, but 
probably the informations there are too vast for the elementary use I am going 
to need. So many thanks to Alan and Hans for this extensive manual!

Now, this being said, I am neither able, nor do I need, to use the full blown 
power of this environment. In particular I am not familiar with the style apa 
(or aps, which seems to exist too…) or other official specifications. That is 
why I would like to learn by examples, beginning with the one included on page 
4 of the above mentioned manual and then modify things to see what can be done…
However, when I use the modifications which Alan suggested (for the style apa, 
but I dropped the apa: prefix…) I do not get what is desired (please see below 
the code and the attached test.bib file). And if I give explicitely the 
specification apa, then many other things are not satisfactory for my needs…

For now, what I get without changing many things in the first example given in 
the manual, is quite close to what I would like to obtain, except that the 
title of articles is in roman and the name of the journal is in italic, and the 
title of books are in italic (and the modifications suggest by Alan do not 
change this, at least when I am not using apa).

So my first question is: how can one define one's own « specification », when 
modifying built-in specifications is not satisfactory for one's needs, or does 
not give the expected result? 

The second question is: how can one write a file containing only the references 
which are used in a document, so that that file can be in some way included 
into the main document (this is somewhat analogous to the .bbl file created by 
BibTeX, which allows to include a series of \bibitem into an article written 
with LaTeX: this is necessary to do when one submits a paper to a mathematical 
journal).

Thanks again for your help: OK

%% begin test-bibliography.tex
\setupinteraction[state=start]

\usebtxdataset[test.bib]

%% these four setupbtx suggested by Alan have no effects
\setupbtx[list:volume][style={bold}]
\setupbtx[list:title] [style={\it}]
%(the default for apa)
\setupbtx [list:title:book] [style={\ss\it}]
\setupbtx[list:volume][,style=bold]
%(apa default is italic)

%% this has the correct effect...
\setupbtx[
interaction=start,
specification=default,
left={[},
right={]},
]

\starttext
\startbodymatter

See the book by K. Yosida \cite[YosidaK]
and the article by I. Ekeland \cite{EkelandILemme}.

\stopbodymatter

\startbackmatter 

\startchapter[title=Bibliography]

\placelistofpublications
[method=dataset,
sorttype=authoryear,
numbering=yes,
]
\stopchapter

\stopbackmatter

\stoptext
%% end test-bibliography.tex

%% begin content of the file text.bib

@article{FabesEBStrook,
Author = {E.B. Fabes and D.W. Strook},
Journal = {Archives for Rational Mechanics and Analysis},
Pages = {327--338},
Title = {A new proof of Moser's parabolic Harnack inequality via the 
old ideas of Nash},
Volume = {96},
Year = {1986}
}

@book{EvansLC,
Address = {Providence, RI},
Author = {Lawrence C. Evans},
Publisher = {American Mathematical Society},
Series = {Conference Board of the Mathematical Sciences Regional 
Conference Series in Mathematics},
Title = {Weak convergence methods for nonlinear partial differential 
equations},
Volume = {74},
Year = {1990}
}

@book{EkelandITemam,
Address = {Paris},
Author = {Ivar Ekeland and Roger Temam},
Publisher = {Dunod-Gauthiers-Villars},
Title = {Analyse Convexe et Problèmes Variationnels},
Year = {1974}
}

@article{EkelandILemme,
Author = {Ivar Ekeland},
Journal = {Journal of Mathematical Analysis and Applications},
Pages = {324--353},
Title = {On the variational principle},
Volume = {47},
Year = {1974}
}

@book{DieudonneJ,
Address = {Paris},
Author = {Jean Dieudonné},
Publisher = {Gauthiers-Villars},
Title = {Éléments d'Analyse},
Volume = {1},
Year = {1969}
}

@book{YosidaK,
Address = {New York},
Author = {Kôsaku Yosida},
Publisher = {Springer-Verlag},
Series = {Die Grundlehren der Mathematischen Wissenschaften},
Title = {Functional Analysis},
Volume = {123},
Year = {1974}
}

%% end content of the file test.bib



test.bib
Description: Binary data



> On 17 Feb 2018, at 20:29, Alan Braslau  wrote:
> 
> HANS: there is one specific comment for you, below.
> 
> On Sat, 17 Feb 2018 15:27:03 +0100
> Otared Kavian  wrote:
> 
>> Dear all,
>>

[NTG-context] Merging source ConTeXt files during compilation of main file

2018-02-19 Thread Jaroslav Hajtmar
Hello ConTeXist.
I have one main file and a large number of component files. I would like to 
merge all files in the right order without having to do it manually.
Is there a way to automatically merge several source files during the 
compilation of ConTeXt source text, which are loading using the input command 
or the component command? Example:

\starttext

Source code of main source….

\component file1
\component file2
\component file3 % etc.

Source code of main source….

\stoptext


The result should be one single source file that is created by merging all 
files and which can be compiled as one file:

\starttext

Source code of main source….

Contents of  file1

Contents of  file2

Contents of  file3

% etc.

Source code of main source….

\stoptext


Consequently, this file can be compiled, for example, with the online version 
of ConTeXt at live.contextgarden.net.

Thanx for any advice.

Jaroslav Hajtmar





___
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] about makempy (metapost outlines)

2018-02-19 Thread Jeong Dal
Dear Otared,

I am sorry that the sample code is not fully loaded. 
Although Hans said that we don’t need  ‘makempy’, I copied the whole code again 
for the sake of test.
\setuphead[section][style={\effect[outer]}] is working well.

For korean, use \setupbodyfont[unfonts] as Hans said.

Thank you. 

Best regards,

Dalyoung

> 
> Tha sample code below runs correctly, except that the Korean words are not 
> displayed, since there is no body fonts set up for that language.
> Could you please send a more complete sample in order for us to see what you 
> are reporting?
> 
> Best regards: OK

\setupbodyfont[unfonts]

% the following is copied from makempy manual.

\startuseMPgraphic{text}
  graphictext \MPstring{string} scaled 4
withdrawcolor \MPcolor{blue} withfillcolor \MPcolor{gray}
withpen pencircle scaled 2pt ;
\stopuseMPgraphic
\startuseMPgraphic{number}
  graphictext \MPstring{string} scaled 10
withdrawcolor \MPcolor{red} withfillcolor \MPcolor{gray}
withpen pencircle scaled 2pt ;
\stopuseMPgraphic
\def\TextCommand#1%
  {\setMPtext{string}{#1}%
   \framed
 [frame=off,offset=overlay,height=3cm,width=\hsize]
 {\useMPgraphic{text}}}
\def\NumberCommand#1%
  {\expanded{\setMPtext{string}{\currentheadnumber}}%
   \hsmash
 {\framed
[frame=off,offset=overlay,height=3cm,width=\hsize]
{\useMPgraphic{number
\setuphead
  [section]
  [distance=0pt,
   textcommand=\TextCommand,
   numbercommand=\NumberCommand]
%\setuphead[section][style={\effect[outer]}]

\starttext
\section{First One}
This worked fine before. %이 전에는 잘 되었습니다.

\startformula
\int f(x) dx 
\stopformula

\section{Second Two}
Who made the Euler font. x, y, z

$x^2 + y^2 =  z^2$
\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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___

[NTG-context] Letterspacing for bodyfont :(

2018-02-19 Thread Henning Hraban Ramm
Ahoi,
the designer of a corporate design I must use insists to have the bodyfont 
spaced by 4%, italics by 5%, in footnotes 13/14%.

I got as far as
\definecharacterkerning[default][factor=.04]
\definecharacterkerning[default-italic][factor=.05]
\definecharacterkerning[footnotes][factor=.13]
\definecharacterkerning[footnotes-italic][factor=.14]

But how can I apply that to the bodyfontenvironment, typescript or however?

Greetlings, Hraban
---
http://www.fiee.net
http://wiki.contextgarden.net
GPG Key ID 1C9B22FD

___
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] URL style

2018-02-19 Thread Wolfgang Schuster



Henning Hraban Ramm 
19. Februar 2018 um 11:12
Ahoi,
I’m trying to typeset URLs in italics, but \setupurl[style=\em] (or 
any other value like italic, bold etc.) doesn’t change the outcome of 
\goto or \hyphenatedurl.

Is this a bug?

\starttext
\setupurl[style=\em]

\hyphenatedurl{www.fiee.net}

\goto{www.fiee.net}
\stoptext


\goto -> \setupinteraction[style=...,color=...,contrastcolor=...]

\about -> \setupreferencing[left=...,right=...,width=...] + 
\setupinteraction[style=...,color=...,contrastcolor=...]


\hyphenatedurl -> N/A

\url -> \setupurl[style=...,color=...]


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

[NTG-context] URL style

2018-02-19 Thread Henning Hraban Ramm
Ahoi,
I’m trying to typeset URLs in italics, but \setupurl[style=\em] (or any other 
value like italic, bold etc.) doesn’t change the outcome of \goto or 
\hyphenatedurl.
Is this a bug?

\starttext
\setupurl[style=\em]

\hyphenatedurl{www.fiee.net}

\goto{www.fiee.net}
\stoptext


Greetlings, Hraban
---
http://www.fiee.net
http://wiki.contextgarden.net
GPG Key ID 1C9B22FD

___
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] In-Margin Title + whitespace/indent bug

2018-02-19 Thread Brian Hunt
Hi all,

I reported a curiosity on tex.stackexchange.com and a user noted that it
appears to be a bug / regression that should be reported as the issue
occurs in the latest beta (2018.02.14 22:56) but not TL2017 (2017.05.15
21:48).  You can see the details here:

https://tex.stackexchange.com/questions/415332

I trust there is adequate detail there to reproduce but please advise if
more information could assist.

Best,
Brian
-- 

*from the personal account of:*

*Brian M Hunt *
Direct: +1-289-684-4677
LinkedIn: https://linkedin.com/in/brianmhunt

*This e-mail may contain information that is private, privileged,
confidential and/or exempt from disclosure. Except as per this notice no
waiver of any kind is intended by sending this e-mail, and this email is
intended only for the named recipient(s) or the subscribers of a forwarding
service the email is sent directly to and to which service you are an
authorized recipient. Use, dissemination or copying without authorization
is prohibited. Please notify the sender and destroy all copies of this
e-mail if you have received this email in 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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___

Re: [NTG-context] about makempy (metapost outlines)

2018-02-19 Thread Hans Hagen

On 2/19/2018 3:21 AM, Jeong Dal wrote:

tex error       > tex error on line 4 in file 
/Users/graph/Documents/TeXfiles/test-mpgraph.tex: ! Undefined control 
sequence


 \setstrut \begstrut \getheadtitle
                                   \endstrut
\MPLIBgraphictext ...\startTEXpage [scale=1]#1
                                                   \stopTEXpage
l.4 ...\setstrut \begstrut \getheadtitle \endstrut }



1     \starttext
2     \def\MPLIBgraphictext#1{\startTEXpage[scale=1]#1\stopTEXpage}
3
4 >>  \MPLIBgraphictext{\setstrut \begstrut \getheadtitle \endstrut }
5     \stoptext


You're not handling a section head or so so \getheadtitle is meaningless 
out of that context.


How about

\setuphead[section][style={\effect[outer]}]

which is normally ok for outlines and has been around for ages.

(btw, the mp outlin emechanism has changed and doesn't use makempy any 
longer .. it's better now, see metafun manual etc)


Hans




-
  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] about makempy (metapost outlines)

2018-02-19 Thread Hans Hagen

On 2/19/2018 8:09 AM, Otared Kavian wrote:

Tha sample code below runs correctly, except that the Korean words are 
not displayed, since there is no body fonts set up for that language.
Could you please send a more complete sample in order for us to see what 
you are reporting?

\setupbodyfont[unfonts]

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