[NTG-context] new footnotes
Hello, I have tested those „new“ commands for footnotes and it seems some of them don't work properly. I like footnotes' numbers aligned to the left side of the main text. On wiki is: \setupnotation[footnote][location=left,width=1cm] \setupnote[footnote][location=page,numbercommand=] This simply does not work. I have combined location, alternative and page parameter in both commands, \setupnotation as well as \setupnote, nothing works now for me. The second bad thing is it ignores my numbercommands. It was easy to use it before when I needed numbers as not-indexed or in case I have whole notes and numbers as sans. In source for mkiv I see: \setupnotes [\c!location=\v!page, ... but simple \setupnotes[location=page] does nothing. Is the work still in progress or am I missing something? Thanks, Honza ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] new footnotes
On 03/19/2012 08:55 AM, Honza Hejzl wrote: Is the work still in progress or am I missing something? In the first place, you're missing an example... Thomas ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Itemize without page break
Am 19.03.2012 um 00:29 schrieb Kip Warner: On Sun, 2012-03-18 at 16:25 -0700, Kip Warner wrote: On Sat, 2012-03-17 at 11:21 +0100, Wolfgang Schuster wrote: Am 17.03.2012 um 10:21 schrieb luigi scarso: On Sat, Mar 17, 2012 at 2:47 AM, Kip Warner k...@thevertigo.com wrote: Hey list, Is there any way to hint to ConTeXt that the contents of a \startitemize \stopitemize pair should try to be all on the same page? plain old tex \vbox{% \startitemize \stopitemize% } Better: \startitemize[before=\startlinecorrection,after=\stoplinecorrection] \stopitemize You can control the space before/after the linecorrection environment with the optional argument which accepts all values for \blank, e.g. \startlinecorrection[2*line]. Wolfgang Hey Wolfgang, The good news is that this is probably what I need. The bad news is luatex completely blows itself to pieces, allocating memory until the system crashes. After much grinding of the machine, I managed to finally SIGSTOP and attach gdb to the naughty process. I've cc'd the luatex user mailing list since this is probably, I suppose, a luatex issue more than a ConTeXt one. I am using luatex beta-0.71.0-2012030522 (rev 4364) through context version 2012.03.13 21:26 on amd64 hardware running Ubuntu Maverick. One other thing that I should have made more clear, this only happens when I insert the aforementioned line correction commands. Make a example because this works: \starttext %\dorecurse{2}{\input tufte\par} \dorecurse{3}{\input tufte\par} \startitemize[before={\startlinecorrection[blank]},after=\stoplinecorrection] \dorecurse{4}{\startitem \input ward \stopitem} \stopitemize \dorecurse{3}{\input tufte\par} \stoptext Wolfgang ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] footnotes setup
Am 18.03.2012 um 23:10 schrieb Alan Braslau: On Sun, 18 Mar 2012 21:59:17 +0100 Wolfgang Schuster schuster.wolfg...@googlemail.com wrote: 2. Many of the \define… and \setup… commands are now auto generated from \installcommandhandler which generates only one setup-command which can be used for global (i.e. \setup…[..,..=..,..]) and local (i.e. \setup…[…][..,..=..,..]) settings. Thank you Wolfgang for this explanation. Do you mean: global (i.e. \define…[..,..=..,..] and local (i.e. \setup…[…][..,..=..,..]) settings? No, I meant with \setupheads[style=bold] you can change the font of each heading and with \setuphead[section][style=italic] you change only the font for section. As you can see we have a plural and a singular form of the command. With the new system to generate the setup commands we have only \setuphead which handles bot cases. For backward compatibility you can find things like this: \let\setupnotes\setupnote OK, but is this a good idea? I thought that mkii is kept around for backward compatibility and that mkiv takes the liberty to rationalize the syntax, sometimes sacrificing backwards compatibility in order not to be encumbered with inconsistent syntax, whenever possible. Indeed, this sometimes generates much discussion on the mailing list when we discover that our favorite command has been removed or renamed - a good way of testing to see if we are active and alert. :) It’s better to promote the new commands but we should take time until the old variants vanish because we have to get used to them. Wolfgang ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] new lucida font
I just bought the new Lucida font from TUG and installed it in my local texmf under fonts/opentype/bh/lucidaot/ Then I did: mtxrun --generate mtxrun --script font --reload to be sure the new install will be picked up by ConTeXt mkiv. I think I did read somewhere that mkiv will prefer otf above pfb files, if these otfs are present. However, after running \setupbodyfont[lucida,10pt] the log shows the old pfb's used: /Users/hans/TeX/texmf/fonts/type1/yandy/lucida/lbr.pfb instead of an otf? What could have happended? What am I doing wrong? By the way I do not see the lucida math fonts in the package. Are these missing? Hans van der Meer ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] new lucida font
Am 19.03.2012 um 09:38 schrieb Meer, H. van der: I just bought the new Lucida font from TUG and installed it in my local texmf under fonts/opentype/bh/lucidaot/ Then I did: mtxrun --generate mtxrun --script font --reload to be sure the new install will be picked up by ConTeXt mkiv. I think I did read somewhere that mkiv will prefer otf above pfb files, if these otfs are present. It’s the users decision which font should be chosen because each font has a unique name and when you want a automatic replacement (like for latin modern and computer modern in mkii) you have to tell this the system. However, after running \setupbodyfont[lucida,10pt] the log shows the old pfb's used: /Users/hans/TeX/texmf/fonts/type1/yandy/lucida/lbr.pfb instead of an otf? What could have happended? What am I doing wrong? By the way I do not see the lucida math fonts in the package. Are these missing? The new version of the lucida fonts use different names for the typescript, we have now: - “lucida” for the old type1 version, - “lucidaot” for the new opentype version and - “lucidanova” as alternative name for the opentype version. Wolfgang ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] PDF Digital Signatures
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. Part one was to be filled out by the employee (in this case: me). Under this part was a signature field I could click which made Adobe Reader prompt for a digital certificate. After I selected that, information about this certificate appeared inside that form field I just clicked. The other form fields were automatically locked afterwards. If I wanted to change them, I would have to remove my signature. Parts two and three were similar, but meant for management. They needed to sign my request which in turn locked their edit fields. So in other words: I would like to create such forms with ConTeXt :-) I hate these work flows where people are told to print out form x, sign it and send the scanned copy via email instead of just signing it digitally. It would also come in handy for technical and business documents that need to be signed by the customer (for example an Interface Document, System Design, Use Case, whatever). I hope that is not completely out of scope for ConTeXt and not too hard to implement. Otherwise I guess I won't see that feature for a long time. Thanks anyway; at least for reading this :-) -- Best Regards, Andreas pgp55ItG3YE0h.pgp Description: PGP signature ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] new lucida font
Am 19.03.2012 um 10:38 schrieb Meer, H. van der: Wolfgang, thanks. I didn't know about the new identifier lucidaot. The TUG documentation seems not to mention its use for ConTeXt. The otf now loads. The sample document for the new fonts was typeset with LaTeX and Hans missed the new typescript/typeface names in his announcement. Wolfgang ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] new footnotes
Am 19.03.2012 um 08:55 schrieb Honza Hejzl: Hello, I have tested those „new“ commands for footnotes and it seems some of them don't work properly. I like footnotes' numbers aligned to the left side of the main text. On wiki is: \setupnotation[footnote][location=left,width=1cm] \setupnote[footnote][location=page,numbercommand=] This simply does not work. I have combined location, alternative and page parameter in both commands, \setupnotation as well as \setupnote, nothing works now for me. The second bad thing is it ignores my numbercommands. It was easy to use it before when I needed numbers as not-indexed or in case I have whole notes and numbers as sans. The “location” key for \setupnotation has changed to “alternative” and the “numbercommand” key belongs also to \setupnotation. In source for mkiv I see: \setupnotes [\c!location=\v!page, ... but simple \setupnotes[location=page] does nothing. Why should this change something when it’s already the default setting, \setupnotes[location=page] does only mean to place the footnote block at the bottom of the page. Wolfgang ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] new footnotes
Wow, it is pretty confusing. The last week before I updated mkiv I used to use it for numbers aligned with the left margin of the text. It means the same like serried version but with the textblock of footnotes aligned indented: TEXT 169 sdfsf sdfsdfdf 170 sdfsdf Now it just does not work and I don't know what to use instead :oO Thanks, Honza ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] new lucida font
On 19 mrt. 2012, at 10:01, Wolfgang Schuster wrote: The new version of the lucida fonts use different names for the typescript, we have now: - “lucida” for the old type1 version, - “lucidaot” for the new opentype version and - “lucidanova” as alternative name for the opentype version. The lucidaot works. But I have observed the following, which might be caused by a naming difference. I am using ConTexT version 2012.03.13 21:26 MKIV; the latest I can download. The example is: \setuppapersize[A5][A5] \setuppagenumbering[state=off] \setupbodyfont[lucidaot,sans,10pt] \starttext sans {\it sans italic}. \stoptext But sans italic is not typeset in italic, see the output pdf below. In the log I see a message about a missing lucidanova.lfg. Present in a more recent beta perhaps In the opentype font list I do not find LucidaSansOT-Oblique but I do see LucidaSansOT-Italic. Could it be something should be changed in a typescript? Hans van der Meer In the log: ConTeXt ver: 2012.03.13 21:26 MKIV fmt: 2012.3.19 int: english/english system cont-new.mkiv loaded (/Users/hans/TeX/context-new/tex/texmf-context/tex/context/base/cont-new.mkiv system beware: some patches loaded from cont-new.mkiv ) system test.top loaded (test.top) fontslatin modern fonts are not preloaded languageslanguage en is active fontstypescripts unknown: library 'loc' (/Users/hans/TeX/context-new/tex/texmf-context/tex/context/base/type-imp-lucida-opentype.mkiv) fontsgoodies goodie file 'lucidanova-math.lfg' is not found {/Users/hans/TeX/context-new/tex/texmf-context/fonts/map/pdftex/context/mkiv-base.map} fontsdefining forced type otf of LucidaSansOT-Oblique not found fontsdefining font with asked name 'LucidaSansOT-Oblique' is not found using lookup 'file' fontsdefining unknown font LucidaSansOT-Oblique, loading aborted fontsdefining unable to define LucidaSansOT-Oblique.otf as [lucidaot-10pt-ss-it-0--0] backend xmp using file '/Users/hans/TeX/context-new/tex/texmf-context/tex/context/base/lpdf-pdx.xml' pagesflushing realpage 1, userpage 1, subpage 1 )/Users/hans/TeX/texmf/fonts/opentype/bh/lucidaot/LucidaSansOT.otf test.pdf Description: test.pdf ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] new footnotes
Aha, I've got it: \setupnotation[footnote][width=2em,alternative=] This works now. It does the same as location=page before my update. Thanks, Honza ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] new lucida font
Am 19.03.2012 um 11:12 schrieb Meer, H. van der: On 19 mrt. 2012, at 10:01, Wolfgang Schuster wrote: The new version of the lucida fonts use different names for the typescript, we have now: - “lucida” for the old type1 version, - “lucidaot” for the new opentype version and - “lucidanova” as alternative name for the opentype version. The "lucidaot" works. But I have observed the following, which might be caused by a naming difference. I am using ConTexT version2012.03.13 21:26 MKIV; the latest I can download. The example is: \setuppapersize[A5][A5] \setuppagenumbering[state=off]It’s “state=stop” and works here only because context checks only the “state=start” case. \setupbodyfont[lucidaot,sans,10pt] \starttext sans {\it sans italic}. \stoptext But "sans italic" is not typeset in italic, see the output pdf below. In the log I see a message about a missing lucidanova.lfg. Present in a more recent beta perhaps In the opentype font list I do not findLucidaSansOT-Oblique but I do see LucidaSansOT-Italic. Could it be something should be changed in a typescript? Can you try to attached typescript file, I replaced the files for italic and bolditalic fonts for the sans style with the names from the latex example document. The slanted and boldslanted alternatives for the sans style are also fixed.Wolfgang type-imp-lucida-opentype.mkiv Description: Binary data ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] \setuphead and \startchapter request
I would like to use, for example, \setuphead [chapter] [after={\placecontent\blank}] But sometimes, I would like to use something like \startchapter [number=no,incrementnumber=no,after=, title={Conclusions of the first part}] \stopchapter 1. I request to have after=, (and other setup head keywords) taken into account, or some other mechanism, so as here not to \placecontent for a specific instance of \startchapter. 2. If I have: \setuplabeltext [chapter=Chapter ] % with trailing space; blank by default would there be some way to specify chapter=, (or another mechanism) to have the Chapter label blank for a specific instance of \startchapter? Thanks Alan ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] \setuphead and \startchapter request
Am 19.03.2012 um 12:45 schrieb Alan BRASLAU: I would like to use, for example, \setuphead [chapter] [after={\placecontent\blank}] But sometimes, I would like to use something like \startchapter [number=no,incrementnumber=no,after=, title={Conclusions of the first part}] \stopchapter You know \starttitle, it’s the unnumbered version of \startchapter. 1. I request to have after=, (and other setup head keywords) taken into account, or some other mechanism, so as here not to \placecontent for a specific instance of \startchapter. We have the following key for \setuphead: - beforesection (called before \startchapter), - insidesection (called after \startchapter) and - aftersection (called after \stopchapter) 2. If I have: \setuplabeltext [chapter=Chapter ] % with trailing space; blank by default would there be some way to specify chapter=, (or another mechanism) to have the Chapter label blank for a specific instance of \startchapter? The easiest way is to create a new heading for this purpose. Wolfgang ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] \setuphead and \startchapter request
Wolfgang, Thank you for the suggestions. However, I have tried many such, things... On Mon, 19 Mar 2012 12:50:14 +0100 Wolfgang Schuster schuster.wolfg...@googlemail.com wrote: Am 19.03.2012 um 12:45 schrieb Alan BRASLAU: I would like to use, for example, \setuphead [chapter] [after={\placecontent\blank}] But sometimes, I would like to use something like \startchapter [number=no,incrementnumber=no,after=, title={Conclusions of the first part}] \stopchapter You know \starttitle, it’s the unnumbered version of \startchapter. Yes, of course, but \starttitle does not, by design, add an entry to the TOC, nor a bookmark. And \starttitle [title={Conclusions}] \writetolist[chapter]{}{Conclusions}% works \bookmark{Conclusions}% Does not work! is less elegant than \startchapter [number=no,incrementnumber=no,title={Conclusions}] (but does have the advantage of suppressing the Chapter label.) We have the following key for \setuphead: - beforesection (called before \startchapter), - insidesection (called after \startchapter) and - aftersection (called after \stopchapter) You suggest that I use insidesection={\placecontent\blank} rather than after={\placecontent\blank}. OK, this works. However, in both cases, the contents get placed after the above \starttitle (or \startchapter) commands, something that one really does not want. Alternately, adding \placecontent\blank everywhere else is sloppy. 2. If I have: \setuplabeltext [chapter=Chapter ] % with trailing space; blank by default would there be some way to specify chapter=, (or another mechanism) to have the Chapter label blank for a specific instance of \startchapter? The easiest way is to create a new heading for this purpose. I do not really want to create new headings for this purpose, if I can avoid it, and should be unnecessary. The suggestion would be for specific instances of \startchapter etc. to be able to take \setuphead keywords as local definitions. Alan ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] PDF Digital Signatures
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, Andreas Schneider wrote: 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'm not sure about it, but I'm tempted to believe that digitally signing PDFs might be one of forbidden functionality that requires you to buy a licence for Acrobat. Martin Schröder usually posts this link: http://en.wikipedia.org/wiki/Adobe_LiveCycle_Reader_Extensions I have found this article, but I'm not sure if it is really legal: http://www.codeproject.com/Articles/14488/E-signing-PDF-documents-with-iTextSharp Maybe we need a FAQ entry about PDF features somewhere on wiki (or at any other place). Mojca ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] \setuphead and \startchapter request
Am 19.03.2012 um 16:16 schrieb Alan BRASLAU: Wolfgang, Thank you for the suggestions. However, I have tried many such, things… Is this what you want? \setuphead[title][incrementnumber=list] \setuplist[title][width=2em] % default value for chapter entry \setuphead[chapter][insidesection=\texsetup{chapter:list}] \startsetups[chapter:list] \doif{\structureuservariable{list}}{yes}{\placelist[section]} \stopsetups \setupinteraction[state=start] \placebookmarks[chapter,title] \starttext \startfrontmatter \starttitle[saveinlist=no,title=Content] \placelist[chapter,title] \stoptitle \stopfrontmatter \startbodymatter \starttitle[title=This is a \tex{title}] \input knuth \stoptitle \startchapter[title=This is a \tex{chapter}][list=yes] \startsection[title=Tufte] \input tufte \stopsection \startsection[title=Ward] \input ward \stopsection \stopchapter \startchapter[title=This is another \tex{chapter}] \startsection[title=Knuth] \input knuth \stopsection \startsection[title=Zapf] \input zapf \stopsection \stopchapter \stopbodymatter \stoptext Wolfgang ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] PDF Digital Signatures
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, Andreas Schneider wrote: 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'm not sure about it, but I'm tempted to believe that digitally signing PDFs might be one of forbidden functionality that requires you to buy a licence for Acrobat. Martin Schröder usually posts this link: http://en.wikipedia.org/wiki/Adobe_LiveCycle_Reader_Extensions I have found this article, but I'm not sure if it is really legal: http://www.codeproject.com/Articles/14488/E-signing-PDF-documents-with-iTextSharp Maybe we need a FAQ entry about PDF features somewhere on wiki (or at any other place). Mojca That's too bad, although I can see Adobe's reasoning. I thought/was hoping that it was a simply not-yet-implemented feature and not something Adobe Acrobat and Adobe Reader specific. Well, it was worth a shot. Anyway for signing PDFs myself I still use and prefer JSignPDF: http://jsignpdf.sourceforge.net/ That is really neat and supports a lot of very helpful features (like visible signatures). It's just that it isn't a solution for general forms that others should sign, since not all of them are technically versed or willing to install some third party program. That would have been a good use case for ready-made PDF forms with signature fields. Thanks for your answer! -- Best Regards, Andreas pgpR9IM3IKS8k.pgp Description: PGP signature ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] PDF Digital Signatures
On Mon, Mar 19, 2012 at 4:41 PM, Mojca Miklavec mojca.miklavec.li...@gmail.com 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, Andreas Schneider wrote: 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'm not sure about it, but I'm tempted to believe that digitally signing PDFs might be one of forbidden functionality that requires you to buy a licence for Acrobat. Why ? As long it is described in the ISO standard, it can be implemented in mkiv (easily is another question). Martin Schröder usually posts this link: http://en.wikipedia.org/wiki/Adobe_LiveCycle_Reader_Extensions this is about enabling features of an Adobe program. A licence is required, but it's normal. -- luigi ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] PDF Digital Signatures
On Mon, 2012-03-19 at 10:27 +0100, Andreas Schneider wrote: Under this part was a signature field I could click which made Adobe Reader prompt for a digital certificate. Great idea. It would be great if one could use any OpenPGP key. -- Kip Warner -- Software Engineer OpenPGP encrypted/signed mail preferred http://www.thevertigo.com signature.asc Description: This is a digitally signed message part ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] PDF Digital Signatures
On 19-3-2012 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). Is this much different from https certificates? Adobe probably runs a verification service. Hans - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com | www.pragma-pod.nl - ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Itemize without page break
On 19-3-2012 00:29, Kip Warner wrote: I've cc'd the luatex user mailing list since this is probably, I suppose, a luatex issue more than a ConTeXt one. not that probable One other thing that I should have made more clear, this only happens when I insert the aforementioned line correction commands. test needed Hans - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com | www.pragma-pod.nl - ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Itemize without page break
On 19-3-2012 00:25, Kip Warner wrote: The good news is that this is probably what I need. The bad news is luatex completely blows itself to pieces, allocating memory until the system crashes. Packaging itemizes are on a todo list as I sometimes need it myself, but it has a low priority Hans - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com | www.pragma-pod.nl - ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] PDF Digital Signatures
On Mon, Mar 19, 2012 at 17:51, luigi scarso wrote: I'm not sure about it, but I'm tempted to believe that digitally signing PDFs might be one of forbidden functionality that requires you to buy a licence for Acrobat. Why ? As long it is described in the ISO standard, it can be implemented in mkiv (easily is another question). As I said: I'm not sure whether or not it is legal to implement it or not. There seem to be two separate issues: (a) creating a document that others users will be able to fill in and sign (b) signing your own document Martin usually knows the legal issues better. I'm not sure about the exact legal state and I'm not sure where to check it without getting lost in hundreds of pages of EULA or other documents, but (b) is described in PDF Reference Manual (http://wwwimages.adobe.com/www.adobe.com/content/dam/Adobe/en/devnet/pdf/pdfs/PDF32000_2008.pdf) in Chapter 12 and cannot be any more complicated to implement than all other PDF features that Hans, Taco or Hartmut ever implemented. Out of curiosity: is inability to create password-protected PDF files with pdfTeX/LuaTeX due to legal issues or due to nobody caring enough to implement it? Mojca ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] PDF Digital Signatures
On 19-3-2012 22:08, Mojca Miklavec wrote: On Mon, Mar 19, 2012 at 17:51, luigi scarso wrote: I'm not sure about it, but I'm tempted to believe that digitally signing PDFs might be one of forbidden functionality that requires you to buy a licence for Acrobat. Why ? As long it is described in the ISO standard, it can be implemented in mkiv (easily is another question). As I said: I'm not sure whether or not it is legal to implement it or not. There seem to be two separate issues: (a) creating a document that others users will be able to fill in and sign (b) signing your own document Martin usually knows the legal issues better. I'm not sure about the exact legal state and I'm not sure where to check it without getting lost in hundreds of pages of EULA or other documents, but (b) is described in PDF Reference Manual (http://wwwimages.adobe.com/www.adobe.com/content/dam/Adobe/en/devnet/pdf/pdfs/PDF32000_2008.pdf) in Chapter 12 and cannot be any more complicated to implement than all other PDF features that Hans, Taco or Hartmut ever implemented. sure, it's just that I never needed something like that Out of curiosity: is inability to create password-protected PDF files with pdfTeX/LuaTeX due to legal issues or due to nobody caring enough to implement it? it's not worth the trouble. Afaik it's a second pass issue and would complicate the code much. Just use qpdf to do it ... pretty fast. Hans - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com | www.pragma-pod.nl ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] subfootnote with wrong structureconversionset
Hi, are subfootnotes not yet rewritten, or did the syntax change? The following example expects 2.a but gives 2.1: \definestructureseparatorset [footnote][][] \definestructureconversionset[footnote][numbers,characters][numbers] \setupenumerations[footnote][numberconversionset=footnote,numberseparatorset=footnote] \starttext test \footnote{} text test \startfootnote note \stopfootnote test \startsubfootnote subnote \stopsubfootnote test \startfootnote note \stopfootnote \stoptext Steffen ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Itemize without page break
On Mon, 2012-03-19 at 22:49 +0100, Hans Hagen wrote: On 19-3-2012 00:29, Kip Warner wrote: I've cc'd the luatex user mailing list since this is probably, I suppose, a luatex issue more than a ConTeXt one. not that probable Actually highly probably, since the seg fault is raised in luatex and not context. Even if context is feeding it malformed input, luatex should not ever crash. test needed On it. My book is a couple hundred pages long, so hopefully I will be able to come up with one. -- Kip Warner -- Software Engineer OpenPGP encrypted/signed mail preferred http://www.thevertigo.com signature.asc Description: This is a digitally signed message part ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Itemize without page break
On Mon, 2012-03-19 at 22:50 +0100, Hans Hagen wrote: Packaging itemizes are on a todo list as I sometimes need it myself, but it has a low priority Ok, but I thought they were already packaged with context? -- Kip Warner -- Software Engineer OpenPGP encrypted/signed mail preferred http://www.thevertigo.com signature.asc Description: This is a digitally signed message part ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Itemize without page break
On Mon, 2012-03-19 at 09:17 +0100, Wolfgang Schuster wrote: Make a example because this works: \starttext %\dorecurse{2}{\input tufte\par} \dorecurse{3}{\input tufte\par} \startitemize[before={\startlinecorrection[blank]},after= \stoplinecorrection] \dorecurse{4}{\startitem \input ward \stopitem} \stopitemize \dorecurse{3}{\input tufte\par} \stoptext I concur that your example works. Attached is an example of a minimal that does not for me. ConTeXt does its thing, invoking luatex which quickly gets nasty and starts spinning the clock - endlessly allocating memory until a 4GB system is run into the ground. This is what I see: $ context minimal.tex resolvers | resolving | loading configuration file 'selfautodir:/share/texmf/web2c/contextcnf.lua' resolvers | resolving | loading configuration file '/usr/share/texmf/web2c/contextcnf.lua' mtx-context | run 1: luatex --fmt=/home/kip/.texmf-var/luatex-cache/context/e570cb3e0e3ab0118ca08dd148bbec7d/formats/cont-en --lua=/home/kip/.texmf-var/luatex-cache/context/e570cb3e0e3ab0118ca08dd148bbec7d/formats/cont-en.lui --backend=pdf ./minimal.tex \stoptext This is LuaTeX, Version beta-0.71.0-2012030522 (rev 4364) \write18 enabled. resolversresolving loading configuration file '/usr/share/texmf/web2c/contextcnf.lua' (minimal.tex ConTeXt ver: 2012.03.13 21:26 MKIV fmt: 2012.3.14 int: english/english system cont-new.mkiv loaded (/usr/share/texmf/tex/context/base/cont-new.mkiv system beware: some patches loaded from cont-new.mkiv ) system minimal.top loaded (minimal.top) fontslatin modern fonts are not preloaded languageslanguage en is active {/usr/share/texmf/fonts/map/pdftex/context/mkiv-base.map} fontspreloading latin modern fonts (second stage) fontstypescripts unknown: library 'loc' {/usr/share/texmf/fonts/map/dvips/lm/lm-math.map}{/usr/share/texmf/fonts/map/dvips/lm/lm-rm.map} fontsdefining forced type afm of stmary10 not found fontsdefining font with asked name 'stmary10' is not found using lookup 'file' fontsvirtual math loading font LMMath7-Regular subfont 9 with name stmary10.afm at 458752 is skipped, not found fontsdefining forced type afm of stmary10 not found fontsdefining font with asked name 'stmary10' is not found using lookup 'file' fontsvirtual math loading font LMMath9-Regular subfont 9 with name stmary10.afm at 589824 is skipped, not found fontsdefining forced type afm of stmary10 not found fontsdefining font with asked name 'stmary10' is not found using lookup 'file' fontsvirtual math loading font LMMath12-Regular subfont 9 with name stmary10.afm at 786432 is skipped, not found fontsfallback modern rm 12pt is loaded [***hangs at this point***] I am using ConTeXt and LuaTeX packages off of Adam's PPA. These are luatex version beta-0.71.0-2012030522 (rev 4364) under context version 2012.03.13 21:26 on amd64 hardware using Ubuntu Maverick. -- Kip Warner -- Software Engineer OpenPGP encrypted/signed mail preferred http://www.thevertigo.com \starttext \startitemize[before=\startlinecorrection,after=\stoplinecorrection][] \item foo \stopitemize \stoptext signature.asc Description: This is a digitally signed message part ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] subfootnote with wrong structureconversionset
Am 19.03.2012 um 22:27 schrieb Steffen Wolfrum: Hi, are subfootnotes not yet rewritten, or did the syntax change? The following example expects 2.a but gives 2.1: \definestructureseparatorset [footnote][][] \definestructureconversionset[footnote][numbers,characters][numbers] \setupenumerations[footnote][numberconversionset=footnote,numberseparatorset=footnote] Use \setupnotation[footnote][…]. Wolfgang ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Itemize without page break
Am 20.03.2012 um 02:04 schrieb Kip Warner: On Mon, 2012-03-19 at 09:17 +0100, Wolfgang Schuster wrote: Make a example because this works: \starttext %\dorecurse{2}{\input tufte\par} \dorecurse{3}{\input tufte\par} \startitemize[before={\startlinecorrection[blank]},after= \stoplinecorrection] \dorecurse{4}{\startitem \input ward \stopitem} \stopitemize \dorecurse{3}{\input tufte\par} \stoptext I concur that your example works. Attached is an example of a minimal that does not for me. ConTeXt does its thing, invoking luatex which quickly gets nasty and starts spinning the clock - endlessly allocating memory until a 4GB system is run into the ground. The problem is the empty second argument. \startitemize[before=\startlinecorrection,after=\stoplinecorrection][] When you pass two arguments with \startitemize the first argument os for keywords (e.g. packed or fit) and second argument is for assignments (e.g. width=3cm) in your case context is looking for the keywords “before=\startlinecorrection” and “after=\stoplinecorrection” which results in a loop. Wolfgang ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Itemize without page break
On Tue, 2012-03-20 at 06:22 +0100, Wolfgang Schuster wrote: The problem is the empty second argument. \startitemize[before=\startlinecorrection,after=\stoplinecorrection][] When you pass two arguments with \startitemize the first argument os for keywords (e.g. packed or fit) and second argument is for assignments (e.g. width=3cm) in your case context is looking for the keywords “before=\startlinecorrection” and “after=\stoplinecorrection” which results in a loop. Even if that were the case, that's a fragility that no program should its users endure. It should probably have bailed with an error message after seeing that the second argument was empty rather than taking down the entire operating system with it. But regardless, this does not seem to be the case. The following minimal still blows up, even with an assignment in the second parameter. \starttext \startitemize[before=\startlinecorrection,after= \stoplinecorrection][start=11] \item foo \stopitemize \stoptext -- Kip Warner -- Software Engineer OpenPGP encrypted/signed mail preferred http://www.thevertigo.com signature.asc Description: This is a digitally signed message part ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Itemize without page break
Am 20.03.2012 um 06:31 schrieb Kip Warner: On Tue, 2012-03-20 at 06:22 +0100, Wolfgang Schuster wrote: The problem is the empty second argument. \startitemize[before=\startlinecorrection,after=\stoplinecorrection][] When you pass two arguments with \startitemize the first argument os for keywords (e.g. packed or fit) and second argument is for assignments (e.g. width=3cm) in your case context is looking for the keywords “before=\startlinecorrection” and “after=\stoplinecorrection” which results in a loop. Even if that were the case, that's a fragility that no program should its users endure. It should probably have bailed with an error message after seeing that the second argument was empty rather than taking down the entire operating system with it. TeX has it’s problem with certain errors, accept it. But regardless, this does not seem to be the case. The following minimal still blows up, even with an assignment in the second parameter. \starttext \startitemize[before=\startlinecorrection,after= \stoplinecorrection][start=11] \item foo \stopitemize \stoptext You can’t have a assignment in both parameters because this would lead to the same problem as before, combine both settings in one argument and it works. Wolfgang ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Itemize without page break
On Tue, 2012-03-20 at 06:46 +0100, Wolfgang Schuster wrote: TeX has it’s problem with certain errors, accept it. It is not a problem with the program raising an error, it was how it went about doing it. It should not have to take down the entire operating system to indicate to the user that there was a non-intuitive syntactical error in typesetting. -- Kip Warner -- Software Engineer OpenPGP encrypted/signed mail preferred http://www.thevertigo.com signature.asc Description: This is a digitally signed message part ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___