[NTG-context] white-space after section-head in columns

2020-07-15 Thread Peter Münster
Hi, What is the right way please to get normal white-space after a section in columns, i.e. not too much? Example, that shows the problem: --8<---cut here---start->8--- \starttext \startsection[title=Space is ok here] \input tufte \stopsection

Re: [NTG-context] paperformat=landscape not working

2020-05-20 Thread Peter Münster
On Wed, May 20 2020, Hans Hagen wrote: >> [offset=\getdocumentargumentdefault{paperformat_to}{0pt}] > > shouldn't that one then become > > \setuppaper > [offset=\getdocumentargumentdefault{paperformat_print}{0pt}] Yes, I guess. >> With LMTX, --extra=select is not working at all. I get

[NTG-context] paperformat=landscape not working

2020-05-20 Thread Peter Münster
Hi, When the PDF-document is in landscape format, this does not work: context --extra=select --selection=X --paperformat=A4,landscape*A4,landscape file.pdf This patch helps: --- mtx-context-select.tex~ 2020-05-20 10:28:42.702314061 +0200 +++ mtx-context-select.tex 2020-05-20

[NTG-context] \setbreakpoints[compound] and numbers

2020-05-19 Thread Peter Münster
Hi, How could I get breaking lines with numbers please? Example: \setbreakpoints[compound] \setuplayout[width=1mm] \starttext xxx/xxx % line break is ok here xx1/xxx % I would like a linebreak here too \stoptext TIA for any help, -- Peter

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

2019-08-23 Thread Peter Münster
On Fri, Aug 23 2019, Denis Maier wrote: > Or is a makefile better suited for this? Probably yes. Example is here: https://wiki.contextgarden.net/Catalogue_raisonné -- Peter ___ If your question is of

Re: [NTG-context] \startcolumns and multi-line footnotes

2019-06-08 Thread Peter Münster
On Wed, Jan 16 2019, Taco Hoekwater wrote: > Which is a tad annoying, Indeed. Any news about this issue? To what version should I downgrade to get multi-line footnotes in columns please? TIA for any help, -- Peter

Re: [NTG-context] t-downsample.lua

2019-02-24 Thread Peter Münster
On Sun, Feb 17 2019, Hans Hagen wrote: >> +if width then >> +hash = hash .. "[w:" .. width .. "]" >> +end >> +if height then >> +hash = hash .. "[h:" .. height .. "]" >> +end >> > hm that needs

Re: [NTG-context] When newsizing an external figure bei [width=], what will be its height in pt and viceversa?

2019-02-22 Thread Peter Münster
On Fri, Feb 22 2019, Rudolf Bahr wrote: > The picture sizes in px One gets by invoking for instance graphics Magick's > identify > in a lua program: Or just img.scan(): \startluacode local image = img.scan{filename = "my-image.jpg"} logs.report("xsize", image.xsize) logs.report("ysize",

Re: [NTG-context] degrade module

2019-02-19 Thread Peter Münster
On Mon, Feb 18 2019, Alan Braslau wrote: > manipulating them on the fly as one changes layout or image placement > hardly seems efficient, Our use cases are perhaps different: in my case, manipulating them on the fly automatically is *very* efficient. > even if one were to be clever in storing

Re: [NTG-context] degrade module

2019-02-18 Thread Peter Münster
On Mon, Feb 18 2019, Alan Braslau wrote: > Incorrect, an image file contains width and height (in pixels) as well as a > resolution, Optionally a resolution in the metadata. Then, of course, you have a "natural size". But that doesn't matter, if you want other dimensions. -- Peter

Re: [NTG-context] degrade module

2019-02-18 Thread Peter Münster
On Mon, Feb 18 2019, Alan Braslau wrote: > My working solution is to put figures in subdirectories by resolution, The purpose of the downsample module is something else: a well defined resolution of the image in the PDF-file. A bitmap image does not have a resolution, only a width and a height

Re: [NTG-context] degrade module

2019-02-18 Thread Peter Münster
On Mon, Feb 18 2019, Marco Patzer wrote: > assumed there is a better solution. I guess, that Hans will tell us, if there is. And in the meantime, it can be distributed IMO. -- Peter ___ If your question

Re: [NTG-context] degrade module

2019-02-17 Thread Peter Münster
On Fri, Feb 15 2019, Marco Patzer wrote: > - It's 99% Peter's code, he's the maintainer of the module and > probably he should just fix his code. Done. > - My modification contains an ugly hack that just renames all files > to pdf, regardless of the actual file type because I have no clue

Re: [NTG-context] t-downsample.lua

