Re: [NTG-context] Filling a page with \thinrules

2019-12-06 Thread Rik Kabel
/phg/context-mirror/commits/ wiki : http://contextgarden.net ___ It looks like Wolfgang answered this a while back. See Re: [NTG-context] Room for comment on the backside of form <https://www.mail-archive.

Re: [NTG-context] Some questions regarding math typesetting

2019-12-06 Thread Hans Hagen
. Aditya Mahajan mentioned that it is a bug. This one is for Aditya who knows more about these math alignments (needs) than I do. Aditya: when we comment the \aligntab it's ok but i'm hesitant to do that patch ... so do you see bad consequences? \def\math_alignment_NR_indeed[#1][#2

Re: [NTG-context] documenting sources

2019-11-26 Thread Hans Hagen
On 11/26/2019 5:33 PM, Pablo Rodriguez wrote: Dear list, I would like to be abbe to commento some ConTeXt code that we use at work. From what I see in the distribution itself, %D is the way to comment text (and %C the copyright information). Sorry, I don’t even know how to look

[NTG-context] documenting sources

2019-11-26 Thread Pablo Rodriguez
Dear list, I would like to be abbe to commento some ConTeXt code that we use at work. From what I see in the distribution itself, %D is the way to comment text (and %C the copyright information). Sorry, I don’t even know how to look for this (either in the distribution, or in the wiki). I

Re: [NTG-context] PDF layer links

2019-11-13 Thread Pablo Rodriguez
ere you have a minimal sample: \setupinteractionscreen[option=layer] \defineviewerlayer[blue] \starttext \startviewerlayer[blue] %~ Previous comment. \color[blue]{\llap{This is print.}} \stopviewerlayer \stoptext Uncommenting the first line maker everything ok. Co

Re: [NTG-context] ASCII mode within \footnote

2019-11-04 Thread Wolfgang Schuster
. The reason why setting \asciimode in the \footnote doesn't work is that TeX uses uses the meaning of a special character it had when it read the argument, i.e. when TeX reads the text "%APPDATA%\file.txt" the percent sign acts as begin of a comment and everything after it is ignored. A

Re: [NTG-context] ASCII mode within \footnote

2019-11-04 Thread context
't work, you need to understand TeX's "digestive system". \type{...} (and asciimode) work by modifying the catcode tables. However, they are are used inside a footnote, the argument of \footnote is parsed according to the catcode table which is active when footnote is passed. Under the

Re: [NTG-context] ASCII mode within \footnote

2019-11-02 Thread Aditya Mahajan
e used inside a footnote, the argument of \footnote is parsed according to the catcode table which is active when footnote is passed. Under the default catcode table, % is a comment, so when you type: \footnote{\type{*\$% }} the argument of \footnote is `\type{*\$}` So, if you want \footnote

Re: [NTG-context] ASCII mode within \footnote

2019-11-02 Thread context
s "%".) Best regards, Lukas On 2019-11-01 14:36, Hans Hagen wrote: On 11/1/2019 2:23 PM, cont...@vivaldi.net wrote: Hello, the following code doesn't compile: \starttext   \startasciimode %@$\stopasciimode   A   \footnote{\startasciimode %@$\stopasciimode} % <<<&

Re: [NTG-context] ASCII mode within \footnote

2019-11-01 Thread Hans Hagen
On 11/1/2019 2:23 PM, cont...@vivaldi.net wrote: Hello, the following code doesn't compile: \starttext   \startasciimode %@$\stopasciimode   A   \footnote{\startasciimode %@$\stopasciimode} % <<<< Try to comment this \stoptext When the line with \footnote

[NTG-context] ASCII mode within \footnote

2019-11-01 Thread context
Hello, the following code doesn't compile: \starttext \startasciimode %@$\stopasciimode A \footnote{\startasciimode %@$\stopasciimode} % <<<< Try to comment this \stoptext When the line with \footnote is commented, compilation works fine. What's "e

Re: [NTG-context] PDF viewer poll

2019-10-16 Thread context
as AR is; many functions included, restore last view, tabbed env, page thumbs navigator/bookmarks navigator, attachment list, comment list; OCR included; handy designed; (many command line options, e.g.) /open and /close options to be used by 3rd party programs; /printto for batch printing; printing

Re: [NTG-context] \ctxlua and \startluacode ... \stopluacode

2019-10-14 Thread Rudolf Bahr
is always nearly the same: > > > > token call, execute: [ctxlua]:8: "$HOME/context-tests/AAA.lua": No such > > file or directory > > token call, execute: [ctxlua]:8: "$HOME/context-tests/BBB.lua": No such > > file or directory Joseph, Taco and Han

