Re: [NTG-context] Support for musl

2018-01-22 Thread Andreas Schneider
Am Freitag, den 19.01.2018, 12:22 +0100 schrieb Mojca Miklavec: > On 19 January 2018 at 11:40, Henri Menke wrote: > > Dear list, > > > > I'd like to support Linux platforms which use musl (https://www.mus > > l-libc.org/) instead of glibc, like for instance Alpine Linux. > > > > How would I go ab

Re: [NTG-context] Footnote in TABLE isn't rendered anywhere

2017-07-06 Thread Andreas Schneider
Am 2017-07-05 20:51, schrieb Pablo Rodriguez: this might do what you intend: \starttext \bTABLE[split=repeat,align=normal] \bTR\bTD Something\postponenotes\footnote[x]{bla bla}\eTD\eTR \bTR\bTD Foo\note[x] \eTD\eTR \eTABLE \flushnotes \stoptext Just in case it

[NTG-context] Footnote in TABLE isn't rendered anywhere

2017-07-03 Thread Andreas Schneider
Hello, in the current ConTeXt Minimals (ver: 2017.06.30 19:45 MKIV beta fmt: 2017.7.3) the following example doesn't show any footnotes: \starttext \bTABLE[split=repeat,align=normal] \bTR\bTD Something\footnote[x]{bla bla}\eTD\eTR

Re: [NTG-context] labeltext via lua

2017-02-17 Thread Andreas Schneider
Am 2017-02-16 17:13, schrieb Hans Hagen: On 2/16/2017 3:06 PM, Andreas Schneider wrote: `context.labeltext` would immediately print the label, so I cannot use the value within lua. My workaround would be a crossover between lua and tex, but that results in the bookmark having the wrong label

Re: [NTG-context] labeltext via lua

2017-02-16 Thread Andreas Schneider
Am 2017-02-16 14:43, schrieb Hans Hagen: because additional ones live at the tex end why not use context.labeltext etc? Hans `context.labeltext` would immediately print the label, so I cannot use the value within lua. My workaround would be a crossover between lua and tex, but that results

Re: [NTG-context] labeltext via lua

2017-02-16 Thread Andreas Schneider
Am 2017-02-16 11:50, schrieb Hans Hagen: languages.data.labels.texts.appendix.labels.en look into lang-txt.lua Hello Hans, I already looked into this and even printed the whole languages.data table at runtime, but didn't find my keys in there. Here is an example which apparently doesn't wo

[NTG-context] labeltext via lua

2017-02-16 Thread Andreas Schneider
Hello, if I define a labeltext via \setuplabeltext[en][test=Something], how can I access that value via lua? (context.labeltext obviously prints the content, but doesn't allow me to use it in lua). As a related side-request: how can I fix expansion in cases like this: \startsectionlevel[titl

Re: [NTG-context] Troubles installing on windows

2016-03-28 Thread Andreas Schneider
Am 2016-03-25 04:37, schrieb adrian: Any solution to this? I'm having the same error. Windows 10 and downloading latest ConTeXt standalone Solution to what? The referenced wiki page works and the downloads there (for example context-setup-mswin.zip) work fine as well. I regularly update throu

Re: [NTG-context] Howto use the lua io.read() function only in the first context run?

2016-03-19 Thread Andreas Schneider
Am 2016-03-16 22:47, schrieb Romain Diss: Hi, Thank you Hans... but it doesn't fully work. Now I only enter the input once (that's ok) but on the second run, the variable is not defined anymore. How can I keep it in the conTeXt memory? -- Minimum still not working example local name if environm

Re: [NTG-context] PDF Signature Fields

2016-03-14 Thread Andreas Schneider
Am 2016-03-10 16:56, schrieb Hans Hagen: next beta: \setupinteraction[state=start] \starttext \definefield[x][signature] \field[x] \stoptext It's working; thank you very much :-) ___ If your question is

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

2016-03-11 Thread Andreas Schneider
You probably want automatic levels. Take a look at strc-lev.mkvi. \startsectionlevel[title=outer] \startsectionlevel[title=inner] \startsectionlevel[title=yet another] \stopsectionlevel \stopsectionlevel \stopsectionlevel If you need more levels than the default (which ranges from chapter to s

Re: [NTG-context] Apply a start/stop command pair to certain subsections

2016-03-10 Thread Andreas Schneider
You could take a look at my fork of Pablo's pandoc-xhtml: https://github.com/aksdb/pandoc-xhtml The basic idea is to use another step in between the generation: Pandoc -> XML -> PDF (since ConTeXt can read XML natively, given the appropriate environment file). As you can see in the example Ma

Re: [NTG-context] PDF Signature Fields

2016-03-10 Thread Andreas Schneider
Einrichters Unterschrift" is another Signature Field) Best regards Andreas Am 2016-03-09 16:16, schrieb Hans Hagen: On 3/9/2016 2:11 PM, Andreas Schneider wrote: Hello all, is there currently any mechanism in ConTeXt similar to the LaTeX digsig or eforms package? I want to add a form f

Re: [NTG-context] PDF Signature Fields

2016-03-09 Thread Andreas Schneider
Very good point(s). Just for more reference: We use such forms heavily in-house, sometimes with a multi-stage approach. Example: the employee fills out his details, etc., and signs that part. The fields he had to fill are now locked (but saved, ofcourse ;-)). That PDF is now sent to his or her

