Re: [NTG-context] Slanted, double-quoted quotations

2014-10-21 Thread Sander Maijers
Great, thanks for reporting.

Sander Maijers

On Mon, Oct 20, 2014 at 5:42 PM, Rik r...@panix.com wrote:

  On 2014-10-20 10:08, Sander Maijers wrote:

  I am wondering likewise.

  Sander,

 The question has been mooted. The first beta (of two) on 2014-10-16
 resolved the issue, and the result of your example is what the text in it
 describes.

 --
 rik


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

 maillist : ntg-context@ntg.nl /
 http://www.ntg.nl/mailman/listinfo/ntg-context
 webpage  : http://www.pragma-ade.nl / http://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] Slanted, double-quoted quotations

2014-10-20 Thread Sander Maijers
I am wondering likewise.

Sander Maijers

On Thu, Oct 16, 2014 at 3:14 AM, Rik r...@panix.com wrote:

 On 2014-10-15 17:06, Wolfgang Schuster wrote:

 Am 15.10.2014 um 21:03 schrieb Rik Kabel cont...@rik.users.panix.com:

  I am not sure I understand the need for symstyle and symcolor. The issue
 is not that the symbols are not styled/colored, but that they do not appear
 at all when a non-normal style is specified. What I see with the example I
 posted is:
 hacaddjd.png
 and I assume that Sander saw a similar issue.

 Note that there are no square brackets present as defined for layer 2.

 I realize that style=normal for level 3 should perhaps be style=\tf,
 since normal is redefined to slanted within the scope of layer 2. With that
 change to my example, I get
 fageaehi.png
 This still has the lack of square brackets, and now in addition lacks
 curly braces for level 3.

 If your fix is meant to repair that, all is well. If not, could you
 explain why “it's deliberate and has always been the case in mkiv”?

 When you use “location=text” context checks the value of the style key,
 when the value of the key is “normal”
 the left and right arguments are used but when you use a different value
 (e.g. slanted) context applies only
 the style and color values.


 Thank you, Wolfgang, for that explanation of what is being done.

 Can you explain why this is done? It would seem, given the name of the
 command, that the delimiter is more important than the styling, and so I
 suspect that there is some historical reason that this behavior was chosen.
 Styling can be done within the text, as can delimiters, but the benefit of
 the command is that it should be able to manage multiple levels
 automatically.

 --
 Rik Kabel
 
 ___
 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] Does \url work like \from?

2014-10-20 Thread Sander Maijers
​Hi,

On http://wiki.contextgarden.net/url#Overview is stated:

 You can use

 \url[aurl]

 as well, which behaves like \from[#1].

I may be wrong to interpret \url a synonym of \from based on the
documentation, as \from has only one parameter though. Test:

\useURL[author_email][mailto:invalid@invalid.invalid][][A Name]

 \setupinteraction[state=start]
 \starttext

 \from[author_email]
 \url[author_email]

 \stoptext


The first URL has 'A Name' as title and is clickable, the second one the
e-mail address and is not clickable.

Best,
Sander
___
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] Slanted, double-quoted quotations

2014-10-15 Thread Sander Maijers
Hi,

I'm using beta 2014.09.27. The code below produces a slanted, unquoted
quotation, whereas I intend to produce a slanted, double-quoted quotation.
How can I fix it?

\definedelimitedtext[quotationsl][
  style=slanted,
  left={\symbol[leftquotation]},
  right={\symbol[rightquotation]},
  location=text,
]

\setupdelimitedtext[quotationsl][style=slanted,left={\symbol[leftquotation]},right={\symbol[rightquotation]}]

\starttext
\quotationsl{This should be slanted and double-quoted.}
\stoptext

Best,
Sander Maijers
___
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] (MKIV beta) APA citations: et al. incorrectly written

2014-10-08 Thread Sander Maijers
Thank you Robert! I was planning to respond to your private message as
well. Am I correct in that you would enforce a single concrete
citation format throughout the document that way? In that case, I' m
sorry to report that does not help me. You were asking for comments
about your solution, I hope the following remarks are informative to
you.

My .bib file is being autogenerated by Mendeley, a reference manager,
and changes often in terms of contents. That workflow seems
incompatible with your solution. Furthermore, I may not let the
authors appear in citations with all their names every time, it should
be limited to the first time (the APA 6 rules, that I referred to).
With your solution, 1 out of n citations would be correct, while in
the current situation (without manual intervention) n-1 out of n would
be correct (all but the first).

So, am I out of luck? Should I maybe have an 'invisible' citation with
the first citation, spelling out that citation myself, while still
recording that the work was cited and is to be listed in the
bibliography.

Who can tell me please how to hide \cite output in the neatest way
possible, while keeping the semantics in tact (i.e. establish that a
reference was made)?

Best,

Sander Maijers


On Wed, Oct 8, 2014 at 10:29 AM, Robert Blackstone
blackstone.rob...@gmail.com wrote:

 On 6 Oct 2014, at 23:33 , Sander Maijers s.n.maij...@gmail.com
  wrote:

 Who can offer a short-term solution to this problem? All I want is to
 reference a work, listing all of the authors' names, in APA6 format. If
 necessary I'll prescribe the output format manually.

 Best,

 Sander Maijers


 \setupbibtex[database={references/bibliographic_database},sort=author]

 \setuppublications[alternative=apa]

 \starttext
\cite[extras={, p.~3}][Zhou2012]
\cite[Zhou2012]
 \stoptext


 Incorrectly produces:

 (Zhou et al., 2012, p. 3) (Zhou et al., 2012)


 Instead of:

 (Zhou, Lyu,  King, 2012, p. 3) (Zhou, Lyu,  King, 2012)




 What I would do is, for the final processing, not to load the .bib-file but
 the .bbl that was generated in the previous run. You can open that file in
 any text processor (I mostly use TeXShop) and manually change the Author for
 this particular entry. In the .bbl the field Author has this form:
 \author[]{}[]{}{} .

 You should be able to solve your problem by putting inside the last pair of
 brackets exactly how you would like your authors et. al. to appear in your
 output. Place the whole lot again between brackets:  \author[]{}[]{}{{Zhou,
 Tom Chao and Lyu, Michael R. and King, Irwin}} or whatever you want.

 But again,  don’t input the bib-file. Every time you do that the old .bbl is
 overwritten and your correction will be lost. ConTeXt uses the .bbl, not the
 .bib.

 I hope this helps.
 Best regards,

 Robert Blackstone


 ___
 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] (MKIV beta) APA citations: et al. incorrectly written

2014-10-06 Thread Sander Maijers
Who can offer a short-term solution to this problem? All I want is to
reference a work, listing all of the authors' names, in APA6 format. If
necessary I'll prescribe the output format manually.

Best,

Sander Maijers