Re: [NTG-context] special book layout problem in ConTeXt

2019-09-21 Thread Nicolas Mondon
line forum or othr hep centers, so I try. Please tell me if I have to write to someone else. This is the right place for your questions. I'd like to edit a thesis (so, as a book), with the text only on even pages, and tables and figure only on odd pages, in front of the paragraph wich comme

[NTG-context] OpenBSD install broken

2019-09-20 Thread Robert Krug
latform = "openbsd6.5-amd64" Maybe something is broken on my system or these last two aren't really needed, but this is what I did, 4) Edit first-setup.sh: To avoid overwriting the files we just edited, comment out line 146: # rsync -rlptv rsync://contextgarden.net/minimals/setup/$platform

Re: [NTG-context] special book layout problem in ConTeXt

2019-09-15 Thread Henning Hraban Ramm
online forum or othr hep centers, so I try. >> Please tell me if I have to write to someone else. >> > This is the right place for your questions. >> >> I'd like to edit a thesis (so, as a book), with the text only on even pages, >> and tables and figure only

Re: [NTG-context] special book layout problem in ConTeXt

2019-09-15 Thread Wolfgang Schuster
place for your questions. I'd like to edit a thesis (so, as a book), with the text only on even pages, and tables and figure only on odd pages, in front of the paragraph wich comment them. I try to do this automatically by writing the text, make a reference to the figure in the paragraph

[NTG-context] special book layout problem in ConTeXt

2019-09-13 Thread Nicolas Mondon
pages, and tables and figure only on odd pages, in front of the paragraph wich comment them. I try to do this automatically by writing the text, make a reference to the figure in the paragraph, and then the layout appears correctly... I have the impression this is possible to do in ConText

Re: [NTG-context] Bug in lmtx in display mathmode

2019-08-19 Thread Hans Hagen
-context | fatal error: return code: 256 I could finally find the origin of the error, which is exposed in the following example: if you comment out the part from \startformula ... \stopformula, the file typesets correctly. But with this part, one gets the above error message, the culprit

[NTG-context] Bug in lmtx in display mathmode

2019-08-18 Thread Otared Kavian
could finally find the origin of the error, which is exposed in the following example: if you comment out the part from \startformula ... \stopformula, the file typesets correctly. But with this part, one gets the above error message, the culprit being \liminfbar which is defined in the first

[NTG-context] about SimpleSlides

2019-07-30 Thread Atsuhito Kohda
ird/simpleslides/s-simpleslides-BigNumber.tex: ! Undefined control sequence l.87 \beginOLDTEX - I modified s-simpleslides-BigNumber.tex as follows: comment out from line #87 to #99 % \beginOLDTEX ... % \endLUATEX except line #98 \definefontsynonym [BigNumberFont] [name:texgyreherosb

[NTG-context] about SimpleSlide

2019-07-29 Thread Atsuhito Kohda
des/s-simpleslides-BigNumber.tex: ! Undefined control sequence l.87 \beginOLDTEX - I modified s-simpleslides-BigNumber.tex as follows: comment out from line #87 to #99 % \beginOLDTEX ... % \endLUATEX except line #98 \definefontsynonym [BigNumberFont] [name:texgyreherosbold] then it se

Re: [NTG-context] background color, was: CMYK Color profile

2019-06-02 Thread Benjamin Koppe
paperwidth-2\measured{big}\relax] > > \definelayout > [fifthandsixth] > [first] > [backspace=\measure{big}, > width=\dimexpr\paperwidth-2\measured{big}\relax] > > %% We assign the layouts to the pages. > \definelayout [1] [first] > \definelayout [2] [second] &

Re: [NTG-context] background color, was: CMYK Color profile

2019-05-31 Thread Benjamin Koppe
] \definelayout [3] [thirdandfourth] \definelayout [4] [thirdandfourth] \definelayout [5] [fifthandsixth] \definelayout [6] [fifthandsixth] %% Some setups \setupmakeup [doublesided=no] \setuptolerance [verytolerant] %% We want to see page and layout borders. %% COMMENT THIS OUT BEFORE YOU PRINT

Re: [NTG-context] Typesetting Markdown

2019-05-25 Thread Pablo Rodriguez
XML code easily. The real thing is that you can feed ConTeXt with XML sources to typeset what you want. My use of XML typesetting is basic when compared to that of Hans, Taco, Thomas Schmitz and Hans van der Meer. Of course, other approaches are perfectly fine. My comment was only about not focusi

Re: [NTG-context] Test XML node registration