[NTG-context] PDF Signature Fields

2016-03-09 Thread Andreas Schneider
Hello all, is there currently any mechanism in ConTeXt similar to the LaTeX digsig or eforms package? I want to add a form field that can be digitally signed (which is now already possible with Acrobat Reader, not just with Acrobat Pro). Additionally (like the mentioned eforms package) it wou

Re: [NTG-context] OT: OpenType vs. TrueType

2016-03-05 Thread Andreas Schneider
Am 2016-03-05 09:40, schrieb Wolfgang Schuster: Hi, I think the following video is interesting because it answers the questions which font format you should use: https://www.youtube.com/watch?v=nM5tN88CX30 German speaking users can watch the following video: https://vimeo.com/4149435

Re: [NTG-context] Vertically centered text in each page

2016-03-02 Thread Andreas Schneider
Am 2016-02-19 12:23, schrieb Marco Patzer: On Fri, 19 Feb 2016 11:54:12 +0100 Nicola wrote: How do I setup the slide command to do that by default? I have tried putting {before,after,beforesection,aftersection}=\vfill in various combinations in \setuphead, but I cannot obtain the desired effec

Re: [NTG-context] Floating split TABLE misaligned

2016-02-10 Thread Andreas Schneider
Am 2016-02-05 11:29, schrieb Andreas Schneider: Hi, I presume I found a bug in TABLE placement. The attached examples shows, that the split TABLE is not centered on the first page, bug centered on the second. I would expect it to be centered in both cases. Best regards, Andreas As much as I

Re: [NTG-context] \usemodule[pgfplots] fails

2016-02-08 Thread Andreas Schneider
Am 2016-02-08 15:17, schrieb Procházka Lukáš Ing.: Hello, that's strange as: 1. I renewed Context today morning; 2. I launched "context.exe --make --generate"; 3. I launched "context.exe --nonstopmode Pgf.mkiv" which produces the recently described failure. So - can anyone confirm the same beh

[NTG-context] Floating split TABLE misaligned

