Re: [NTG-context] Produce multiple versions in one run

2019-08-23 Thread Denis Maier
Well, but that will give me one file with papersize a5. Can I instruct context to produce two files: one with --mode=a5, one with the normal settings? Or is a makefile better suited for this? Best, Denis Am Fr., 23. Aug. 2019 um 17:26 Uhr schrieb Hans Hagen : > On 8/23/2019 5:04 PM, Denis Ma

[NTG-context] Produce multiple versions in one run

2019-08-23 Thread Denis Maier
Hi, let's say I want to produce two different versions of my document, one with papersize a4, the other with papersize a5. ``` \setuppapersize[a4][a4] \startmode[a5] \setuppapersize[a5][a5] \stopmode ``` What is the best way to produce both versions with one command? A makefile? Or is there a

[NTG-context] Again: Graphics placement with columnsets/page grids

2019-08-18 Thread Denis Maier
Hi, I have posted a question regarding floats and columnsets some time ago. I am wondering why I am having text under a figure in a two column layout. \usemodule[newcolumnsets] \setuplayout [grid=yes] \definecolumnset[example][n=2] \starttext \startcolumnset[example]

[NTG-context] How to use ConTeXt extensions with VS Code

2019-08-18 Thread Denis Maier
Hi, I have seen ConTeXt comes with an extension for VS Code. How do you use that? I have tried the code in the readme, but this doesn't seem to work. Best, Denis ___ If your question is of interest to others as well,

Re: [NTG-context] \setupcolumnsetlines does not work

2019-08-17 Thread Denis Maier
\input knuth \stopcolumnset \stoptext === Am Sa., 17. Aug. 2019 um 15:14 Uhr schrieb Denis Maier : > Ok, have tried it now. No change ... > > Am Sa., 17. Aug. 2019 um 13:33 Uhr schrieb Denis Maier >: > >> Also, what about \setupcolumn

Re: [NTG-context] \setupcolumnsetlines does not work

2019-08-17 Thread Denis Maier
Ok, have tried it now. No change ... Am Sa., 17. Aug. 2019 um 13:33 Uhr schrieb Denis Maier : > Also, what about \setupcolumnsetlines[Two][2][1][9]? > > Denis Maier schrieb am Sa., 17. Aug. 2019, 13:32: > >> If I am remembering correctly, the documentation has \setupcolumn

Re: [NTG-context] \setupcolumnsetlines does not work

2019-08-17 Thread Denis Maier
Also, what about \setupcolumnsetlines[Two][2][1][9]? Denis Maier schrieb am Sa., 17. Aug. 2019, 13:32: > If I am remembering correctly, the documentation has \setupcolumnsetlines > before \starttext. > > Sytse Knypstra schrieb am Sa., 17. Aug. 2019, > 12:59: > >>

Re: [NTG-context] \setupcolumnsetlines does not work

2019-08-17 Thread Denis Maier
If I am remembering correctly, the documentation has \setupcolumnsetlines before \starttext. Sytse Knypstra schrieb am Sa., 17. Aug. 2019, 12:59: > In an effort to balance columns in a columnset layout, I found that in the > following minimal example this effect is not obtained. > After

Re: [NTG-context] Graphics placement with columnsets/page grids (was "no subject)

2019-07-28 Thread Denis Maier
}] } \dorecurse{10}{ \input ward\par } \stopcolumnset \stoptext ``` Is this a bug, or am I making a mistake somewhere? Best, Denis Am Mi., 24. Juli 2019 um 09:08 Uhr schrieb Denis Maier : > Hi, > > just a quick follow up: > > This (i.e., deleting the "none"

[NTG-context] Graphics placement with columnsets/page grids (was "no subject)

2019-07-24 Thread Denis Maier
he caption, but the figure stays where it was and we have additional lines under the figure. Shouldn't the figure stick to the margin? Best, Denis Am Di., 23. Juli 2019 um 16:16 Uhr schrieb Denis Maier : > Hi, > I am typesetting a newsletter using newcolumnsets, and I am struggling > with placi

[NTG-context] (no subject)

2019-07-23 Thread Denis Maier
Hi, I am typesetting a newsletter using newcolumnsets, and I am struggling with placing my graphics. Why isn't the graphic on page 2 at the bottom (code below)? Best, Denis ``` \usemodule[newcolumnsets,simulate] \useMPlibrary[dum] \setupbodyfont [palatino] \setuphead[section][style=\bfa\ss]

Re: [NTG-context] Place footnote after reference

2019-07-22 Thread Denis Maier
llI don't know a solution for this, but would be very interested. With LaTeX you can use the `atbegshi`-package that gives you a command ` \AtBeginShipoutNext`: ``` \footnotemark \clearpage \AtBeginShipoutNext{\footnotetext{Text.}} ``` This only works for individual footnotes, but it's already

Re: [NTG-context] translating LyX/LaTex book into ConTeXt (was Re: [Context] Xindy)

2019-07-21 Thread Denis Maier
Converting LaTeX to ConTeXt should be possible with pandoc, though not everything will work without manual adjustments. Denis Hans Hagen schrieb am So., 21. Juli 2019, 12:35: > Hi, > > > fonts > checking > char ṁ (U+01E41) in font > > 'LMRoman12-Regular' with id 1: missing backend

Re: [NTG-context] Quotation marks

2019-07-20 Thread Denis Maier
Another option: Use the fabulous csquotes-package and map \quotation to \enquote: => ``` \usepackage{csquotes} \let\quotation=\enquote ``` Denis Am Sa., 20. Juli 2019 um 02:57 Uhr schrieb Hans Hagen : > On 7/20/2019 2:07 AM, Alan Braslau wrote: > > On Sat, 20 Jul 2019 08:58:27 +0900 > >

