Re: [NTG-context] how to hyphenate SHA512?

2017-07-08 Thread josephcanedo
If I am not mistaken SHA is only hexadecimal digits, so you probably need only to have a « language » that hyphenates between any pair of those. Should be much simpler I guess, but I do not really know how to add such setting I am afraid. Joseph De : Pablo Rodriguez Envoyé le :samedi 8

Re: [NTG-context] how to hyphenate SHA512?

2017-07-07 Thread josephcanedo
A probably quick and dirty « solution », which consists in inserting a \discretionary node between each digit using some lua code. There are mostly likely better solutions for this. Joseph \startluacode function sha(s) local out = {} for i = 1, s:len() do out[#out + 1] = s:sub(i,

Re: [NTG-context] How to use tex.print in ctxlua

2017-03-19 Thread josephcanedo
Hi, I think you can use tex.write() instead of tex.print() (pretty much the same as in lua io functions). Hope this helps Joseph De : Otared Kavian Envoyé le :dimanche 19 mars 2017 16:31 À : mailing list for ConTeXt users Objet :[NTG-context] How to use tex.print in ctxlua Hi, I would like

Re: [NTG-context] Question on "back" key in \blank

2017-02-26 Thread josephcanedo
Thanks Hans for having replied. My message was a bit confusing, sorry about that. I think the problem is that ‘back’ (or \blank generally) does not seem to work the same with negative blank as it does with positive blank. The following : \showgrid\setuplayout[grid=both] \starttext Title.

[NTG-context] Question on "back" key in \blank

2017-02-25 Thread josephcanedo
Dear list, Sorry if question is trivial but I’d like to use « back » key in \blank to discard a \blank just before. The following MWE illustrates : \starttext Title. \blank[none] \blank[back, -line] %% I’d expect this one to discard the \blank[none] (as if it was not present)

Re: [NTG-context] Underful with \startalignment[flushright]

2017-02-21 Thread josephcanedo
Thanks a lot, all, for the hints. Best regards, Joseph De : Hans Hagen Envoyé le :mardi 21 février 2017 13:06 À : mailing list for ConTeXt users Objet :Re: [NTG-context] Underful with \startalignment[flushright] On 2/21/2017 10:45 AM, Henri Menke wrote: > On 02/20/2017 10:59 PM,

[NTG-context] Underful with \startalignment[flushright]

2017-02-20 Thread josephcanedo
Dear list, Could not find any hint on this list on this (minor) problem. When compiling the following simple MWE : \starttext \startalignment[flushright] Foo. \stopalignment \stoptext I get an underful hbox message : Underfull \hbox (badness 1) in paragraph at lines 4--5

Re: [NTG-context] Comical error..

2017-02-12 Thread josephcanedo
Re question 2. You can have the list of loaded fonts files from the log file produced by context command, nearly the end : For example from my run : mkiv lua stats > loaded fonts: 4 files: dejavusansmono.ttf, ebgaramond12-regular.otf, keteryg-medium.ttf, sblgreek.ttf >From this you can

Re: [NTG-context] Hanging hyphen in the left margin in Portuguese

2016-10-18 Thread josephcanedo
Hello Marcus This answer might help : http://www.mail-archive.com/ntg-context@ntg.nl/msg59507.html A bit hard to find as the word used is « potrusion ». Hope this helps Best Joseph De : Marcus Vinicius Mesquita Envoyé le :lundi 17 octobre 2016 21:17 À : mailing list for ConTeXt users Objet 

[NTG-context] Issue with \blank halfline and title heads

2016-10-16 Thread josephcanedo
Dear list, I would like to have a chapter title consisting of 1 line, halfline spacing, another set of lines, and another halfline spacing (I use grid=both but same issue with grid=yes), but I fail to acheive this. I give a simple MWE that shows wanted effect (without heading) which works all

Re: [NTG-context] Changes in hyphenations with 2016-10-12 beta

2016-10-13 Thread josephcanedo
Great, thanks a lot Hans. Not a big issue (some glues are bit more stretched than before here and there, but not to the point to have underfulls), but curious to understand. Best regards Joseph De : Hans Hagen Envoyé le :jeudi 13 octobre 2016 20:51 À : mailing list for ConTeXt users Objet :Re:

Re: [NTG-context] Changes in hyphenations with 2016-10-12 beta

2016-10-13 Thread josephcanedo
Apparently this difference comes from this change in font-ots.lua near line 603. If I edit the file to put back the discretionary_code argument, the output is same with new beta. MWE (well as close to MWE I could write, requires EBGaramond unfortunately). \language[fr]

[NTG-context] Changes in hyphenations with 2016-10-12 beta

2016-10-13 Thread josephcanedo
Dear list, After ugrading to latest beta (to test typesetting with it for now), I noticed that some words that used to be hyphenated with previous versions are no longer hyphenated in the output, especially when the word break used to happen at a ligature (for example ‘st’ or ‘ct’). I had a

Re: [NTG-context] \blank[force, halfline] at top page issue

2016-10-01 Thread josephcanedo
Tried the following putting a \vbox before the \blank. There is probably better solution for this. \setuplayout[grid=both] \showgrid \starttext \endgraf\vbox to \lineheight{}\blank[samepage, -halfline] HalfLine \blank[halfline] Text \page Text \endgraf\vbox to \lineheight{}\blank[samepage,

Re: [NTG-context] \blank[force, halfline] at top page issue

2016-09-30 Thread josephcanedo
Hi Marcus, Thanks for the tip, somewhat better in terms of alignment to the grid (but there is now larger space before exactly 1 line in excess). Unfortunately if the \blank[force, halfine, depth] is not first in page the vertical alignment is now wrong, and I do not know if a given \blank

[NTG-context] \blank[force, halfline] at top page issue

2016-09-29 Thread josephcanedo
Dear list, I think this issue has been already reported (or a similar one http://www.mail-archive.com/ntg-context@ntg.nl/msg77729.html) but not resolved. It seems that if \blank[force, etc … is first in page there is additional spacing due to topskip. I’ve checked that this unwanted spacing

Re: [NTG-context] Size of the last shipped page by Lua?

2016-09-07 Thread josephcanedo
Hi, There are dimensions related to this : local paper_width = tex.getdimen('paperwidth') local paper_height = tex.getdimen('paperheight') There is also : tex.pageheight tex.pagewidth Not sure these are always same. Hope this helps, Regards, Joseph Canedo De : Procházka Lukáš

Re: [NTG-context] bug in latest beta?

2016-09-05 Thread josephcanedo
Dear all, Sounds like a typo in file tex/texmf-context/tex/context/base/mkiv/node-nut.lua line 238 find_tail should be findtail I think. BTW this new rangedimension function is helpful. Joseph De : Pablo

[NTG-context] Detecting content out of print/page area ?

2016-08-18 Thread josephcanedo
Dear all, I was wondering if there were any sort of tool (beyond manual eye inspection) in general sense, either printing some warning in log file, or visually in output document, or even reading pdf file, that would help determining if for a some page there is content that is typeset outside

[NTG-context] Tight interline spacing in margin notes ?

2016-08-11 Thread josephcanedo
Dear all, I use grid to typeset documents, this works all fine in main text, but in margin notes it does not seem that interline spacing is as tight. Is there any way to get tighter interline spacing in margin notes too ? Following simple MWE illustrates the situation \setuplayout[grid=both]

[NTG-context] Wrong hyphenation when using patterns={fr,agr}

2016-08-09 Thread josephcanedo
Dear all, Combining patterns for french and ancien greek languages, I noticed there are wrong hyphenations at quote char as shown in following MWE. Is this expected behavior by using the patterns= key in such a way ? Using ConTeXt ver: 2016.08.08 21:28 MKIV beta fmt: 2016.8.9 int:

Re: [NTG-context] emergency stretch not taken in account in some cases

2016-07-20 Thread josephcanedo
I think I could figure out the reason of this problem. Actually emergency stretch is broken in all cases it seems. In luatex source code I see: source/texk/web2c/luatexdir/tex/commands.w:primitive_tex("emergencystretch", assign_dimen_cmd, dimen_base + emergency_stretch_code, dimen_base);

Re: [NTG-context] emergency stretch not taken in account in some cases

2016-07-19 Thread josephcanedo
Thanks a lot Wolfgang for the simpler code, I’ll replace mine with your suggestion, in actual document the margins width are much larger and font smaller too. I use binaries on Win64 platform (installed using command line method: first-setup.bat --modules=all): $ ls -l $(which luatex.dll)

[NTG-context] emergency stretch not taken in account in some cases

2016-07-18 Thread josephcanedo
Dear all, In some cases specifying \setupalign[stretch] does not seem to have any effect with latest betas (live, 2016.06.20 22:14 version are fine, but 2016.07.18 is not), and the output has now overfulls instead of (admitedly a bit large) underfulls. Attached simple (albeit bit extreme)

Re: [NTG-context] 10th ConTeXt meeting update

2016-07-11 Thread josephcanedo
Hi Taco, I will not be able to go to the Netherlands to assist to these meetings, but it is planned to put information, articles on the different presentations please ? Especially interested in TUC related one, and for the sake of curiosity about the “Snake” justification (wondering if such

Re: [NTG-context] Issue with tex.Jhangindent with latest beta 2016-07-08 17:24

2016-07-10 Thread josephcanedo
Thanks a lot Hans. From: pra...@wxs.nl Sent: ‎Sunday‎, ‎July‎ ‎10‎, ‎2016 ‎12‎:‎21‎ ‎PM To: ntg-context@ntg.nl On 7/9/2016 11:19 PM, josephcan...@gmail.com wrote: > Dear list, > > In some lua code I have in my project, I’ve started getting this error > when upgrading to latest beta (used

[NTG-context] Issue with tex.hangindent with latest beta 2016-07-08 17:24

2016-07-09 Thread josephcanedo
Dear list, In some lua code I have in my project, I’ve started getting this error when upgrading to latest beta (used to work fine for lots of versions for months) : attempt to perform arithmetic on field 'hangindent' (a nil value) when using expression: tex.hangindent in lua code. I am

Re: [NTG-context] disappearing margin text

2016-06-23 Thread josephcanedo
Hi, have you tried putting the \inmargin Inside before= in defineenumeration ? Seems to work fine (assuming you want the marginal note on same line as question. Joseph \defineblock[question] \hideblocks[question] \defineenumeration [question] [text=Question,

Re: [NTG-context] Simple font size changes command

2016-06-13 Thread josephcanedo
It is (very) limited to few words only to reproduce how an old Bible I am trying to typeset (words added in the text to ease the understand were printed in smaller size). Thanks a lot Regards Joseph From: Alan BRASLAU Sent: ‎Monday‎, ‎June‎ ‎13‎, ‎2016 ‎5‎:‎19‎ ‎AM To:

Re: [NTG-context] Simple font size changes command

2016-06-12 Thread josephcanedo
Thanks Alan for the suggestion, I’ll try it. Doing more research I figured out that \definefont defined such simple command at the expense of eventually repeating the font name and features. \definefont[SmallFont][name:EBGaramond*base,xxicentury at \SmallFontSize] % \SmallFont works I was

[NTG-context] Simple font size changes command

2016-06-09 Thread josephcanedo
Dear all, In a simple document using only 1 font but with different sizes what are the easiest switch commands to change font size locally ? I am aware of \tfa, \tfx etc …. but they do not seem to size in absolute size but rather relatively to current font size. In the following MWE :

Re: [NTG-context] Package esvect and Context

2016-06-06 Thread josephcanedo
Hi Fabrice, Have you tried \vec command ? \startformula \vec{AB} = \vec{AC} + \vec{CB} \stopformula Best regards Joseph From: Fabrice Couvreur Sent: ‎Saturday‎, ‎June‎ ‎4‎, ‎2016 ‎9‎:‎12‎ ‎AM To: ntg-context@ntg.nl Hello everyone, When I used LaTeX, I was writing the vectors

Re: [NTG-context] Allow for hyphenation in 'firstline' ConTeXt feature ?

2016-05-29 Thread josephcanedo
Yes, I probably should have written ‘Would it be time consuming etc… ?’ :-) In any case, I had a try to the test file, and it works very well. Thanks for your very swift reply. Best regards Joseph Canedo From: pra...@wxs.nl Sent: ‎Sunday‎, ‎May‎ ‎29‎, ‎2016 ‎5‎:‎18‎ ‎PM To:

[NTG-context] Allow for hyphenation in 'firstline' ConTeXt feature ?

2016-05-29 Thread josephcanedo
Dear all, I use the nifty ‘firstline’ feature ConTeXt offers (using a larger font size, line mode, 1 line only) and I notice that the last word of the first line is never hyphenated even if doing so could reduce underful in the first line. From typo-fln.lua it looks like that’s expected as

Re: [NTG-context] win64 : luatex is not recognize as an internal command

2016-05-24 Thread josephcanedo
Hello Jean Pierre, Have you added C:\context\tex\texmf-win64\bin (or whatever dir you installed ConTeXt) directory to PATH env variable ? Best regards Joseph Canedo From: Jean-Pierre Delange Sent: ‎Tuesday‎, ‎May‎ ‎24‎, ‎2016 ‎5‎:‎57‎ ‎PM To: ntg-context@ntg.nl Dear list, I am

Re: [NTG-context] Issue with margin notes with stack=yes (or =continue)

2016-05-13 Thread josephcanedo
Dear all, Sorry for replying to my own post, but is there a solution to fix this issue please ? Or any problem to reproduce it ? This makes the stacked margin notes almost unusable as with several ones one same page the last ones drift outside bottom of the page. Many thanks Best regards

[NTG-context] Issue with margin notes with stack=yes (or =continue)

2016-05-06 Thread josephcanedo
Dear all, Using ConTeXt ver: 2016.05.01 09:52 MKIV beta, I see that marginal notes (using \inouter for example) are put 1 or more lines below expected when using stack= option. A simple MWE follows. \setupmargindata[outer][stack=yes] % or =continue \starttext Foo \inouter{note}*bar Foo

Re: [NTG-context] Are nested sections possible?

2016-03-11 Thread josephcanedo
Hello, Normally for this purpose you’d use subsection, subsubsection etc … I guess. Best regards Joseph From: m...@silentumbrella.com Sent: ‎Friday‎, ‎March‎ ‎11‎, ‎2016 ‎9‎:‎08‎ ‎AM To: ntg-context@ntg.nl Greetings, Is it possible to have \starttext \startchapter Hey a

Re: [NTG-context] Problem with \inouter and text justification

2016-01-22 Thread josephcanedo
Dear list, The problem with margin notes and main text justification being wrong in some lines when using stack=continue is still present with latest beta mtx-context | current version: 2016.01.18 22:21 This can be verified with the test stacking-002.tex in test suite or with MWE I

Re: [NTG-context] hebrew

2016-01-17 Thread josephcanedo
For fonts I found this site : http://www.opensiddur.org. In particular http://opensiddur.org/tools/fonts/ Hope this helps a bit Joseph Canedo From: Meer, Hans van der Sent: ‎Saturday‎, ‎January‎ ‎16‎, ‎2016 ‎2‎:‎56‎ ‎PM To: ntg-context@ntg.nl I need to typeset the letters of the

Re: [NTG-context] Problem with \inouter and text justification

2015-12-15 Thread josephcanedo
Is this problem a hard limitation from (lua)TeX ? or simply some bug in ConTeXt ? The problem with main text justification is not present with “stable” version of ConTeXt, so my guess is that’s a regression in beta. I initially used stack=yes but despite the name in some cases the notes fail

Re: [NTG-context] Problem with \inouter and text justification

2015-12-11 Thread josephcanedo
Thanks Wolfgang for alternative proposal. I had a try with your sample and it seems the margin notes stay stacked but not nearby the line I insert them in the text, which is what I am looking for. Is there a way to achieve this using notes ? Otherwise I assume that there is a bug with

Re: [NTG-context] Problem with \inouter and text justification

2015-12-10 Thread josephcanedo
Dear all, Another problem appears if using both \inouter and \ininner to have notes in both sides. Apparently when doing so the stack=continue does not work any longer. I see margin notes overlapping and not being stacked. If the “left note” is removed the right side notes are stacked

[NTG-context] Problem with \inouter and text justification

2015-12-08 Thread josephcanedo
Dear all, I am trying to add margin notes and for some reason I do not understand when having them in the main text, the main text which normally would be fully justified (without notes) is now aligned to left, but right side is erratic. I attach a simple MWE showing this. If you disable

[NTG-context] Fill up "bottom" space of page with some content

2015-12-03 Thread josephcanedo
Hi Thangalin, Thanks a lot for replying, Sure, I attach 2 mwe’s. First one (fill_mwe.tex) shows a “lettrine” + paragraph cut in bottom of 1st page (not desirable). To fix this problem I add \setpenalties\clubpenalties{5}{1} to make sure the 6 first lines of paragraph are all

[NTG-context] Fill up "bottom" space of page with some content

2015-12-02 Thread josephcanedo
Dear all, I wondered if there was a way to fill up the bottom of the page with some content (an image, some decorative pattern …) to avoid large blank space in page (given some limits, ie more than 2 lines of space is left blank). By bottom of page I mean remaining space that could have been

Re: [NTG-context] Question on headings and text around them

2015-11-24 Thread josephcanedo
Hans, Thanks for replying, Actually I realise the problem is with column break (was a bit late when I wrote my message, sorry for this). I prepared a small example + output I get. I am not saying the output is necessarly bad, but I’d like to know how to avoid the paragraph being broken and

[NTG-context] Question on headings and text around them

2015-11-23 Thread josephcanedo
Dear all, In some text I am typesetting I noticed that the text following a section was always starting on same page (which is all fine), but in some cases the text preceding the section heading was also finishing on same page, ie the last paragraph before the section heading was broken in

[NTG-context] Issue with initial (new beta)

2015-11-20 Thread josephcanedo
Dear all, First of all, thanks for new beta. It fixes the initial feature (in previous beta there were not typeset at all). But while testing (a bit somewhat extreme example to push the limits) I came up with some initial letter hanging in the footer (page 3). Not sure the issue is linked

[NTG-context] Best way to prevent wrong column/page break with par starting with \starthanging

2015-11-19 Thread josephcanedo
Dear all, I am using \starthanging to implement dropcaps (with small pdf files). I use this Inside mixedcolumns (2 columns). I’d like to know if there is a better way than \testcolumn[N], N being the number of lines of the dropcap, to prevent the location of dropcap being cut between end

Re: [NTG-context] "Trial typesetting" in ConTeXt / lua ?

2015-11-19 Thread josephcanedo
I’ll try this in a minute. Thanks a million. Another bit of complexity, if I have some words in different font (only a few of them), should I call tohbox for these separately and “chain” the different hboxes together ? For example the idea is to “emulate” for instance: The second line has a

Re: [NTG-context] "Trial typesetting" in ConTeXt / lua ?

2015-11-19 Thread josephcanedo
Attached simple MWE. The second line has no ligatures/ no glyph substitution/ kern Using: ConTeXt ver: 2015.10.09 21:28 MKIV beta fmt: 2015.11.1 Thanks Best regards Joseph From: josephcan...@gmail.com Sent: ‎Wednesday‎, ‎November‎ ‎18‎, ‎2015 ‎10‎:‎36‎ ‎PM To: ntg-context@ntg.nl

Re: [NTG-context] "Trial typesetting" in ConTeXt / lua ?

2015-11-18 Thread josephcanedo
Hi Hans First of all, thanks a lot for replying. I tried your suggestion and it does not seem to work at least for fancy features in EB Garamond (historical liguratures and other features). I also tried to pass the hbox to tex.linebreak() and got assertion failure in luatex. Is there any

Re: [NTG-context] "Trial typesetting" in ConTeXt / lua ?

2015-11-18 Thread josephcanedo
> are you sure that you defined that font and that it's the current font? I’ll double check my code and may I send you a MWE if I can still not see the ligatures and stuff. I’ll try also with new beta (have not installed yet) just in case. > just put stuff in vboxes and loop over that; at

Re: [NTG-context] "Trial typesetting" in ConTeXt / lua ?

2015-11-17 Thread josephcanedo
Hello, I was wondering if someone could have some hints on this question, anyway, I found the function mknodes() from luaTeX wiki and nodes.handlers.characters(head) function in ConTeXt (as it seems that node.ligaturing(head) and node.kerning(head) do not seem to do anything). It seems to

Re: [NTG-context] "Trial typesetting" in ConTeXt / lua ?

2015-11-17 Thread josephcanedo
Just in case it is of interest (and assuming this won’t change in future versions), after digging again in lua code I replaced nodes.handlers.characters(head) with local proc = nodes.tasks.actions('processors') -- not sure finalizers tasks are needed ? head = proc(head) before passing

[NTG-context] "Trial typesetting" in ConTeXt / lua ?

2015-11-14 Thread josephcanedo
Dear all, Is it possible in ConTeXt within lua code to do “trial typesetting” (not sure that’s best name for what I would like to achieve) ? By this I mean store some input (with text and macros) in some buffer and do what ConTeXt does normally (parsing, create nodes …) but instead of

[NTG-context] How to scale an external figure from lua ?

2015-11-09 Thread josephcanedo
Dear all, I am trying to write some lua code that loads some pdf file and scales it. I have the following code (got from previous question here to get number of pages from a pdf and from source files). local figure = figures.push { name = filename, scale = N } -- scale value does not seem

Re: [NTG-context] How to scale an external figure from lua ?

2015-11-09 Thread josephcanedo
More precisely, I would like to get width and height of the scaled figure Inside lua code, to perform some checks. Thanks again Joseph From: josephcan...@gmail.com Sent: ‎Monday‎, ‎November‎ ‎9‎, ‎2015 ‎10‎:‎12‎ ‎PM To: ntg-context@ntg.nl Dear all, I am trying to write some lua

[NTG-context] Another issue with EBGaramond / firstline / mixedcolumns

2015-11-08 Thread josephcanedo
Dear all, Trying to use EB Garamond font Inside mixed columns + use firstline feature (to make it larger) I get an empty line in output between first line and the rest of paragraph. If I comment the line containing \setupbodyfont and use default font the problem disappears (even with larger

Re: [NTG-context] Problem using markings

2015-11-04 Thread josephcanedo
Dear all, Digging a bit Inside lua code I could find a way to use internal structures (namely structures.marks.fetched, structures.lists.ordered.section and structures.lists.cached) to get the output I would like. I guess that’s not really recommended to use internal structures from lua code

[NTG-context] Problem using markings

2015-11-03 Thread josephcanedo
Dear all, I would like to display in page header the number of first and last subsection that starts on a given page (ie the title of those appear on that page regardless their content). For this I tried using \fetchmarking[subsectionnumber][][top] and

Re: [NTG-context] \fetchmark broken despite change in strc-mar.mkiv with fix

2015-11-01 Thread josephcanedo
Dear all, From strc-mar.mkiv I see another function called \fetchmarking with is also expandable as says comment: % also fully expandable but here we have: [name][range][method] It seems to give correct marking if I use empty [] for range parameter. But I do not understand what “range”

Re: [NTG-context] More ebgaramond issues (newotf, finding fonts and kerning)

2015-11-01 Thread josephcanedo
Tried locally on W8.1/64 and otherwise same ConTeXt and EBGaramond files I see similar issues (expect maybe kerning is done with new otf loading). Sent from Windows Mail From: Rik Kabel Sent: ‎Monday‎, ‎November‎ ‎2‎, ‎2015 ‎3‎:‎10‎ ‎AM To: ntg-context@ntg.nl Three problems

[NTG-context] \fetchmark broken despite change in strc-mar.mkiv with fix

2015-10-31 Thread josephcanedo
Dear all, I saw that \fetchmark command broken and applied the (small) change as explained in http://www.mail-archive.com/dev-context%40ntg.nl/msg02349.html but the command is still giving wrong marks in headers. Is there any other fix or should I run some command after having modified the

Re: [NTG-context] \setfirstline for headings/titles ?

2015-10-29 Thread josephcanedo
Came up with some solution using lua, probably not the most elegant one but seems to work. Attached below in case it’s of any interest for anyone. \setupheads[ align=center] \startluacode userdata = userdata or {} userdata.test = function(n) local breakline = n:find([[\\]])

Re: [NTG-context] \setfirstline for headings/titles ?

2015-10-28 Thread josephcanedo
Hello all, Perhaps a more meaningful example, actually I explicitly break lines Inside title text. \setuphead[subject][align=center] \starttext \startsubject[title={First title line\\ \tf eventual second line}] % second line same size as normal text Howto ? Some text here

Re: [NTG-context] \setfirstline Inside columns environment does not seem to work

2015-10-27 Thread josephcanedo
Seems to work fine with columnsets: \setupbodyfont[pagella] \definecolumnset[TwoColumns][n=2] \starttext \startcolumnset [TwoColumns] \setupindenting[medium,yes] \setupalign[tolerant] \definefirstline [fancy] [alternative=line, style=\tfd] \setfirstline[fancy] \input tufte \par

[NTG-context] Dropcaps in ConTeXt

2015-10-27 Thread josephcanedo
Dear all, I try to typeset some text with dropcaps which are pdf files in a 2 column text. I came up with 3 possibilities as shown in the sample below (attached D1.pdf). So far best solution seems to use the lettrine module, but I wondered if it would be possible to cope with the issue

[NTG-context] \setfirstline for headings/titles ?

2015-10-27 Thread josephcanedo
Dear all, Still playing with \setfirstline, I was wondering how to apply it for headings as well ? Naive sample below does not work for the subject title, most probably because headings/titles have different processing than normal paragraphs. \definecolumnset[TwoColumns][n=2]

[NTG-context] \setfirstline Inside columns environment does not seem to work

2015-10-26 Thread josephcanedo
Dear all, I would like to use the first line specific style magic but I cannot make it to work within 2 column text. I give a simple example (I’ve modified from previous post example on this list). Is that expected ? If you uncomment the \startcolumns and \stopcolumns below, the first line

[NTG-context] Question on how to simple numbered sections or other headings

2015-10-25 Thread josephcanedo
Hello all, I have an another newbie ConTeXt user question (very powerful but the learning curve is a bit steep at least for me ). Sorry if this is documented in the Wiki but could not find an example to do this. I would like to have text splitted in chapters (or sections) with some title,

Re: [NTG-context] Question on how to simple numbered sections or other headings

2015-10-25 Thread josephcanedo
Yes, that’s correct. I guess command= attribute kind of replaces the “default” processing for the head ? Because when I use it the “align = center” does not seem to be taken in account. Thanks a lot Joseph Sent from Windows Mail From: Thomas A. Schmitz Sent: ‎Sunday‎, ‎October‎

Re: [NTG-context] Question on how to simple numbered sections or other headings

2015-10-25 Thread josephcanedo
Thanks a lot, very concise. I was wondering if the \stopchapter (or more generally \stop) were needed ? In my document I write in some instances: \startsubsection Bla bla \startsubsection etc …. and it seems to work fine (but perhaps pure luck or is the \startsubsection implictly

Re: [NTG-context] Obtaining features from EBGaramond font in ConTeXt

2015-10-23 Thread josephcanedo
Thanks Rik, I’ll install standalone ConTeXt along TexLive then. Is there any place I could find docs on \definecharacterspacing command please ? Could not find any occurrence on the Wiki. Many thanks Best regards Joseph Sent from Windows Mail From: Rik Kabel Sent: ‎Friday‎,

[NTG-context] Error when installing context standalone

2015-10-23 Thread josephcanedo
Hello all, I got the installation zip file following instructions found in: http://wiki.contextgarden.net/ConTeXt_Standalone#Windows Unzipped in C:\ConTeXt directory (brand new an empty). Started command: first-setup.bat --context=current --modules=all After a couple of minutes: I get: !

Re: [NTG-context] Obtaining features from EBGaramond font in ConTeXt

2015-10-23 Thread josephcanedo
At the moment, I use “\,” between word and question marks. Also “~” between word and “:”. I guess the \definecharacterspacing is more flexible and transparent from text input point of view (only write normal space). IIRC both \, and ~ also avoids line breaking at their location. Is there a way

Re: [NTG-context] Error when installing context standalone

2015-10-23 Thread josephcanedo
Works all fine (also used win64.zip file) if I do not specify --context=current. Thanks Joseph Sent from Windows Mail From: josephcan...@gmail.com Sent: ‎Friday‎, ‎October‎ ‎23‎, ‎2015 ‎9‎:‎28‎ ‎PM To: ntg-context@ntg.nl Hello all, I got the installation zip file following

[NTG-context] Obtaining features from EBGaramond font in ConTeXt

2015-10-23 Thread josephcanedo
Hello all, Wondered if you could figure out what I did wrong with specifying the font. Asked question on TexExchange.org already, with samples. http://tex.stackexchange.com/questions/274471/obtaining-features-from-ebgaramond-font-in-context I use texlive 2015 on Windows 8.1 Many thanks,