2016-02-05 Thread Andreas Schneider
Hi, I presume I found a bug in TABLE placement. The attached examples shows, that the split TABLE is not centered on the first page, bug centered on the second. I would expect it to be centered in both cases. Best regards, Andreas\setupTABLE[split=repeat, textwidth=.9\textwidth] \setupTABLE[c

Re: [NTG-context] Sanitize " in XML/XHTML documents

2016-02-02 Thread Andreas Schneider
Am 2016-02-02 13:19, schrieb mass...@fastwebnet.it: Pandoc produces "some text". In TeX I would usually use \quotation{some text} to have proper, language dependent quotes. Are you sure that Pandoc can produce " only? Have you tried the --html-q-tags option? Greetings, Massi *face-palms* Yes,

Re: [NTG-context] Sanitize " in XML/XHTML documents

2016-02-02 Thread Andreas Schneider
Am 2016-02-02 12:14, schrieb Hans Hagen: On 2/2/2016 11:32 AM, Andreas Schneider wrote: Anyway: is there any mechanism that I can use to "fix" quotations while typesetting XML documents? Pandoc produces "some text". In TeX I would usually use \quotation{some text} to h

[NTG-context] Sanitize " in XML/XHTML documents

2016-02-02 Thread Andreas Schneider
Hi, I hope I don't just overlook some plain obvious solution, but a longer search in the Wiki and the mailing list (and the context source) didn't come up with anything too useful Anyway: is there any mechanism that I can use to "fix" quotations while typesetting XML documents? Pandoc pro

Re: [NTG-context] Splitting natural table fails with xtable in footer

2015-10-06 Thread Andreas Schneider
Am 2015-10-06 13:31, schrieb Wolfgang Schuster: >> Andreas Schneider >> 1. Oktober 2015 um 12:52 >> Hello, >> >> In the following minimal example, an error occurs when build the file (wit

Re: [NTG-context] Splitting natural table fails with xtable in footer

2015-10-06 Thread Andreas Schneider
No ideas? Nothing I can do about this? :-( Am 2015-10-01 12:52, schrieb Andreas Schneider: Hello, In the following minimal example, an error occurs when build the file (with a recent context version): \starttext

[NTG-context] Splitting natural table fails with xtable in footer

2015-10-01 Thread Andreas Schneider
Hello, In the following minimal example, an error occurs when build the file (with a recent context version): \starttext \startsetups[s:footer] \startembeddedxtable[frame=off,distance=5pt,bodyfont=6pt,option=s

Re: [NTG-context] vim module: modify line wrapping

2015-05-15 Thread Andreas Schneider
Am 14.05.2015 17:26, schrieb Aditya Mahajan: I just released a newer version to t-vim where the `option=hypenated` is documented. It is also possible to hyphenate words by using \definevimtyping[...][..., option={packed,hyphenated}, align=hyphenated, ] Aditya Thank you for that solutio

Re: [NTG-context] vim module: modify line wrapping

2015-05-13 Thread Andreas Schneider
Am 12.05.2015 21:09, schrieb Aditya Mahajan: Does \setbreakpoints[compound] help? If not, please post a minimal example. Aditya Unfortunately not. Here is an example: \usemodule[vim] \definevimtyping[JSON][sy

[NTG-context] vim module: modify line wrapping

2015-05-12 Thread Andreas Schneider
Hi, vimtyping already offers line wrapping by specifying "lines=split". However, some /lines/with/very/long/sequences/of/somehow/breakable/chars do not break at all. In that given example, I would like to also allow vimtyping to break lines at "/". Is something like that possible? And if so: ho

Re: [NTG-context] SyncTeX and mkiv

2015-04-06 Thread Andreas Schneider
Otared Kavian schrieb: > > Using TeXShop on a Mac (with Mac OS X 10.2) I noticed that some of my > documents typeset with mkiv do not respond correctly regarding SyncTeX: when > I do « Command-Click » on a specific part of the resulting PDF there is no > reaction at all, that is I do not get to

Re: [NTG-context] XML Processing with Verbatim (VIM-Typing)

2015-02-13 Thread Andreas Schneider
Am 12.02.2015 15:44, schrieb Hans Hagen: so then you have to wikify it (or add it to the t-vim module docu) You are right ofcourse :-) Done: http://wiki.contextgarden.net/Verbatim_XML ___ If your question is of int

Re: [NTG-context] XML Processing with Verbatim (VIM-Typing)

2015-02-11 Thread Andreas Schneider
Am 10.02.2015 22:45, schrieb Hans Hagen: \startluacode function xml.functions.processJSON(t) buffers.assign("foo","\\startJSON\n" .. tostring(xml.text(t)) .. "\n\\stopJSON") context.getbuffer { "foo" } end \stopluacode \startxmlsetups xml:json \pushcatcodetable \

[NTG-context] XML Processing with Verbatim (VIM-Typing)

2015-02-10 Thread Andreas Schneider
Hello, as a few other topics on this Mailing List already discussed, it's not (easily?) possible to use \starttyping\stoptyping within XML setups. If it was "simple" verbatim, there would be a few workarounds. However, I want to provide formatted verbatim (i.e. \startJSON \stopJSON, after havi

Re: [NTG-context] xtables in setups

2014-12-15 Thread Andreas Schneider
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Am 15.12.2014 um 20:07 schrieb Wolfgang Schuster: > You have to replace \startxtable with \startembeddedxtable (and also > \stopxtable with \stopembeddedxtable). > > Wolfgang > Ahh, that's it. I didn't see this in the manual but was now able to fin

[NTG-context] xtables in setups

2014-12-15 Thread Andreas Schneider
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Hi, I'm currently setting up a xml -> pdf template for some technical documentation and wanted to use xtables. However they don't seem to work when within a setup/xmlsetup. Small example (without XML, for the sake of simplicity): ~~~

[NTG-context] Defining and using font weights

2014-11-26 Thread Andreas Schneider
Hello, I'm not able to figure out how I can make use of a font with "custom" font weights. I have a font that comes with "regular", "bold", "half-bold" and "ultra bold". I currently define the font like this: \definefontfamily[myfont][rm][myfont][sc=file:MyFontRegular,bf=file:MyFontBold] Whi

Re: [NTG-context] reading modules broken?

2014-06-07 Thread Andreas Schneider
On 06.06.2014 22:52, Hans Hagen wrote: modules have names like m- x- s- p- u- and the lookup happens in a certain order without prefix, and checking for mkvi, mkiv, mkii or tex suffixes so in your case it should be something u-hvdm-test or so (user hvdm test) so you were just lucky that i

Re: [NTG-context] another issue with PDF bookmarks

2014-04-09 Thread Andreas Schneider
On 08.04.2014 16:20, Pablo Rodriguez wrote: > Dear list, > > I have a sample that shows an issue with PDF bookmarks: > > \setupinteraction[state=start] > \placebookmarks[chapter] > \setupheadertexts[chapter] > \starttext > \completecontent > > \chapter{Footnote\footnote{Only

Re: [NTG-context] Appendix Page Numbering

2014-02-12 Thread Andreas Schneider
Title: Re: [NTG-context] Appendix Page Numbering On Monday, February 10, 2014, at 20:33 Troy Henderson wrote: Any thoughts on getting these "custom PDF bookmark/index" entries? Thanks in advance, Troy What you are looking for is called "Page Labels". http://www.w3.org/TR/WCAG20-TECHS/PDF

Re: [NTG-context] Dynamic headings & query heading information

2014-02-08 Thread Andreas Schneider
Title: Re: [NTG-context] Dynamic headings & query heading information On Friday, February 7, 2014, at 18:12 Wolfgang Schuster wrote: Am 07.02.2014 um 15:45 schrieb Andreas Schneider <ak...@gmx.de>: Dynamic headings & query heading information 2) another macro should build a

[NTG-context] Dynamic headings & query heading information

2014-02-07 Thread Andreas Schneider
Title: Dynamic headings & query heading information Hello, again I'm working on a technical manual and decided to use ConTeXt to do the job. Since I'm a developer, I always try to do things as flexible as possible. I'm currently struggling to achieve two things: 1) a macro (that will print a l

Re: [NTG-context] Expansion or Referencing problem

2014-02-06 Thread Andreas Schneider
Title: Re: [NTG-context] Expansion or Referencing problem On Thursday, February 6, 2014, at 11:39 Wolfgang Schuster wrote: Am 06.02.2014 um 11:32 schrieb Andreas Schneider <ak...@gmx.de>: Expansion or Referencing problem Hello, I'm probably just stuck with another misunder

[NTG-context] Expansion or Referencing problem

2014-02-06 Thread Andreas Schneider
Title: Expansion or Referencing problem Hello, I'm probably just stuck with another misunderstanding of TeX's expansion, but I can't figure out how to fix it. The attached example doesn't work as intended. My defined command produces the correct reference name (as can be seen in the resulting .

Re: [NTG-context] GLIBC 2.7 requirement for Standalone ConTeXt

2013-05-23 Thread Andreas Schneider
On Thursday, May 23, 2013, at 14:43 Mojca Miklavec wrote: > On Thu, May 23, 2013 at 1:46 PM, Andreas Schneider wrote: >> Hello, >> >> I'm running a build server on an older box with CentOS 5. I didn't >> update ConTeXt Standalone in quite some time. No

[NTG-context] GLIBC 2.7 requirement for Standalone ConTeXt

2013-05-23 Thread Andreas Schneider
Hello, I'm running a build server on an older box with CentOS 5. I didn't update ConTeXt Standalone in quite some time. Now I did since I had some problems with the dated version in use, and now I face the following problem: texlua: /lib/libc.so.6: version `GLIBC_2.7' not found (req

Re: [NTG-context] setupinteraction and macroexpansion

2012-06-19 Thread Andreas Schneider
On Tuesday, June 19, 2012, at 10:42 Wolfgang Schuster wrote: > Am 19.06.2012 um 10:39 schrieb Andreas Schneider: >> Hello, >> >> I'm a bit lost with macro expansion here. I try to use some macros to >> set the title (and subject) of the PDF document. The attach

[NTG-context] setupinteraction and macroexpansion

2012-06-19 Thread Andreas Schneider
Hello, I'm a bit lost with macro expansion here. I try to use some macros to set the title (and subject) of the PDF document. The attached minimal example shows what I want to achieve. I tried def, edef, gdef, define, explicit expand, expandoneafter, etc. etc. without any success. Whatever I

Re: [NTG-context] Strange page breaks

2012-06-19 Thread Andreas Schneider
On Monday, June 18, 2012, at 12:48 Wolfgang Schuster wrote: > You can tell context to force a page break when there isn’t enough space for > the heading. > > \setuphead[subsubsubject][before={\testpage[6]\blank[big]}] > > Wolfgang Nice, that does the trick! Thank you! -- Best Regards, Andreas

Re: [NTG-context] Strange page breaks

2012-06-18 Thread Andreas Schneider
On Monday, June 18, 2012, at 11:54 Hans Hagen wrote: > On 18-6-2012 09:43, Andreas Schneider wrote: >> Hello, >> >> the attached example causes very strange page breaks. >> >> 1. The subsubsubject is the last line on the first page. That doesn't >> l

[NTG-context] Strange page breaks

2012-06-18 Thread Andreas Schneider
Hello, the attached example causes very strange page breaks. 1. The subsubsubject is the last line on the first page. That doesn't look very nice. 2. The xtable is broken although the whole table fits on that page. Is there anything I (or you? :-)) can do about these two problems? #This is Lu

Re: [NTG-context] TABLE with split=repeat and headings

2012-05-25 Thread Andreas Schneider
On Thursday, March 22, 2012, at 15:56 Andreas Schneider wrote: > Hello, > I have several natural tables with the split=repeat option set. Those > tables are directly after a subsubsubject. Every now and then it > happens, that the heading stays on the previous page (as last

Re: [NTG-context] Non-Printing PDFs with ConTeXt

2012-05-04 Thread Andreas Schneider
On Friday, May 4, 2012, at 12:37 Malte Stien wrote: > Hi all, > Is there a way I can get ConTeXt to produce PDFs that are > not-printable? Just as a background to my question: This is not > about copyright. Rather, I am using ConTeXt to produce quality > process documents. The quality management s

Re: [NTG-context] TABLE with split=repeat and headings

2012-03-26 Thread Andreas Schneider
On Thursday, March 22, 2012, at 16:56 Andreas Schneider wrote: > Hello, > I have several natural tables with the split=repeat option set. Those > tables are directly after a subsubsubject. Every now and then it > happens, that the heading stays on the previous page (as last

[NTG-context] TABLE with split=repeat and headings

2012-03-22 Thread Andreas Schneider
Hello, I have several natural tables with the split=repeat option set. Those tables are directly after a subsubsubject. Every now and then it happens, that the heading stays on the previous page (as last line) and the table slips to the next page. Without split=repeat it correctly ta

Re: [NTG-context] PDF Digital Signatures

2012-03-19 Thread Andreas Schneider
On Monday, March 19, 2012, at 16:41 Mojca Miklavec wrote: > I'm replying off-list. I think that this might be on the list of > forbidden features (one would have to pay to adobe to be able to allow > signing document with TeX). > Mojca > On Mon, Mar 19, 2012 at 10:27, And

[NTG-context] PDF Digital Signatures

2012-03-19 Thread Andreas Schneider
Hello, since ConTeXt supports form fields in PDFs, I wonder whether the fields for digital signatures are available as well. If not, please consider this a feature request/wish :-) I received an internal document some time ago that represented a form and was separated into three parts

[NTG-context] xtables: stretch a single column

2012-01-27 Thread Andreas Schneider
Hi, xtables offers option=stretch to stretch the whole table evenly. Is there also a way (without manually calculating the width) to stretch the whole table using a given column? Short use case: I have a table with three columns. Column 1 has an external figure, column 3 a variable lengt

Re: [NTG-context] feature request

2011-11-13 Thread Andreas Schneider
ally do my comments too; just add a comment and continue after the line break with the content/sentence/paragraph: -8< This is %some comment an example. ->8 ... will end up as: "This is an example." -- Best

Re: [NTG-context] beta: Huge log files

2011-10-19 Thread Andreas Schneider
On 19.10.2011 12:35, Hans Hagen wrote: On 19-10-2011 12:31, Meer, H. van der wrote: syst-ini.mkiv line 626: \tracingstats\plusone The only one I find, but I skipped yhe mkii files. yes but that the command itself Hans It seems the VIM module is the culprit here. In t-syntax-groups.tex on l

Re: [NTG-context] beta: Huge log files

2011-10-19 Thread Andreas Schneider
On 14.10.2011 23:26, Hans Hagen wrote: Hi, A new beta has been uploaded. Nothing new apart from some experimental code and a few bugfixes. I also uploaded http://www.pragma-ade.com/preliminaries/hybrid-italics.pdf Files in that path will come and go. Hans Hi, in the current beta I noticed

Re: [NTG-context] SimpleFonts: no italic and bold

2011-10-17 Thread Andreas Schneider
On 17.10.2011 16:49, Wolfgang Schuster wrote: \usemodule[simplefonts] \definefontfeature[fakeitalic][default][slant=.25] % for fake bold use “stretch=” \setmainfont [telegrotesk] [regularfont=* nor, italicfont=* nor, boldfont=* fett, bolditalicfont=* fett, italicfeatures

Re: [NTG-context] SimpleFonts: no italic and bold

2011-10-17 Thread Andreas Schneider
it be emulated/enabled? ConTeXt can fake the slanted and bold style but they are not the same as a real italic and bold font. AFAICS there is no italic style. Only regular, bold and semi-bold. What is needed to get simplefonts to fake italic (and slanted for that matter)? -- Best Regards, An

Re: [NTG-context] SimpleFonts: no italic and bold

2011-10-17 Thread Andreas Schneider
AFAIK the font was designed by URW who I would expect to do better than that ... but well, it's an old font and maybe it was done in a hurry :D -- Best Regards, Andreas Schneider ___ If your question is of intere

[NTG-context] SimpleFonts: no italic and bold

2011-10-17 Thread Andreas Schneider
fonts | tlig all all mtx-fonts | trep all all What would be the preferred way to setup the font in this scenario? Thanks in advance! -- Best Regards, Andreas Schneider ___ If your question

Re: [NTG-context] "externalfigure" vs. "draw externalfigure" in metafun

2011-09-16 Thread Andreas Schneider
On 16.09.2011 16:00, Mojca Miklavec wrote: Dear Hans, I have problems with externalfigure inside metapost. In MKII, only externalfigure "something.png"; works, while in MKIV only draw externalfigure "something.png"; is accepted. Is there any chance to accept one of the syntaxes in bo

Re: [NTG-context] Custom parameters/options for t-vim

2011-09-06 Thread Andreas Schneider
On 03.09.2011 08:58, Aditya Mahajan wrote: On Wed, 31 Aug 2011, Aditya Mahajan wrote: On Wed, 31 Aug 2011, Andreas Schneider wrote: However I also like the idea of the optional vimrc via buffer. I think it might be a nice-to-have feature for the ToDo list :-) In the end, adding a vimrc

Re: [NTG-context] Custom parameters/options for t-vim

2011-08-31 Thread Andreas Schneider
On 29.08.2011 23:35, Aditya Mahajan wrote: On Tue, 30 Aug 2011, Andreas Schneider wrote: I worked with t-vim a bit more and encountered a small problem with the way vim handles syntax definitions. Some of them have several modes that get activated by setting a variable first. For example the

[NTG-context] Custom parameters/options for t-vim

2011-08-30 Thread Andreas Schneider
Hi, I worked with t-vim a bit more and encountered a small problem with the way vim handles syntax definitions. Some of them have several modes that get activated by setting a variable first. For example the syntax "sh" (shell scripts) can be enhanced for bash, ksh, etc. Example: let g:is_ba

Re: [NTG-context] filter and/or vim module in current beta

2011-08-29 Thread Andreas Schneider
On 28.08.2011 21:58, Aditya Mahajan wrote: On Sun, 28 Aug 2011, Andreas Schneider wrote: Shouldn't it detect changes to the buffer through the md5 sum? What I meant was: I modify the buffer (add a line, or change lines) but that change doesn't cause vim to be run again. From what I ca

Re: [NTG-context] filter and/or vim module in current beta

2011-08-28 Thread Andreas Schneider
On 27.08.2011 15:52, Aditya Mahajan wrote: On Sun, 28 Aug 2011, Andreas Schneider wrote: ... Currently, pscolor doesn't seem to work as color scheme which renders a default vimtyping environment (like my initial example) unhighlighted. Using blackandwhite works. Fixed. Again, was due t

Re: [NTG-context] filter and/or vim module in current beta

2011-08-28 Thread Andreas Schneider
On 27.08.2011 09:02, Aditya Mahajan wrote: Fixed. Download t-vim and t-syntax-highlight from the dev branch at github. https://github.com/adityam/filter/tree/dev I'll upload a new version later. Thanks! The vimout file is now created and seems to be correct. There are still some problems, th

Re: [NTG-context] filter and/or vim module in current beta

2011-08-26 Thread Andreas Schneider
On 26.08.2011 21:33, Aditya Mahajan wrote: Are you using the latest version (2011.08.23) of the filter module? The empty filter is due to a change in the how the context namespacing macros work and I fixed this a couple of days ago. I updated via first-setup/minimals, so I hope so. But I'll dou

[NTG-context] filter and/or vim module in current beta

2011-08-26 Thread Andreas Schneider
Hi, it seems the filter module doesn't currently work (in MkIV at least). It may be a problem with the vim module though, I'm not quite sure. The following example doesn't produce any output: -8<--- \usemodule[vim] \definevimtyping[PASCAL][

Re: [NTG-context] minimals: How to prevent that core and modules become incompatible?

2011-07-25 Thread Andreas Schneider
At Monday, 25.07.2011 on 12:31 Paul Menzel wrote: > > Thanks, but I think this was not the problem at my end. > `~/.first-setup.sh` is still the one from January, so `extras` worked > for me. The parameters (and the actual update process) are handled by bin/mtx-update.lua which is one of the fir

Re: [NTG-context] resolvers.findctxfile broken

2011-07-19 Thread Andreas Schneider
On Tuesday, July 19, 2011 11:22 Hans Hagen wrote: > On 19-7-2011 11:06, Andreas Schneider wrote: >> Hi, >> >> since one of the latest beta, resolvers.findctxfiles is broken. >> >> The attached example used to work (see test3.working.log) while the >&g

Re: [NTG-context] Edit a ConTeXt generated document with Adobe Acrobat Professional

2011-07-15 Thread Andreas Schneider
At Friday, 15.07.2011 on 10:17 Cecil Westerhof wrote: > Properly that anybody that knows how to write a document in Microsoft Office > can change the document. So standard software, with a low learning curve. I > had some problems getting them to accept to use Adobe. And now that turns > out to be

Re: [NTG-context] bib module (again)

2011-07-07 Thread Andreas Schneider
On Thursday, July 7, 2011 22:41 Steffen Wolfrum wrote: > Hi Stefan, > thanks for the note. Unfortunately Andreas' module doesn't work anymore. > I had a correspondence with him on that in April this year: > he could reproduce the error, but had no idea what the reason might be, > resp. what chan

Re: [NTG-context] Bibliography is not working

2011-06-25 Thread Andreas Schneider
On Friday, June 24, 2011 20:16 yoraxe wrote: > I got the following error message: > This is BibTeX, Version 0.99d (TeX Live 2011) > The top-level auxiliary file: bibtest.aux > I couldn't open style file cont-no.bst > ---line 2 of file bibtest.aux > : \bibstyle{cont-no > : } > I'

[NTG-context] Modules inside project structure

2011-06-13 Thread Andreas Schneider
Hello, I'm currently trying to split our ConTeXt project into smaller parts, utilizing the ConTeXt project structure. I thought it might be a good idea to also extract reusable parts into private modules. Now I face the problem, that I can't find an optimal spot to place these modules. Current

Re: [NTG-context] Validate (cross)references

2011-05-27 Thread Andreas Schneider
On Friday, May 27, 2011 17:09 Wolfgang Schuster wrote: > Am 27.05.2011 um 17:04 schrieb Andreas Schneider: >> Hello, >> >> if I use \in, \about, \at or anything else that generates a >> cross-reference, and that reference happens to be invalid (typo

[NTG-context] Validate (cross)references

2011-05-27 Thread Andreas Schneider
Hello, if I use \in, \about, \at or anything else that generates a cross-reference, and that reference happens to be invalid (typo or whatever), it just prints out "nothing". Is there a way to have context throw an error if a reference is invalid? (That probably would only m

Re: [NTG-context] \type and linebreak (again)

2011-05-23 Thread Andreas Schneider
On Monday, May 23, 2011 12:11 Wolfgang Schuster wrote: > \filename{cp \$SOMEVAR/some/very/very/very/long/directory/WITHFILE > \$SOMEVAR/other/long/directory} > Wolfgang It's kinda depressing how easy some solutions are, that one could have found themselves if one just looked beyond the own wall

[NTG-context] \type and linebreak (again)

2011-05-23 Thread Andreas Schneider
Hi, I stumbled across the same problem that was discussed earlier this month: \type doesn't break, even if there are opportunities. I tried to follow the suggestions given in that thread, but with no success: \setuppapersize[A4][A4] \starttext \setuptype[space=stretch] %\se

Re: [NTG-context] Issues with MetaPost boxes

2010-08-22 Thread Andreas Schneider
Taco Hoekwater wrote: > There were actually two metapost bugs from that single example. > Next week's luatex beta will have a fix for both. Since I need this fix pretty soon, I thought a svn checkout and build might be a good idea. Getting luatex 0.62 beta compiled and running wasn't a problem,

Re: [NTG-context] Error in minimals beta

2010-08-19 Thread Andreas Schneider
Hans Hagen wrote: > On 19-8-2010 1:34, Andreas Schneider wrote: > >> then I'm afraid it's not fixed yet. At least I still get the same error. > > test file needed then Dammit, it was my fault :-/ I was refering to "structure.counters" in one of my co

Re: [NTG-context] Error in minimals beta

2010-08-19 Thread Andreas Schneider
Hans Hagen wrote: > On 18-8-2010 10:20, Andreas Schneider wrote: >> Hi, >> >> I sent this mail before, but it seems to have been lost on it's way to >> the mailing list ... (I hope so, otherwise this might be a double post). >> >> When I compile my curr

[NTG-context] Error in minimals beta

2010-08-18 Thread Andreas Schneider
Hi, I sent this mail before, but it seems to have been lost on it's way to the mailing list ... (I hope so, otherwise this might be a double post). When I compile my current project, luatex fails with the following error: -

Re: [NTG-context] Bib Module: \cite can kill spaces

2010-08-15 Thread Andreas Schneider
On Sun, 15 Aug 2010 20:09:07 +0200, taco wrote: > Thomas Schmitz wrote: >> Ugly workaround: >> >> \def\prefix{Vgl. \strut} % or \null >> >> But I have no idea what's happening here, maybe Hans or Taco can come up >> with a real solution. \cite[alternative=data] seems to eat any >> horizontal

[NTG-context] Bib Module: \cite can kill spaces

2010-08-15 Thread Andreas Schneider
Hi, I don't know how exactly it happens, but in the attached example the last footnote is missing a space before the inserted \cite. In my real document that happens a lot and kills the layout. Anything I can do to fix that? Best Regards, Andreas.\mainlanguage[de] \usemodule[bib] \setuppublicati

Re: [NTG-context] Issues with MetaPost boxes

2010-08-15 Thread Andreas Schneider
On Sun, 15 Aug 2010 17:34:25 +0200, Taco Hoekwater wrote: > There were actually two metapost bugs from that single example. > Next week's luatex beta will have a fix for both. Thanks for investigating and fixing it so fast! (well, I hope; we will see ;-)) Best Regards, Andreas.

[NTG-context] Issues with MetaPost boxes

2010-08-14 Thread Andreas Schneider
Since some weeks I have strange problems with MetaPost in MKIV (beta). The attached example should (and did in the past) output a central box ("Fakt") surrounded by five boxes named "Dimension". However some of them (in that particular example one) is drawn wrong: the box is on the right spot, but

Re: [NTG-context] Minimals Beta on Windows 64bit

2010-07-29 Thread Andreas Schneider
On Mon, 26 Jul 2010 18:07:24 +0200, Mojca Miklavec wrote: > The problem is that I'm not able to reproduce the problem you are > reporting. Did anyone else experience the same problem? > > Mojca It seems to have been fixed in the meantime. I just tried it again and rsync worked fine. The crash s

[NTG-context] Minimals Beta on Windows 64bit

2010-07-23 Thread Andreas Schneider
Since one of the last Betas mtxrun seems to be aware of 64bit windows, but all the stubs and scripts seem to be missing support for that resulting in the whole setup to not work at all. First-setup fails with stuff like that: MTXrun | run: rsync -rpztlv --stats contextgarden.net::'minimals/curr

Re: [NTG-context] centralized bib database

2010-07-01 Thread Andreas Schneider
Jean Magnan de Bornier wrote: > Hi all, > > AFAIK with the bib module one can't specify the database by an URL. I > believe such feature would be great in allowing users to centralise all > the bibliographical stuff in one place even when they work on several > machines/places. > > regards, I p

Re: [NTG-context] \pdfcatalog broken in MkIV (wrong subject)

2010-06-23 Thread Andreas Schneider
Hans Hagen wrote: > > The \pdfcatalog primitive is not broken, it's simply not present in mkiv > where we have a rather strict control over access to pdf resources. > > Anyhow, i'll add an option to the upcoming beta (normally I only do such > weird features in paid projects). The thing is that i

Re: [NTG-context] \pdfcatalog broken in MkIV

2010-06-23 Thread Andreas Schneider
Andreas Schneider wrote: > Hello, > > as suggested in the thread about PDF Page Labels, \pdfcatalog can be used > to manually modify the PDF Stream. However it seems that this does not > currently work in MkIV (from the minimals, beta branch). In MkII it does > exactly as I tho

Re: [NTG-context] Writing a Curriculum Vitae/Resume

2010-06-16 Thread Andreas Schneider
Matija Šuklje wrote: > Hullo, > > I'm planning to write a CV/Resumé in ConTeXt. > > So I would like to know if there's already a nice module for it e.g. like > the EuroPass[1] CV which also has a LaTeX template[2]. > > Any pointers would be helpful :] > > > Cheers, > Matija > -.-.- > [1] http

Re: [NTG-context] Strange Font problem

2010-06-16 Thread Andreas Schneider
Taco Hoekwater wrote: > This happens because on pages with transparency AR switches to a > different color model, and the resulting color conversions are not > producing the same results as conversion to the default (sRGB, I guess) > color model. It is annoying but unlikely to get fixed as this pr

Re: [NTG-context] Strange Font problem

2010-06-16 Thread Andreas Schneider
Khaled Hosny wrote: > On Wed, Jun 16, 2010 at 02:32:48AM +0200, Andreas Schneider wrote: > > Can you check with other PDF readers, it looks like a reader issue to > me. I've got some strange color issues with ConTeXt generated PDFs and > Adobe's reader in the past, na

[NTG-context] Strange Font problem

2010-06-15 Thread Andreas Schneider
Hello, since one of the last betas (I guess two weeks ago), a strange problem appears in my current document. The first ~10 page are completely fine (i.e. as usual) but the following ~20 pages have some kind of a font problem. The font looks bolder/grainy when zooming out in Acrobat and also th

  1   2   >