[NTG-context] How to get a minimal context installation

2019-06-21 Thread Denis Maier
Hi, the homepage says that the included fonts increase the installation to 200mb while the macros themselves are rather small. Is there a way to install only what is absolutely necessary? I'll be using system fonts anyway... Best, Denis

[NTG-context] What's the difference between \setupdirections[bidi=global, method=one] and \setupdirections[bidi=global, method=two]?

2019-06-03 Thread Denis Maier
Hi, the subject line says it already. What's the difference between \setupdirections[bidi=global,method=one] and \setupdirections[bidi=global,method=two]? In which case should I use `method=one`, when is `method=two` better? Best, Denis

[NTG-context] \xmlfirst lookup over whole document

2019-05-16 Thread Denis Maier
Hi, I am trying to use \xmlfirst to find a reference that is not in the current node. In the manual there is the exmple: {\xmlfirst {example-3-1} {div[@class='footnotes']/ol/li[@id='\xmlrefatt{#1}{href}']}} This is quite close to what I need, but I am not processing a buffer. How can I use

Re: [NTG-context] Bibliography APS Style without unpublished

2019-05-16 Thread Denis Maier
Very interesting project. I have a workflow where I produce ConTeXt sources from markdown via pandoc. But using XML could be even better. Nevertheless, this still leaves us with the problem that CSL support with pandoc-citeproc has a few glitches (wrong disambiguation; ibids can be ambiguous, some

Re: [NTG-context] Bibliography APS Style without unpublished

2019-05-16 Thread Denis Maier
com>: > > On 16/05/2019 11:48, Denis Maier wrote: > > This is more tricky. I do very much like what ConTeXt has to offer for > > typesetting finished works, but I currently would not use it for writing > a > > larger work in the Humanities. For smaller pieces I would prob

Re: [NTG-context] XML roundtripping

2019-05-16 Thread Denis Maier
Ok. Have tried it. It seems to work on line 2. Where can I find documentation about these ctx files? Denis Maier schrieb am Do., 16. Mai 2019, 12:27: > >> > > Just after the xml declaration? Like on line 2? > > >> >> with "somefile.ctx" being:

Re: [NTG-context] Bibliography APS Style without unpublished

2019-05-16 Thread Denis Maier
I am not the OP, but I'm very much interested in how referencing works with ConTeXt so let me add to this. > You can write your own style, or your own modified style. Is the publications manual still up to date? Is there more recent information available? How would I start writing my own

Re: [NTG-context] XML roundtripping

2019-05-15 Thread Denis Maier
Hans Hagen schrieb am Mi., 15. Mai 2019, 18:32: > On 5/15/2019 4:35 PM, Denis Maier wrote: > > Our workflow is not settled yet; we're still discussing options. All > > depends upon what is possible ... > > > > That being said, for the purpose of displaying the art

Re: [NTG-context] XML roundtripping

2019-05-15 Thread Denis Maier
15. Mai 2019 um 14:46 Uhr schrieb Hans Hagen : > On 5/15/2019 12:57 PM, Denis Maier wrote: > > Hmm, getting the page number back from the tuc file sound feasible. I'll > > have to look into this. > > > > But how would I write the information back to the XML? Is this

[NTG-context] Split up PDF a certain

2019-05-15 Thread Denis Maier
Hi, is there a way to split up a PDF a certain points, e.g. at every \startsection? (I am thinking of a way to produce both one PDF for a complete journal issue and for each individual articles. Or should I better use an external tool to post-process the resulting PDF?) Best, Denis

Re: [NTG-context] XML roundtripping

2019-05-15 Thread Denis Maier
Hmm, getting the page number back from the tuc file sound feasible. I'll have to look into this. But how would I write the information back to the XML? Is this explained somewhere? Am Mi., 15. Mai 2019 um 09:19 Uhr schrieb Hans Hagen : > On 5/14/2019 9:38 AM, Denis Maier wrote: > > Hi

Re: [NTG-context] Compiling multiple files without master document

2019-05-15 Thread Denis Maier
Ok, so no all-files-as-one option at the moment? Do you think this would be useful? Am Mi., 15. Mai 2019 um 09:20 Uhr schrieb Hans Hagen : > On 5/14/2019 9:58 AM, Denis Maier wrote: > > > context file1 file2 file3 --environment=mydefs > this will process three files not three-

[NTG-context] \includeonly and ConTeXt components

2019-05-15 Thread Denis Maier
Hi again, last question for the moment ;-) With LaTeX we can use `\includeonly` for partial compilation. The good thing is that we can still refer to labels from other files, have a complete TOC, and correct page numbers. In ConTeXt the project structure is supposed to be used for partial

[NTG-context] Questions regarding project structure

2019-05-15 Thread Denis Maier
Hi, I am just testing out the project structure. Let's suppose I have these files: - test_env.tex ``` \startenvironment * \setuphead [section] [textstyle=\bf] \stopenvironment ``` - test_project ``` \startproject * \environment test_env \product test_prod \stopproject ``` -

[NTG-context] Compiling multiple files without master document

2019-05-15 Thread Denis Maier
Hi, Currently it is possible to process a file with an external environment file specified via the command line. ``` context file --environment=mydefs ``` Very nice. Is it possible to process multiple files from the command line without a master document? Like so: ``` context file1 file2

[NTG-context] XML roundtripping

2019-05-15 Thread Denis Maier
Hi everyone I am setting up a workflow for a journal where we will be using JATS XML as an input format. PDFs should be typeset via ConTeXt. Is roundtripping possible with ConTeXt? I will perhaps need to write page numbers back to a XML file (either to the input file or to a new file.). Best,