[NTG-context] Re: usage of conversion in \date

2023-12-18 Thread Peter Münster
On Wed, Nov 29 2023, Peter Münster wrote: > According to https://wiki.contextgarden.net/Command/date: > "The name suffixes indicate number conversions. Any conversion, either > built-in or defined by \defineconversion, can be used there." > > But it does not seem to w

[NTG-context] Re: error with definestartstop and startmode

2023-12-17 Thread Peter Münster
On Sat, Dec 16 2023, Hans Hagen via ntg-context wrote: > \usemodule[abbreviations-logos] > \defineblock [H] [before=\startcolor[blue],after=\stopcolor] > \keepblocks[H] Thanks for this solution. Is there also something for inline-mode? Example: test \beginH TEST\endH test TIA, --

[NTG-context] error with definestartstop and startmode

2023-12-16 Thread Peter Münster
Hi, I get an "runaway error" with the following example: --8<---cut here---start->8--- \definestartstop[H][color=blue, before={\startmode[h]}, after={\stopmode}] \starttext test \startH TEST \stopH \stoptext --8<---cut

[NTG-context] Re: usage of conversion in \date

2023-11-29 Thread Peter Münster
On Wed, Nov 29 2023, Hans Hagen wrote: > \setuplanguage[fr][date={day:++,\ ,month,\ ,year}] Unfortunately this does not work as I need. Only the "1" should be converted to 1er, not the other numbers. French is a bit special: You say "le premier novembre" but not "le un novembre". You say "le

[NTG-context] usage of conversion in \date

2023-11-28 Thread Peter Münster
Hi, When printing a date in French, I would like to convert the "1" to "1\ier", but it does not work as I expect: --8<---cut here---start->8--- \startluacode -- from https://wiki.contextgarden.net/Command/defineconversion: interfaces.implement { name

[NTG-context] Re: list of modules: need changes/testing/response

2023-08-30 Thread Peter Münster
On Wed, Aug 30 2023, Henning Hraban Ramm wrote: > If their authors are present, I’d appreciate a comment if we should keep them. Hi Hraban, I don't know. My modules are probably all outdated and don't work with the latest ConTeXt version. On the one hand they are probably no more useful, on the

Re: [NTG-context] English-Vietnamese facing pages