On Tue, Sep 30, 2014 at 8:32 PM, Alan BRASLAU alan.bras...@cea.fr wrote:

 Hello,

 These are the sort of details that we are trying to address with the
 new bibliography subsystem. The APA rules (reference: Publication
 Manual of the APA, 6th edition) give many special cases, some of which
 can be a bit tricky.

 The mkii/mkiv bibliography module that you are using does a good job but
 is not so sophisticated. The new mkiv rewrite is (unfortunately) still
 work in progress and is not quite production ready. The new subsystem
 was one topic of the recent ConTeXt meeting.

 You can continue to address bibliography questions to the list, or to me
 directly as I am presently working on this with Hans in my spare
 time (Luigi and Thomas are also actively involved). This does not
 solve your immediate problem, however.

 Alan


 On Tue, 30 Sep 2014 16:19:36 +0200
 Sander Maijers s.n.maij...@gmail.com wrote:

  Hi all,
 
  I use
 
   This is LuaTeX, Version beta-0.79.1 (TeX Live 2014/dev) (rev 4972)
  
   ConTeXt  ver: 2014.09.27 14:46 MKIV beta  fmt: 2014.9.30  int:
   english/english
  
 
  I want citations to respect APA rules, as described here:
 
 http://blog.apastyle.org/apastyle/2011/11/the-proper-use-of-et-al-in-apa-style.htm
  l
 
  *Problem*: when I cite a work with three authors, et al.  appears
  in the first citation.
 
  *Example*:
 
  \setupbibtex[database={references/bibliographic_database},sort=author]
   \setuppublications[alternative=apa]
  
   \starttext
   \cite[extras={, p.~3}][Zhou2012]
   \cite[Zhou2012]
   \stoptext
  
 
  Incorrectly produces:
 
   (Zhou et al., 2012, p. 3) (Zhou et al., 2012)
  
 
  Instead of:
 
   (Zhou, Lyu,  King, 2012, p. 3) (Zhou, Lyu,  King, 2012)
 
 
  Where the BibTeX entry is
 
   @inproceedings{Zhou2012,
   address = {New York, New York, USA},
   annote = {2/5},
   author = {Zhou, Tom Chao and Lyu, Michael R. and King, Irwin},
   booktitle = {Proceedings of the 21st international conference
   companion on World Wide Web - WWW '12 Companion},
   doi = {10.1145/2187980.2188201},
   isbn = {9781450312301},
   keywords = {classification,community question answering,question
   routing}, month = apr,
   pages = {783},
   publisher = {ACM Press},
   title = {{A classification-based approach to question routing in
   community question answering}},
   url = {http://dl.acm.org/citation.cfm?id=2187980.2188201},
   year = {2012}
   }
  
 
  I hope someone can help me with this.
 
  Best regards,
  Sander Maijers



 --
 Alan Braslau
 CEA DSM-IRAMIS-SPEC
 CNRS URA 2464
 Orme des Merisiers
 91191 Gif-sur-Yvette cedex FRANCE
 tel: +33 1 69 08 73 15
 fax: +33 1 69 08 87 86
 mailto:alan.bras...@cea.fr

___
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] (MKIV beta) APA citations: et al. incorrectly written

2014-09-30 Thread Sander Maijers
Hi all,

I use

 This is LuaTeX, Version beta-0.79.1 (TeX Live 2014/dev) (rev 4972)

 ConTeXt  ver: 2014.09.27 14:46 MKIV beta  fmt: 2014.9.30  int:
 english/english


I want citations to respect APA rules, as described here:
http://blog.apastyle.org/apastyle/2011/11/the-proper-use-of-et-al-in-apa-style.htm
l

*Problem*: when I cite a work with three authors, et al.  appears in the
first citation.

*Example*:

\setupbibtex[database={references/bibliographic_database},sort=author]
 \setuppublications[alternative=apa]

 \starttext
 \cite[extras={, p.~3}][Zhou2012]
 \cite[Zhou2012]
 \stoptext


Incorrectly produces:

 (Zhou et al., 2012, p. 3) (Zhou et al., 2012)


Instead of:

 (Zhou, Lyu,  King, 2012, p. 3) (Zhou, Lyu,  King, 2012)


Where the BibTeX entry is

 @inproceedings{Zhou2012,
 address = {New York, New York, USA},
 annote = {2/5},
 author = {Zhou, Tom Chao and Lyu, Michael R. and King, Irwin},
 booktitle = {Proceedings of the 21st international conference companion on
 World Wide Web - WWW '12 Companion},
 doi = {10.1145/2187980.2188201},
 isbn = {9781450312301},
 keywords = {classification,community question answering,question routing},
 month = apr,
 pages = {783},
 publisher = {ACM Press},
 title = {{A classification-based approach to question routing in community
 question answering}},
 url = {http://dl.acm.org/citation.cfm?id=2187980.2188201},
 year = {2012}
 }


I hope someone can help me with this.

Best regards,
Sander Maijers
___
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] (MKIV beta) APA citations: et al. incorrectly written

2014-09-30 Thread Sander Maijers
Hi Alan,

I'm writing a thesis in ConTeXt so I'm keen to make this work. I can test
things, and I hope that the basics of APA are covered already? Also, a
temporary solution could be to allow explicit choice of the citation format
and to rely on the author to make the proper choice, as long as automatic
formatting hasn't been completed. All I want in the short term is to keep
track of references to show them in a proper format - it needn't be easy
and/or automatic for now.

Best,​

Sander Maijers

On Tue, Sep 30, 2014 at 8:32 PM, Alan BRASLAU alan.bras...@cea.fr wrote:

 Hello,

 These are the sort of details that we are trying to address with the
 new bibliography subsystem. The APA rules (reference: Publication
 Manual of the APA, 6th edition) give many special cases, some of which
 can be a bit tricky.

 The mkii/mkiv bibliography module that you are using does a good job but
 is not so sophisticated. The new mkiv rewrite is (unfortunately) still
 work in progress and is not quite production ready. The new subsystem
 was one topic of the recent ConTeXt meeting.

 You can continue to address bibliography questions to the list, or to me
 directly as I am presently working on this with Hans in my spare
 time (Luigi and Thomas are also actively involved). This does not
 solve your immediate problem, however.

 Alan


 On Tue, 30 Sep 2014 16:19:36 +0200
 Sander Maijers s.n.maij...@gmail.com wrote:

  Hi all,
 
  I use
 
   This is LuaTeX, Version beta-0.79.1 (TeX Live 2014/dev) (rev 4972)
  
   ConTeXt  ver: 2014.09.27 14:46 MKIV beta  fmt: 2014.9.30  int:
   english/english
  
 
  I want citations to respect APA rules, as described here:
 
 http://blog.apastyle.org/apastyle/2011/11/the-proper-use-of-et-al-in-apa-style.htm
  l
 
  *Problem*: when I cite a work with three authors, et al.  appears
  in the first citation.
 
  *Example*:
 
  \setupbibtex[database={references/bibliographic_database},sort=author]
   \setuppublications[alternative=apa]
  
   \starttext
   \cite[extras={, p.~3}][Zhou2012]
   \cite[Zhou2012]
   \stoptext
  
 
  Incorrectly produces:
 
   (Zhou et al., 2012, p. 3) (Zhou et al., 2012)
  
 
  Instead of:
 
   (Zhou, Lyu,  King, 2012, p. 3) (Zhou, Lyu,  King, 2012)
 
 
  Where the BibTeX entry is
 
   @inproceedings{Zhou2012,
   address = {New York, New York, USA},
   annote = {2/5},
   author = {Zhou, Tom Chao and Lyu, Michael R. and King, Irwin},
   booktitle = {Proceedings of the 21st international conference
   companion on World Wide Web - WWW '12 Companion},
   doi = {10.1145/2187980.2188201},
   isbn = {9781450312301},
   keywords = {classification,community question answering,question
   routing}, month = apr,
   pages = {783},
   publisher = {ACM Press},
   title = {{A classification-based approach to question routing in
   community question answering}},
   url = {http://dl.acm.org/citation.cfm?id=2187980.2188201},
   year = {2012}
   }
  
 
  I hope someone can help me with this.
 
  Best regards,
  Sander Maijers



 --
 Alan Braslau
 CEA DSM-IRAMIS-SPEC
 CNRS URA 2464
 Orme des Merisiers
 91191 Gif-sur-Yvette cedex FRANCE
 tel: +33 1 69 08 73 15
 fax: +33 1 69 08 87 86
 mailto:alan.bras...@cea.fr

___
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] repost add bib category?

2013-09-12 Thread Sander Maijers
I am also interested in such a feature! Master's theses are also cited 
now and then.


On 10-09-13 09:09, Meer, H. van der wrote:

I am reposting this, because I did not see someone reply. Is there
anyone who can help me out?
Thanks in advance.

Hans van der Meer


On 6 sep. 2013, at 09:36, Meer, H. van der h.vanderm...@uva.nl
mailto:h.vanderm...@uva.nl wrote:


I am in need of a reference to a bachelor thesis but the
file bxml-apa.mkiv only provides phdthesis as a possibility. Adding
the following code to bxml-apa.mkiv doesn't work or is not enough to
add the bachelorthesis as an extra.
I did search for phdthesis in the ConTeXt base files and was found
once: in the bxml-apa.mkiv file.

How to?

\startxmlsetups bibtex:apa:bachelorthesis
   \setvariables[bibtex:temp][label=Bachelor thesis]
   \bibxmlsetup{bibtex:apa:common:thesis}
\stopxmlsetups

used in the .bib file as:

@bachelorthesis{rijneveld:13,
Author = {A. Author},
School = {Excellent University},
Title = {{How the Dutch.}},
Year = {2013}}

 Hans van der Meer






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




--
Beste mevrouw/mijnheer,

Met vriendelijke groet,
Sander Maijers
___
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] Having text overflow an image

2013-06-28 Thread Sander Maijers
I have a few large plots that each should take up an entire landscape A3 
paper sheet. There is a heading above it. Can I print it on top of the 
image (overflowing it)?


Example code:

\setuppapersize[A3,landscape][A3,landscape]
\setuplayout[topspace=10mm,header=0mm,footer=10mm]

\part[appendices]{Appendices}

\appendix[visualization_relations]{A: Visualizations of the 
relations between perplexity, WER}


\subappendix{A-1: Scatterplot of perplexity 
(LM\low{baseline} and LM\low{skip})}

\placefigure
[force]
[scatterplot_of_PPL]
{Scatterplot of perplexity (LM\low{baseline} and 
LM\low{skip}).}

{\externalfigure[/tmp/scatterplot_of_PPL.svg][factor=fit]}
___
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] Page break in ToC between parts?

2013-06-26 Thread Sander Maijers
Is there an nice way in MKIV to force a page break in the table of 
contents between items on the parts level (\part)?

___
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] Page break in ToC between parts?