2019-05-17 Thread Hans Hagen
On 5/17/2019 10:28 AM, Hans van der Meer wrote: Having a series of nodes in setups in a helper module: \startxmlsetups xmlcommon:setups \xmlsetsetup{#1}{error|comment|... etcetera}{xmlcommon:*} \stopxmlsetups \xmlregistersetup{xmlcommon:setups} I would like to check if a certain node

[NTG-context] Test XML node registration

2019-05-17 Thread Hans van der Meer
Having a series of nodes in setups in a helper module: \startxmlsetups xmlcommon:setups \xmlsetsetup{#1}{error|comment|... etcetera}{xmlcommon:*} \stopxmlsetups \xmlregistersetup{xmlcommon:setups} I would like to check if a certain node is in that series of nodes. For example doing

Re: [NTG-context] about \startMPanimation

2019-05-13 Thread Jeong Dal
and thanks Wolfgang! Best regards, Dalyoung > 2019. 5. 13. 오후 10:04, Hans Hagen 작성: > > On 5/13/2019 2:14 PM, Jeong Dal wrote: >> Dear Wolfgang, >> I found the following code with a comment “code by Wolfgang” at >> https://adityam.github.io/context-blog/post/metapos

Re: [NTG-context] about \startMPanimation

2019-05-13 Thread Hans Hagen
On 5/13/2019 2:14 PM, Jeong Dal wrote: Dear Wolfgang, I found the following code with a comment “code by Wolfgang” at https://adityam.github.io/context-blog/post/metapost-animation/ |\unprotect| |\installnamespace{MPanimationvariables}\unexpanded\def\startMPanimation{\dodoublegroupempty

[NTG-context] about \startMPanimation

2019-05-13 Thread Jeong Dal
Dear Wolfgang, I found the following code with a comment “code by Wolfgang” at https://adityam.github.io/context-blog/post/metapost-animation/ <https://adityam.github.io/context-blog/post/metapost-animation/> \unprotect \installnamespace{MPanimationvariables} \unexpanded\def\startMPani

Re: [NTG-context] placing content in footers

2019-05-12 Thread Pablo Rodriguez
r] >> \hfill >> \llap{Un Nom} >> \stopsetups >> >> \startsetups[text left] >> \rlap{Una Person} >> \hfill >> \getmarking[section] >> \hfill >> \llap{\pagenumber} >> \stopsetups > > Sorry, I didn’t take time to comment on

Re: [NTG-context] placing content in footers

2019-05-12 Thread Henning Hraban Ramm
gt; \rlap{\pagenumber} > \hfill > \getmarking[chapter] > \hfill > \llap{Un Nom} > \stopsetups > > \startsetups[text left] > \rlap{Una Person} > \hfill > \getmarking[section] > \hfill > \llap{\pagenumber} > \stopsetups Sorry, I didn’t take time to

[NTG-context] No menu bar option for Adobe Reader

2019-04-27 Thread Paul Schalck
le feature to the source code. Perhaps it can be useful to others as well. Greetings! Paul Attachment: patch + modified lpdf-mis.lua (from ConTeXt MkVI 2019.04.25)if not modules then modules = { } end modules ['lpdf-mis'] = { version = 1.001, comment = "companion to lpdf-ini.mk

[NTG-context] DIN lang folder with crop marks

2019-04-10 Thread Benjamin Koppe
[6] [fifthandsixth] %% Some setups \setupmakeup [doublesided=no] \setupbodyfont [mainface,10pt] \setuptolerance [verytolerant] \setuplayout[marking=color] %% We want to see page and layout borders. %% COMMENT THIS OUT BEFORE YOU PRINT! \showframe \starttext \starttitle[title={First page

Re: [NTG-context] follow up

2019-04-02 Thread Hans Hagen
On 4/2/2019 1:49 PM, Jeong Dal wrote: Dear Hans and Alan, First, thanks for your wonderful work! I followed your instruction to install ConTeXt LMTX. For the record, I wrote what I did.  Any comment is welcome to improve my installation. - create directory: ConTeXtLMTX - download install

Re: [NTG-context] follow up

2019-04-02 Thread Jeong Dal
Dear Hans and Alan, First, thanks for your wonderful work! I followed your instruction to install ConTeXt LMTX. For the record, I wrote what I did. Any comment is welcome to improve my installation. - create directory: ConTeXtLMTX - download install files. - run “sudo sh ./install.sh” - after

[NTG-context] issue with symbol in attachments

2019-03-24 Thread Pablo Rodriguez
work well. \setupinteraction[state=start] \setuppapersize[A9] \starttext \comment[xml-mkiv.pdf]\\ a\comment[xml-mkiv.pdf] [symbol=Default]\\ b\comment[xml-mkiv.pdf] [symbol=Newparagraph]\\ c\comment[xml-mkiv.pdf] [symbol=Note]\\ d\comment[xm

Re: [NTG-context] Can't use MetaFun with mplib anymore

2019-03-14 Thread luigi scarso
On Thu, Mar 14, 2019 at 10:52 AM Hans Hagen wrote: > as currently the variable is isn't used we can also comment it > > > seems so I have commented the line, and all formats and the plain test run.

Re: [NTG-context] Can't use MetaFun with mplib anymore

2019-03-14 Thread Hans Hagen
ppreciate if you could apply Luigi's fix, so we can continue do enjoy MetaFun, even outside ConTeXt. i'll comment the line Hans - Hans Hagen | PRAGMA ADE Ridderstraa

Re: [NTG-context] Can't use MetaFun with mplib anymore

2019-03-14 Thread Hans Hagen
t("mp.print(LUATEXFUNCTIONALITY)") ; mp-mlib.mpiv:string  LUATEXFUNCTIONALITY ; LUATEXFUNCTIONALITY := runscript("mp.print(LUATEXFUNCTIONALITY)") ; and your example looks ok. as currently the variable is isn't used we can also comment it Hans --

[NTG-context] Space between initials in bibliography

2019-03-02 Thread Mikael P. Sundqvist
(34Cxx 37-01 37C10)}, MRNUMBER = {2242407}, } \stopbuffer \usebtxdataset[ref][ref.buffer] \setupbtx[dataset=ref] \definebtxrendering[ref][dataset=ref] \setupbtx[ stopper:initials={.\btxspace},%comment to show version without space ] \starttext \startTEXpage[offset=3bp] We study \cite[arnold

[NTG-context] horizontal headalternatives ignore indentnext

2019-02-27 Thread Henri Menke
lax \strc_sectioning_inject_continuous_signal \fi \fi \ifconditional\headisdisplay \ifvmode \ifgridsnapping % important, font related depth, see comment \prevdepth\strutdp \else \prevdepth\d_strc_rendering_local_depth \fi \fi

[NTG-context] Pretty printer for matlab

2019-02-21 Thread Otared Kavian
Hi all, Is there a pretty printer file to typeset Matlab codes? Actually I would like to modify such a file in order to define a typing environment to typeset portions of codes written for Scilab, which is a sort of free version of Matlab. Thanks for any comment and help: OK

Re: [NTG-context] degrade module

2019-02-14 Thread Marco Patzer
. The script worked up to a particular context version. I believe a Lua upgrade broke it. The version attached should work. Marco if not modules then modules = { } end modules ['t-downsample'] = { version = 1.001, comment = "companion to grph-inc.mkiv", author= "P

Re: [NTG-context] How to query fonts.handlers

2019-02-05 Thread Henri Menke
rning from > within a paragraph where the kerning is evidently applied I can't seem > to get the value stored earlier, see the comment in the MWE. What am I > doing wrong? > > Cheers, Henri > > --- > > \startluacode > fonts.handlers.otf.addfeature { > name = &

[NTG-context] How to query fonts.handlers

2019-02-05 Thread Henri Menke
Dear list, I am trying to access extra kerning that I have defined using fonts.handlers.otf.addfeature. Even though I query the kerning from within a paragraph where the kerning is evidently applied I can't seem to get the value stored earlier, see the comment in the MWE. What am I doing wrong

Re: [NTG-context] Restarting with different engine fails

2019-02-01 Thread Hans Hagen
On 2/1/2019 10:30 PM, Henri Menke wrote: Dear list, ConTeXt allows to select the engine in the preamble with a “magic comment”. The preamble is parsed and the engine restarted with new options. The following MWE fails in the latest beta % engine=luajittex \starttext Fail \stoptext

[NTG-context] Restarting with different engine fails

2019-02-01 Thread Henri Menke
Dear list, ConTeXt allows to select the engine in the preamble with a “magic comment”. The preamble is parsed and the engine restarted with new options. The following MWE fails in the latest beta % engine=luajittex \starttext Fail \stoptext with the error message texmf-context/scripts

Re: [NTG-context] Works and Doesn't Work

2019-01-18 Thread Wolfgang Schuster
variations of the \blank command which causes 'context' run to hang. The comment escape on them has to be removed to test them. The rightmost column contains result comments. Note that inbetween=\blank[.5mm] and \blank[small] cause context to hang . But, underbar'd command with a text

[NTG-context] Works and Doesn't Work

2019-01-17 Thread jdh
causes 'context' run to hang. The comment escape on them has to be removed to test them. The rightmost column contains result comments. Note that inbetween=\blank[.5mm] and \blank[small] cause context to hang . But, underbar'd command with a text string works as advertised. Regards

[NTG-context] Scaling down symbols and emojis

2019-01-16 Thread User 19087
factor should I use to match \tfxx? \symbol[ShortForty] \scale[factor=4]{\symbol[ShortForty]} % Same as above comment, more or less. \symbol[ShortForty] {\switchtobodyfont[5pt]\symbol[ShortForty]} \stoptext * MWE for builtin symbols; emojis require local fonts. I assume whichever solution would apply

Re: [NTG-context] \quad confusion

2018-12-27 Thread Henri Menke
t; \unexpanded\def\quad {\hskip \emwidth\relax} > \unexpanded\def\qquad {\hskip 2\emwidth\relax} > > As a temporary workaround you can also just copy them into your document. There is even a comment in the TeXbook about this exact issue. \danger Horizontal glue is created in the s

Re: [NTG-context] Issues using publications subsystem for non-bibliographic database

2018-12-07 Thread Alan Braslau
sort of list. > > > > Alan > > That makes absolutely no sense. That means that an informal paper > that puts all references in footnotes and has no bibliography and > does not need cross-referencing or reference numbering cannot take > advantage of a bibliographic database

Re: [NTG-context] Issues using publications subsystem for non-bibliographic database

2018-12-07 Thread Rik Kabel
-referencing or reference numbering cannot take advantage of a bibliographic database. And in fact, that is the case shown below. The footnotes appear only when the comment line is uncommented. (I also tried \nocite[*] together with \placebtxrendering[method=none] and also with \placebtxrendering

Re: [NTG-context] can \REGISTER[key]{term} modify typesetting (adding space)?

2018-11-27 Thread Rik Kabel
is in horizontal mode (like in your footnote) the space after the argument stays and appears in the text. In this case you have to put a comment after it to ignore the space which is generated from the line break in your document. Wolfgang Rik Kabel schrieb am 27.11.18 um 21:17: And now I can

Re: [NTG-context] can \REGISTER[key]{term} modify typesetting (adding space)?

2018-11-27 Thread Wolfgang Schuster
) the space after the argument stays and appears in the text. In this case you have to put a comment after it to ignore the space which is generated from the line break in your document. Wolfgang Rik Kabel schrieb am 27.11.18 um 21:17: On 11/27/2018 08:43, Rik Kabel wrote: On 11/27/2018 05:38, mf

Re: [NTG-context] German introduction to context

2018-11-06 Thread Jan U. Hasecke
\stopsection but gave up on > \startparagraph \stoparagraph. > > Is there a way to auto convert that or do I have to add these command once I > want to generate tagged PDF? > > Feel free to comment, this is the second time I use ConTeXt and I wanted to > keep notes about th

Re: [NTG-context] German introduction to context

2018-11-02 Thread Axel Kielhorn
V syntax for \startsection \stopsection but gave up on >> \startparagraph \stoparagraph. >> Is there a way to auto convert that or do I have to add these command once I >> want to generate tagged PDF? > > normally \startparagraph is not needed Good to hear that. Shoul

Re: [NTG-context] German introduction to context

2018-11-02 Thread Hans Hagen
convert that or do I have to add these command once I want to generate tagged PDF? normally \startparagraph is not needed Feel free to comment, this is the second time I use ConTeXt and I wanted to keep notes about the things I need. why not also put a pdf there Hans

Re: [NTG-context] German introduction to context

2018-11-02 Thread Axel Kielhorn
these command once I want to generate tagged PDF? Feel free to comment, this is the second time I use ConTeXt and I wanted to keep notes about the things I need. Future plan: Learn more about bibliography. Create PDF/A (or /UA). More math as I need it. Alternative environments to change the look

Re: [NTG-context] devanagari is missing an accent in newest beta

2018-10-23 Thread Melroch
his: http://unicode.org/~emuller/iwg/p8/utcdoc.html Den fre 19 okt 2018 13:30Ulrike Fischer skrev: > Am Fri, 19 Oct 2018 11:36:48 +0200 schrieb Arthur Reutenauer: > > >> Screenshots and code that show the difference and the missing accent > >> in the xelatex and context outpu

Re: [NTG-context] devanagari is missing an accent in newest beta

2018-10-19 Thread Ulrike Fischer
Am Fri, 19 Oct 2018 11:36:48 +0200 schrieb Arthur Reutenauer: >> Screenshots and code that show the difference and the missing accent >> in the xelatex and context output are in this comment >> https://github.com/u-fischer/luaotfload/issues/9#issuecomment-431288932 >> th

Re: [NTG-context] devanagari is missing an accent in newest beta

2018-10-19 Thread Arthur Reutenauer
On Fri, Oct 19, 2018 at 10:50:14AM +0200, Ulrike Fischer wrote: > Screenshots and code that show the difference and the missing accent > in the xelatex and context output are in this comment > > https://github.com/u-fischer/luaotfload/issues/9#issuecomment-431288932 > >

[NTG-context] devanagari is missing an accent in newest beta

2018-10-19 Thread Ulrike Fischer
en testing this with luaotfload. The affected font siddhanta can be found here http://svayambhava.blogspot.com/p/siddhanta-devanagariunicode-open-type.html Screenshots and code that show the difference and the missing accent in the xelatex and context output are in this comment https://github.com

Re: [NTG-context] wrong hyphenation in ancient Greek?

2018-10-15 Thread Arthur Reutenauer
atterns that apply, the possible hyphenation points are thus πρά-γμα-τος Digging deeper in the pattern file, you’ll see that it takes quite many two-consonant clusters into account, starting at line 267 of the master file in the repository, with a comment “other divisable consonant com

Re: [NTG-context] Formulas in TABLE with character alignment

2018-10-09 Thread Hans Hagen
On 10/9/2018 8:02 AM, Axel Kielhorn wrote: Hello, I decided to use TABLE because I may need some more complex layouts later and want to use just one way to define a table. One of the great things about TABLE is the possibility to align columns. The table below works fine when I comment

[NTG-context] Formulas in TABLE with character alignment

2018-10-09 Thread Axel Kielhorn
Hello, I decided to use TABLE because I may need some more complex layouts later and want to use just one way to define a table. One of the great things about TABLE is the possibility to align columns. The table below works fine when I comment the first \bTR line. With the first line the result

Re: [NTG-context] tounicode mapping missing for locl-variants

2018-09-27 Thread Hans Hagen
On 9/27/2018 10:44 AM, Ulrike Fischer wrote: Am Thu, 27 Sep 2018 10:25:51 +0200 schrieb Hans Hagen: these glyphs have no names Side remark: if you think that the font is wrong here I could add a comment on the github site. i think that there's more wrong with the font and it doesn't look

Re: [NTG-context] tounicode mapping missing for locl-variants

2018-09-27 Thread Ulrike Fischer
Am Thu, 27 Sep 2018 10:25:51 +0200 schrieb Hans Hagen: > these glyphs have no names Side remark: if you think that the font is wrong here I could add a comment on the github site. -- Ulrike Fischer http://www.troubleshooting-tex

Re: [NTG-context] Creating flyers with ConTeXt

2018-09-25 Thread Marco Patzer
he pages that are folded to the > inside. > > The measure "shortfold" (3mm) reduces the 100mm page to 97mm. Right? correct > The pageshift thing is beyond my horizon so I won't comment on this. Without the pageshift, the pages don't touch because of different page sizes. Ju

Re: [NTG-context] Creating flyers with ConTeXt

2018-09-24 Thread Jan U. Hasecke
my horizon so I won't comment on this. You adjust the backspace of the pages with multiples of the measure "big". Right? As you can see in my example I use layers on page 2-4 to have bleeding images on the top of the page. This works more or less. But as you can see there are

[NTG-context] issue with interaction

2018-09-24 Thread Pablo Rodriguez
Hans, I have the following sample (sorry, but I’m afraid I don’t know how to write a lopp here): \setupinteraction[state=start] \setupcomment[location=inmargin] \showframe \starttext This is a sample comment. \startcomment Just a comment \stopcomment

Re: [NTG-context] xml in lua advice ?

2018-09-19 Thread mf
what you do ... anyway here is some insight > (as > xml-tex old-timer you'll probably recognize the madness) > > % \enabletrackers[context*] > > \starttext > > % here is your missing mwe > > \startbuffer[test] > > some bold title > > \stopbuffer

Re: [NTG-context] xml in lua advice ?

2018-09-19 Thread Hans Hagen
xmlsetup=xml:flush] \startxmlsetups xml:flush \xmlflush{#1} \stopxmlsetups % comment this one for your amusement \startxmlsetups xml:b {\bf \xmlflush{#1}} \stopxmlsetups % here is the magic: you pass a reference \startluacode function xml.finalizers.heading(t) context.formatted.section(&qu

Re: [NTG-context] ConTeXt ignores crop in some pdf graphics

2018-09-05 Thread Pablo Rodriguez
fm_cropped), if somebody feels like > investigating further. Hello Mari, only a comment, Corel 2017 sets all boxes with the same values: /MediaBox [ -1 -1 48. 23.8555 ] /TrimBox [ -1 -1 48. 23.8555 ] /CropBox [ -1 -1 48. 23.8555 ] Also your "fm.pdf" works fine when the

[NTG-context] Migrating ConTeXt's Textadept settings from v9 to v10.

2018-08-21 Thread cryo shock
following sample legacy lexer: local l = require('lexer') local token, word_match = l.token, l.word_match local P, R, S = lpeg.P, lpeg.R, lpeg.S local M = {_NAME = 'legacy'} local ws = token(l.WHITESPACE, l.space^1) local comment = token(l.COMMENT, '#' * l.nonnewline^0) local string = token(l.S

Re: [NTG-context] Textadept with ConTeXt

2018-08-21 Thread Hans Hagen
init.lua with require('context_init')      -- exemplary file name If anything goes wrong then, users simply have to comment the line with Notepad and TA should work again. I am pretty sure that you know that already, but unexperienced readers might want to know that there is a Spell Checking

Re: [NTG-context] referencing a footnote (and getting the right number)

2018-08-13 Thread Pablo Rodriguez
} \stoptext > and that this somehow interferes with the referencing of other > footnotes? That is the only difference I see between this chapter and > the others. Without the source, all I can say is that it shouldn’t interfere. A simple way to check it would be to comment out the fragment with the

Re: [NTG-context] resetting footnote counter

2018-08-09 Thread Robert Zydenbos
be no problems there either; but if there is an error message, you can comment out line 12 in manual-environment-xasia.tex and de-comment line 13 to turn the font into Times (or you can change the name of the font to anything you have on your computer). Right now I am using an iMac with the latest OS

Re: [NTG-context] resetting footnote counter

2018-08-09 Thread Wolfgang Schuster
, and it does not contain uncommon tables etc. I've changed the main font to TeX Gyre Termes, which all of us have (so I assume, since it comes with the major TeX distributions), so there should be no problems there either; but if there is an error message, you can comment out line 12 in manual-environment

[NTG-context] resetting footnote counter

2018-08-09 Thread Robert Zydenbos
be no problems there either; but if there is an error message, you can comment out line 12 in manual-environment-xasia.tex and de-comment line 13 to turn the font into Times (or you can change the name of the font to anything you have on your computer). Right now I am using an iMac with the latest OS

Re: [NTG-context] issues with \comment

2018-07-06 Thread Pablo Rodriguez
howframe \setupinteraction[state=start] \starttext \comment[location=leftmargin,space=yes,buffer=abc]{} \type{\comment[location=leftmargin,space=yes,buffer=abc]{}} \blank[2*big] \comment[location=rightmargin,space=yes,buffer=abc]{} \type{\comment[location=rightmargin,s

Re: [NTG-context] issues with \comment

2018-07-06 Thread Wolfgang Schuster
Pablo Rodriguez 6. Juli 2018 um 11:14 Dear list, [...] Locations for leftedge, rightedge and text don’t seem to work (in Acrobat Reader, SumatraPDF and Evince). By default the leftedge and rightedge areas are disabled because they have a width of 0pt and even when you

[NTG-context] issues with \comment

2018-07-06 Thread Pablo Rodriguez
Dear list, I have the following sample: \setupinteraction[state=start] \setupcomment[location=inmargin, color=darkred] \showframe \startbuffer[abc] \input zapf \stopbuffer \setuptype[option=tex] \starttext \comment[space=yes,buffer=abc]{} \type{\comment

[NTG-context] OT: help from native speakers

2018-06-28 Thread Henning Hraban Ramm
to create that scene with me? (No special requirements, just be yourself.) I’ve got a concept that you could comment/correct, or we can do this like a roleplay (I’ll tell you what you see and hear, you tell me how you’d react). I’d also enjoy hearing about typical (or just funny) mistakes of young

Re: [NTG-context] Parsing \...luacode within a \def

2018-06-18 Thread Procházka Lukáš Ing .
F) and replace them by a space. Then, the whole content between \start/stopluacode is at only one line. If you the second way of comment marks, the letter "u" will be shown at the output. Tomáš \def\U{% \startluacode --[[ blahblah ]]-- context("u") \stopluacode } indee

Re: [NTG-context] Parsing \...luacode within a \def

2018-06-14 Thread Hans Hagen
line. If you the second way of comment marks, the letter "u" will be shown at the output. Tomáš \def\U{% \startluacode --[[ blahblah ]]-- context("u") \stopluacode } indeed, \startluacode inside a macro body acts like any such catcode regime changing operation ..

Re: [NTG-context] Parsing \...luacode within a \def

2018-06-14 Thread Tomas Hala
Hi Lukáš, I am not sure but I guess that the problem is related with the behaviour of the input processor which erases characters at the end of line (CR, LF) and replace them by a space. Then, the whole content between \start/stopluacode is at only one line. If you the second way of comment marks

[NTG-context] Parsing \...luacode within a \def

2018-06-14 Thread Procházka Lukáš Ing .
-- context("b") \stopluacode \T \U \stoptext This gives "Abt" - but there is no "u". It seems that the (first) comment mark "--" within a \startluacode within \def (here: \def\U) causes all code till \stopluacode is being ignored. But w

[NTG-context] Parsing \...luacode within a \def

2018-06-14 Thread Procházka Lukáš Ing .
("b") \stopluacode \T \U \stoptext This gives "Abt" - but there is no "u". It seems that the (first) comment mark "--" within a \startluacode within \def (here: \def\U) causes all code till \stopluacode is being ignored. But why? Maybe I'm mi

Re: [NTG-context] Files on a server

2018-05-17 Thread Henri Menke
On 05/17/2018 09:03 PM, Taco Hoekwater wrote: > > >> On 17 May 2018, at 10:31, Taco Hoekwater <t...@elvenkind.com> wrote: >> >> Anyway, perhaps someone can answer me this? I tried the ffi/curl code, >> and the network stuff works, but only when

Re: [NTG-context] Files on a server

2018-05-17 Thread Taco Hoekwater
> On 17 May 2018, at 10:31, Taco Hoekwater <t...@elvenkind.com> wrote: > > Anyway, perhaps someone can answer me this? I tried the ffi/curl code, > and the network stuff works, but only when I comment out the write > callback: > > lcurl.curl_easy_setopt(

Re: [NTG-context] Files on a server

2018-05-17 Thread Taco Hoekwater
s. Even: url= "foobar://www.ntg.nl/watistex.html" works just 'fine'. Anyway, perhaps someone can answer me this? I tried the ffi/curl code, and the network stuff works, but only when I comment out the write callback: lcurl.curl_easy_setopt(curl, CURLOPT_WRITEFUNCTION, ffi.cast

Re: [NTG-context] roadmap

2018-05-14 Thread Hans Hagen
* ePub: I got requests for ePubs again and will look into what’s still wrong/difficult. Last time I checked, footnote markers were accumulating in strange places. Maybe some more default constructs could get a representation in export XML, e.g. \bf, \it It's hard to comment on that one w

[NTG-context] blank line at the beginning of the theorem or proof

2018-05-12 Thread Jeong Dal
Dear all, placing a figure at the right or left of the text using \placefigure[right][]{}{} insert at the begining of the paragraph under the enumerations while there is no blank line if we comment out \placefigure. See the below sample. Is there a way to make text begin from the same line

Re: [NTG-context] Size of fences, factor key

2018-04-25 Thread Hans Hagen
xample below, with output (from latest standalone) attached. /Mikael PS: I would suggest to have  italic       = { feature = 'ss01', value = 1, comment = "Mathematical Alternative Lowercase Italic" }, set in lucida-opentype-math.lfg. In all books (on math) I

Re: [NTG-context] Size of fences, factor key

2018-04-24 Thread Mikael P. Sundqvist
ed. > > /Mikael > > PS: I would suggest to have > italic = { feature = 'ss01', value = 1, comment = "Mathematical > Alternative Lowercase Italic" }, > set in lucida-opentype-math.lfg. In all books (on math) I have seen, I > think this is what is used. > >

[NTG-context] Size of fences, factor key

2018-04-21 Thread Mikael P. Sundqvist
the same size as if one would have used \big? I am a bit confused. See the example below, with output (from latest standalone) attached. /Mikael PS: I would suggest to have italic = { feature = 'ss01', value = 1, comment = "Mathematical Alternative Lowercase Italic" }, set in lucid

[NTG-context] \startplacetable in \startcolumnset

2018-04-19 Thread Jeong Dal
if I comment out either \startcolumnset or \placetable. Is “\definecolumnset, \startcolumnset” still a good command? I couldn’t find it in the list of commands. Thank you for reading. Best regards, Dalyoung % \startuseMPgraphic{verticalrule} if CurrentColumn < NOfColumns : d

Re: [NTG-context] \replaceword with spaces

2018-04-15 Thread Hans Hagen
{ type = "substitution", data = { ["c"] = "C", }, }, }, data = { rules = { { comment = "'via' => 'Vía'&

<    1   2   3   4   5   6   7   8   9   10   >