2023-04-03 Thread Peter Münster via ntg-context
On Mon, Apr 03 2023, jbf via ntg-context wrote: > Q 1: Has anybody reading this actually produced a bilingual book (it doesn't > have to be en-vn) with ConTeXt? Hi, Only some pages of a book: https://wiki.contextgarden.net/Catalogue_raisonné HTH, -- Peter

[NTG-context] bold small caps

2023-04-03 Thread Peter Münster via ntg-context
Hi, I'm quite sure, that this worked some time ago with the standard font (LM): \setff{smallcaps} Normal and \bf bold Small Caps. (See also https://wiki.contextgarden.net/Bold_small_caps). But it does not work with the latest ConTeXt version. How could I get bold small caps with the latest

Re: [NTG-context] missing space with French quotation

2022-09-22 Thread Peter Münster via ntg-context
On Thu, Sep 22 2022, Jean-Pierre Delange via ntg-context wrote: > But why use \startquotation when \quotation{something} does the job > just fine? It's not the same: \starttext bla \quotation{quotation} bla \blank[big] bla \startquotation quotation \stopquotation bla \stoptext > I use the

[NTG-context] missing space with French quotation

2022-09-21 Thread Peter Münster via ntg-context
Hi, With the latest ConTeXt version, there is a missing space: \mainlanguage[fr] \setcharacterspacing[frenchpunctuation] \starttext bla \quotation{OK} bla\\ bla «OK» bla \startquotation Here is missing space \stopquotation \stoptext How could I get back the space before "»" please? TIA for

Re: [NTG-context] Typearea module fails with “Missing number”

2022-08-31 Thread Peter Münster via ntg-context
On Mon, Aug 29 2022, Wolfgang Schuster via ntg-context wrote: > remove one pair of curly braces Hi Wolfgang, Thanks. Here a new version: http://pmrb.free.fr/tmp/t-typearea.zip Unfortunately, I can not upload it to modules.contextgarden.net: "Unknown user or bad password!" Taco, what should I

[NTG-context] shapepar for ConTeXt

2022-02-14 Thread Peter Münster via ntg-context
Hi, Is there something like shapepar (LaTeX-package) for ConTeXt? I would like to do the same as "\heartpar{text}" (see http://mirrors.ctan.org/macros/latex/contrib/shapepar/shapepar.pdf page 9) with ConTeXt. TIA for any hints, -- Peter

Re: [NTG-context] Influence location of luametatex-cache

2021-11-29 Thread Peter Münster via ntg-context
On Mon, Nov 29 2021, Marco Patzer via ntg-context wrote: > How to influence the location of the cache directory? Hi, I have the line "export TEXMFCACHE=~/.cache" in my ~/.profile and then context creates the directory ~/.cache/luametatex-cache. Cheers, -- Peter

[NTG-context] compatibility with AucTeX (was: result saved in file: ./file.pdf)

2021-08-16 Thread Peter Münster via ntg-context
On Mon, Aug 16 2021, Peter Münster via ntg-context wrote: > that breaks the error-checker of AucTeX. No, sorry. It's something else, that breaks it: lines, that begin like "4:5: [glue]<1: ...". Such lines look like errors to AucTeX. What does "4:5" mean? Is

[NTG-context] result saved in file: ./file.pdf

2021-08-16 Thread Peter Münster via ntg-context
Hi, The latest version of ConTeXt writes "result saved in file: ./file.pdf" instead of "saved in file: file.pdf", that breaks the error-checker of AucTeX. Is this wanted? Or are you going to change it back to a filename without the "./"? TIA, -- Peter

[NTG-context] missing space after \date[] (was: printing the current date)

2021-03-12 Thread Peter Münster
On Wed, Jan 27 2021, Wolfgang Schuster wrote: > When not all optional arguments are used the space after the last > given argument is gobbled. This was normal behavior for a long time > until you changed the code in MkIV to keep them. Hi, What does that mean? Is that going to be changed? How

Re: [NTG-context] vertical offset with "i" in position-command

2021-02-12 Thread Peter Münster
On Fri, Feb 12 2021, Wolfgang Schuster wrote: > 2. Add \strut, e.g. \position(1, 1){\strut i} Ah, thanks. So the anchor is not the baseline, but the top-left corner of the content. Since "\setuppositioning[before=\strut]" does not work, I use this workaround now: \def\myPosition(#1,

[NTG-context] vertical offset with "i" in position-command

2021-02-12 Thread Peter Münster
Hi, When I want to type an "i" in the position-command, there is some vertical offset: \starttext \startpositioning \position(1, 1){i} \position(2, 1){x} \position(1, 2){x} \position(2, 2){i} \position(1, 3){a} \position(2, 3){x} \position(1, 4){x} \position(2, 4){a} \stoppositioning \stoptext

Re: [NTG-context] printing the current date

2021-01-27 Thread Peter Münster
On Sun, Jan 10 2021, Peter Münster wrote: > \currentdate% same as \date, but I would expect the day of today... Should I fill a bug-report on the tracker? Perhaps also for the missing space after \date[]? TIA, -- Pe

[NTG-context] understanding \startTEXpage

2021-01-27 Thread Peter Münster
Hi, According to https://wiki.contextgarden.net/Command/startTEXpage it "starts a page that fits its contents exactly". But it seems, that part of the content is cropped here: \startTEXpage X \hskip20cm X \stopTEXpage No problem with 10cm instead of 20cm... Is this a bug or expected behaviour?

Re: [NTG-context] --extra=combine no more working

2021-01-27 Thread Peter Münster
On Wed, Jan 27 2021, Hans Hagen wrote: > then it's an invalid pdf ... maybe you can use QPDF to fix those files Yes, indeed, QPDF fixes it. So my old ConTeXt-version is no more needed, thanks! -- Peter

Re: [NTG-context] --extra=combine no more working

2021-01-27 Thread Peter Münster
On Wed, Jan 27 2021, Hans Hagen wrote: > Works here so how do these pdf files look? I've just checked with other PDF-files, and it works ok here too. But unfortunately it does not work with PDF-files from my bank, that I cannot share here. There is no such problem with context-2017.08.29-19:35.

[NTG-context] --extra=combine no more working

2021-01-26 Thread Peter Münster
Hi, The command "context --extra=combine file-1.pdf file-2.pdf" doesn't work any more with the latest version. Here is the output: --8<---cut here---start->8--- mtx-context | processing extra:

Re: [NTG-context] printing the current date

2021-01-10 Thread Peter Münster
On Sun, Jan 10 2021, Fabrice L wrote: > For exemple: > > \date[][weekday,day,month,year] and \currenttime[h,{\,:\,},m] Sorry, I should have mentioned, that I use the latest version: context-2021.01.08 -- Peter

[NTG-context] printing the current date

2021-01-10 Thread Peter Münster
Hi, I would expect, that \currentdate prints the current date, but it does not: --8<---cut here---start->8--- \starttext \date[d=1]% first day of this month, ok \date% again first day, last parameters are used, this is ok \currentdate% same as \date, but I

[NTG-context] space after \date[]

2021-01-08 Thread Peter Münster
Hi, There is no more space after \date[] with the latest version. Is this wanted, or a bug? Example: \starttext \date[d=1] X % no space before "X" \stoptext Kind regards, -- Peter ___ If your question

[NTG-context] cow-font

2020-12-22 Thread Peter Münster
Hi, How could I make use of the cow-font please? I've tried this test-file: --8<---cut here---start->8--- \setupbodyfont[cow] \starttext test \stoptext --8<---cut here---end--->8--- But the page is empty. With version

Re: [NTG-context] specify column-width, with option=stretch

2020-11-05 Thread Peter Münster
On Wed, Nov 04 2020, Peter Münster wrote: > I would like to specify the column-width of the first column to 5mm: > > \starttext > [...] > \stoptext Sorry, that wasn't really a minimal example. Here a better file, to show what I'm looking for: \setupTABLE[textwidth=10cm,

[NTG-context] specify column-width, with option=stretch

2020-11-04 Thread Peter Münster
Hi, I would like to specify the column-width of the first column to 5mm: --8<---cut here---start->8--- \starttext \setupTABLE[textwidth=99mm, option=stretch] \setupTABLE[c][each][align={lohi, middle}] \setupTABLE[c][1][height=5mm, style=\tfxx]

Re: [NTG-context] More table questions

2020-09-22 Thread Peter Münster
On Tue, Sep 22 2020, Aditya Mahajan wrote: > The same effect is rather easy to achieve when using natural tables as > well. But it fails, when there is only one data-row... :( \startsetups booktabs \setupTABLE[each][each][frame=off] \setupTABLE[row][first][topframe=on,rulethickness=1.2bp]

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

  1   2   3   4   5   6   7   8   9   10   >