2013-06-26 Thread Sander Maijers

On 26-06-13 16:07, Wolfgang Schuster wrote:


Am 26.06.2013 um 16:01 schrieb Sander Maijers s.n.maij...@student.ru.nl:


Is there an nice way in MKIV to force a page break in the table of contents 
between items on the parts level (\part)?


It depends on the list alternative but you can try this: 
\setuplist[part][before=\page]

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
___



This works for me, thanks. I need to rethink it because I prefer to have 
page break between parts (I have two) and not before every part (because 
then I also have one between a few initial titles and the first part). 
I'll try a horizontal rule then, for the same separation effect but more 
unobtrusive.

___
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] Disabling interactive citations

2013-06-24 Thread Sander Maijers

On 16-06-13 20:18, Sander Maijers wrote:

I want to disable the clickable citations (in MkIV) while keeping other
interaction for things like cross-references. So far I unsuccessfully
tried some commands in my environment file like:

\setupcite[interaction=stop,compress=yes]

This is just my guesswork as I haven't found documentation for (setup)cite.

P.S.:
As for my motives, the links:
1. are missing when using the 'authoryear' alternative with APA
bibliography style;
2. link to references.pdf while my project is one document in one
differently named file and references.tex is just one product in it.
___

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
___



I haven't been able to solve this ever since I asked. Can anybody help 
me with this?

___
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] Disabling interactive citations

2013-06-24 Thread Sander Maijers

On 24-06-13 17:44, Wolfgang Schuster wrote:


Am 24.06.2013 um 10:55 schrieb Sander Maijers s.n.maij...@student.ru.nl:


On 16-06-13 20:18, Sander Maijers wrote:

I want to disable the clickable citations (in MkIV) while keeping other
interaction for things like cross-references. So far I unsuccessfully
tried some commands in my environment file like:

\setupcite[interaction=stop,compress=yes]

This is just my guesswork as I haven't found documentation for (setup)cite.

P.S.:
As for my motives, the links:
1. are missing when using the 'authoryear' alternative with APA
bibliography style;
2. link to references.pdf while my project is one document in one
differently named file and references.tex is just one product in it.
___

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
___



I haven't been able to solve this ever since I asked. Can anybody help me with 
this?


Can you provide a working minimal example?


Can you tell me what the working example should do or show? I have big 
thesis document with which I have this issue, which is not really 
publishable yet. As far as I know the clickable references are there as 
a result of \setupinteraction? I can give you this code if that is of help:


\setupinteraction
[author=\Author,
title=\TitleB,
subtitle=\Subject,
keyword=\Keywords,
date=\Date,
state=start,
menu=on,
page=yes,
click=yes,
display=new,
style=cap,
color=darkblue]



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
___



___
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] simplefonts wiki page added

2013-06-23 Thread Sander Maijers

On 23-06-13 20:36, Pablo Rodríguez wrote:

Dear list,

I have added a new simplefonts page for new users. (I hope it isn't full
of errors ;-).)

There may be some missing information, because I don't understand how
the standard font handling in ConTeXt works.

And I removed duplicated content from the font handling in LuaTeX
(http://wiki.contextgarden.net/index.php?title=Fonts_in_LuaTeXaction=historysubmitdiff=21929oldid=20049).

Just in case it helps,


Pablo



I think your initiative is very helpful!
___
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] (mathematics) Stretching Unicode big operator

2013-06-22 Thread Sander Maijers
If I decide to use, for instance, Σ instead of \sum, this operator 
is no longer stretched/scaling regardless of the sub/superscripts 
specified tot it. Is it possible to keep stretching/scaling while using 
Inicode characters for such operators?

___
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] slanted style in quotations: setupquotation?

2013-06-20 Thread Sander Maijers
While there is a \setupquote in a recent MkIV beta, when I try to use 
\setupquotation to set the quotation text style to slanted, this has no 
effect. Is there a neat way to do this, without redefining \quotation?

___
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] embedding ConTeXt code in an xtable

2013-06-17 Thread Sander Maijers

On 16-06-13 20:40, Wolfgang Schuster wrote:


Am 16.06.2013 um 17:05 schrieb Sander Maijers s.n.maij...@student.ru.nl:


On 15-06-13 19:42, Wolfgang Schuster wrote:


Am 15.06.2013 um 18:01 schrieb Sander Maijers s.n.maij...@student.ru.nl:


I am now using xtable to have an XMLish document to store a table. How I can 
embed ConTeXt code like $\Delta{}N_{\text{test}}$
in the external XML file file with the table? In other words, having 
mathematical notiation in the table header?

