Re: [NTG-context] Simple question

2022-05-10 Thread Denis Maier via ntg-context
: ntg-context im Auftrag von Gerben Wierda via ntg-context Gesendet: Dienstag, 10. Mai 2022 18:47:32 An: mailing list for ConTeXt users Cc: Gerben Wierda Betreff: Re: [NTG-context] Simple question Thank you. Is it possible to change the name of the resulting PDF file based on the language

Re: [NTG-context] Simple question

2022-05-10 Thread Gerben Wierda via ntg-context
Thank you. Is it possible to change the name of the resulting PDF file based on the language and a mode? So that with a command context language=fr mode=simple file.tex the result is in file-simple-fr.pdf and with context language=ru mode=none file.tex (or no mode

Re: [NTG-context] Simple question

2022-05-10 Thread Wolfgang Schuster via ntg-context
Gerben Wierda via ntg-context schrieb am 10.05.2022 um 00:15: What is the easiest way to have a ‘database’ of translations for strings and maybe links? I now have 4 languages and 2 versions so 8 documents, but I’d like to have all translatable strings together so I can maintain these in a

Re: [NTG-context] Simple question

2022-05-10 Thread Henning Hraban Ramm via ntg-context
Am 10.05.22 um 00:15 schrieb Gerben Wierda via ntg-context: What is the easiest way to have a ‘database’ of translations for strings and maybe links? I now have 4 languages and 2 versions so 8 documents, but I’d like to have all translatable strings together so I can maintain these in a

[NTG-context] Simple question

2022-05-09 Thread Gerben Wierda via ntg-context
What is the easiest way to have a ‘database’ of translations for strings and maybe links? I now have 4 languages and 2 versions so 8 documents, but I’d like to have all translatable strings together so I can maintain these in a single file. Ideally I can do a file where the key of the

Re: [NTG-context] Simple question: how do I get the filename in the footer

2013-01-22 Thread Gerben Wierda
On 20 Jan 2013, at 22:32, Aditya Mahajan wrote: On Sun, 20 Jan 2013, Gerben Wierda wrote: You can add the \nonknuthmode to your document which makes _ and ^ normal characters for text mode. Is that limited to a {}-scope? And more importantly, that catches ^ and _, but what about

[NTG-context] Simple question: how do I get the filename in the footer

2013-01-20 Thread Gerben Wierda
Simple question, guys (and gals), how do I get the filename (full path not needed) in the footer of my document? I want it there while writing the book and remove it in the final stages. I am using MKII (TeXLive 2011 still) texexec --pdf --mode=editor --once ../products/prd_book.tex TeXExec |

Re: [NTG-context] Simple question: how do I get the filename in the footer

2013-01-20 Thread Philipp Gesang
Hi Gerben, ···date: 2013-01-20, Sunday···from: Gerben Wierda··· how do I get the filename (full path not needed) in the footer of my document? I want it there while writing the book and remove it in the final stages. I am using MKII (TeXLive 2011 still) if the name of the main file

Re: [NTG-context] Simple question: how do I get the filename in the footer

2013-01-20 Thread Gerben Wierda
On 20 Jan 2013, at 12:57, Philipp Gesang wrote: Hi Gerben, ···date: 2013-01-20, Sunday···from: Gerben Wierda··· how do I get the filename (full path not needed) in the footer of my document? I want it there while writing the book and remove it in the final stages. I am using MKII

Re: [NTG-context] Simple question: how do I get the filename in the footer

2013-01-20 Thread Philipp Gesang
···date: 2013-01-20, Sunday···from: Gerben Wierda··· On 20 Jan 2013, at 12:57, Philipp Gesang wrote: Hi Gerben, ···date: 2013-01-20, Sunday···from: Gerben Wierda··· how do I get the filename (full path not needed) in the footer of my document? I want it there while writing the

Re: [NTG-context] Simple question: how do I get the filename in the footer

2013-01-20 Thread Gerben Wierda
On 20 Jan 2013, at 16:09, Philipp Gesang wrote: ···date: 2013-01-20, Sunday···from: Gerben Wierda··· On 20 Jan 2013, at 12:57, Philipp Gesang wrote: Hi Gerben, ···date: 2013-01-20, Sunday···from: Gerben Wierda··· how do I get the filename (full path not needed) in the footer of my

Re: [NTG-context] Simple question: how do I get the filename in the footer

2013-01-20 Thread Wolfgang Schuster
Am 20.01.2013 um 18:06 schrieb Gerben Wierda gerben.wie...@rna.nl: On 20 Jan 2013, at 16:09, Philipp Gesang wrote: ···date: 2013-01-20, Sunday···from: Gerben Wierda··· On 20 Jan 2013, at 12:57, Philipp Gesang wrote: Hi Gerben, ···date: 2013-01-20, Sunday···from: Gerben Wierda···

Re: [NTG-context] Simple question: how do I get the filename in the footer

2013-01-20 Thread Gerben Wierda
On 20 Jan 2013, at 18:34, Wolfgang Schuster wrote: Am 20.01.2013 um 18:06 schrieb Gerben Wierda gerben.wie...@rna.nl: On 20 Jan 2013, at 16:09, Philipp Gesang wrote: ···date: 2013-01-20, Sunday···from: Gerben Wierda··· On 20 Jan 2013, at 12:57, Philipp Gesang wrote: Hi Gerben,

Re: [NTG-context] Simple question: how do I get the filename in the footer

2013-01-20 Thread Aditya Mahajan
On Sun, 20 Jan 2013, Gerben Wierda wrote: You can add the \nonknuthmode to your document which makes _ and ^ normal characters for text mode. Is that limited to a {}-scope? And more importantly, that catches ^ and _, but what about whitespace etc. Isn;t there a true verbatim that I can use

Re: [NTG-context] simple question on kerning activation

2012-11-28 Thread Hans Hagen
On 11/27/2012 6:11 PM, luigi scarso wrote: I see this and I believe that there are kerning -- or not ? yes, lots of them - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH

Re: [NTG-context] simple question on kerning activation

2012-11-28 Thread Wolfgang Schuster
Am 28.11.2012 um 10:01 schrieb Hans Hagen pra...@wxs.nl: On 11/27/2012 6:11 PM, luigi scarso wrote: I see this and I believe that there are kerning -- or not ? yes, lots of them I tried your example with a few other fonts and none of them kerned so much and all of them had a good

Re: [NTG-context] simple question on kerning activation

2012-11-28 Thread Pablo Rodríguez
On 27/11/12 23:10, Hans Hagen wrote: Normally context will automatically fall back on latn but does so by looking at the feature list. These fonts support so many scripts that it's not possible. You (pablo) can report to the font designer that for features like kerning a dflt,dflt pair

Re: [NTG-context] simple question on kerning activation

2012-11-27 Thread Pablo Rodríguez
On 26/11/12 23:46, Hans Hagen wrote: [...] Sure, kern tables are used and are quite valid in open type as well (open type includes truetype). I see lots of kerns in: \starttext \startTEXpage[offset=10pt] \definedfont[file:freeserif.ttf*default] \showfontkerns \input ward

Re: [NTG-context] simple question on kerning activation

2012-11-27 Thread Pablo Rodríguez
On 27/11/12 00:11, Wolfgang Schuster wrote: [...] Is there a difference between the two lines? \usemodule[simplefonts] \setmainfont[FreeSerif] \starttext \showfontkerns dadedidodufafefifofufrflftlalelilolutatetitotu\par

Re: [NTG-context] simple question on kerning activation

2012-11-27 Thread Pablo Rodríguez
On 27/11/12 18:04, Hans Hagen wrote: I see lots of kerns in: \starttext \startTEXpage[offset=10pt] \definedfont[file:freeserif.ttf*default] \showfontkerns \input ward \stopTEXpage \stoptext Well, I don't see any kern. attached Mine attached to (excluding

Re: [NTG-context] simple question on kerning activation

2012-11-27 Thread luigi scarso
On Tue, Nov 27, 2012 at 6:36 PM, Pablo Rodríguez oi...@web.de wrote: \starttext \startTEXpage[offset=10pt] \definedfont[file:freeserif.ttf*default] \showfontkerns \input ward \stopTEXpage \stoptext this is mine -- luigi test-3.pdf Description: Adobe PDF document

Re: [NTG-context] simple question on kerning activation

2012-11-27 Thread Pablo Rodríguez
On 27/11/12 18:42, luigi scarso wrote: On Tue, Nov 27, 2012 at 6:36 PM, Pablo Rodríguez oi...@web.de wrote: \starttext \startTEXpage[offset=10pt] \definedfont[file:freeserif.ttf*default] \showfontkerns \input ward \stopTEXpage \stoptext this is mine Something must

Re: [NTG-context] simple question on kerning activation

2012-11-27 Thread luigi scarso
On Tue, Nov 27, 2012 at 6:46 PM, Pablo Rodríguez oi...@web.de wrote: On 27/11/12 18:42, luigi scarso wrote: On Tue, Nov 27, 2012 at 6:36 PM, Pablo Rodríguez oi...@web.de wrote: \starttext \startTEXpage[offset=10pt] \definedfont[file:freeserif.ttf*default] \showfontkerns \input

Re: [NTG-context] simple question on kerning activation

2012-11-27 Thread Hans Hagen
On 11/27/2012 6:36 PM, Pablo Rodríguez wrote: On 27/11/12 18:04, Hans Hagen wrote: I see lots of kerns in: \starttext \startTEXpage[offset=10pt] \definedfont[file:freeserif.ttf*default] \showfontkerns \input ward \stopTEXpage \stoptext Well, I don't see any kern.

Re: [NTG-context] simple question on kerning activation

2012-11-27 Thread Pablo Rodríguez
On 27/11/12 18:56, Hans Hagen wrote: On 11/27/2012 6:36 PM, Pablo Rodríguez wrote: I see lots of kerns in: \starttext \startTEXpage[offset=10pt] \definedfont[file:freeserif.ttf*default] \showfontkerns \input ward \stopTEXpage \stoptext Well, I don't see any

Re: [NTG-context] simple question on kerning activation

2012-11-27 Thread Wolfgang Schuster
Am 27.11.2012 um 20:34 schrieb Pablo Rodríguez oi...@web.de: On 27/11/12 18:56, Hans Hagen wrote: On 11/27/2012 6:36 PM, Pablo Rodríguez wrote: I see lots of kerns in: \starttext \startTEXpage[offset=10pt] \definedfont[file:freeserif.ttf*default] \showfontkerns \input

Re: [NTG-context] simple question on kerning activation

2012-11-27 Thread Hans Hagen
On 11/27/2012 8:34 PM, Pablo Rodríguez wrote: Probably my font is newer (from http://ftp.gnu.org/gnu/freefont/freefont-ttf-20120503.zip). i got it from: http://www.fonts2u.com/ At least on my ConTeXt installation, OpenType features aren't enabled by default. hard to believe Hans

Re: [NTG-context] simple question on kerning activation

2012-11-27 Thread Pablo Rodríguez
On 27/11/12 22:34, Wolfgang Schuster wrote: Am 27.11.2012 um 20:34 schrieb Pablo Rodríguez oi...@web.de: [...] Probably my font is newer (from http://ftp.gnu.org/gnu/freefont/freefont-ttf-20120503.zip). I think there is no file clash, since ConTeXt standalone doesn't provide the font

Re: [NTG-context] simple question on kerning activation

2012-11-27 Thread Hans Hagen
On 11/27/2012 8:34 PM, Pablo Rodríguez wrote: On 27/11/12 18:56, Hans Hagen wrote: On 11/27/2012 6:36 PM, Pablo Rodríguez wrote: I see lots of kerns in: \starttext \startTEXpage[offset=10pt] \definedfont[file:freeserif.ttf*default] \showfontkerns \input ward

Re: [NTG-context] simple question on kerning activation

2012-11-27 Thread Wolfgang Schuster
Am 27.11.2012 um 22:43 schrieb Pablo Rodríguez oi...@web.de: On 27/11/12 22:34, Wolfgang Schuster wrote: Am 27.11.2012 um 20:34 schrieb Pablo Rodríguez oi...@web.de: [...] Probably my font is newer (from http://ftp.gnu.org/gnu/freefont/freefont-ttf-20120503.zip). I think there is no file

Re: [NTG-context] simple question on kerning activation

2012-11-27 Thread Hans Hagen
On 11/27/2012 10:58 PM, Wolfgang Schuster wrote: Am 27.11.2012 um 22:43 schrieb Pablo Rodríguez oi...@web.de: On 27/11/12 22:34, Wolfgang Schuster wrote: Am 27.11.2012 um 20:34 schrieb Pablo Rodríguez oi...@web.de: [...] Probably my font is newer (from

[NTG-context] simple question on kerning activation

2012-11-26 Thread Pablo Rodríguez
Hi there, I have the following file to check a feature in FreeSerif: \setuppapersize[A4,landscape] \usemodule[simplefonts][size=30pt] \setmainfont[FreeSerif] \starttext dadedidodufafefifofufrflftlalelilolutatetitotu\par {\em dadedidodufafefifofufrflftlalelilolutatetitotu\par} {\bf

Re: [NTG-context] simple question on kerning activation

2012-11-26 Thread Hans Hagen
On 11/26/2012 8:01 PM, Pablo Rodríguez wrote: Hi there, I have the following file to check a feature in FreeSerif: \setuppapersize[A4,landscape] \usemodule[simplefonts][size=30pt] \setmainfont[FreeSerif] \starttext dadedidodufafefifofufrflftlalelilolutatetitotu\par {\em

Re: [NTG-context] simple question on kerning activation

2012-11-26 Thread Pablo Rodríguez
On 26/11/12 21:39, Hans Hagen wrote: On 11/26/2012 8:01 PM, Pablo Rodríguez wrote: Sorry for the stupid question: isn't it font kerning (not kern OT table, but traditional non-OT kerning) enabled when compiling this source? kerning is *always* driven by the font, given that the font has

Re: [NTG-context] simple question on kerning activation

2012-11-26 Thread Hans Hagen
On 11/26/2012 11:04 PM, Pablo Rodríguez wrote: On 26/11/12 21:39, Hans Hagen wrote: On 11/26/2012 8:01 PM, Pablo Rodríguez wrote: Sorry for the stupid question: isn't it font kerning (not kern OT table, but traditional non-OT kerning) enabled when compiling this source? kerning is *always*

Re: [NTG-context] simple question on kerning activation

2012-11-26 Thread Wolfgang Schuster
Am 26.11.2012 um 23:04 schrieb Pablo Rodríguez oi...@web.de: On 26/11/12 21:39, Hans Hagen wrote: On 11/26/2012 8:01 PM, Pablo Rodríguez wrote: Sorry for the stupid question: isn't it font kerning (not kern OT table, but traditional non-OT kerning) enabled when compiling this source?

[NTG-context] simple question: newline in chapter header?

2004-11-05 Thread Miek Gieben
Hello, I'm trying to switch from latex to context and I'm trying to port the book class from latex to a context document. Right now I'm working on the chapter def and I have: \definetext[chapter][footer][pagenumber] \setuphead[chapter][ header=empty, footer=chapter, textstyle=bold,

Re: [NTG-context] simple question: newline in chapter header?

2004-11-05 Thread Hans Hagen
Miek Gieben wrote: Hello, I'm trying to switch from latex to context and I'm trying to port the book class from latex to a context document. Right now I'm working on the chapter def and I have: \definetext[chapter][footer][pagenumber] \setuphead[chapter][ header=empty, footer=chapter,

Re: [NTG-context] simple question: newline in chapter header?

2004-11-05 Thread Miek Gieben
[On 05 Nov, @ 14:53, Hans wrote in Re: [NTG-context] simple quest ...] seem work. :( What I'm I missing here? use \def\MyHeadCommand#1#2% {\vbox{#1\par#2}} with command=\MyHeadCommand ofcourse \par! :) thanks! grtz Miek ___