* Setting up minimals (saw: Re: distro info) @ 2008-06-26 12:00 Andrea Valle 2008-06-26 17:33 ` David 0 siblings, 1 reply; 15+ messages in thread From: Andrea Valle @ 2008-06-26 12:00 UTC (permalink / raw) To: mailing list for ConTeXt users [-- Attachment #1.1: Type: text/plain, Size: 2935 bytes --] Hi to all, Ok, I'm going for minimals (hurray!) > > cd /path/to/some/folder > rsync -ptv rsync://contextgarden.net/minimals/setup/first-setup.sh . > ./first-setup.sh Perfect. Under Applications now I have a ConTeXtMinimals folder containg relevant stuff (tex+bin folders, a .lua and the .sh file). > > Alternatively, you may use > > cd /path/to/some/folder > . setuptex I'd prefer to go with this, locally. So in terminal I did: cd /Applications/ConTeXtMinimals/ . setuptex ahem, - what have I to do now? andrea:/Applications/ConTeXtMinimals andreavalle$ context -bash: context: command not found - If I have understood, "context" calls luatex, am I right? - I can call texexec but I'm not sure I'm calling the minimal one. > System fonts on Mac should work by default since a few days ago. - This means I can use something like this if I call the xtx switch?: \definetypeface[Optima][rm][Xserif][Optima] \definetypeface[Optima][tt][Xmono][LM Typewriter Regular] \definetypeface[Garamond][rm][Xserif][Garamond] \setupbodyfont[Optima] - How does font selection work under luatex? - What have I to do to use bibtex? Many thanks > > 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 : https://foundry.supelec.fr/projects/contextrev/ > wiki : http://contextgarden.net > ______________________________________________________________________ > _____________ -------------------------------------------------- Andrea Valle -------------------------------------------------- CIRMA - DAMS Università degli Studi di Torino --> http://www.cirma.unito.it/andrea/ --> http://www.myspace.com/andreavalle --> andrea.valle@unito.it -------------------------------------------------- I did this interview where I just mentioned that I read Foucault. Who doesn't in university, right? I was in this strip club giving this guy a lap dance and all he wanted to do was to discuss Foucault with me. Well, I can stand naked and do my little dance, or I can discuss Foucault, but not at the same time; too much information. (Annabel Chong) -------------------------------------------------- Andrea Valle -------------------------------------------------- CIRMA - DAMS Università degli Studi di Torino --> http://www.cirma.unito.it/andrea/ --> http://www.myspace.com/andreavalle --> andrea.valle@unito.it -------------------------------------------------- " Think of it as seasoning . noise [salt] is boring . F(blah) [food without salt] can be boring . F(noise, blah) can be really tasty " (Ken Perlin on noise) [-- Attachment #1.2: Type: text/html, Size: 11186 bytes --] [-- Attachment #2: Type: text/plain, Size: 487 bytes --] ___________________________________________________________________________________ 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________ ^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: Setting up minimals (saw: Re: distro info) 2008-06-26 12:00 Setting up minimals (saw: Re: distro info) Andrea Valle @ 2008-06-26 17:33 ` David 2008-06-26 18:30 ` Andrea Valle 0 siblings, 1 reply; 15+ messages in thread From: David @ 2008-06-26 17:33 UTC (permalink / raw) To: mailing list for ConTeXt users On Thu, 26 Jun 2008 14:00:10 +0200, Andrea Valle wrote: > Hi to all, > > Ok, I'm going for minimals (hurray!) >> >> cd /path/to/some/folder >> rsync -ptv rsync://contextgarden.net/minimals/setup/first-setup.sh . >> ./first-setup.sh > > > Perfect. > Under Applications now I have a ConTeXtMinimals folder containg > relevant stuff (tex+bin folders, a .lua and the .sh file). > >> >> Alternatively, you may use >> >> cd /path/to/some/folder >> . setuptex > > I'd prefer to go with this, locally. > So in terminal I did: > cd /Applications/ConTeXtMinimals/ . setuptex > > ahem, > - what have I to do now? > > andrea:/Applications/ConTeXtMinimals andreavalle$ context > -bash: context: command not found Open a new terminal window and do . /context/tex/setuptex /Applications/ConTeXtMinimals/tex Then you can use ConTeXt, in that window only. You have to do this step every time. OR, you can add the same line into your .profile ; then setuptex will be performed automatically every time you open a new terminal window. (If you plan to use another TeX installation very often, the .profile method might not be convenient. For me it works fine.) David ___________________________________________________________________________________ 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________ ^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: Setting up minimals (saw: Re: distro info) 2008-06-26 17:33 ` David @ 2008-06-26 18:30 ` Andrea Valle 2008-06-26 19:33 ` Aditya Mahajan ` (2 more replies) 0 siblings, 3 replies; 15+ messages in thread From: Andrea Valle @ 2008-06-26 18:30 UTC (permalink / raw) To: mailing list for ConTeXt users [-- Attachment #1.1: Type: text/plain, Size: 1497 bytes --] > and do > > . /context/tex/setuptex /Applications/ConTeXtMinimals/tex > andrea:~ andreavalle$ . /context/tex/setuptex /Applications/ ConTeXtMinimals/tex -bash: /context/tex/setuptex: No such file or directory Doesn't work here > (If you plan to use another TeX installation very > often, the .profile method might not be convenient. For me it works > fine.) Yes, I'd prefer changing ech time Many thanks best -a- > > David > ______________________________________________________________________ > _____________ > 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 : https://foundry.supelec.fr/projects/contextrev/ > wiki : http://contextgarden.net > ______________________________________________________________________ > _____________ -------------------------------------------------- Andrea Valle -------------------------------------------------- CIRMA - DAMS Università degli Studi di Torino --> http://www.cirma.unito.it/andrea/ --> http://www.myspace.com/andreavalle --> andrea.valle@unito.it -------------------------------------------------- " Think of it as seasoning . noise [salt] is boring . F(blah) [food without salt] can be boring . F(noise, blah) can be really tasty " (Ken Perlin on noise) [-- Attachment #1.2: Type: text/html, Size: 7881 bytes --] [-- Attachment #2: Type: text/plain, Size: 487 bytes --] ___________________________________________________________________________________ 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________ ^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: Setting up minimals (saw: Re: distro info) 2008-06-26 18:30 ` Andrea Valle @ 2008-06-26 19:33 ` Aditya Mahajan 2008-06-26 23:31 ` Andrea Valle 2008-06-26 19:41 ` David 2008-06-26 19:46 ` David 2 siblings, 1 reply; 15+ messages in thread From: Aditya Mahajan @ 2008-06-26 19:33 UTC (permalink / raw) To: ntg-context Quoting Andrea Valle <valle@di.unito.it>: > >> and do >> >> . /context/tex/setuptex /Applications/ConTeXtMinimals/tex >> > > andrea:~ andreavalle$ . /context/tex/setuptex /Applications/ > ConTeXtMinimals/tex > -bash: /context/tex/setuptex: No such file or directory > > Doesn't work here You have to do: $ . path-to-setuptex/setuptex path-to-the-dir-containing-texmf-texmf-context-etc. If the command works, type $ echo $TEXMFMAIN $ which texmfstart $ which texexec $ which context To see whether the path is correctly set. If which context returns nothing, search for file "context" (I don't know how to search for files on a Mac, but I am sure there is an easy way to do it) to see if it is present in the correct location. 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________ ^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: Setting up minimals (saw: Re: distro info) 2008-06-26 19:33 ` Aditya Mahajan @ 2008-06-26 23:31 ` Andrea Valle 2008-06-27 1:43 ` Aditya Mahajan 0 siblings, 1 reply; 15+ messages in thread From: Andrea Valle @ 2008-06-26 23:31 UTC (permalink / raw) To: mailing list for ConTeXt users [-- Attachment #1.1: Type: text/plain, Size: 1203 bytes --] > > . /Applications/ConTeXtMinimals/tex/setuptex > /Applications/ConTeXtMinimals/tex Ah, ok, it's a single line. > If the command works, type > > $ echo $TEXMFMAIN > > $ which texmfstart > $ which texexec > $ which context Perfect, all seems to work Thanks David, Aditya. So back to the other questions - This means I can use something like this if I call the xtx switch?: \definetypeface[Optima][rm][Xserif][Optima] \definetypeface[Optima][tt][Xmono][LM Typewriter Regular] \definetypeface[Garamond][rm][Xserif][Garamond] \setupbodyfont[Optima] - How does font selection work under luatex? - What have I to do to use bibtex? Many thanks Best -a- -------------------------------------------------- Andrea Valle -------------------------------------------------- CIRMA - DAMS Università degli Studi di Torino --> http://www.cirma.unito.it/andrea/ --> http://www.myspace.com/andreavalle --> andrea.valle@unito.it -------------------------------------------------- " Think of it as seasoning . noise [salt] is boring . F(blah) [food without salt] can be boring . F(noise, blah) can be really tasty " (Ken Perlin on noise) [-- Attachment #1.2: Type: text/html, Size: 8350 bytes --] [-- Attachment #2: Type: text/plain, Size: 487 bytes --] ___________________________________________________________________________________ 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________ ^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: Setting up minimals (saw: Re: distro info) 2008-06-26 23:31 ` Andrea Valle @ 2008-06-27 1:43 ` Aditya Mahajan 2008-06-27 6:15 ` Wolfgang Schuster ` (2 more replies) 0 siblings, 3 replies; 15+ messages in thread From: Aditya Mahajan @ 2008-06-27 1:43 UTC (permalink / raw) To: mailing list for ConTeXt users On Fri, 27 Jun 2008, Andrea Valle wrote: > Perfect, all seems to work Great. If you found certain instructions on the wiki confusing, please add details there. > So back to the other questions > > - This means I can use something like this if I call the xtx switch?: > > \definetypeface[Optima][rm][Xserif][Optima] > \definetypeface[Optima][tt][Xmono][LM Typewriter Regular] > \definetypeface[Garamond][rm][Xserif][Garamond] > \setupbodyfont[Optima] > > - How does font selection work under luatex? I don't know font selection in XeTeX, and understand font selection in luatex only marginally, so I'll let someone else answer this. > - What have I to do to use bibtex? Suppose your file is called thesis.tex (Ok, I had to test things to ensure what I was saying was true, and that is the only test file that I have currently :). Now run $context thesis This will create a lot of warnings about missing references, ignore them. Then run $bibtex thesis This will create tesis.bbl. Now run context, and all those warnings will be gone. You only need to run bibtex once (unless you change your bib file). This situation is temporary. When Hans implements intermediate run's in mtxrun, you will not need to run bibtex by hand. 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________ ^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: Setting up minimals (saw: Re: distro info) 2008-06-27 1:43 ` Aditya Mahajan @ 2008-06-27 6:15 ` Wolfgang Schuster 2008-06-27 9:08 ` Andrea Valle 2008-06-27 9:01 ` Andrea Valle 2008-06-27 9:04 ` Andrea Valle 2 siblings, 1 reply; 15+ messages in thread From: Wolfgang Schuster @ 2008-06-27 6:15 UTC (permalink / raw) To: mailing list for ConTeXt users On Fri, Jun 27, 2008 at 3:43 AM, Aditya Mahajan <adityam@umich.edu> wrote: > On Fri, 27 Jun 2008, Andrea Valle wrote: > >> Perfect, all seems to work > > Great. If you found certain instructions on the wiki confusing, please add > details there. > >> So back to the other questions >> >> - This means I can use something like this if I call the xtx switch?: >> >> \definetypeface[Optima][rm][Xserif][Optima] >> \definetypeface[Optima][tt][Xmono][LM Typewriter Regular] >> \definetypeface[Garamond][rm][Xserif][Garamond] >> \setupbodyfont[Optima] >> >> - How does font selection work under luatex? > > I don't know font selection in XeTeX, and understand font selection in > luatex only marginally, so I'll let someone else answer this. I never used the short definition for XeTeX but fonts defined with the longer form can be used with XeTeX and LuaTeX, you could use the same typescripts. http://wiki.contextgarden.net/Mark_IV#A_.28Complete.29_Typescript_Example http://archive.contextgarden.net/message/20080413.111450.d1603396.en.html http://archive.contextgarden.net/message/20080609.010650.0b8f9e15.en.html You can find more threads in the list archive. >> - What have I to do to use bibtex? > > Suppose your file is called thesis.tex (Ok, I had to test things to ensure > what I was saying was true, and that is the only test file that I have > currently :). Now run > $context thesis > This will create a lot of warnings about missing references, ignore them. > Then run > $bibtex thesis > This will create tesis.bbl. Now run context, and all those warnings will > be gone. You only need to run bibtex once (unless you change your bib > file). > > This situation is temporary. When Hans implements intermediate run's in > mtxrun, you will not need to run bibtex by hand. > > Aditya Regards 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________ ^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: Setting up minimals (saw: Re: distro info) 2008-06-27 6:15 ` Wolfgang Schuster @ 2008-06-27 9:08 ` Andrea Valle 2008-06-27 9:15 ` Wolfgang Schuster 0 siblings, 1 reply; 15+ messages in thread From: Andrea Valle @ 2008-06-27 9:08 UTC (permalink / raw) To: mailing list for ConTeXt users [-- Attachment #1.1: Type: text/plain, Size: 3202 bytes --] Many thanks Wolfgang. The fact is that I'm not understanding what's going on... Best -a- On 27 Jun 2008, at 08:15, Wolfgang Schuster wrote: > On Fri, Jun 27, 2008 at 3:43 AM, Aditya Mahajan <adityam@umich.edu> > wrote: >> On Fri, 27 Jun 2008, Andrea Valle wrote: >> >>> Perfect, all seems to work >> >> Great. If you found certain instructions on the wiki confusing, >> please add >> details there. >> >>> So back to the other questions >>> >>> - This means I can use something like this if I call the xtx >>> switch?: >>> >>> \definetypeface[Optima][rm][Xserif][Optima] >>> \definetypeface[Optima][tt][Xmono][LM Typewriter Regular] >>> \definetypeface[Garamond][rm][Xserif][Garamond] >>> \setupbodyfont[Optima] >>> >>> - How does font selection work under luatex? >> >> I don't know font selection in XeTeX, and understand font >> selection in >> luatex only marginally, so I'll let someone else answer this. > > I never used the short definition for XeTeX but fonts defined with > the longer > form can be used with XeTeX and LuaTeX, you could use the same > typescripts. > > http://wiki.contextgarden.net/Mark_IV#A_.28Complete. > 29_Typescript_Example > http://archive.contextgarden.net/message/ > 20080413.111450.d1603396.en.html > http://archive.contextgarden.net/message/ > 20080609.010650.0b8f9e15.en.html > > You can find more threads in the list archive. > >>> - What have I to do to use bibtex? >> >> Suppose your file is called thesis.tex (Ok, I had to test things >> to ensure >> what I was saying was true, and that is the only test file that I >> have >> currently :). Now run >> $context thesis >> This will create a lot of warnings about missing references, >> ignore them. >> Then run >> $bibtex thesis >> This will create tesis.bbl. Now run context, and all those >> warnings will >> be gone. You only need to run bibtex once (unless you change your bib >> file). >> >> This situation is temporary. When Hans implements intermediate >> run's in >> mtxrun, you will not need to run bibtex by hand. >> >> Aditya > > Regards > 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 : https://foundry.supelec.fr/projects/contextrev/ > wiki : http://contextgarden.net > ______________________________________________________________________ > _____________ -------------------------------------------------- Andrea Valle -------------------------------------------------- CIRMA - DAMS Università degli Studi di Torino --> http://www.cirma.unito.it/andrea/ --> http://www.myspace.com/andreavalle --> andrea.valle@unito.it -------------------------------------------------- " Think of it as seasoning . noise [salt] is boring . F(blah) [food without salt] can be boring . F(noise, blah) can be really tasty " (Ken Perlin on noise) [-- Attachment #1.2: Type: text/html, Size: 13881 bytes --] [-- Attachment #2: Type: text/plain, Size: 487 bytes --] ___________________________________________________________________________________ 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________ ^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: Setting up minimals (saw: Re: distro info) 2008-06-27 9:08 ` Andrea Valle @ 2008-06-27 9:15 ` Wolfgang Schuster 0 siblings, 0 replies; 15+ messages in thread From: Wolfgang Schuster @ 2008-06-27 9:15 UTC (permalink / raw) To: mailing list for ConTeXt users On Fri, Jun 27, 2008 at 11:08 AM, Andrea Valle <valle@di.unito.it> wrote: > Many thanks Wolfgang. > The fact is that I'm not understanding what's going on... You're not alone. http://wiki.contextgarden.net/Understanding_how_fonts_work_in_ConTeXt Ask what do you want to know and we can fill the gaps. Regards, 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________ ^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: Setting up minimals (saw: Re: distro info) 2008-06-27 1:43 ` Aditya Mahajan 2008-06-27 6:15 ` Wolfgang Schuster @ 2008-06-27 9:01 ` Andrea Valle 2008-06-27 9:04 ` Andrea Valle 2 siblings, 0 replies; 15+ messages in thread From: Andrea Valle @ 2008-06-27 9:01 UTC (permalink / raw) To: mailing list for ConTeXt users [-- Attachment #1.1: Type: text/plain, Size: 791 bytes --] Thanks to all, Added some stuff here on the things I'm doing. http://wiki.contextgarden.net/ConTeXt_Minimals I have to say that I found some reduncy in mac infos (substantially I followed Mojca's post) Obviously, please in case move/change the stuff Best -a- >> -------------------------------------------------- Andrea Valle -------------------------------------------------- CIRMA - DAMS Università degli Studi di Torino --> http://www.cirma.unito.it/andrea/ --> http://www.myspace.com/andreavalle --> andrea.valle@unito.it -------------------------------------------------- " Think of it as seasoning . noise [salt] is boring . F(blah) [food without salt] can be boring . F(noise, blah) can be really tasty " (Ken Perlin on noise) [-- Attachment #1.2: Type: text/html, Size: 5207 bytes --] [-- Attachment #2: Type: text/plain, Size: 487 bytes --] ___________________________________________________________________________________ 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________ ^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: Setting up minimals (saw: Re: distro info) 2008-06-27 1:43 ` Aditya Mahajan 2008-06-27 6:15 ` Wolfgang Schuster 2008-06-27 9:01 ` Andrea Valle @ 2008-06-27 9:04 ` Andrea Valle 2008-06-27 10:11 ` Wolfgang Schuster 2008-06-27 13:21 ` Aditya Mahajan 2 siblings, 2 replies; 15+ messages in thread From: Andrea Valle @ 2008-06-27 9:04 UTC (permalink / raw) To: mailing list for ConTeXt users [-- Attachment #1.1: Type: text/plain, Size: 1306 bytes --] > Suppose your file is called thesis.tex (Ok, I had to test things to > ensure > what I was saying was true, and that is the only test file that I have > currently :). Now run > $context thesis > This will create a lot of warnings about missing references, ignore > them. > Then run > $bibtex thesis > This will create tesis.bbl. Now run context, and all those warnings > will > be gone. You only need to run bibtex once (unless you change your bib > file). > So, it's like latex? Have I to specify that I'm using the bib module? I mean, this: \usemodule[bib] \usemodule[bibltx] \setupbibtex[database=semiotiche] Best -a- > This situation is temporary. When Hans implements intermediate > run's in > mtxrun, you will not need to run bibtex by hand. > -------------------------------------------------- Andrea Valle -------------------------------------------------- CIRMA - DAMS Università degli Studi di Torino --> http://www.cirma.unito.it/andrea/ --> http://www.myspace.com/andreavalle --> andrea.valle@unito.it -------------------------------------------------- " Think of it as seasoning . noise [salt] is boring . F(blah) [food without salt] can be boring . F(noise, blah) can be really tasty " (Ken Perlin on noise) [-- Attachment #1.2: Type: text/html, Size: 7323 bytes --] [-- Attachment #2: Type: text/plain, Size: 487 bytes --] ___________________________________________________________________________________ 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________ ^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: Setting up minimals (saw: Re: distro info) 2008-06-27 9:04 ` Andrea Valle @ 2008-06-27 10:11 ` Wolfgang Schuster 2008-06-27 13:21 ` Aditya Mahajan 1 sibling, 0 replies; 15+ messages in thread From: Wolfgang Schuster @ 2008-06-27 10:11 UTC (permalink / raw) To: mailing list for ConTeXt users On Fri, Jun 27, 2008 at 11:04 AM, Andrea Valle <valle@di.unito.it> wrote: > Suppose your file is called thesis.tex (Ok, I had to test things to ensure > what I was saying was true, and that is the only test file that I have > currently :). Now run > $context thesis > This will create a lot of warnings about missing references, ignore them. > Then run > $bibtex thesis > This will create tesis.bbl. Now run context, and all those warnings will > be gone. You only need to run bibtex once (unless you change your bib > file). > > So, it's like latex? Have I to specify that I'm using the bib module? Unless you find a way to use the module without loading it \usemodule the answer is yes ;-) > I mean, this: > \usemodule[bib] > \usemodule[bibltx] > \setupbibtex[database=semiotiche] I'm not a expert for Tacos module but it should work without the second module "bibltx". The manual should answer all other questions: http://modules.contextgarden.net/bib Reagrs, 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________ ^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: Setting up minimals (saw: Re: distro info) 2008-06-27 9:04 ` Andrea Valle 2008-06-27 10:11 ` Wolfgang Schuster @ 2008-06-27 13:21 ` Aditya Mahajan 1 sibling, 0 replies; 15+ messages in thread From: Aditya Mahajan @ 2008-06-27 13:21 UTC (permalink / raw) To: mailing list for ConTeXt users On Fri, 27 Jun 2008, Andrea Valle wrote: >> Suppose your file is called thesis.tex (Ok, I had to test things to ensure >> what I was saying was true, and that is the only test file that I have >> currently :). Now run >> $context thesis >> This will create a lot of warnings about missing references, ignore them. >> Then run >> $bibtex thesis >> This will create tesis.bbl. Now run context, and all those warnings will >> be gone. You only need to run bibtex once (unless you change your bib >> file). >> > > So, it's like latex? Well, not exactly. Let me explain how bibtex works in latex, and then how it works in context. In latex, you write \cite{ref1}, \cite{ref2}, etc. to cite a document, \bibliographystyle{style} to tell the style of the references, and \bibliography{bib-file} to tell the name of the bib database. When you run latex on this file, for each \cite{ref1} latex writes \citation{ref1} into the aux file; for \bibliographystyle{style} it writes \bibstyle{style} and for \bibliography{bib-file} it writes \bibdata{bib-file}. Latex aux file contains all sort of auxillary information, but bibtex only reconizes the about three commands. When you run bibtex, it translates the references included in \citation from the bib-file to latex markup, as specified by the style file. These are stored in the bbl file. All these features are hardcoded in bibtex, so it makes it difficult to use bibtex with anything other than latex. The bib module exploits a feature in bibtex to make it work with context. If you write \cite{*} in your latex document, latex writes \citation{*} in the aux file, and bibtex translates *all* the enteries in the bib-file to latex markup. So, the bib module writes \citation{*} to the aux file. Next, in order to get the references in a manner that context can understand, Taco has written a bib style file that translates the bib file to \start \stop publication style. So, in terms of interaction with bibtex, bib module creates a very simple aux file \citation{*} \bibstyle{cont-no} \bibdata{bib-file} When you run bibtex on this, bibtex translates *all* the references in your bib file to context markup. On the second run, the bib module reads these commands, and stores everything as registers internally and uses ConTeXt inbuilt functions for sorting etc. > Have I to specify that I'm using the bib module? Usually, you only need to do: \usemodule[bib] \setupbibtex[database=bib-file] \setuppublications[alternative=ieee] % ieee is my own bib style % see documentation for other options Normally (that is in mkii), context (rather texexec) runs bibtex after the first run behind the scenes. In mkiv running is not implemented in mtx-context script yet. So you need to run bibtex *once* after the first run. This will create the bbl file, which contains *all* your references in the bib file, so until you change your bib file, you do not need to run bibtex again. Again, this is temporary; once mtx-context allows for commands to be executed inbetween context runs, you will not need to run bibtex by hand. > I mean, this: > > \usemodule[bibltx] Normally you should not need to include the bibltx module. The bibltx module reads the bbl files created by bibtex for latex. Suppose you have an old latex project, and you only have its bbl file but not the bib file. Suppose you want to translate the project to context. Then rather than translating all your references back to bib format, the bibltx module allows you to use the bbl file created for latex. You should not need to do this for new projects. > \setupbibtex[database=semiotiche] 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________ ^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: Setting up minimals (saw: Re: distro info) 2008-06-26 18:30 ` Andrea Valle 2008-06-26 19:33 ` Aditya Mahajan @ 2008-06-26 19:41 ` David 2008-06-26 19:46 ` David 2 siblings, 0 replies; 15+ messages in thread From: David @ 2008-06-26 19:41 UTC (permalink / raw) To: mailing list for ConTeXt users On Thu, 26 Jun 2008 20:30:19 +0200, Andrea Valle wrote: > >> and do >> >> . /context/tex/setuptex /Applications/ConTeXtMinimals/tex >> > > andrea:~ andreavalle$ . /context/tex/setuptex > /Applications/ConTeXtMinimals/tex > -bash: /context/tex/setuptex: No such file or directory > > Doesn't work here > >> (If you plan to use another TeX installation very >> often, the .profile method might not be convenient. For me it works >> fine.) > > Yes, I'd prefer changing ech time I'm an idiot, sorry. Try using this line instead: . /Applications/ConTeXtMinimals/tex/setuptex /Applications/ConTeXtMinimals/tex I hope I'm not still an idiot. :-) David ___________________________________________________________________________________ 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________ ^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: Setting up minimals (saw: Re: distro info) 2008-06-26 18:30 ` Andrea Valle 2008-06-26 19:33 ` Aditya Mahajan 2008-06-26 19:41 ` David @ 2008-06-26 19:46 ` David 2 siblings, 0 replies; 15+ messages in thread From: David @ 2008-06-26 19:46 UTC (permalink / raw) To: mailing list for ConTeXt users You might also need to add /Applications/ConTeXtMinimals/bin to your PATH That can be done by adding the following two lines to your .profile: PATH="/Applications/ConTeXtMinimals/bin:${PATH}" export PATH David ___________________________________________________________________________________ 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________ ^ permalink raw reply [flat|nested] 15+ messages in thread
end of thread, other threads:[~2008-06-27 13:21 UTC | newest] Thread overview: 15+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2008-06-26 12:00 Setting up minimals (saw: Re: distro info) Andrea Valle 2008-06-26 17:33 ` David 2008-06-26 18:30 ` Andrea Valle 2008-06-26 19:33 ` Aditya Mahajan 2008-06-26 23:31 ` Andrea Valle 2008-06-27 1:43 ` Aditya Mahajan 2008-06-27 6:15 ` Wolfgang Schuster 2008-06-27 9:08 ` Andrea Valle 2008-06-27 9:15 ` Wolfgang Schuster 2008-06-27 9:01 ` Andrea Valle 2008-06-27 9:04 ` Andrea Valle 2008-06-27 10:11 ` Wolfgang Schuster 2008-06-27 13:21 ` Aditya Mahajan 2008-06-26 19:41 ` David 2008-06-26 19:46 ` David
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for NNTP newsgroup(s).