I tried various things such as:
\expanded{\xmlflush{#1}}


1. Have you looked at the cals table module?


No. I was able to find some references to CALS and ConTeXt with Google, but no 
documentation for the module you describe.


A simple example I found online:

\usemodule[cals]

\starttext

\startbuffer
cals:table
tgroup cols=1
   colspec/
   thead
  row
 entryAny text/entry
  /row
   /thead
   tbody
  row
 entryAny text/entry
  /row
   /tbody
/tgroup
/cals:table
\stopbuffer

\processXMLbuffer

\stoptext


Are there advantages for CALS tables in ConTeXt vs. the xtable solution? 
I have R scripts (a programming language) that produce HTML tables and 
write them to files. Not very robust or complete but it works. This is 
easy to use with xtables and \xmlprocessfile . But I am interested in a 
more well-defined format such as CALS tables, of course. Anything I can 
also easily embed in DocBook documents would be very nice.



2. Can you provide a example for your problem?


No, not at this time, because I am very pressed for time now. But I will come 
back to this later.


When the content of the cells is normal context code you can use 
\xmlflushcontext instead of \xmlflush.


Thank you. Do you know of a quick way to map an attribute, say the id 
of the table element to a ConTeXt ID/name? (So that I can refer to the 
table with \in.) At the moment there are no table numbers/descriptions 
for xtables at all in my document. I am using this code based on Thomas 
Schmitz's example in the xtables manual:


\startxmlsetups xml:testsetups
\xmlsetsetup{main}{TABLE|TR|TD|TH}{xml:*}
\stopxmlsetups
\xmlregistersetup{xml:testsetups}

\startxmlsetups xml:TABLE
\startembeddedxtable[\xmlatt{#1}{id}]
\xmlflush{#1}
\stopembeddedxtable
\stopxmlsetups

\startxmlsetups xml:TR
\startxrow
\xmlflush{#1}
\stopxrow
\stopxmlsetups

\startxmlsetups xml:TD
\startxcell
\xmlflush{#1}
\stopxcell
\stopxmlsetups

\startxmlsetups xml:TH
\startxcell[background=color,backgroundcolor=gray]
\xmlflushcontext{#1}
\stopxcell
\stopxmlsetups


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
___



___
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] embedding ConTeXt code in an xtable

2013-06-16 Thread Sander Maijers

On 15-06-13 19:42, Wolfgang Schuster wrote:


Am 15.06.2013 um 18:01 schrieb Sander Maijers s.n.maij...@student.ru.nl:


I am now using xtable to have an XMLish document to store a table. How I can 
embed ConTeXt code like $\Delta{}N_{\text{test}}$
in the external XML file file with the table? In other words, having 
mathematical notiation in the table header?

I tried various things such as:
\expanded{\xmlflush{#1}}


1. Have you looked at the cals table module?


No. I was able to find some references to CALS and ConTeXt with Google, 
but no documentation for the module you describe.



2. Can you provide a example for your problem?


No, not at this time, because I am very pressed for time now. But I will 
come back to this later.



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
___



___
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] Disabling interactive citations

2013-06-16 Thread Sander Maijers
I want to disable the clickable citations (in MkIV) while keeping other 
interaction for things like cross-references. So far I unsuccessfully 
tried some commands in my environment file like:


\setupcite[interaction=stop,compress=yes]

This is just my guesswork as I haven't found documentation for (setup)cite.

P.S.:
As for my motives, the links:
1. are missing when using the 'authoryear' alternative with APA 
bibliography style;
2. link to references.pdf while my project is one document in one 
differently named file and references.tex is just one product in it.

___
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] Including a large SVG image

2013-06-15 Thread Sander Maijers
My question was in error ... All the time I overlooked the double .svg 
in the argument to \externalfigure for my last (this) plot. Sorry for 
the fuss!



On 10-06-13 12:37, luigi scarso wrote:




On Mon, Jun 10, 2013 at 12:26 PM, Sander Maijers
s.n.maij...@student.ru.nl mailto:s.n.maij...@student.ru.nl wrote:

Thanks for your tests. I do not get the PDF intermediate file, I can
only produce it manually.

Inkscape 0.48.4 r9939 (May 20 2013)
ConTeXt 2013.06.07 12 tel:2013.06.07%2012:25

I used this code:

\placefigure
 [force]
 [scatterplot_of_WER_vs_PPL___baseline]
 {Scatterplot of WER vs. perplexity (baseline)}

{\externalfigure[/tmp/__scatterplot_of_WER_vs_PPL.svg.__svg][factor=fit]}

I use it in a big document with all kinds of floats, and this is the
last of a 3 graphs with 'force' placement on a row. Also I want to
use A3 landscape page dimensions, but now it is fit to an A4
portrait page and that does not work either.


you should have
m_k_i_v_scatterplot_of_WER_vs_PPL.svg.pdf
somewhere


--
luigi


___
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] ContML module?

2013-06-15 Thread Sander Maijers
I use a very recent version of ConTeXt MKIV, and I was following the 
instructions on this Wiki page: 
http://wiki.contextgarden.net/Mixing_XML_and_ConTeXt . However the 
contml module cannot be found and the hyperlink to it on the Wiki page 
is invalid.

___
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] ContML module?

2013-06-15 Thread Sander Maijers

On 15-06-13 16:34, Sander Maijers wrote:

I use a very recent version of ConTeXt MKIV, and I was following the
instructions on this Wiki page:
http://wiki.contextgarden.net/Mixing_XML_and_ConTeXt . However the
contml module cannot be found and the hyperlink to it on the Wiki page
is invalid.
___

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
___



I now see that that Wiki page relates to MkII. Is the most 
straightforward way to import an XML/HTML-like table from an external 
file into a ConTeXt MkIV document the method described in chapter 12 
XML in xtables-mkiv.pdf (from http://pragma-ade.com/show-man-47.htm)?


___
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] ContML module?

2013-06-15 Thread Sander Maijers

On 15-06-13 16:43, Schmitz Thomas A. wrote:


On Jun 15, 2013, at 4:34 PM, Sander Maijers s.n.maij...@student.ru.nl wrote:


I use a very recent version of ConTeXt MKIV, and I was following the instructions on this 
Wiki page:http://wiki.contextgarden.net/Mixing_XML_and_ConTeXt . However the 
contml module cannot be found and the hyperlink to it on the Wiki page is 
invalid.


Which is why this page can be found under Documents about XML in MKII 
(obsolete). This will not work with Mkiv.


I did not visit the page from the main XML page, but via Google. In the 
page itself there is no mention of MkII. By the way, the dead link to 
the old module shouldn't be there in any case.



Thomas


___
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] embedding ConTeXt code in an xtable

2013-06-15 Thread Sander Maijers
I am now using xtable to have an XMLish document to store a table. How 
I can embed ConTeXt code like $\Delta{}N_{\text{test}}$
in the external XML file file with the table? In other words, having 
mathematical notiation in the table header?


I tried various things such as:
\expanded{\xmlflush{#1}}

___
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] Typefaces ... how does this work?

2013-06-13 Thread Sander Maijers


On 12-06-13 23:33, luigi scarso wrote:




On Wed, Jun 12, 2013 at 11:31 PM, Sander Maijers
s.n.maij...@student.ru.nl mailto:s.n.maij...@student.ru.nl wrote:

I want to adjust my document to have Lucida as main typeface, but
with brief passages (a few words at most) in a typeface that has the
IPA glyphs like Gentium.

I've skimmed the manual and the ConTeXt garden Wiki but I do not yet
understand which commands I should use where and with which options
to achieve this -- preferably in a concise way.

Could someone please explain and point out what most current
documentation I should read and in which order to fully understand
how to work with typography in ConTexT? (Obviously I am not a
typographer or typesetter, I just write documents.)

I am in a hurry now to complete my document so I would appreciate
concrete hints to help with my current need. Still, I am interested
to learn a lot about this functionality in the long term.

Do you know the simplefonts module ?


I had read about it some time ago, but I had not yet noticed this Wiki 
page : 
http://wiki.contextgarden.net/Fonts_in_LuaTeX#How_LuaTeX_handles_system_fonts


How can I select a different typeface (that can be found by simplefonts) 
for a specific region of text, like a few words?



--
luigi


___
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] Suppressing page number for part in ToC

2013-06-12 Thread Sander Maijers
How do you suppress/hide the page number in the ToC for Parts, but not 
for other headers and without removing page numbers from footers anywhere?

___
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] Suppressing page number for part in ToC

2013-06-12 Thread Sander Maijers

Correction: for other HEADINGS

On 12-06-13 12:19, Sander Maijers wrote:

How do you suppress/hide the page number in the ToC for Parts, but not
for other headers and without removing page numbers from footers anywhere?
___

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] Typefaces ... how does this work?

2013-06-12 Thread Sander Maijers
I want to adjust my document to have Lucida as main typeface, but with 
brief passages (a few words at most) in a typeface that has the IPA 
glyphs like Gentium.


I've skimmed the manual and the ConTeXt garden Wiki but I do not yet 
understand which commands I should use where and with which options to 
achieve this -- preferably in a concise way.


Could someone please explain and point out what most current 
documentation I should read and in which order to fully understand how 
to work with typography in ConTexT? (Obviously I am not a typographer or 
typesetter, I just write documents.)


I am in a hurry now to complete my document so I would appreciate 
concrete hints to help with my current need. Still, I am interested to 
learn a lot about this functionality in the long term.

___
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] mathml lim

2013-06-11 Thread Sander Maijers


On 11-06-13 22:08, Aditya Mahajan wrote:

On Tue, 11 Jun 2013, Steffen Wolfrum wrote:


two details that keep missing is max and lim (see below).


mi mathvariant=normallim/mi



I do not know MATHML, but this seems like a wrong way to input \lim. The
above is roughly equivalent to

$\mathrm{lim}$

This will not result in correct spacing around the limit operator.
Doesn't mathml have something that maps to \mathop?

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
___



Is this what you need Steffen: 
http://zvon.org/xxl/MathML/Output/el_limit.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] Including a large SVG image

2013-06-10 Thread Sander Maijers
Thanks for your tests. I do not get the PDF intermediate file, I can 
only produce it manually.


Inkscape 0.48.4 r9939 (May 20 2013)
ConTeXt 2013.06.07 12:25

I used this code:

\placefigure
[force]
[scatterplot_of_WER_vs_PPL_baseline]
{Scatterplot of WER vs. perplexity (baseline)}
{\externalfigure[/tmp/scatterplot_of_WER_vs_PPL.svg.svg][factor=fit]}

I use it in a big document with all kinds of floats, and this is the 
last of a 3 graphs with 'force' placement on a row. Also I want to use 
A3 landscape page dimensions, but now it is fit to an A4 portrait page 
and that does not work either.



On 10-06-13 11:08, Marco Patzer wrote:

On 2013–06–10 Sander Maijers wrote:


Is anybody still interested to look into this issue?
I need the graph for my thesis, which is due soon.


It works here.

\starttext
   \externalfigure
 [scatterplot_of_WER_vs_PPL]
 [width=\textwidth]
\stoptext

context version: 2013.06.07 12:25
Inkscape 0.48.3.1 r9886

Marco



___
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] Including a large SVG image