2019-02-17 Thread Peter Münster
On Sun, Feb 17 2019, Peter Münster wrote: > Later, I'll upload it to modules.contextgarden.net. Ok, done. -- Peter ___ If your question is of interest to others as well, please add an entry to the W

[NTG-context] t-downsample.lua

2019-02-17 Thread Peter Münster
Hi, Please find attached a new version of the module, with some ideas from Marco. Later, I'll upload it to modules.contextgarden.net. Here a usage example: \usemodule[downsample] \setupexternalfigures[ location=default, % find hacker.jpg and mill.png cache=/tmp,%

Re: [NTG-context] degrade module

2019-02-14 Thread Peter Münster
On Thu, Feb 14 2019, Wolfgang Schuster wrote: > Take a look at section 3.2 of the workflows [1] document. > > [1] http://www.pragma-ade.nl/general/manuals/workflows-mkiv.pdf Sorry, I don't understand. How will the "convert" command "convert -geometry %nx%x%ny% -compress JPEG ..." ever know, that

Re: [NTG-context] degrade module

2019-02-14 Thread Peter Münster
On Thu, Feb 14 2019, Marco Patzer wrote: > Apparently it's not on the wiki It's here: https://modules.contextgarden.net/dl/grph-downsample.lua-1.001.zip -- Peter ___ If your question is of interest to

Re: [NTG-context] degrade module

2019-02-14 Thread Peter Münster
On Thu, Feb 14 2019, Lutz Haseloff wrote: > I wanted to use the degrade module with recent ConTeXt and LuaTeX. Hi Lutz, Could you please check, if the module grph-downsample.lua could fit your needs? > The minimal example from the degrade manual gives an error. > See the attached log. > Is

Re: [NTG-context] Invoice Forms

2018-06-14 Thread Peter Münster
On Wed, Jun 13 2018, jdh wrote: > Is there a source of context document forms for invoices, (and other > documents), that have been contributed for open modifications and use? If not > it would be very beneficial to people to have such a depository. Please let me > know. These pages can help

Re: [NTG-context] Feature request: \digits command

2018-04-29 Thread Peter Münster
On Wed, Jun 25 2008, Flavien Lambert wrote: > did not found a way to cut a number by group of three digits like the > numprint command, e.g. 100 becomes 1 000 000. With the digits > option 3, dots become thinmuskips. I would like to do something > similar but automatically for groups of three

Re: [NTG-context] path for luatex cache

2018-04-25 Thread Peter Münster
On Wed, Apr 25 2018, Hans Hagen wrote: > the cache is created in the first writeable path found Ah, thanks! I had /opt/context/tex/texmf-cache/luatex-cache writeable, but even /opt/context/tex/texmf-cache must be writeable, then it works. -- Peter

[NTG-context] path for luatex cache

2018-04-25 Thread Peter Münster
Hi, What should I do please, to prevent ConTeXt from creating $HOME/luatex-cache? I tried: - TEXMFCACHE=/opt/context/tex/texmf-cache - TEXMFVAR=/opt/context/tex/texmf-cache - LUATEX_CACHE=/opt/context/tex/texmf-cache/luatex-cache but without success... TIA for any help, -- Peter

Re: [NTG-context] External graphics directory

2017-10-23 Thread Peter Münster
On Thu, Oct 19 2017, N. Raghavendra wrote: > Is it possible to specify an external graphics directory either as an > environment variable, or as a command line option to `context', instead > of writing `\setupexternalfigures [directory=../../foo]'? Yes. Command: "context

Re: [NTG-context] avoid space after title

2017-08-16 Thread Peter Münster
On Wed, Aug 16 2017, Henning Hraban Ramm wrote: >> I’d like to get rid of the blank line after section titles in grid mode. How? >> >> \setuplayout[grid=yes,] >> \setuphead[section][page=no,before={},after={}] Sorry, no real solution, just a workaround:

Re: [NTG-context] How can I add “page # of ##” on my document ?

2017-08-11 Thread Peter Münster
On Thu, Aug 10 2017, Aditya Mahajan wrote: > You need to remove the --once call from the context call. (Not sure > how to do this in Emacs) You run the command "ConTeXt Full" instead of "ConTeXt". -- Peter

Re: [NTG-context] Wrtiting in two languages

2016-11-18 Thread Peter Münster
On Fri, Nov 18 2016, Jean-Pierre Delange wrote: > There is somehow a problem with a dorecurse command setting up on '1000' ! It was just to show, that there is no page break... > If I remember well, Ursula was in a want of a trick which allow to print > Greek/German parallel text only time to

Re: [NTG-context] Wrtiting in two languages

