Re: [NTG-context] UWIN?
On Fri, Jun 14, 2013 at 2:46 AM, Bill Meahan subscribed_li...@meahan.netwrote: Out of curiosity, has anyone tried porting ConTeXt to the UWIN environment? no, honestly the binaries from A. Kakuto are ok, and also the mingw version works. The Lua scripts are almost OS independent and the TeX code is OS independent (ok I should say almost too) and very likely a uwin porting is (a bit or much) slower than the native one so... -- 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] Mtxrun.exe in minimals not working.
It works. Best regards, Daniel Von meinem mobilen Endgerät gesendet. / Send from my mobil device. Am 13.06.2013 um 13:04 schrieb Mojca Miklavec mojca.miklavec.li...@gmail.com: On Mon, Jun 10, 2013 at 1:04 PM, Peter Rolf wrote: Am 10.06.2013 10:40, schrieb Mojca Miklavec: On Mon, Jun 10, 2013 at 1:15 AM, DB wrote: I just downloaded the latest version of the standalone package (2013-06-08, 09:15). When I run first-setup.bat, mtxrun.exe crashes just as it's about to start downloading the files. It's impossible to get any further. How exactly does it crash? Is some dll missing? An error in lua code? (I don't have windows at hand to try.) Just tried to update and 'mtxrun.exe' crashes (APPCRASH) here too. Is it working again? I see that a new LuaTeX dll has been compiled by Akira Kakuto two days ago. 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 ___ ___ 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] Learning ConTeXt from the Ground Up
On Fri, Jun 14, 2013 at 7:19 AM, Malte Stien ma...@stien.de wrote: To gather information about ConTeXt I have - read the ConTeXt Reference Manual (http://pmrb.free.fr/contextref.pdf) - bought a couple of the published books by Hans Hagen - started reading the TeX book by Donald Knuth I have even briefly flirted with the idea of switching to LaTeX mainly because it would mean having a lot more literature and a broader community at my disposal. However, I just prefer the command structure and output of ConTeXt. Can anyone relate to my problem? Am I on the right track? What else should I be doing or reading to really break into ConTeXt? you have missed - read the source Take a problem, grep the source see how Hans addresses the problem. There are examples on how to use a feature that sometime are not explained in manuals. I think that here mkiv is better than latex (oh, well, after all it's the context ml , right ?). -- 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] UWIN?
On 6/14/2013 2:46 AM, Bill Meahan wrote: Out of curiosity, has anyone tried porting ConTeXt to the UWIN environment? UWIN is very much like cygwin in being a Unix on Windows environment. However, it is not based on GNU but is Real Unix code from ATT Bell Labs. Many of the utilities are simply the latest versions of the original Version 7 Unix utilities, others are from BSD, System III and System V. The shell is genuine ksh93, not pdksh or bash/dash. There is a POSIX dll to provide a complete POSIX api. This is ATT's own, not the POSIX subsystem from Microsoft. The cc command is a wrapper for Visual C, gcc or whatever you have. Instead of the usual autoconf..configure..make..make install dance you can use nmake. Just wondering: why are users using unix shells on windows for running tex? does it have advantages? Or is the availability of unix commands the main reason? Context (mkiv) itself does not rely on anything else than lua and that is provided by the engine itself. I can run the usual Windows context with a bit of fiddling but it would be nice to use the regular setuptex shell script et. al. You can try to port the setuptex script to ksh93; it's no problem to add that to the minimals then. 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] Learning ConTeXt from the Ground Up
Hello, On Fri, 14 Jun 2013 07:19:44 +0200, Malte Stien ma...@stien.de wrote: Hello Everyone, I have been using ConTeXt for over a year now and worked out how to do most things I need to do. Every now and then, though, I need to do something that I cannot find any information about and in most cases I post a question here on the forum. I have received great help here over the months and like to thank everyone who took the time to answer my questions. The other day, however, I had a problem, posted a message here, got an answer and the answer did not quite work; I went back to the forum, got more help... In the process I realised that I should have been able to work this out myself; I was not even able to tweak the first answer and make it work. I am an IT engineer myself, but with little time (I guess I am not unique here) and even less experience in TeX. I guess what I am saying is, that I would like to gain a much deeper understanding of ConTeXt which will allow me to program in ConTeXt rather than just using the documented command. To gather information about ConTeXt I have - read the ConTeXt Reference Manual (http://pmrb.free.fr/contextref.pdf) - bought a couple of the published books by Hans Hagen - started reading the TeX book by Donald Knuth this is a normal approach - questioning, searching for answers... It's the same for ConTeXt as for LaTeX. Personally, I started with Ltx and migrated to Ctx some years ago. Big advantages of Ctx are: - This forum is very alive, almost all questions are answered in short time. - Ctx document is much more customizable by standard Ctx commands, i.e. - compared with Ltx - you don't need to go in the Ltx source and investigate how to do this-or-that. Ltx seems to me a bit rigid - it's not so easy to change style of heads, special paragraphs, enumerations, ... - Ctx is still developed; AFAIK Ltx ver. 3.? is being prepared/issued several (- at least 5 -) years. - Ctx: Some features - if they seem useful - may be implemented on-demand, so they may be ready to use with a next beta (thanks mainly Hans; as well as Wolfgand, Aditya...). - Although Ctx wiki is not best manual one could imagine, (pros:) it is still maintained and developed (cons: some info may be obsolete, some articles may be written in old-style fashion...) - Ltx: I don't know how far Ltx is bound with Lua and how this relation is documented; I guess poorly. As Ctx is concerned, many (almost all?) things of TeX/Ctx core may be accessible/hookable by Lua - this is a great feature; and IMHO: as if you are normal programmer, programming by Lua should be much more quicker for you than doing things by TeX macro language. So, my personal advice would be - try to stay with Ctx, I believe after some initial problems/obstacles you'll be becoming master and Ctx will become a good slave. Best regards, Lukas I have even briefly flirted with the idea of switching to LaTeX mainly because it would mean having a lot more literature and a broader community at my disposal. However, I just prefer the command structure and output of ConTeXt. Can anyone relate to my problem? Am I on the right track? What else should I be doing or reading to really break into ConTeXt? Regards, Malte. PS: Just to be clear; I don't mean for the above to be conceived as shortcomings of ConTeXt, rather I think of them as shortcomings of myself. The developers of ConTeXt have done a fantastic job and I really enjoy writing in ConTeXt and looking at the output. -- Ing. Lukáš Procházka [mailto:l...@pontex.cz] Pontex s. r. o. [mailto:pon...@pontex.cz] [http://www.pontex.cz] Bezová 1658 147 14 Praha 4 Tel: +420 244 062 238 Fax: +420 244 461 038 ___ 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] Learning ConTeXt from the Ground Up
On 6/14/2013 9:17 AM, luigi scarso wrote: On Fri, Jun 14, 2013 at 7:19 AM, Malte Stien ma...@stien.de mailto:ma...@stien.de wrote: To gather information about ConTeXt I have - read the ConTeXt Reference Manual (http://pmrb.free.fr/contextref.pdf) - bought a couple of the published books by Hans Hagen - started reading the TeX book by Donald Knuth I have even briefly flirted with the idea of switching to LaTeX mainly because it would mean having a lot more literature and a broader community at my disposal. However, I just prefer the command structure and output of ConTeXt. Can anyone relate to my problem? Am I on the right track? What else should I be doing or reading to really break into ConTeXt? you have missed - read the source Take a problem, grep the source see how Hans addresses the problem. There are examples on how to use a feature that sometime are not explained in manuals. other resources: - the wiki - the test suite (lots of small examples) - modules by (e.g. wolfgangs modules are mkiv compliant) - maybe examples on stack exchange (there are nice ones there) - sites like http://randomdeterminism.wordpress.com and probably more 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] UWIN?
Hans wrote: Just wondering: why are users using unix shells on windows for running tex? does it have advantages? Or is the availability of unix commands the main reason? In no particular order: The Unix utilities, richer scripting language, compatibility with existing Unix systems one might need to deal with. Familiarity for those of us who have spent many more years working with Unix than Windows. If you need/want a GUI interface, Windows is great and that's where the applications are, for the most part. If you need/want a command-line environment, Unix is much more capable and powerful than the DOS world of the Windows command line. Something like UWIN or Cygwin allows one to have both. I have no familiarity at all with Macs since using the original Mac Plus to publish a newsletter in the late 1980's so I'm not slighting/disparaging Macs in any way. I won't comment on what I don't know about. [Bill Meahan] ___ 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] UWIN?
On 6/14/2013 6:58 AM, Bill Meahan wrote: Hans wrote: Just wondering: why are users using unix shells on windows for running tex? does it have advantages? Or is the availability of unix commands the main reason? In no particular order: The Unix utilities, richer scripting language, compatibility with existing Unix systems one might need to deal with. Familiarity for those of us who have spent many more years working with Unix than Windows. If you need/want a GUI interface, Windows is great and that's where the applications are, for the most part. If you need/want a command-line environment, Unix is much more capable and powerful than the DOS world of the Windows command line. Something like UWIN or Cygwin allows one to have both. I have no familiarity at all with Macs since using the original Mac Plus to publish a newsletter in the late 1980's so I'm not slighting/disparaging Macs in any way. I won't comment on what I don't know about. [Bill Meahan] Agreed completely. That being said, I run the Windows ConTeXt standalone through cygwin, because it just works. --Jake ___ 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 ___ ___ 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] TEXpage and footnotes
Dear list, is there any way to get notes (footnotes and linenotes) within a TEXpage? I thought I'd seen a sample PDF sent to this list, but I can't recall the date or who was the sender. Many thanks for your help, Pablo -- http://www.ousia.tk ___ 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] TEXpage and footnotes
On Fri, 14 Jun 2013, Pablo Rodríguez wrote: Dear list, is there any way to get notes (footnotes and linenotes) within a TEXpage? I thought I'd seen a sample PDF sent to this list, but I can't recall the date or who was the sender. Essentially, TEXpage is a fancy \frame (which, in turn, is a fancy \vbox). So, you cannot get the regular footnote mechanism inside TEXpage. If you do need footnotes, you can use localfootnotes: \starttext \startTEXpage[width=0.6\textwidth, offset=3mm] \startlocalfootnotes Knuth:\footnote{The creator of \TEX} \input knuth \placelocalfootnotes \stoplocalfootnotes \stopTEXpage \stoptext Aditya___ 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] UWIN?
On Fri, Jun 14, 2013 at 2:46 AM, Bill Meahan wrote: Out of curiosity, has anyone tried porting ConTeXt to the UWIN environment? UWIN is very much like cygwin in being a Unix on Windows environment. However, it is not based on GNU but is Real Unix code from ATT Bell Labs. Many of the utilities are simply the latest versions of the original Version 7 Unix utilities, others are from BSD, System III and System V. The shell is genuine ksh93, not pdksh or bash/dash. There is a POSIX dll to provide a complete POSIX api. This is ATT's own, not the POSIX subsystem from Microsoft. The cc command is a wrapper for Visual C, gcc or whatever you have. Instead of the usual autoconf..configure..make..make install dance you can use nmake. I can run the usual Windows context with a bit of fiddling but it would be nice to use the regular setuptex shell script et. al. I need to make extra effort to get to a windows machine, but if existing windows binaries work and all you need is a modification is the two shell scripts to downlad ConTeXt and to set the paths, it might be easy to add support. However, I have no clue how to even download UWIN. Now that Jacob mentioned it: I didn't think of the fact that one might not necessarily need special cygwin binaries to run ConTeXt in cygwin. If a simple modification in first-setup.sh and setuptex can do the job, feel free to suggest the change (platform detection). If existing binaries don't work, you can write a tutorial (an article for ConTeXt journal) about how to compile luatex and xetex with nmake. 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 ___
[NTG-context] Alignment of inmframed
\inmframed (and by extension \definemathframed[...][location=low,...]) does not get the right vertical space. For example, \starttext \startformula \ln (1+x) = \inmframed{x - {\frac {x^2}{2}}} + \frac{x^3}{3}-\cdots. \stopformula \stoptext Note that the two fractions do not align at the horizontal bar. Is it possible for all expressions to be aligned at the math axis? Aditya ___ 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] UWIN?
On 6/14/2013 3:05 PM, Mojca Miklavec wrote: Now that Jacob mentioned it: I didn't think of the fact that one might not necessarily need special cygwin binaries to run ConTeXt in cygwin. If a simple modification in first-setup.sh and setuptex can do the job, feel free to suggest the change (platform detection). My changes were simple - I used the setuptex file that came with standalone, and tweaked it ever so slightly. https://gist.github.com/gatesphere/0afaf5c2c647430ff653 Save that as .setuptex in ~ (home directory) then add the line source /home/PeckJ/.setuptex /cygdrive/c/context/tex to .bashrc, and you should be good to go. I did install (first-setup.bat) from a Windows shell, however, and that took a few tweaks because I'm behind a corporate firewall, but that's a different story all together. Hope this helps, --Jake ___ 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] TEXpage and footnotes
On 14/06/13 20:43, Aditya Mahajan wrote: On Fri, 14 Jun 2013, Pablo Rodríguez wrote: Dear list, is there any way to get notes (footnotes and linenotes) within a TEXpage? I thought I'd seen a sample PDF sent to this list, but I can't recall the date or who was the sender. Essentially, TEXpage is a fancy \frame (which, in turn, is a fancy \vbox). So, you cannot get the regular footnote mechanism inside TEXpage. If you do need footnotes, you can use localfootnotes: Many thanks for your reply, Aditya. And how could I get linenotes into TEXpage? There seems not to be such a thing as locallinenotes. Many thanks for your help, Pablo -- http://www.ousia.tk ___ 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] UWIN?
On Fri, Jun 14, 2013 at 9:13 PM, Jacob Peck wrote: On 6/14/2013 3:05 PM, Mojca Miklavec wrote: Now that Jacob mentioned it: I didn't think of the fact that one might not necessarily need special cygwin binaries to run ConTeXt in cygwin. If a simple modification in first-setup.sh and setuptex can do the job, feel free to suggest the change (platform detection). My changes were simple - I used the setuptex file that came with standalone, and tweaked it ever so slightly. https://gist.github.com/gatesphere/0afaf5c2c647430ff653 So basically all you did was replacing platform detection with platform=mswin and commented out three lines of code that notify about the change? (Did you just find those lines annoying or did they actually fail to work?) Just curious: what does uname -s uname -m return on cygwin or what is the best way to detect windows in shell? (I believe that should be easy enough.) Save that as .setuptex in ~ (home directory) then add the line source /home/PeckJ/.setuptex /cygdrive/c/context/tex to .bashrc, and you should be good to go. In that case I would use export PATH=/cygdrive/c/context/tex/texm-mswin/bin:$PATH instead, but of course it's your choice. 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] Alignment of inmframed
On 6/14/2013 9:06 PM, Aditya Mahajan wrote: \inmframed (and by extension \definemathframed[...][location=low,...]) does not get the right vertical space. For example, \starttext \startformula \ln (1+x) = \inmframed{x - {\frac {x^2}{2}}} + \frac{x^3}{3}-\cdots. \stopformula \stoptext Note that the two fractions do not align at the horizontal bar. Is it possible for all expressions to be aligned at the math axis? Aditya like this? \unprotect \newcount\c_pack_framed_mc \unexpanded\def\mcframed {\doifnextoptionalelse\pack_framed_mc_yes\pack_framed_mc_nop} \unexpanded\def\pack_framed_mc_begin {\bgroup \global\advance\c_pack_framed_mc\plusone \edef\pack_framed_mc_one{mcf:1:\number\c_pack_framed_mc}% \edef\pack_framed_mc_two{mcf:2:\number\c_pack_framed_mc}% \lower\dimexpr\MPy\pack_framed_mc_two-\MPy\pack_framed_mc_one\relax \hbox\bgroup \xypos\pack_framed_mc_one} \unexpanded\def\pack_framed_mc_end {\egroup \egroup} \unexpanded\def\pack_framed_mc_nop#1% {\pack_framed_mc_begin \mframed{\xypos\pack_framed_mc_two#1}% \pack_framed_mc_end} \unexpanded\def\pack_framed_mc_yes[#1]#2% {\pack_framed_mc_begin \mframed[#1]{\xypos\pack_framed_mc_two#2}% \pack_framed_mc_end} \protect \starttext \startformula \ln (1+x) = \mcframed{x - {\frac {x^2}{\frac{x^3}{\frac{x^3}{3} + \frac{x^3}{3}-\cdots. \stopformula \startformula \ln (1+x) = \mcframed[background=color,backgroundcolor=red,foregroundcolor=white,frame=off]{x - {\frac {x^2}{\frac{x^3}{\frac{x^3}{3} + \frac{x^3}{3}-\cdots. \stopformula \stoptext - 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] MOving from MkII to MkIV / EPUB
Hello folks, I have a ConTeXt Project for a small and simple book, that has the 'basic example' project structure with .../images, .../chapters, .../products etc. I use a Makefile to comppile the book when in the .../chapters directory, as attached below. I use texexec --pdf and probably ConTeXt MkII from the MacTeX 2012 distribution. I'd like to make an EPUB from this book as well. I suspect that means going over to LuaTeX/MkIV and doing extra stuff. I got lost in the ConTeXt documentation (for as much as there is, old and new) and would appreciate an instruction on how to do this that does not suppose I am a ConTeXt wizard who is doing stuff like this daily. Is there such a thing? Gerben OPEN=echo MODE=--mode=standalone ONCE=--once .SUFFIXES: .pdf .tex .open .pdf.open: open $ .tex.pdf: texexec --pdf ${MODE} ${ONCE} $ IMAGEDIR=../images MPDIR=../mp PRODUCTSDIR=../products TEXS=c_loosely.tex c_standard.tex c_problem.tex c_index.tex c_endnotes.tex \ c_better.tex OPENS=c_loosely.open c_standard.open c_problem.open c_better.open PDFS=c_loosely.pdf c_standard.pdf c_problem.pdf c_better.pdf CDISCRETEIMAGES= CLOGICIMAGES= BOOKIMAGES= ${CDISCRETEIMAGES} ${CLOGICIMAGES} #.PHONY: $(OPENS) default: make ONCE=--once book-open full: make ONCE= book-open all:$(PDFS) clean: rm %* all-open: $(OPENS) book-open: book open prd_book.pdf book: prd_book.pdf prd_book.pdf: ${PRODUCTSDIR}/prd_book.tex $(TEXS) $(BOOKIMAGES) make MODE=--mode=editor ONCE=${ONCE} ${PRODUCTSDIR}/prd_book.pdf smime.p7s Description: S/MIME cryptographic 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] UWIN?
On 6/14/2013 4:14 PM, Mojca Miklavec wrote: On Fri, Jun 14, 2013 at 9:13 PM, Jacob Peck wrote: On 6/14/2013 3:05 PM, Mojca Miklavec wrote: Now that Jacob mentioned it: I didn't think of the fact that one might not necessarily need special cygwin binaries to run ConTeXt in cygwin. If a simple modification in first-setup.sh and setuptex can do the job, feel free to suggest the change (platform detection). My changes were simple - I used the setuptex file that came with standalone, and tweaked it ever so slightly. https://gist.github.com/gatesphere/0afaf5c2c647430ff653 So basically all you did was replacing platform detection with platform=mswin and commented out three lines of code that notify about the change? (Did you just find those lines annoying or did they actually fail to work?) I just found them annoying - precisely because they worked :p Just curious: what does uname -s uname -m return on cygwin or what is the best way to detect windows in shell? (I believe that should be easy enough.) $ uname -s; uname -m; uname -o CYGWIN_NT-5.1 i686 Cygwin You could test if `uname -s` starts with CYGWIN, or if `uname -o` equals Cygwin... another way is to check $OSTYPE: $ echo $OSTYPE cygwin Save that as .setuptex in ~ (home directory) then add the line source /home/PeckJ/.setuptex /cygdrive/c/context/tex to .bashrc, and you should be good to go. In that case I would use export PATH=/cygdrive/c/context/tex/texm-mswin/bin:$PATH instead, but of course it's your choice. Is that all the script does? I've never read it completely, just tweaked it until it worked. Ah well, my setup works just fine :) --Jake 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 ___ ___ 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] [***SPAM***] Float placement
I'm trying to typeset a book. It has two columns, and some floating diagrams. My problem is that the floats aren't going where I want them to and I can't work out how to fix it. My input source looks something like: \startcolumnset[foo] \subject{Blah} \placefigure[here]{First diagram} {\externalfigure[diagram1.jpg][width=2.3in]} \placefigure[here]{Second diagram} {\externalfigure[diagram2.jpg][width=2.3in]} \placefigure[here]{Third diagram} {\externalfigure[diagram3.jpg][width=2.3in]} What I expect to get out is a page something like this (excuse the ASCII graphics): +-+ | | | Blah | | | | | | | | +--+ | | | | | | | | | | +--+ | | | | | | | | | | | | | | | | | | | | | | +--+ | | | | First diagram | | | | +--+ | | Third diagram | | | | | | | | +--+ | | | | | | | | | | | | | | +--+ | | Second diagram| | | | | | | | | +-+ What I'm actually getting out is this: +-+ | | | Blah +--+ | | | | | | | | | | | | | | +--+ | | Second diagram | | | | +--+ +--+ | | | | | | | | | | | | | | | | | | | | +--+ | | | | First diagram | | | | | | | | | | | | | | | | +--+ | | Third diagram | | | | | | | | | | | | | | | | | | | | | +-+ Even though there is sufficient space in the first column, the second float is always being moved up to the top of the second column. I've tried pretty much every combination of here, force and always as the location keyword for the \placefloat, but it doesn't make any difference. Any idea what I can do to get the placement I want? The deadline for going to press is rapidly approaching and I'm getting a little concerned! Thanks, Tet ___ 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