2013-06-09 Thread Sander Maijers

Is anybody still interested to look into this issue?
I need the graph for my thesis, which is due soon.


On 08-06-13 12:04, Sander Maijers wrote:

I almost forgot to upload the graphics.

Here is the SVG:
https://dl.dropboxusercontent.com/u/19254345/scatterplot_of_WER_vs_PPL.svg

SVG (7z compressed):
https://dl.dropboxusercontent.com/u/19254345/scatterplot_of_WER_vs_PPL.svg.7z


PDF:
https://dl.dropboxusercontent.com/u/19254345/scatterplot_of_WER_vs_PPL.svg.pdf


Best,
Sander


On 05-06-13 15:15, luigi scarso wrote:




On Wed, Jun 5, 2013 at 3:13 PM, Sander Maijers
s.n.maij...@student.ru.nl mailto:s.n.maij...@student.ru.nl wrote:



Excuse me. The file became truncated when I was renaming it and the
OS froze, it indeed is 0 bytes now.
This evening I will try upload it again.

can you also post a 7z compressed  version of the SVG ?


--
luigi


___

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] Including a large SVG image

2013-06-08 Thread Sander Maijers

I almost forgot to upload the graphics.

Here is the SVG: 
https://dl.dropboxusercontent.com/u/19254345/scatterplot_of_WER_vs_PPL.svg


SVG (7z compressed):
https://dl.dropboxusercontent.com/u/19254345/scatterplot_of_WER_vs_PPL.svg.7z

PDF: 
https://dl.dropboxusercontent.com/u/19254345/scatterplot_of_WER_vs_PPL.svg.pdf


Best,
Sander


On 05-06-13 15:15, luigi scarso wrote:




On Wed, Jun 5, 2013 at 3:13 PM, Sander Maijers
s.n.maij...@student.ru.nl mailto:s.n.maij...@student.ru.nl wrote:



Excuse me. The file became truncated when I was renaming it and the
OS froze, it indeed is 0 bytes now.
This evening I will try upload it again.

can you also post a 7z compressed  version of the SVG ?


--
luigi


___
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] Including a large SVG image

2013-06-05 Thread Sander Maijers

On 05-06-13 12:38, Sietse Brouwer wrote:

Sander wrote:

The inkscape command works okay from the command line.

Thanks for checking this! Hmm, so Inkscape is not the problem... Does
ConTeXt still fail to include the picture when you make a minimal
document containing only some text and the problematic SVG?


Should I upload the SVG and manual PDF output somewhere?

Yes, if you could, that would be appreciated.

Here is the PDF converted by hand from the SVG:
https://docs.google.com/file/d/0BynsKFwk6jYJQlMxR3paNW0zS2s/edit?usp=sharing

I can upload the SVG in the evening, if you need it. I guess that is not 
useful because Inkscape can convert the SVG to PDF, it is just that 
ConTeXt does not include the graphic.

Cheers,
Sietse

On 4 June 2013 19:35, Sander Maijers s.n.maij...@student.ru.nl wrote:

The inkscape command works okay from the command line. Should I upload the
SVG and manual PDF output somewhere?



On 03-06-13 18:53, honyk wrote:

Sander Maijers wrote:

I have a few SVG graphics of multiple megabytes. They contain a lot
of objects (text/shapes). All graphics except for one gets properly
included in my ConTeXt document.


Marco Patzer wrote:

Maybe inkscape failed to convert the file. Is a corresponding
m_k_i_v_filename.svg.pdf file generated?


It might be informative to try running the Inkscape conversion
manually. This is the command line ConTeXT uses:

  inkscape %oldname% --export-dpi=600 -A %newname%

(The quotation marks are literal: they are there in case the filename
has spaces, e.g.)


