[NTG-context] Re: Why is only the first frame protruding into the margin?

2024-05-17 Thread madiazm . eoicc
yeee that's it. adding the command after the scripts solved the protruding. thanks to all of you who took time to look into the thing... and to you Hans. It would be imposible that I had thought of this as the source of my problem!!!

[NTG-context] Re: Why is only the first frame protruding into the margin?

2024-05-17 Thread madiazm . eoicc
here again... incredibly the protruding comes after creating the second script. If I only use the libertinus fonts every thing is ok. the code definitions don't find the cormorant font and use libertinus. But after adding the second typescript and compiling... there comes the protruding of the

[NTG-context] Re: Why is only the first frame protruding into the margin?

2024-05-17 Thread madiazm . eoicc
thanks Pablo, but this is strange If I reproduce your code in a new file I see the perfect alignment of the frames. But I had changed the code in my original file as suggested by Wolfgang and I additionally commented all lines in the "firstHeadings" definitions following your advice and after

[NTG-context] Re: Why is only the first frame protruding into the margin?

2024-05-17 Thread madiazm . eoicc
I finally found showframe (so difficult to remember things...) to see and indeed the first frame is ignoring the margin-distance (apart from the issues of printed margins in paper, that I should persue too... page with frames:

[NTG-context] Re: Why is only the first frame protruding into the margin?

2024-05-17 Thread madiazm . eoicc
thanks Wolfgang for your advice and sorry for being so verbose, but since the margins are "included" in the problem I decided to put my layout there too. I made your suggested changes and unfortunately it doesnt work, but being a bit surprised by the margins I printed a copy of the page and

[NTG-context] Re: Why is only the first frame protruding into the margin?

2024-05-17 Thread madiazm . eoicc
buahhh, I'm on context-on-web too, but I get this protruding... I even tried to put something before the section (letter k in the pdf) to see if the reason was being the frame the first thing on the page, but persists... ... I can't atach my pdf! here the link

[NTG-context] Why is only the first frame protruding into the margin?

2024-05-16 Thread madiazm . eoicc
Hi, I used some code from the meta-fun manual to recreate a labelled frame around my sections. But the first framedtext protrudes a couple of mm into the margin. Only the first one in the page. I intentionaly added other sections and the frames aline to the margin ok. I tried to put something

[NTG-context] Re: what am I missing in the typescript?

2024-05-15 Thread madiazm . eoicc
indeed! thanks a lot, I'm trying different things since yesterday and got no clues... I just adapted it to the other script that works good (and there reads [SerifRegular]...[SerifItalic]...[SerifBold]... why is no Regular needed here? (just trying to learn) thanks in advance

[NTG-context] what am I missing in the typescript?

2024-05-15 Thread madiazm . eoicc
Hi all, I'm trying to configure my document to use Libertinus font for the general text and Cormorant for the headings, but I can't get the cormorant-font applied (neither in the text self). The Libertinus fonts get loaded without problems but for cormorant I don't get even a message in log, as

[NTG-context] Re: incosistent output of --- dash

2024-04-07 Thread madiazm . eoicc
thanks to all for pointing to the reason, to the collapsing command and to pablo for pointing to the hbox-trick. I will use the \emdash to ensure a right dash ___ If your question is of interest to others as well,

[NTG-context] incosistent output of --- dash

2024-04-06 Thread madiazm . eoicc
Hi everyone, I'm a bit puzzled because I usually don't get an em-dash when I type tree hyphens. If I use the command \emdash, no problem but when I use the hyphens some days it works... and somedays I see three small hyphens. I tried it on overleaf and of ContextOnWeb with the same

[NTG-context] Re: using an end of line as parameter

2024-02-22 Thread madiazm . eoicc
Thanks again Bruce. I will play with the code a bit. Miguel ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl /

[NTG-context] Re: using an end of line as parameter

2024-02-21 Thread madiazm . eoicc
Thanks a lot Bruce, that did the trick! definitely I will have to learn a bit lua in summer. I just got an error on \qquad and found searching in internet that it was because escape character conflicts between tex and lua. For the time i removed it and since I will create itemizes I hope I dont

[NTG-context] Re: using an end of line as parameter

2024-02-20 Thread madiazm . eoicc
no, I just want to split at the end of each sentence to get the four arguments: now I pass this four lines to my macro \tareaAbc (with the dirty trick of ñ) In den Büchereien gibt es auch …ñ … Kuchen.ñ … Theater.ñ … Workshops.ñ and I wish your context.foo(lines[i]) iteration

[NTG-context] Re: using an end of line as parameter

2024-02-20 Thread madiazm . eoicc
Thanks Hans, I supposed that lua would be more suitable, but unfortunately I still did not learn it (I hope in summer I have time to read the manual) The problem arises from the fact that for each line i will perform a different action and for \def\foo I need four arguments so that I can

[NTG-context] Re: unwanted blank page

2023-11-22 Thread madiazm . eoicc
Thanks a lot Pablo for your comments, I think my bad Englisch did not let me be clear. I just wanted to show my trick not to get the first page numbered, hiding the number with [location=] and then changing the number format to the wished option. I was not asking a question. Of course, since

[NTG-context] Re: unwanted blank page

2023-11-19 Thread madiazm . eoicc
sorry if i dont get your problem right understood, but i'm completely new to context. I use a hack not to get the number not printed in the title page (though I define sectionblocks for keeping different numbering systems for the table of contents and the document) I use

[NTG-context] Re: learning about the grid

2023-11-19 Thread madiazm . eoicc
Thanks, Pablo and Henning I suppose I am making a mistake with my setupinterlinearspace. My school asks for Times New Roman (I use termes) 12pt and onehalfspacing. In latex I used linespread{1.3} and so I supposed setting ConTeXt with setupinterlinearspace[1.3ex] was the right way (I read