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 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


Re: [MiKTeX] Installation of my own Package -- How?

2020-01-21 Thread George N. White III
On Tue, 21 Jan 2020 at 11:22, Virgil Stokes  wrote:

> I recently upgraded to MikTeX Console 2.9.7206 (64-bit, Windows 10). It
> seems to work ok -- so far so good :-)
> However, I now need the details of how I can install some of my own
> packages. Would you please provide these details.
> Thank you :-)


See texmf roots <https://miktex.org/kb/texmf-roots>
Your packages will need to use the standard TeX directory organization, TDS
<https://texfaq.org/FAQ-tds>.

-- 
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] Packages Updates

2018-01-29 Thread George N. White III
On 29 January 2018 at 07:00, Kourra, Nadia <n.kou...@warwick.ac.uk> wrote:

> Hello,
>
> I got a new computer Windows 10 and I installed MiKTeX last week. The
> program tries to install all the required packages and it fails. I used the
> package manager and update and I receive a series of errors including:
> Couldn't connect to the server and  the deprecation of outdated MiKTeX
> package manager. The computer is obviously connect to the internet and I
> uninstalled and reinstalled the software already.
>
> Would you please advise me of how to resolve this as soon as possible?
>
> Many thanks in advance,
> Nadia
>

I had a similar experience with MiKTeX on new Windows 10 in December.

You may be able to install a complete MiKTeX so you don't need to install
packages on-the-fly.


MikTeX upgrades have also stopped working for Windows 7 users at my work.
MiKTeX package metadata come from a single server, so if that server is
down or blocked by some firewall, updates aren't possible.  For Windows 10,
TeX Live is available in any of the Linux distros under WSL (but the files
reside in a separate area, so you may have problems, e.g. viewing PDF
output with Window tools), or you can install the Windows version.TeX
Live has the advantage that it doen'r rely on a single server for updates.
Also, colleagues who work on macOS or linux likely are using TeX Live, as
are many of the TeX developers.  There are some differences in licensing
policies between TeX Live and MikTeX, so there may be some packages
available on MiKTeX that are not in TeX Live.


-- 
George N. White III
--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
Q: How can I leave the mailing list?
A: See http://docs.miktex.org/faq/support.html#leavingml