If processing in Inkscape fails, you can try another tool:
http://xmlgraphics.apache.org/batik/tools/rasterizer.html

It can (despite its name) transcode SVG to vector PDF:

java -Xmx2G -jar batik-rasterizer.jar -m application/pdf image.svg

In that case you have to transcode your files first and reference PDF
variants in your input.

Jan


___
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] Including a large SVG image

2013-06-05 Thread Sander Maijers

Hi Luigi,

On 05-06-13 15:01, luigi scarso wrote:


On Wed, Jun 5, 2013 at 2:58 PM, Sander Maijers 
s.n.maij...@student.ru.nl mailto:s.n.maij...@student.ru.nl wrote:


On 05-06-13 12:38, Sietse Brouwer wrote:

Sander wrote:

The inkscape command works okay from the command line.

Thanks for checking this! Hmm, so Inkscape is not the
problem... Does
ConTeXt still fail to include the picture when you make a minimal
document containing only some text and the problematic SVG?

Should I upload the SVG and manual PDF output somewhere?

Yes, if you could, that would be appreciated.

Here is the PDF converted by hand from the SVG:
https://docs.google.com/file/d/0BynsKFwk6jYJQlMxR3paNW0zS2s/edit?usp=sharing

it says
Sorry, we are unable to generate a view of the document at this time. 
Please try again later.



--
luigi

__


That is a preview window that only works for certain file types. You can 
download the file, for example by the menu bar in the top left corner. 
(I am not in the position to upload the file somewhere else now, so 
that's why I am using Google Drive.)

_
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] Including a large SVG image

2013-06-05 Thread Sander Maijers

On 05-06-13 15:09, luigi scarso wrote:




On Wed, Jun 5, 2013 at 3:06 PM, Sander Maijers 
s.n.maij...@student.ru.nl mailto:s.n.maij...@student.ru.nl wrote:


Hi Luigi,
That is a preview window that only works for certain file types.
You can download the file, for example by the menu bar in the top
left corner. (I am not in the position to upload the file
somewhere else now, so that's why I am using Google Drive.)

yes, but it says 0 bytes.
Excuse me. The file became truncated when I was renaming it and the OS 
froze, it indeed is 0 bytes now.

This evening I will try upload it again.

--
luigi


___
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] Including a large SVG image

2013-06-04 Thread Sander Maijers
The inkscape command works okay from the command line. Should I upload 
the SVG and manual PDF output somewhere?



On 03-06-13 18:53, honyk wrote:

Sander Maijers wrote:

I have a few SVG graphics of multiple megabytes. They contain a lot
of objects (text/shapes). All graphics except for one gets properly
included in my ConTeXt document.


Marco Patzer wrote:

Maybe inkscape failed to convert the file. Is a corresponding
m_k_i_v_filename.svg.pdf file generated?


It might be informative to try running the Inkscape conversion
manually. This is the command line ConTeXT uses:

 inkscape %oldname% --export-dpi=600 -A %newname%

(The quotation marks are literal: they are there in case the filename
has spaces, e.g.)


If processing in Inkscape fails, you can try another tool: 
http://xmlgraphics.apache.org/batik/tools/rasterizer.html

It can (despite its name) transcode SVG to vector PDF:

java -Xmx2G -jar batik-rasterizer.jar -m application/pdf image.svg

In that case you have to transcode your files first and reference PDF variants 
in your input.

Jan

___
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] Including a large SVG image

2013-06-03 Thread Sander Maijers

Hi,

I have a few SVG graphics of multiple megabytes. They contain a lot of 
objects (text/shapes). All graphics except for one gets properly 
included in my ConTeXt document. In place of the failed one there the 
gray placeholder box with 'status unknown'.


I noticed that ConTeXt uses Inkscape to convert these SVGs to PDF. Is 
there a way in which I can increase the timeout for this conversion 
process? That is just a guess, maybe the problem is due to something else.


Best,
Sander
___
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] Fraction with a fraction in the denominator

2013-06-03 Thread Sander Maijers

Hi,

How can I make the subfraction in the denominator of a fraction appear 
smaller even though the nominator is very small? This gives basically 
three equally long division lines:


\startfomula
\frac{\mu_{Z}}{\frac{\sqrt{\VAR{Z}}{\sqrt{N_{\text{segments}
\stopformula
___
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] Fraction with a fraction in the denominator

2013-06-03 Thread Sander Maijers

Sorry, I meant to write numerator. (In Dutch it is teller/noemer ;))


On 03-06-13 19:40, Sander Maijers wrote:

Hi,

How can I make the subfraction in the denominator of a fraction appear
smaller even though the nominator is very small? This gives basically
three equally long division lines:

\startfomula
 \frac{\mu_{Z}}{\frac{\sqrt{\VAR{Z}}{\sqrt{N_{\text{segments}
\stopformula
___

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] Percent symbol inside \type{}?

2013-05-21 Thread Sander Maijers
That does not work for me, Wolfgang. With or without the 
\start-/stoptext (which is redundant in my own document I assume).



\placetable{Test}
{\bTABLE
\bTR
\bTD[background=color,backgroundcolor=gray] tst \eTD
\bTD \starttext \type{Hello %s --test world --test %s} 
\stoptext \eTD
\eTR
\eTABLE}


Error:

Runaway argument?
\starttext \type {Hello \eTR \bTR \bTD [background=color,backgroundco\ETC.
! File ended while scanning use of \tabl_ntb_td_nop.



On 20-05-13 15:04, Wolfgang Schuster wrote:


Am 20.05.2013 um 14:51 schrieb Sander Maijers s.n.maij...@student.ru.nl:


Hello,

What is the most straightforward way to print a percent symbol inside the 
argument to \type{} (or, if necessary, more generally: monospace type)



Is this easy enough for you?

\starttext
\type{%}
\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
___


___
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] Percent symbol inside \type{}?

2013-05-21 Thread Sander Maijers

On 20-05-13 15:08, Marco Patzer wrote:

On 2013–05–20 Sander Maijers wrote:


What is the most straightforward way to print a percent symbol
inside the argument to \type{} (or, if necessary, more generally:
monospace type)


I'd say the most straightforward way is using \asciimode:

\starttext
   \startlines
 \mono{foo \% bar}
 \mono{foo \letterpercent\ bar}
 \asciimode
 \mono{foo % bar}
   \stoplines
\stoptext



That works, thanks!


Marco

PS: Please don't hijack threads. Start a new thread for each new issue.


I have used a new subject line. If you see any problem that makes you 
think that I hijacked a thread could you point it out, please?





___
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] Percent symbol inside \type{}?

2013-05-20 Thread Sander Maijers

Hello,

What is the most straightforward way to print a percent symbol inside 
the argument to \type{} (or, if necessary, more generally: monospace type)


Best,
Sander
___
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] Index and Publications suddenly remain empty??? [solved!]

2012-10-15 Thread Sander Maijers
On Mon, 15 Oct 2012 09:56:12 +0200
Hans Hagen pra...@wxs.nl wrote:

 On 14-10-2012 23:45, Sander Maijers wrote:
  II cannot test that, sadly. The setup for the ConTeXt beta seems to
  hang on this PC.
(...)
  argument=tree:home/sander/software//installations//ConTeXt/tex/texmf
  resolvers   | trees | locator
  '/home/sander/software//installations//ConTeXt/tex/texmf' not found
 
 can you check that? is there such a tree?
 
  resolvers   | resolving |
  resolvers   | resolving |
  mtxrun  | the resolver databases are not present or outdated
  mtxrun  |
  mtxrun  | executing: mktexlsr
  mtxrun  |
  mtxrun  |mktexlsr: : not a directory, skipping.
 
 
  = (HANG HERE), CTRL-C and after a while a similar hang, up to
  three times.
 
  The connection to the Internet is okay here, I tried many things to
  resolve this. When I tried the beta earlier, it did compile but
  there were some complaints about modules not being compiled due to
  a Lua problem (??? my vague remembrance). I also have these
  messages: mtxrun  | unknown script 'context.lua' or
  'mtx-context.lua'
 
 that looks suspicious i.e. the file database is not created
 
  My Lua version is 5.1.5-2
 
 mtxrun uses texlua and not lua
 
Now, after a system restart it works. I am very happy to have the registers 
back in my document!! Thank you Wolfgang and Hans.

As for the beta installation problem: It seems that the TEXMF environment 
variable was still pointing to the previous directory (now I use ./beta/), even 
though I changed it and sourced the shell profile. mtxrun or the updating 
script spawns new shells and does not inherit the environment from which the 
installer script was launched, or something like that.

I hope that the \placeontopofoeachother bug will be resolved soon. For now I 
just removed that command from my document source files.

 
 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] Index and Publications suddenly remain empty??? [not solved yet]

2012-10-14 Thread Sander Maijers
On Sun, 14 Oct 2012 09:13:58 +0200
Wolfgang Schuster wolfgang.schus...@gmail.com wrote:

 
 Am 13.10.2012 um 22:42 schrieb Sander Maijers
 s.n.maij...@student.ru.nl:
 
  Dear ConTeXt users,
  
  I am bothered by this seemingly simple problem that suddenly
  occurred these days, while the same TeX code produced the Index and
  Publications chapters properly when compiling the document last May.
  
  I use the latest stable version (from May 2012) of ConTeXt on a
  recent Linux with TeXLive 2012 and bibtex 0.99d. The PATH is
  correct.
  
  The bad PDF:
  https://bitbucket.org/SMaijers/bachelor_project/src/df9027aa04ea96e846173fe35b2a2715a742ad40/bachelors_thesis.new/bachelors_thesis.pdf?at=default
   
  
  The environment:
  https://bitbucket.org/SMaijers/bachelor_project/src/df9027aa04ea96e846173fe35b2a2715a742ad40/bachelors_thesis.new/bachelors_thesis_environment.tex?at=default
   
  
  The text source files for the Publications and Index chapters:
  https://bitbucket.org/SMaijers/bachelor_project/src/df9027aa04ea96e846173fe35b2a2715a742ad40/bachelors_thesis.new/references.tex?at=default
  https://bitbucket.org/SMaijers/bachelor_project/src/df9027aa04ea96e846173fe35b2a2715a742ad40/bachelors_thesis.new/index.tex?at=default
  
  All files:
  https://bitbucket.org/SMaijers/bachelor_project/src/df9027aa04ea96e846173fe35b2a2715a742ad40/bachelors_thesis.new?at=default
   
  
  I have been trying to solve this this evening and finally I decided
  to move from ConTeXt stable to the beta version, but now I cannot
  get *any* PDF output anymore ...
  
  Can anyone spot problems with the TeX source code that prevent the
  document compilation, with whichever version of ConTexT???
 
 It’s a bug/typo in \placeontopofeachother but I sent a fix to the dev
 list.
 
 BTW: Compile the product file of your document, not the project.

Thank you Wolfgang. I changed the algorithmic code and I from now on compile 
the product instead of the project (containing that one product). However, the 
ToC, Index and Publications have not reappeared yet.

What is the context of your comment about the \placeontopofeachother bug? Is 
that bug in the current stable or beta version or both? As I understand it, I 
am still using the same stable version that I was using in May that, despite 
the two issues that you pointed out, was compiling satisfactorily.

I hope the problem can be solved soon.

 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
 ___
___
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] Index and Publications suddenly remain empty??? [not solved yet]

2012-10-14 Thread Sander Maijers
:

 
 Am 14.10.2012 um 14:10 schrieb Sander Maijers
 s.n.maij...@student.ru.nl:
 
  Thank you Wolfgang. I changed the algorithmic code and I from now
  on compile the product instead of the project (containing that one
  product). However, the ToC, Index and Publications have not
  reappeared yet.
 
 I compiled your document (after commenting your \input lines in the
 source) with the last beta and I get all registers.
 
  What is the context of your comment about the
  \placeontopofeachother bug? Is that bug in the current stable or
  beta version or both? As I understand it, I am still using the same
  stable version that I was using in May that, despite the two issues
  that you pointed out, was compiling satisfactorily.
 
 I don’t know if the bug was also in the stable but it’s in the beta
 version I use. You can use the following example to check for the bug:
 
 \starttext
 \placeontopofeachother{A}{B}
 \stoptext
 
 BTW: You can remove the \par commands in your document because a
 empty line between paragraphs is enough because
 
 example
 paragraph 1
 
 paragraph 2
 /example
 
 is the same as
 
 example
 paragraph 1
 \par
 paragraph 2
 /example
 
 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
 ___
___
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] Using a search engine.

2012-10-14 Thread Sander Maijers

I use ConTeXt tex NTG instead of context in Google and that works 
relatively well. Due to the scattered nature of the documentation I also find 
it useful save any PDFs about ConTeXt etc. that I stumble upon in a dedicated 
folder. Then you can use desktop search to search inside them.


On Sun, 14 Oct 2012 16:19:57 -0300
Andre Caldas andre.em.cal...@gmail.com wrote:

 Once, I've read about someone who, a long time ago, found it really
 difficult to look for pages related to LaTeX on the internet. He used
 to get a lot of fetish related pages!!!
 
 Since context is a very common word, I'd like to know from ConTeXt
 users... How do you look for ConTeXt stuff using search engines?
 
 
 Cheers,
 André Caldas.
 ___
 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] Index and Publications suddenly remain empty???

2012-10-13 Thread Sander Maijers
Dear ConTeXt users,

I am bothered by this seemingly simple problem that suddenly occurred these 
days, while the same TeX code produced the Index and Publications chapters 
properly when compiling the document last May.

I use the latest stable version (from May 2012) of ConTeXt on a recent Linux 
with TeXLive 2012 and bibtex 0.99d. The PATH is correct.

The bad PDF:
https://bitbucket.org/SMaijers/bachelor_project/src/df9027aa04ea96e846173fe35b2a2715a742ad40/bachelors_thesis.new/bachelors_thesis.pdf?at=default
 
 
The environment:
https://bitbucket.org/SMaijers/bachelor_project/src/df9027aa04ea96e846173fe35b2a2715a742ad40/bachelors_thesis.new/bachelors_thesis_environment.tex?at=default
 

The text source files for the Publications and Index chapters:
https://bitbucket.org/SMaijers/bachelor_project/src/df9027aa04ea96e846173fe35b2a2715a742ad40/bachelors_thesis.new/references.tex?at=default
https://bitbucket.org/SMaijers/bachelor_project/src/df9027aa04ea96e846173fe35b2a2715a742ad40/bachelors_thesis.new/index.tex?at=default

All files:
https://bitbucket.org/SMaijers/bachelor_project/src/df9027aa04ea96e846173fe35b2a2715a742ad40/bachelors_thesis.new?at=default
 

I have been trying to solve this this evening and finally I decided to move 
from ConTeXt stable to the beta version, but now I cannot get *any* PDF output 
anymore ...

Can anyone spot problems with the TeX source code that prevent the document 
compilation, with whichever version of ConTexT???

Kind regards,
Sander Maijers
___
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] Index and Publications suddenly remain empty???

2012-10-13 Thread Sander Maijers
  profile specification 'ISO Uncoated' loaded from 
'/home/sander/software/installations/ConTeXt/tex/texmf-context/colors/icc/context/colorprofiles.xml'
(Ngram.lua)
cld  tex  f : 8 : \startreadingfile
cld  tex  w : - : 
\input{/home/sander/software/installations/ConTeXt/tex/texmf-context/tex/context/base/symb-imp-mvs.mkiv}
cld  tex  w : - : \ctxreport{fontssymbols  loaded: 
library 'mvs'}
cld  tex  f : 8 : \stopreadingfile
(/home/sander/software/installations/ConTeXt/tex/texmf-context/tex/context/base/symb-imp-mvs.mkiv)
fontssymbols  loaded: library 'mvs'
cld  tex  f : 8 : \stopenvironmentindeed
cld  tex  w : - : \signalendofinput{environment}
)
cld  tex  f : 8 : \stopprojectindeed
cld  tex  w : - : \signalendofinput{project}
cld  tex  f : 8 : \dostoptext
cld  tex  f : 8 : \finalend
 ) )
