[NTG-context] Re: Downsampling images (again)

2024-09-22 Thread Peter Münster
On Sat, Sep 21 2024, Henning Hraban Ramm wrote: > How can a converter function access … > – the final (scaled) size of a placed image Hi, I use "figures.current().request" in my module (here attached). > – the original pixel size of an image ? I use img.scan() for that. HTH, -- P

[NTG-context] Re: Emacs and spell check

2024-07-24 Thread Peter Münster
On Thu, Jul 25 2024, Shiv Shankar Dayal wrote: > Can you please share your Emacs config for this? Hi, I use hunspell. Works very nicely: (setq-default ispell-program-name "hunspell") -- Peter ___ If you

[NTG-context] Re: context / auctex problem?

2024-06-17 Thread Peter Münster
On Mon, Jun 17 2024, Joaquín Ataz López wrote: > The standard AucTeX configuration does not allow to compile with the > latest version of LMTX. Hi, What is the issue please? (I’m using the latest ConTeXt and the latest AucTeX and don’t have any problem.) TIA, -- Peter _

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

2024-06-07 Thread Peter Münster
On Thu, May 30 2024, Peter Münster wrote: > \mainlanguage[fr] > \setcharacterspacing[frenchpunctuation] > \starttext > bla \quotation{OK} bla\\ > bla «OK» bla > \startquotation > Not Ok: a space is missing > \stopquotation > \stoptext It seems, that this wo

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

2024-06-04 Thread Peter Münster
On Thu, May 30 2024, Peter Münster wrote: > Is this a bug or a feature? And if it’s a bug, will it be fixed? TIA for any hints, -- Peter ___ If your question is of interest to others as well, please

[NTG-context] Re: self defined conversion in \date

2024-05-30 Thread Peter Münster
On Thu, May 30 2024, Wolfgang Schuster wrote: > The \date mechanism can only use conversions which are defined on the Lua side Ok. How please? This does not work: --8<---cut here---start->8--- \startluacode -- from https://wiki.contextgarden.net/Command/defin

[NTG-context] missing space with French quotation

2024-05-30 Thread Peter Münster
Hi, When using \start/stopquotation in French documents, there is a missing space: \mainlanguage[fr] \setcharacterspacing[frenchpunctuation] \starttext bla \quotation{OK} bla\\ bla «OK» bla \startquotation Not Ok: a space is missing \stopquotation \stoptext Is this a bug or a feature? How cou

[NTG-context] self defined conversion in \date

2024-05-30 Thread Peter Münster
Hi, It seems, that you cannot use self defined conversions in \date: \defineconversion[mytest][X-\romannumerals] \starttext Self defined conversion: \convertnumber{mytest}{1} (OK)\\ Predefined conversion in date: \date[d=1][day:a] (OK)\\ Self defined conversion in date: \date[d=1][day:mytest] (no

[NTG-context] bug tracker

2024-05-27 Thread Peter Münster
Hi, Is there a bug tracker for ConTeXt? (It seems, that https://tracker.luatex.org/ is no more used...) TIA for any hints, -- Peter ___ If your question is of interest to others as well, please add an entr

[NTG-context] Re: preventing column break after section title

2024-04-18 Thread Peter Münster
On Thu, Apr 18 2024, Peter Münster wrote: > How could I prevent a column break after the second section title please? Ok, found it: \setupitemize[each][autointro] -- Peter ___ If your question is

[NTG-context] preventing column break after section title

2024-04-18 Thread Peter Münster
Hi, How could I prevent a column break after the second section title please? Minimal example: \starttext \startcolumns[n=2] \section{title 1} \dorecurse{22}{bla\par} \section{title 2} % Here starts a new column. \startitemize \dorecurse{15}{\item bla} \stopitemize \stopcolumns \st

[NTG-context] Re: error with \sc

2024-04-02 Thread Peter Münster
On Tue, Apr 02 2024, Andres Conrado Montoya wrote: > You shouldn't run context as root in any case. I don’t run context as root. But I need to erase the cache in /opt/context/tex/texmf-cache as root, because the user doesn’t have the permission to do that. -- Peter __

[NTG-context] Re: error with \sc

2024-04-02 Thread Peter Münster
On Tue, Apr 02 2024, Pablo Rodriguez via ntg-context wrote: > mtxrun --script cache --erase && mtxrun --generate Thanks. It did not work after doing it as root, but then I saw, that there is also a cache in the user home-directory, so I’ve done it as the user too, and now it works. --

[NTG-context] error with \sc

2024-04-02 Thread Peter Münster
Hi, With ConTeXt version 2024.04.01, the \sc command produces an error: fonts > preloading latin modern fonts (second stage) fonts > 'fallback modern rm 12pt' is loaded pages > flushing realpage 1, userpage 1, subpage 1 close source> level 1, order 3, name './tes

[NTG-context] offset with \copypages

2024-03-21 Thread Peter Münster
Hi, When inserting pages with \copypages, the included pages are slightly shifted to the left and to the bottom. Minimal example: % test-file.tex: \setuplayout[page] \starttext \input tufte \vfill \input tufte \stoptext % test.tex: \starttext \copypages[test-file.pdf] \stoptext How could I avo

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

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

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

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

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 co

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

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 d

[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

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

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, #2)#3{\posit

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

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: /opt/context/tex/texmf-context/tex/context/base/mkiv/mtx-contex

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 wo

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

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

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

[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] \framed[width=5mm

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

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 thi

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

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

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", i

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 in

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 i

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 t

[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,% whe

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 oth

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 the

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 perh

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 --arguments=imagedir=../.

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: \setuphead[section][page=no,before={},aft

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 t

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 \dorecurs

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 is

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 o

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 wel

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 th

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 \sto

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 bla\par

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

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 > (http://brunelleschi.imss.fi.it/galileopalazzostrozzi/object/RegiomontanusJohannesMullerVonKönigsbergAstr

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 \s

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

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 other

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 decre

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--- \newcommand{\repere

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 direct

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 t

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

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

2015-03-09 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: ht

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 (year<2000) then year=year+2000 end; Hi, What about "Test;11/11/1999" ... ;-) -- Peter ___ If your question is of interest to others as well, please

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 _

  1   2   3   4   5   6   7   8   9   10   >