2016-11-15 Thread Peter Münster
On Tue, Nov 15 2016, Jean-Pierre Delange wrote: > The best way is to use the TwoColumns command When the text spans several pages, there is a problem: \defineparagraphs[TwoColumns][n=2] \setupparagraphs[TwoColumns][1][width=250pt, style=italic, align=left] \starttext \startTwoColumns

Re: [NTG-context] Wrtiting in two languages

2016-11-14 Thread Peter Münster
On Mon, Nov 14 2016, Ursula Hermann wrote: > If i write a text in acient greek and in german side by side, how can > I do this? Hi, This can help perhaps: http://wiki.contextgarden.net/Catalogue_raisonné -- Peter

Re: [NTG-context] Emacs24 + AucTeX + ConTeXt

2016-10-31 Thread Peter Münster
On Mon, Oct 31 2016, Fabrice Couvreur wrote: > how to add the option -- purgeall ? (setq ConTeXt-mode-hook (lambda () (setq TeX-command-extra-options "--purgeall"))) -- Peter ___ If your question

Re: [NTG-context] Emacs24 + AucTeX + ConTeXt

2016-10-31 Thread Peter Münster
On Mon, Oct 31 2016, Fabrice Couvreur wrote: > /home/fab/context/tex/texmf-linux-64/bin/context:... Please replace this with /home/fab/context/tex/texmf-linux-64/bin:... -- Peter ___ If your question is

Re: [NTG-context] Emacs24 + AucTeX + ConTeXt

2016-10-31 Thread Peter Münster
On Mon, Oct 31 2016, Fabrice Couvreur wrote: > it's always texlive context and not standalone. What is the output of M-x getenv RET PATH RET ? -- Peter ___ If your question is of interest to others as

Re: [NTG-context] Emacs24 + AucTeX + ConTeXt

2016-10-30 Thread Peter Münster
On Sun, Oct 30 2016, Fabrice Couvreur wrote: > (setenv „PATH" „/home/fab/tex/texmf-linux-64/bin/:$PATH" t) > > I do not understand this symbol „ and how to access You should replace „ with ". -- Peter

Re: [NTG-context] underscore added by xtable

