Re: [MiKTeX] Installation of my own *.cls or *.sty file -- How?

2020-01-27 Thread George N. White III
On Mon, 27 Jan 2020 at 06:18, Virgil Stokes  wrote:

> Thanks again George,
>
> On 2020-01-27 00:26, George N. White III wrote:
>
>
>
> On Sun, 26 Jan 2020 at 18:18, Virgil Stokes  wrote:
>
>> A better question I hope :-P
>>  Forwarded Message 
>> Subject: Installation of my own *.cls or *.sty file -- How?
>> Date: Sun, 26 Jan 2020 22:08:37 +0100
>> From: Virgil Stokes  
>> To: miktex-users@lists.sourceforge.net
>>  
>>
>> I recently submitted an email with subject: Installation of my own
>> Package -- How?
>> Before submitting this new email, I tried both suggestions by Paul
>> Thompson and George N. White III. Unfortunately, the links and suggestions
>> given were not applicable to my problem it seems. I also tried many other
>> approaches and none of these solved my problem. I now believe that I asked
>> the wrong question.:-[
>>
>> Perhaps I need to go into more detail on my installation of MikTeX 2.9.
>>
>> Here is the complete path to my LaTeX packages:  C:\Program Files\MiKTeX
>> 2.9\tex\latex
>> I would like to add the following *.cls file to my MikTeX 2.9
>> installation:  elsarticleC.cls
>>
>> I have attached an image of my miktex-console_admin because some of the
>> suggestions given just do not apply as you can see from the attached images.
>> I would appreciate a 2nd look by Paul and George.
>>
>
> If you select the "Settings" panel and then the "Directories" tab, you
> should see a link "Which is the best directory to keep my .sty files?"
> This link shows you how to create the TDS structure for a LaTeX class.
> You need to do this is a location outside the MiKTeX package directories.
>
> Yes, I have looked at this when trying different methods:
>
> Example (Mac/Linux):
>
>1. Create a new TEXMF root: mkdir ~/mytexmf
>2. Create a sub directory: mkdir -p ~/mytexmf/tex/latex/mystuff
>3. Copy your .cls and/or .sty files to ~/mytexmf/tex/latex/mystuff
>4. Register the TEXMF root directory ~/mytexmf
>
> But, I have windows 10 not Mac/Linux
>

The steps on Windows are the same, but the examples are for the bash
command line (it is much easier to write documentation using text
commands for the examples).  You are expected to know how to create
a folder/directory, then create the nested sub-directories inside that,
copy files, and use the MiKTeX Utility to register your new TEXMF root.
Note that the "~" character, is just a shorthand notation for the user's
"home" directory.  On Windows it is common to put a personal
user's own Documents folder.

If you have trouble with one of these steps you need to provide more
details of the step giving you problems.


-- 
George N. White III

___
Q: How can I leave the mailing list?
A: See https://miktex.org/faq/how-can-i-leave-the-mailing-list


Re: [MiKTeX] Installation of my own *.cls or *.sty file -- How?

2020-01-26 Thread Paul Thompson
And the reason that you wish to use an external directory is simple: If
you delete the main MikTeX tree when you wish to add a new version, you
don't want to delete private files.

As I noted earlier, you need to ensure that you don't save system files on
your private tree. They are brought in first. If they are out of date, you
can get version inconsistency.

Paul A. Thompson

On Sun, Jan 26, 2020 at 5:26 PM George N. White III 
wrote:

>
>
> On Sun, 26 Jan 2020 at 18:18, Virgil Stokes  wrote:
>
>> A better question I hope :-P
>>  Forwarded Message 
>> Subject: Installation of my own *.cls or *.sty file -- How?
>> Date: Sun, 26 Jan 2020 22:08:37 +0100
>> From: Virgil Stokes  
>> To: miktex-users@lists.sourceforge.net
>>  
>>
>> I recently submitted an email with subject: Installation of my own
>> Package -- How?
>> Before submitting this new email, I tried both suggestions by Paul
>> Thompson and George N. White III. Unfortunately, the links and suggestions
>> given were not applicable to my problem it seems. I also tried many other
>> approaches and none of these solved my problem. I now believe that I asked
>> the wrong question.:-[
>>
>> Perhaps I need to go into more detail on my installation of MikTeX 2.9.
>>
>> Here is the complete path to my LaTeX packages:  C:\Program Files\MiKTeX
>> 2.9\tex\latex
>> I would like to add the following *.cls file to my MikTeX 2.9
>> installation:  elsarticleC.cls
>>
>> I have attached an image of my miktex-console_admin because some of the
>> suggestions given just do not apply as you can see from the attached images.
>> I would appreciate a 2nd look by Paul and George.
>>
>
> If you select the "Settings" panel and then the "Directories" tab, you
> should see a link "Which is the best directory to keep my .sty files?"
> This link shows you how to create the TDS structure for a LaTeX class.
> You need to do this is a location outside the MiKTeX package directories.
>
>
>>
>> Note, I had no problem with handling this with a previous (older) version
>> of MikTeX with a different console.
>>
>
> At one time it may have been possible to add a file to one of the MiKTeX
> directories, but it has always been
> recommended that user files go in a new TDS tree outside the MiKTeX
> directories.
>
> --
> George N. White III
>
>

___
Q: How can I leave the mailing list?
A: See https://miktex.org/faq/how-can-i-leave-the-mailing-list


Re: [MiKTeX] Installation of my own *.cls or *.sty file -- How?

2020-01-26 Thread George N. White III
On Sun, 26 Jan 2020 at 18:18, Virgil Stokes  wrote:

> A better question I hope :-P
>  Forwarded Message 
> Subject: Installation of my own *.cls or *.sty file -- How?
> Date: Sun, 26 Jan 2020 22:08:37 +0100
> From: Virgil Stokes  
> To: miktex-users@lists.sourceforge.net
>  
>
> I recently submitted an email with subject: Installation of my own
> Package -- How?
> Before submitting this new email, I tried both suggestions by Paul
> Thompson and George N. White III. Unfortunately, the links and suggestions
> given were not applicable to my problem it seems. I also tried many other
> approaches and none of these solved my problem. I now believe that I asked
> the wrong question.:-[
>
> Perhaps I need to go into more detail on my installation of MikTeX 2.9.
>
> Here is the complete path to my LaTeX packages:  C:\Program Files\MiKTeX
> 2.9\tex\latex
> I would like to add the following *.cls file to my MikTeX 2.9
> installation:  elsarticleC.cls
>
> I have attached an image of my miktex-console_admin because some of the
> suggestions given just do not apply as you can see from the attached images.
> I would appreciate a 2nd look by Paul and George.
>

If you select the "Settings" panel and then the "Directories" tab, you
should see a link "Which is the best directory to keep my .sty files?"
This link shows you how to create the TDS structure for a LaTeX class.
You need to do this is a location outside the MiKTeX package directories.


>
> Note, I had no problem with handling this with a previous (older) version
> of MikTeX with a different console.
>

At one time it may have been possible to add a file to one of the MiKTeX
directories, but it has always been
recommended that user files go in a new TDS tree outside the MiKTeX
directories.

-- 
George N. White III

___
Q: How can I leave the mailing list?
A: See https://miktex.org/faq/how-can-i-leave-the-mailing-list