[OS X TeX] Re: Re: personnal packages : thanks (Herbert Schulz)
Karine Fourlon
fourlon.karine at wanadoo.fr
Sat Jan 8 11:32:30 EST 2011
Thank you.
I was so preoccupied about the whole thing that I forgot the basic stuff ! It works.
Karine
Le 7 janv. 2011 à 21:00, <macosx-tex-request at email.esm.psu.edu> <macosx-tex-request at email.esm.psu.edu> a écrit :
> Send MacOSX-TeX mailing list submissions to
> macosx-tex at email.esm.psu.edu
>
> To subscribe or unsubscribe via the World Wide Web, visit
> http://email.esm.psu.edu/mailman/listinfo/macosx-tex
> or, via email, send a message with subject or body 'help' to
> macosx-tex-request at email.esm.psu.edu
>
> You can reach the person managing the list at
> macosx-tex-owner at email.esm.psu.edu
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of MacOSX-TeX digest..."
>
>
> Today's Topics:
>
> 1. Re: Syncing in one direction only (Don Green Dragon)
> 2. Re: Syncing in one direction only (Alain Schremmer)
> 3. Re: Syncing in one direction only (Herbert Schulz)
> 4. Re: Syncing in one direction only (Alain Schremmer)
> 5. Math font samples (Michael Sharpe)
> 6. personnal packages : thanks (Karine Fourlon)
> 7. Re: personnal packages : thanks (Herbert Schulz)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Thu, 6 Jan 2011 15:51:57 -0700
> From: Don Green Dragon <fergdc at Shaw.ca>
> Subject: Re: [OS X TeX] Syncing in one direction only
> To: TeX on Mac OS X Mailing List <macosx-tex at email.esm.psu.edu>
> Message-ID: <DE1ECE89-B814-4306-94C1-478216728584 at Shaw.ca>
> Content-Type: text/plain; charset=us-ascii
>
> Hello Herb,
>
>
> On 2011-05Jan-, at 5:12 AM, Herbert Schulz wrote:
>
>> On Jan 4, 2011, at 10:51 PM, Don Green Dragon wrote:
>> <<snip>>
>>
>> Howdy,
>>
>> There are two texmf.cnf files. Although I don't recommend touching either one the one in /usr/local/texlive/2010/ is the only one that could be touched since it contains any changes in configuration from the standard base configuration for the local system. The main texmf.cnf file is in /usr/local/texlive/2010/texmf-dist/ and is read in first. It has the lines you are interested in changing (by adding corrected lines to the other texmf.cnf file) so examine its contents.
>
> Ok, thanks for that information.
>
>
>> Do understand that changes you make to texmf.cnf may have unintended consequences and especially to security of your TeX Distribution and system.
>
> No, I did not so understand. On the other hand, I had no intention of modifying <texmf.cnf> until I knew more about the situation. I have to find that message from Bruno Voisin that Alain Schremmer referred to.
>
>
> Don Green Dragon
> fergdc at Shaw.ca
>
>
> ------------------------------
>
> Message: 2
> Date: Thu, 6 Jan 2011 18:52:26 -0500
> From: Alain Schremmer <schremmer.alain at gmail.com>
> Subject: Re: [OS X TeX] Syncing in one direction only
> To: TeX on Mac OS X Mailing List <macosx-tex at email.esm.psu.edu>
> Message-ID: <13DE5502-EEEF-48D3-A6C8-27DBC69303B3 at gmail.com>
> Content-Type: text/plain; charset=ISO-8859-1; delsp=yes; format=flowed
>
>
> On Jan 6, 2011, at 5:51 PM, Don Green Dragon wrote:
>
>> No, I did not so understand. On the other hand, I had no intention
>> of modifying <texmf.cnf> until I knew more about the situation. I
>> have to find that message from Bruno Voisin that Alain Schremmer
>> referred to.
>
>
>
> Look at the thread Error: I can't write on file '(name)'
>
> March 22, 2007
>
> Here is, I think, what Voisin said to do and what I did.
> Regards
> --schremmer
>
>
> Le 22 mars 07 à 12:45, Jonathan Kew a écrit :
>
>> Find the line
>>
>> openout_any = p
>>
>> in there; change to
>>
>> openout_any = r
>>
>> and I think you'll be OK. ("a" would be even more permissive than
>> "r", but I don't think you need that.)
>
> Thanks for this tip, that's helpful. I knew about the -R option (=
> secure mode) of dvips, and about the -shell-escape and -no-shell-
> escape options of pdftex, but I didn't suspect there was this switch
> in addition for pdftex in texmf.cnf.
>
> Regarding texmf.cnf, the gwTeX and MacTeX/TeXLive setups are a bit
> different. With MacTeX/TeXLive, there is one single texmf.cnf at:
>
> /usr/local/texlive/2007/texmf/web2c/texmf.cnf
>
> which is the file to edit. With gwTeX, there are two different
> texmf.cnf at:
>
> /usr/local/gwTeX/texmf.cnf
> /usr/local/gwTeX/texmf/web2c/texmf.cnf
>
> The second file is the TeXLive default, and the first file is where
> local modifications are kept. The two are read in sequence, with any
> definition in the first superseding definitions read later in the
> second.
>
> Hence, for MacTeX/TeXLive simply *edit* the unique /usr/local/texlive/
> 2007/texmf/web2c/texmf.cnf as said above, while for gwTeX you need to
> *add*:
>
> openout_any = r
>
> to /usr/local/gwTeX/texmf.cnf.
>
> Finally, to Alain, regarding the editor, in case you don't have
> TextWrangler you can simply use pico. pico is a stand-alone version
> of the text editor of the pine mail reader, and it's "intuitive"-
> enough to use (on second thought, I think pico in OS X points
> actually to nano, a GNU clone of pico -- those physicists, they just
> couldn't resist ;-).
>
> Simply type in Terminal, using MacTeX as an example:
>
> sudo pico /usr/local/texlive/2007/texmf/web2c/texmf.cnf
>
> then use Ctrl-V to move down screen-by-screen until you reach the
> desired part (you can also use the DownArrow key to move down line-by-
> line):
>
> % Allow TeX \openin, \openout, or \input on filenames starting with `.'
> % (e.g., .rhosts) or outside the current tree (e.g., /etc/passwd)?
> % a (any) : any file can be opened.
> % r (restricted) : disallow opening "dotfiles".
> % p (paranoid) : as 'r' and disallow going to parent directories, and
> % restrict absolute paths to be under $TEXMFOUTPUT.
> openout_any = p
> openin_any = a
>
> then modify the openout_any setting as required, and then type in
> Ctrl-O to save and Ctrl-X to quit.
>
> The bad thing is that texmf.cnf will be overwritten each time TeX is
> updated, so that you'll have to redo your modification each time.
> Actually it's simpler with gwTeX, as installed by i-Installer: at
> each update, I think, i-Installer detects the local /usr/local/gwTeX/
> texmf.cnf has been changed and offers to save a copy on your Desktop
> (with the date appended at the end of the name) before performing the
> update. Then you'll simply have to merge back your modifications
> after the update.
>
> Hope this helps,
>
> Bruno Voisin
> ------------------------- Helpful Info -------------------------
>
>
>
> ------------------------------
>
> Message: 3
> Date: Thu, 6 Jan 2011 19:21:59 -0600
> From: Herbert Schulz <herbs at wideopenwest.com>
> Subject: Re: [OS X TeX] Syncing in one direction only
> To: TeX on Mac OS X Mailing List <macosx-tex at email.esm.psu.edu>
> Message-ID: <B5049E3A-98C8-48D2-A904-05EBDD9B4FEA at wideopenwest.com>
> Content-Type: text/plain; charset=iso-8859-1
>
>
> On Jan 6, 2011, at 5:52 PM, Alain Schremmer wrote:
>
>>
>> On Jan 6, 2011, at 5:51 PM, Don Green Dragon wrote:
>>
>>> No, I did not so understand. On the other hand, I had no intention of modifying <texmf.cnf> until I knew more about the situation. I have to find that message from Bruno Voisin that Alain Schremmer referred to.
>>
>>
>>
>> Look at the thread Error: I can't write on file '(name)'
>>
>> March 22, 2007
>>
>> Here is, I think, what Voisin said to do and what I did.
>> Regards
>> --schremmer
>>
>>
>> Le 22 mars 07 à 12:45, Jonathan Kew a écrit :
>>
>>> Find the line
>>>
>>> openout_any = p
>>>
>>> in there; change to
>>>
>>> openout_any = r
>>>
>>> and I think you'll be OK. ("a" would be even more permissive than "r", but I don't think you need that.)
>>
>> Thanks for this tip, that's helpful. I knew about the -R option (= secure mode) of dvips, and about the -shell-escape and -no-shell-escape options of pdftex, but I didn't suspect there was this switch in addition for pdftex in texmf.cnf.
>>
>> Regarding texmf.cnf, the gwTeX and MacTeX/TeXLive setups are a bit different. With MacTeX/TeXLive, there is one single texmf.cnf at:
>>
>> /usr/local/texlive/2007/texmf/web2c/texmf.cnf
>>
>> which is the file to edit. With gwTeX, there are two different texmf.cnf at:
>> ...
>
> Howdy,
>
> That's just plain wrong! There are two texmf.cnf files. The base file, with the initial settings and most of the information one needs, is in /usr/local/texlive/2010/texmf/web2c while the one to edit is in /usr/local/texlive/2010.
>
>> ...
>> Hence, for MacTeX/TeXLive simply *edit* the unique /usr/local/texlive/2007/texmf/web2c/texmf.cnf as said above, while for gwTeX you need to *add*:
>>
>> openout_any = r
>>
>> to /usr/local/gwTeX/texmf.cnf.
>> ...
>
> No, no no! Edit the one in /usr/local/texlive/2010 if you want to make changes. Add the changed lines and they will override the ones in the base file.
>
> Good Luck,
>
> Herb Schulz
> (herbs at wideopenwest dot com)
>
>
>
>
>
> ------------------------------
>
> Message: 4
> Date: Fri, 7 Jan 2011 00:11:44 -0500
> From: Alain Schremmer <schremmer.alain at gmail.com>
> Subject: Re: [OS X TeX] Syncing in one direction only
> To: TeX on Mac OS X Mailing List <macosx-tex at email.esm.psu.edu>
> Message-ID: <C488C3CD-A70E-4B4E-8B0E-479918128CFC at gmail.com>
> Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed
>
>
> On Jan 6, 2011, at 8:21 PM, Herbert Schulz wrote:
>>
>> Howdy,
>>
>> That's just plain wrong! There are two texmf.cnf files. The base
>> file, with the initial settings and most of the information one
>> needs, is in /usr/local/texlive/2010/texmf/web2c while the one to
>> edit is in /usr/local/texlive/2010.
>>
>>> ...
>>> Hence, for MacTeX/TeXLive simply *edit* the unique /usr/local/
>>> texlive/2007/texmf/web2c/texmf.cnf as said above, while for gwTeX
>>> you need to *add*:
>>>
>>> openout_any = r
>>>
>>> to /usr/local/gwTeX/texmf.cnf.
>>> ...
>>
>> No, no no! Edit the one in /usr/local/texlive/2010 if you want to
>> make changes. Add the changed lines and they will override the ones
>> in the base file.
>
> I thought I would just copy-paste what I thought to be the relevant
> stuff from back 3 years ago when I was running gwtex. (Er, I still do.)
>
> Sorry if I mislead anyone and I am grateful to Schulz. I hope he
> wrote in time to prevent any disaster I might have caused. (At least
> I referenced.)
>
> Embarrassed regards
> --schremmer
>
>
>
>
>
> ------------------------------
>
> Message: 5
> Date: Thu, 6 Jan 2011 21:24:50 -0800
> From: Michael Sharpe <msharpe at ucsd.edu>
> Subject: [OS X TeX] Math font samples
> To: TeX on Mac OS X Mailing List <macosx-tex at email.esm.psu.edu>
> Message-ID: <26770CC2-56AE-46E5-B6D6-67D83F202640 at ucsd.edu>
> Content-Type: text/plain; charset=us-ascii
>
> For those who sometimes yearn for new font experiences, I uploaded a document with a number of text/math font combinations to
>
> http://math.ucsd.edu/~msharpe/mathsamples.pdf
>
> The math fonts are mostly free. While the text fonts are mostly not, they should be available at very reasonable prices.
>
> Michael
>
>
>
> ------------------------------
>
> Message: 6
> Date: Fri, 7 Jan 2011 10:11:01 +0100
> From: Karine Fourlon <fourlon.karine at wanadoo.fr>
> Subject: [OS X TeX] personnal packages : thanks
> To: macosx-tex at email.esm.psu.edu
> Message-ID: <594F1A10-2D45-4796-842C-89D3B61F9ECD at wanadoo.fr>
> Content-Type: text/plain; charset=us-ascii
>
> Hello,
>
> Sorry for replying so late but I really haven't had time before.
>
> It works ! After creating the /texmf/tex/latex.
>
> BUT : only the .sty files works, my old files are .cls (answer : file sty not found). What is the difference between .sty and .cls ? Can I get the .cls to work ?
>
> Thank you again.
>
> Karine
>
> ------------------------------
>
> Message: 7
> Date: Fri, 7 Jan 2011 06:50:12 -0600
> From: Herbert Schulz <herbs at wideopenwest.com>
> Subject: Re: [OS X TeX] personnal packages : thanks
> To: TeX on Mac OS X Mailing List <macosx-tex at email.esm.psu.edu>
> Message-ID: <8FA5BC34-F6AF-4432-BCDC-97B3615C6674 at wideopenwest.com>
> Content-Type: text/plain; charset=us-ascii
>
>
> On Jan 7, 2011, at 3:11 AM, Karine Fourlon wrote:
>
>> Hello,
>>
>> Sorry for replying so late but I really haven't had time before.
>>
>> It works ! After creating the /texmf/tex/latex.
>>
>> BUT : only the .sty files works, my old files are .cls (answer : file sty not found). What is the difference between .sty and .cls ? Can I get the .cls to work ?
>>
>> Thank you again.
>>
>> Karine
>
> Howdy,
>
> Document class files (.cls extension) are used in the \documentclass command and are designed give the overall design of the document. Package, or style, files (.sty extension) are used to modify or add features to the basic design used by the document class and are included using the \usepackage command.
>
> You should have the .cls files in the same place as the .sty file (sounds like that is what you have done) but they are used by different commands.
>
> Good Luck,
>
> Herb Schulz
> (herbs at wideopenwest dot com)
>
>
>
>
>
> ------------------------------
>
>
> -------------------------- Helpful Info --------------------------
> TeX FAQ: http://www.tex.ac.uk/faq
> List Reminders and Etiquette: http://email.esm.psu.edu/mac-tex/
> List Info: http://email.esm.psu.edu/mailman/listinfo/macosx-tex
> List Archive: http://tug.org/pipermail/macostex-archives/
> TeX on Mac OS X Website: http://mactex-wiki.tug.org/
>
>
>
> End of MacOSX-TeX Digest, Vol 39, Issue 7
> *****************************************
More information about the MacOSX-TeX
mailing list