2016-09-08 Thread Peter Münster
On Thu, Sep 08 2016, Wolfgang Schuster wrote: > \blank[fixed,depth] Thanks, it works even in my original document! (Beforehand I'd tried combinations of line, nowhite, none..., but without success...) Does it mean, that \crlf is deprecated and should always be replaced by \blank[...] ? Or is

Re: [NTG-context] underscore added by xtable

2016-09-08 Thread Peter Münster
On Thu, Sep 08 2016, Wolfgang Schuster wrote: > bla bla\blank[depth] I'm really really sorry, Wolfgang, but the result is not the same, when the white-space needs stretching: --8<---cut here---start->8--- \setupalign[height] \setupwhitespace[0.5ex plus 0.2ex]

Re: [NTG-context] underscore added by xtable

2016-09-08 Thread Peter Münster
On Thu, Sep 08 2016, Wolfgang Schuster wrote: > bla bla\blank[nowhite] > bla bla Sorry, but the result is still not the same: --8<---cut here---start->8--- \setupwhitespace[1ex] \starttext bla bla:\crlf \startxtable \startxrow \startxcell bla \stopxcell

Re: [NTG-context] underscore added by xtable

2016-09-08 Thread Peter Münster
On Thu, Sep 08 2016, Wolfgang Schuster wrote: > bla bla:\crlf > > Use \par or add a empty line between the text and the table. With whitespace, the result is not the same: --8<---cut here---start->8--- \setupwhitespace[1ex] \starttext bla bla\crlf bla

[NTG-context] underscore added by xtable

2016-09-08 Thread Peter Münster
Hi, Just after the table, there is an unwanted underscore: --8<---cut here---start->8--- \starttext bla bla:\crlf \startxtable[split=yes] \startxrow \startxcell bla \stopxcell \stopxrow \stopxtable \stoptext --8<---cut

Re: [NTG-context] url with umlaut

2016-07-15 Thread Peter Münster
On Fri, Jul 15 2016, Alan Bowen wrote: > The following link > > \goto{http://brunelleschi.imss.fi.it/galileopalazzostrozzi/object/RegiomontanusJohannesMullerVonKönigsbergAstrolabe.html}[url >

Re: [NTG-context] Problem with urls

2016-05-14 Thread Peter Münster
On Sat, May 14 2016, Pablo Rodriguez wrote: > the coma is the problematic character in url: > > \setupinteraction[state=start] > \starttext > \goto{http://a,b.c}[url(http://a,b.c)] > \stoptext > > I’m afraid this might be a bug. Workaround: url(http://a\letterpercent2Cb.c) --

[NTG-context] Why does 0.0001pt make such a big difference?

2016-03-24 Thread Peter Münster
Hi, Please compare \setupwhitespace[0.0001pt plus 2ex] with \setupwhitespace[0pt plus 2ex] here: \showframe \setuphead[section][style={\switchtobodyfont[72pt]}] \setupalign[height] \setupwhitespace[0.0001pt plus 2ex] % desired result %\setupwhitespace[0pt plus 2ex] % "plus 2ex" is unused

[NTG-context] item list: indent only first 2 or 3 lines

2016-03-16 Thread Peter Münster
Hi, I would like to produce an item list like this: - bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla blaaa bla bla bla bla bla bla bla bla bla

Re: [NTG-context] Unexpected float numbering in unnumbered subsubsection

2015-12-16 Thread Peter Münster
On Wed, Dec 16 2015, Sytse Knypstra wrote: > The first link on http://wiki.contextgarden.net/Test_suite gives: > "The requested URL /gf/project/contexttest/ was not found on this server." Fixed. -- Peter

Re: [NTG-context] Unexpected float numbering in unnumbered subsubsection

2015-12-15 Thread Peter Münster
On Tue, Dec 15 2015, Sytse Knypstra wrote: > 'way= bychapter' Better: 'way=bychapter' > P.S. I couldn't find the test suite. http://bfy.tw/3IIV ;) -- Peter ___ If your question is of interest to

Re: [NTG-context] location of old ConTeXt versions?

2015-11-10 Thread Peter Münster
On Tue, Nov 10 2015, Sanjoy Mahajan wrote: > Could you point me to a linux/64-bit minimal for 2014.05.17? I'll > update the wiki accordingly. I have context-2014.03.25-16:58 and context-2014.06.22-19:58. If you want, I can prepare 1 or 2 tar-files (or zip) for you. -- Peter

Re: [NTG-context] Question on typesetting paragraphs with non rectangle shape

2015-10-22 Thread Peter Münster
On Tue, Oct 20 2015, Joseph Canedo wrote: > I am quite new to ConTeXt and I wished to know if it was possible to easily > typeset paragraphs with non rectangle shape. More specifically I’d > like to make a paragraph which ends with a tailpiece, ie finishes like a > triangle (the text width

Re: [NTG-context] No space after a closing delimiter

2015-08-27 Thread Peter Münster
On Thu, Aug 27 2015, Fabrice Couvreur wrote: I did not know it because, before migrating to context, I used latex with this : \newcommand{\repere}{$\bigl(O\,;I,J\bigr)$. In LaTeX there is no space neither: --8---cut here---start-8---

Re: [NTG-context] Bad PDF to text crawlers

2015-08-19 Thread Peter Münster
On Wed, Aug 19 2015, Kip Warner wrote: I was thinking that there must be some way of tricking these bots, depending on how they are implemented, and let's assume they will always find the PDF, to get them to extract only a small invisible layer that just contains some hidden text directing

Re: [NTG-context] external figure sizing

2015-05-09 Thread Peter Münster
On Sat, May 09 2015, Csikos Bela wrote: \placefigure, \externalfigure and combinations. The images should be scaled to the same size, eg to .25\textwith and .3\textheight so that the aspect ratios of the images are kept and the appropriate value is used for width or height. What is the

Re: [NTG-context] shrink JPGs to some resolution (dpi) ?

2015-03-10 Thread Peter Münster
On Mon, Mar 09 2015, Harald Koenig wrote: is it possible that context (lua?) will shrink all \externalfigure jpegs automatically to some specified dpi resolution and quality (e.g. 300 dpi with 95% jpeg 'quality' for print and 100 dpi and 75% for screen quality) ? Hi, Does this work:

Re: [NTG-context] shrink JPGs to some resolution (dpi) ?

2015-03-10 Thread Peter Münster
On Tue, Mar 10 2015, Harald Koenig wrote: but how do I use it ? - Copy grph-downsample.lua to .../context/tex/texmf-local/tex/context/third/grph-downsample/grph-downsample.lua - context --generate - Copy hacker.jpg to your directory. - Write this to test.tex: --8---cut

Re: [NTG-context] context - docx ??

2015-01-14 Thread Peter Münster
On Wed, Jan 14 2015, Idris Samawi Hamid ادريس سماوي حامد wrote: 3. My assumption is this: If I can get the xml/xhtml file looking right in the browser, I should be able to build a working docx file via pandoc. Can't Office-Word load html and save it as docx? -- Peter

Re: [NTG-context] expand date from CSV file

2014-12-18 Thread Peter Münster
On Thu, Dec 18 2014, Jaroslav Hajtmar wrote: if (year2000) then year=year+2000 end; Hi, What about Test;11/11/1999 ... ;-) -- Peter ___ If your question is of interest to others as well, please add

Re: [NTG-context] pagefigure cow

2014-12-10 Thread Peter Münster
On Wed, Dec 10 2014, Procházka Lukáš Ing. - Pontex s. r. o. wrote: the following code doesn't find cow image with the latest beta; what am I doing wrong? local C = context C.setupexternalfigure{location = default} -- Peter

Re: [NTG-context] equivalent to \newcommand{...}{\ensuremath{...}}

2014-12-09 Thread Peter Münster
On Tue, Dec 09 2014, Aditya Mahajan wrote: \definesynonyms[mathnotation][mathnotations][\infull] Perhaps better: \inFull ;) -- Peter ___ If your question is of interest to others as well, please add an

Re: [NTG-context] \Words and uppercase letters

2014-12-03 Thread Peter Münster
On Wed, Dec 03 2014, Pablo Rodriguez wrote: I thought \Words{A} would do the same for the characters others than the first one in each word. \def\myWords#1{\Words{\lowercase{#1}}} \starttext \myWords{A CCC} \stoptext -- Peter

[NTG-context] advanced documents (was: \resetsetups)

2014-08-14 Thread Peter Münster
On Thu, Aug 14 2014, Aditya Mahajan wrote: Please add the relavant information to the wiki, and then one will be able to find them in the advanced documents :-) You can also send patches for the ConTeXt Manual: https://foundry.supelec.fr/svn/contextman/context-reference/ -- Peter

Re: [NTG-context] Which Image quality should I use ?

2014-07-15 Thread Peter Münster
On Sun, Jul 13 2014, Pol Stra wrote: I can be done automatically for example by using this module: http://modules.contextgarden.net/grph-downsample Thank you, it looks interesting. Is there a documentation somewhere or could you provide an example about how to use it ? Hi, Here an

Re: [NTG-context] Which Image quality should I use ?

2014-07-12 Thread Peter Münster
On Sat, Jul 12 2014, Pol Stra wrote: I think I should do something like: `convert -density 300 input.png -resize AAAxBBB output.png` but I don't know if it’s the good way to do it Hi, I can be done automatically for example by using this module:

[NTG-context] problem with cow-font

2014-06-29 Thread Peter Münster
Hi, When I try to use the cow-font, the latest beta exits with an error: mtx-context | fatal error: no return code, message: luatex: execution interrupted No problem with context-2014.03.25-16:58. Test file: \setupbodyfont[cow] \starttext test \stoptext -- Peter

Re: [NTG-context] Configure AUCTeX to run context not texec

2014-06-27 Thread Peter Münster
On Fri, Jun 27 2014, Gour wrote: What is the recommnded way to configure one's preferred viewer in AUCTeX to by used when processing ConTeXt files? I don't know what is recommended, but this works for me: (setq-default TeX-PDF-mode t TeX-default-mode

[NTG-context] letter-module: the first letter is lost

2014-06-24 Thread Peter Münster
Hi, With latest context, the T is lost: \usemodule[letter] \starttext \startletter This is a letter. \stopletter \startletter TThis is a workaround. \stopletter \stoptext -- Peter ___ If your question is

Re: [NTG-context] Problem in natural tables with nc= and alignmentcharacter

2014-06-23 Thread Peter Münster
On Mon, Jun 23 2014, Rik Kabel wrote: With the following example, the first two columns overlap. No solution, just a smaller MWE: \starttext \setupTABLE[c][3][aligncharacter=yes] \setupTABLE[height=2cm] \bTABLE \bTR \bTD A \eTD \bTD[nc=2] A \eTD \eTR \bTR \bTD A

Re: [NTG-context] Problem in natural tables with nc= and alignmentcharacter

2014-06-23 Thread Peter Münster
On Mon, Jun 23 2014, Peter Münster wrote: No solution, just a smaller MWE: Yet smaller, but I don't know, if it's still the same problem: \starttext \bTABLE \bTR \bTD A x \eTD \bTD[nc=2] A \eTD \eTR \eTABLE \stoptext -- Peter

Re: [NTG-context] [+-OT] reducing pdf file

2014-06-05 Thread Peter Münster
On Thu, Jun 05 2014, Andrea Valle wrote: The problem lies in its size: 220 Mb. Could anyone provide a method (if any) for reducing the size? You could convert it to JPEG at the resolution that you need. -- Peter

Re: [NTG-context] Deleting The Blank Before Chapter Titles

2014-04-20 Thread Peter Münster
On Sun, Apr 20 2014, joasyann...@gmail.com wrote: However, I cannot delete the blank before the printing of chapter titles. Do you mean the blank page before the title? Do you want this: \setuphead[chapter][page=no, before=] \starttext text \chapter{Chapter title} \stoptext ? --

[NTG-context] typewriter style with Constantia

2014-03-27 Thread Peter Münster
Hi, With the following setup and ConTeXt version 2014.02.14 I got typewriter style: --8---cut here---start-8--- \definefontfamily[constantia][sans][Constantia] \setupbodyfont[constantia] \starttext normal and \type{mono} \stoptext --8---cut

Re: [NTG-context] Too much space between the text and the beginning of the paragraph with the command \defineenumeration

2014-02-25 Thread Peter Münster
On Tue, Feb 25 2014, Fabrice Couvreur wrote: I find that there is too much space between the text and the beginning of the paragraph. \defineenumeration[ex] [text={\sc\bf Exercice}, location=left, stopper={\bf.}] stopper={\bf.}, inbetween=] For example, I use the \topset with LuaLaTeX

[NTG-context] reference to structureuservariable

2014-01-20 Thread Peter Münster
Hi, How can I read a structureuservariable at the end of the section, when there are subsections? Example: --8---cut here---start-8--- \starttext \startsection[title=sec][foo=bar] % \edef\myFoo{\structureuservariable{foo}} % workaround

Re: [NTG-context] apply typing environment to \typebuffer

2014-01-15 Thread Peter Münster
On Wed, Jan 15 2014, Pablo Rodriguez wrote: \definetyping[buffer][option=TEX,before=\startframedtext,after=\stopframedtext] \setuptyping[buffer][style=\tt\setupinterlinespace,align={right,broad}] Why \definetyping[buffer] ? \typebuffer is already defined. Shouldn't it be:

[NTG-context] invoices: make module or wikify

2014-01-13 Thread Peter Münster
Hi, I'm writing my invoices like this: \environment e-invoice \beginInvoice \startInvItem[amount=123] bla bla 1 \stopInvItem \startInvItem[amount=456] bla bla 2 \stopInvItem \endInvoice If anybody is interested (e.g. for using it, making a module or wikifying), then I can send my files (no time

Re: [NTG-context] ConTeXt with Emacs

2014-01-10 Thread Peter Münster
On Fri, Jan 10 2014, Fabrice Couvreur wrote: %%% Local Variables: %%% Mode: LaTeX %%% LaTeX-command LuaLaTeX-shell-escape %%% End: %%% Local Variables: %%% Mode: context %%% End: For using context instead of texexec, put this in your init-file: (eval-after-load 'tex '(add-to-list

Re: [NTG-context] ConTeXt with Emacs

2014-01-10 Thread Peter Münster
On Fri, Jan 10 2014, Fabrice Couvreur wrote: Only a second C-c C-c does not allow me to have 'Command : (default View)'. How ? http://www.ntg.nl/pipermail/ntg-context/2013/075877.html -- Peter ___ If

Re: [NTG-context] ConTeXt with Emacs

2014-01-10 Thread Peter Münster
On Sat, Jan 11 2014, Fabrice Couvreur wrote: Sorry Peter, but I do not understand what you mean by So just pressing up. (savehist-mode 1) is your friend ... ;) -- Peter ___ If your question is of

Re: [NTG-context] Avoid system fonts

2014-01-03 Thread Peter Münster
On Fri, Jan 03 2014, Jörg Hagmann wrote: I created a directory ~/context/beta/empty I put into .profile OSFONTDIR=Users/bonasa/context/beta/empty Perhaps better: export OSFONTDIR=/Users/bonasa/context/beta/empty (I don't know Mac...) -- Peter

Re: [NTG-context] Understanding the basics of \define

2013-12-10 Thread Peter Münster
On Tue, Dec 10 2013, Wolfgang Schuster wrote: One way to set values is the \getparameters command but the disadvantage of this is that you to ensure not to call values (e.g. \testthree) which aren’t set (e.g. not “three={…}” setting for the \test command). You can preset the values:

Re: [NTG-context] Configure AUCTeX to run context not texec

2013-11-11 Thread Peter Münster
On Mon, Nov 11 2013, Jean Magnan de Bornier wrote: Here is my complete customization regarding ConTeXt: [...] context %s TeX-run-command nil t :help Run context (MarkIV)) (TeX You use TeX-run-command instead of TeX-run-TeX. Thus you're not able to handle errors the usual way. --

Re: [NTG-context] Configure AUCTeX to run context not texec

2013-11-10 Thread Peter Münster
On Sat, Nov 09 2013, Jean Magnan de Bornier wrote: emacs 24.3.1 ubuntu context minimal many versions (I update about once a week) auctex 11.87.2 (installed via elpa and frequently updated) Strange. I use also the latest versions, but I observe the same behaviour as the OP... --

Re: [NTG-context] Configure AUCTeX to run context not texec

2013-11-09 Thread Peter Münster
On Sat, Nov 09 2013, Jean Magnan de Bornier wrote: This problem does not appear on my machine where instead of context --nonstopmode %t I wrote PATH=~/context/tex/texmf-linux/bin:$PATH context %s Interesting. What's your ConTeXt version, AUCTeX version and Emacs version? --

[NTG-context] Argument of \startInvoice has an extra }.

2013-11-09 Thread Peter Münster
Hi, How could I avoid that error here please: --8---cut here---start-8--- \def\beginInvoice{\dosingleempty\dobeginInvoice} \def\dobeginInvoice[#1]{\grabbufferdata[myLetter][beginInvoice][endInvoice]} \def\startInvoice#1\stopInvoice{bla} \starttext

Re: [NTG-context] Argument of \startInvoice has an extra }.

2013-11-09 Thread Peter Münster
On Sat, Nov 09 2013, Aditya Mahajan wrote: One possibility is to restrict optional arguments to one line: \def\beginInvoice{\bgroup\obeylines\dosingleempty\dobeginInvoice} \def\dobeginInvoice[#1]{\egroup\grabbufferdata[myLetter][beginInvoice][endInvoice]} Thanks. How did you find the reason

Re: [NTG-context] tnum and aligncharacter=yes

2013-11-08 Thread Peter Münster
On Fri, Nov 08 2013, Hans Hagen wrote: i now changed the place where the align kicks in, which of course will have other side effects (one being less robust) Hi Hans, Thanks for your efforts, the alignment works now as expected! You're right, there are side effects, the first digits are

Re: [NTG-context] Configure AUCTeX to run context not texec

2013-11-08 Thread Peter Münster
On Fri, Nov 08 2013, Michael Ash wrote: Does anyone know how to change the command from texexec to context in emacs/AUCTeX? I have this in my emacs init file: --8---cut here---start-8--- (eval-after-load 'tex '(add-to-list 'TeX-command-list

Re: [NTG-context] Configure AUCTeX to run context not texec

2013-11-08 Thread Peter Münster
On Fri, Nov 08 2013, Michael Ash wrote: This fix is imperfect because even though context runs properly, AUCTeX reports ConTeXt: problems after [0] pages It's on my todo-list to fix it, but at very low priority. In this case problems after [0] pages just means success, so it's only a cosmetic

Re: [NTG-context] tnum and aligncharacter=yes

2013-11-06 Thread Peter Münster
On Wed, Nov 06 2013, Hans Hagen wrote: One year ago we used a different method (less robust). The current mechanism assumes equal width digits but nevertheless forces [tnum=yes,lnum=no] so if you get weird widths it's a font issue and you nee to make sure that somehow you force it to use

Re: [NTG-context] tnum and aligncharacter=yes

2013-11-05 Thread Peter Münster
On Tue, Nov 05 2013, Hans Hagen wrote: That was already solved a while ago, driven by: % \enabletrackers[typesetters.characteralign.autofont] which is enabled by default. It's about the most I can do about it. Hi Hans, I'm sure, that you can do much better, because there was no such

Re: [NTG-context] reference error

2013-11-04 Thread Peter Münster
On Sun, Nov 03 2013, Wolfgang Werners-Lucchini wrote: \in{Kapitel}[chap:vorwort with space at the end ], \in{Kapitel}[chap:vorwort2 with space at the end ], \in{Kapitel}[chap:vorwort3 with space at the end ], \in{Kapitel}[chap:vorwort without space at the end] and \in{Kapitel}[chap:vorwort2

Re: [NTG-context] tnum and aligncharacter=yes

2013-11-04 Thread Peter Münster
Hi Hans, Any news about this issue? Can it be solved? Should I add it to the tracker? TIA for any hints, -- Peter ___ If your question is of interest to others as well, please add an entry to the Wiki!

Re: [NTG-context] reference error

2013-11-03 Thread Peter Münster
On Sun, Nov 03 2013, Wolfgang Werners-Lucchini wrote: Puuh! If the parser of this reference strings allows spaces, why doesn't work 'reference={chap:neu}'? \starttext \startchapter [ title=Vorwort, reference=chap:vorwort with space at the end ] \stopchapter \startchapter [ title=Vorwort,

Re: [NTG-context] \definetype[xxx][linebreaks=yes, breakpoints=name]

2013-10-29 Thread Peter Münster
Hello Hans, Is it also possible, to break inside the \type{} only at well defined characters and without hyphenation? Example: --8---cut here---start-8--- \definebreakpoint[compound][_] \setuplayout[width=25mm] \startsetups Test \setbreakpoints[compound]

Re: [NTG-context] Setting structureuservariable

2013-10-21 Thread Peter Münster
On Mon, Jan 16 2012, Hans Hagen wrote: 2. Is there a way to provide a default value for a structureuservariable? I'd like to set a reference number based on a global counter if the user doesn't supply their own. Currently not ... but I can add it. Have you added it? If yes, how can we use

[NTG-context] tnum and aligncharacter=yes

2013-10-21 Thread Peter Münster
Hi, aligncharacter=yes does not work with \addfeature[with-tnum]: --8---cut here---start-8--- \definefontfeature[with-tnum][default][tnum=yes] \definefontfamily[mainface][sans][Alwyn New] \setupbodyfont[mainface] \setupTABLE[alignmentcharacter=.,

Re: [NTG-context] total number of sections

2013-10-21 Thread Peter Münster
On Thu, Oct 17 2013, Hans Hagen wrote: \determinelistcharacteristics[section][criterium=text] \ifnum\structurelistsize=1 ... \fi Thanks. Now I've found another example on the mailing list: \determinelistcharacteristics[section][criterium=all] number of sections: \utilitylistlength That works

Re: [NTG-context] tnum and aligncharacter=yes

2013-10-21 Thread Peter Münster
On Mon, Oct 21 2013, Hans Hagen wrote: How could I solve this problem please? \definefontfeature[oldstylenumbers][onum=yes] \definefontfeature[inlinenumbers] [lnum=yes,tnum=no] \definefontfeature[tabularnumbers] [tnum=yes,lnum=no] \definefontfamily[mainface][sans][Constantia]

Re: [NTG-context] open quotation not working

2013-10-21 Thread Peter Münster
On Mon, Oct 21 2013, john Culleton wrote: Not every change is an improvement, IMO. On Sat, Jul 27 2013, Mojca Miklavec wrote: On the other hand many languages use different quotation marks and using ``these'' is completely americanocentric. On top, auto-replacement lead to inability to

Re: [NTG-context] tnum and aligncharacter=yes

2013-10-21 Thread Peter Münster
On Tue, Oct 22 2013, Hans Hagen wrote: this is what i get Ok, but you use LM instead of Constantia... pdffonts oeps.pdf : name type encoding emb sub uni object ID - ---

Re: [NTG-context] Math in current beta

2013-10-08 Thread Peter Münster
On Tue, Oct 08 2013, Alan BRASLAU wrote: Math seems terribly broken in current beta. Minimal example: anything... :) Works for me: \starttext $a = b$ \stoptext mtx-context | current version: 2013.10.08 21:49 -- Peter

Re: [NTG-context] \definetype[xxx][linebreaks=yes, breakpoints=name]

2013-10-07 Thread Peter Münster
On Mon, Oct 07 2013, Hans Hagen wrote: If not, here my feature request: something like \definetype[xxx][linebreaks=yes, breakpoints=compound] this should be redefined: \unexpanded\def\specialstretchedspace{\hskip.5\interwordspace\s!plus.125\interwordspace\relax} Hi Hans, Unfortunately it

Re: [NTG-context] image vertical positioning in xtable

2013-10-06 Thread Peter Münster
On Sun, Oct 06 2013, Pablo Rodríguez wrote: I have the following sample that places the image below the text in the same cell: \startxcell image \externalfigure[cow.pdf][height=.5em] \stopxcell Perhaps a bug? --8---cut

[NTG-context] scope and grouping in flowchart

2013-10-06 Thread Peter Münster
Hi, Why is the \getvariable not in the same grouping level as the \setvariables here: --8---cut here---start-8--- \usemodule[chart] \startFLOWchart[test] \startFLOWcell \setvariables[test][test=test] \text{\getvariable{test}{test}} % no text!

[NTG-context] \definetype[xxx][linebreaks=yes, breakpoints=name]

2013-10-06 Thread Peter Münster
Hi, Is it already possible to define a new \type{} command that allows linebreaks and perhaps also a breakpoint set? If not, here my feature request: something like \definetype[xxx][linebreaks=yes, breakpoints=compound] TIA, -- Peter

  1   2   3   4   5   6   7   8   9   10   >