mkiv lua stats   used config file  - 
selfautoparent:/texmf/web2c/texmfcnf.lua
mkiv lua stats   used cache path   - 
/home/sander/software/installations/ConTeXt/tex/texmf-cache/luatex-cache/context/5fe67e0bfe781ce0dde776fb1556f32e
mkiv lua stats   resource resolver - loadtime 0.010 seconds, 0 scans 
with scantime 0.000 seconds, 0 shared scans, 64 found files, scanned paths: 
mkiv lua stats   stored bytecode data  - 311 modules (0.110 sec), 66 
tables (0.010 sec), 377 chunks (0.120 sec)
mkiv lua stats   traced context- writers: 4, flushes: 6, maxstack: 0
mkiv lua stats   cleaned up reserved nodes - 38 nodes, 9 lists of 441
mkiv lua stats   node memory usage - 2 glue, 2 penalty, 6 attribute, 
21 glue_spec, 2 attribute_list
mkiv lua stats   node list callback tasks  - 6 unique task lists, 4 instances 
(re)created, 13 calls
mkiv lua stats   used backend  - pdf (backend for directly 
generating pdf output)
mkiv lua stats   loaded tex modules- 4 requested, 4 found 
(*-algorithmic *-database *-mathsets *-obsolete), 0 missing
mkiv lua stats   loaded patterns   - en::2
mkiv lua stats   jobdata time  - 0.001 seconds saving, 0.000 
seconds loading
mkiv lua stats   callbacks - 333 direct, 1873 indirect, 2206 
total
mkiv lua stats   randomizer- resumed with value 
0.46946292904646
mkiv lua stats   xml load time - 0.004 seconds, 2 files, 2 
converted
mkiv lua stats   lxml preparation time - 0.000 seconds, 0 nodes, 7 lpath 
calls, 2 cached calls
mkiv lua stats   result saved in file  - bachelors_thesis.pdf, 
compresslevel 3, objectcompreslevel 3
mkiv lua stats   loaded fonts  - 35 files: stmary10.afm 
lmmath-regular.otf lmmono12-regular.otf lmmono8-regular.otf lmmono9-regular.otf 
lmroman10-regular.otf lmroman12-bold.otf lmroman12-regular.otf 
lmroman7-bold.otf lmroman7-regular.otf lmroman9-bold.otf lmroman9-regular.otf 
lmsans12-regular.otf lmsans8-regular.otf lmsans9-regular.otf eufb10.tfm 
eufb7.tfm eufm10.tfm eufm7.tfm msam10.tfm msam7.tfm msbm10.tfm msbm7.tfm 
lmex10.tfm lmmi12.tfm lmmi7.tfm lmmi9.tfm lmmib10.tfm lmmib7.tfm lmsy10.tfm 
lmsy7.tfm lmsy9.tfm rm-lmr12.tfm rm-lmr7.tfm rm-lmr9.tfm
mkiv lua stats   fonts load time   - 0.346 seconds 
mkiv lua stats   running on path   - 
/run/media/sander/SAMSUNG/bachelor_project/bachelors_thesis.new
mkiv lua stats   job file properties   - jobname: bachelors_thesis.tex, 
input: bachelors_thesis.tex, suffix: tex
mkiv lua stats   luatex banner - this is luatex, version 
beta-0.70.2-2012052410 (tex live 2012)
mkiv lua stats   control sequences - 40239 of 65536 + 10
mkiv lua stats   current memory usage  - 56 MB (ctx: 58 MB)
mkiv lua stats   runtime   - 0.739 seconds

LuaTeX warning: dangling objects discarded, no output file produced.

system  | total runtime: 2.781
mtxrun  |
mtxrun  | runtime: 2.804 seconds

mtx-context | purged files: bachelors_thesis.log, bachelors_thesis.tuc





On Sat, 13 Oct 2012 22:42:43 +0200
Sander Maijers s.n.maij...@student.ru.nl wrote:

 Dear ConTeXt users,
 
 I am bothered by this seemingly simple problem that suddenly occurred
 these days, while the same TeX code produced the Index and
 Publications chapters properly when compiling the document last May.
 
 I use the latest stable version (from May 2012) of ConTeXt on a
 recent Linux with TeXLive 2012 and bibtex 0.99d. The PATH is correct.
 
 The bad PDF:
 https://bitbucket.org/SMaijers/bachelor_project/src/df9027aa04ea96e846173fe35b2a2715a742ad40/bachelors_thesis.new/bachelors_thesis.pdf?at=default
  
  
 The environment:
 https://bitbucket.org/SMaijers/bachelor_project/src/df9027aa04ea96e846173fe35b2a2715a742ad40/bachelors_thesis.new/bachelors_thesis_environment.tex?at=default
  
 
 The text source files for the Publications and Index chapters:
 https://bitbucket.org/SMaijers/bachelor_project/src

Re: [NTG-context] Interfering frames in natural tables

2012-05-22 Thread Sander Maijers
Op Tue, 22 May 2012 13:25:05 +0200
Marco net...@lavabit.com schreef:

 On 2012-05-22 Marco net...@lavabit.com wrote:
 
  the frames are interfering in the following example. How to avoid
  the 2pt-2-column bottom rule also be drawn at the top?
 
 Wiki ⇒ TABLES ⇒ Rules with different thickness
 
 However, IMO it seems total overkill to use MetaPost and overlays to
 draw a simple line in a table.

I agree! It is inconvenient.
 
 ___
 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] m-database: setting text style for every first line of a table, and text/cell style for specific parts of the table?

2012-05-05 Thread Sander Maijers
Hello everyone,

I did manage to get a background color for the first row. This is a snippet 
that I use

\defineseparatedlist
  [CSV]
  [separator=comma,
   
first={\bTR[align=middle,background=color,backgroundcolor=gray]},last=\eTR,
   left=\bTD,right=\eTD,
   before={\bTABLE[align=middle]},after=\eTABLE]

\processseparatedfile[CSV][/tmp/CSV.csv]

Also, can you think of a way to specify the cell and text style for individual 
cells with processseparatedfile?

Regards,
Sander Maijers
___
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
___