LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 08-10-2015, 06:25 AM   #1
moesasji
Member
 
Registered: May 2008
Distribution: Slackware Current / OpenBSD
Posts: 322

Rep: Reputation: 104Reputation: 104
Updating Texlive to latest 2015 release - how?


For a revision of an ACS journal article I'm required to make a number of fixes that result from me using an outdated version of the achemso.sty file as that is the one in Texlive 2014. Essentially their requirements and hence the sty-file has changed since Texlive 2014 was released. Not something I spotted before submission...making this suddenly urgent.

At the moment I have TexLive 2014 installed from slackbuilds. As texlive got updated in the beginning of June it looks easiest to update it to the 2015 version, but I find it hard to see how to do that seeing the complexity of the Texlive Slackbuild. Did anybody already look at this that could provide the updated Slackbuild for texlive?

btw) I did spot the guide on slackdocs to use the native texlive installer, see here. However I find that one puzzling as to pick up the correct executables I assume one needs to remove the default tetex and tetex-doc to make that approach work? Yet that doesn't get mentioned in the guide.
 
Old 08-10-2015, 07:43 AM   #2
PhiloPolyMath
Member
 
Registered: Jul 2014
Distribution: Slackware64 current
Posts: 32

Rep: Reputation: Disabled
Chemist that just defended and turned in his dissertation last week that used latex/achemso. It seems to me it would be easier to only upgrade the .sty package instead of the entire texlive distribution IF the formatting is the result of only the achemso.sty.

Or even a very quick hack would be to rename the .sty package, define the new style package in your preamble with your new name, and place the rename sty file in the folder you are building from. It should use that style when you build.

Edit: I should have noted that I ended up defining/editing the style in my local build folder to appease the format nazi for my university, that's the reason I mentioned I turned mine in last week - had to do this myself.

Last edited by PhiloPolyMath; 08-10-2015 at 07:48 AM.
 
Old 08-10-2015, 09:10 AM   #3
bassmadrigal
LQ Guru
 
Registered: Nov 2003
Location: West Jordan, UT, USA
Distribution: Slackware
Posts: 8,792

Rep: Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656
The slackbuild actually looks pretty straightforward. Have you tried grabbing the newer source for tuxlive and changing the version in the slackbuild?

Also, this slackbuild is maintained by Robby Workman (one of the core Slackware developers and one of the maintainers of SBo), and if you shoot him an email (rworkman at slackbuilds dot org), he might get it updated for you.
 
Old 08-10-2015, 09:30 AM   #4
moesasji
Member
 
Registered: May 2008
Distribution: Slackware Current / OpenBSD
Posts: 322

Original Poster
Rep: Reputation: 104Reputation: 104
Thanks for the response PhiloPolyMath; the brute force approach to replace the achemso folder indeed fixes one of my problems which was that keywords didn't display. The other one is weird as I still find it hard to belief that achemso doesn't automatically abbreviate journal titles...pretty brain-dead to have to do that manually.

btw) I'm still interested to get this fixed properly, ie to get Texlive updated as a whole.
 
Old 08-10-2015, 09:34 AM   #5
moesasji
Member
 
Registered: May 2008
Distribution: Slackware Current / OpenBSD
Posts: 322

Original Poster
Rep: Reputation: 104Reputation: 104
Quote:
Originally Posted by bassmadrigal View Post
The slackbuild actually looks pretty straightforward. Have you tried grabbing the newer source for tuxlive and changing the version in the slackbuild?
No I haven't tried this as further down the slackbuild other packages get build from different sources that also have newer versions upstream.
 
Old 08-10-2015, 09:38 AM   #6
PhiloPolyMath
Member
 
Registered: Jul 2014
Distribution: Slackware64 current
Posts: 32

Rep: Reputation: Disabled
So which ACS journal is this? I'm on my linux box right now (I have a macbook pro that I used in the office since I needed word, endnote, chemdraw, etc for collaborations) but I think that even in EndNote that ACS is different style than say JACS or Macromolecules. The editors of the different journals make that call I guess. So I'm wondering if there is a different bib style that you could do the same thing with. Does the journal have anything like that available online? Trying to get their formatting how they want it is such a pain.

Edit: Just looked, it seems that within the achemso bib style it lists support for abbreviating journal names. However, it doesn't do it automatically. I also can't find any option to set to force tex to perform the abbreviation. It seems that some reference management software (potentially JabRef, which is what I used) has the option to go through your list of references and abbreviate them. That way, when they are included in the document they are abbreviated already.

Edit 2: This is going to bother me until I figure it out. Potentially you can define the journal as an option for document class. See the link and check out this person's template. By the way, this is an interesting blog for using linux in the sciences. He does some really hardcore (in my opinion) things for NMR analysis with the command line.

http://verahill.blogspot.com/2013/12...-template.html

Last edited by PhiloPolyMath; 08-10-2015 at 09:57 AM.
 
Old 08-10-2015, 11:40 AM   #7
moesasji
Member
 
Registered: May 2008
Distribution: Slackware Current / OpenBSD
Posts: 322

Original Poster
Rep: Reputation: 104Reputation: 104
Quote:
Originally Posted by PhiloPolyMath View Post
So which ACS journal is this?
This is for ACS Photonics and I have specified the journal in the document header in a very similar way as your link as that is a pretty standard template. For now I've just edited the bib-file to get the right titles as the deadline to get this resubmitted is approaching rapidly as I'm very good at procrastinating.

btw) If your interested in seeing someone pushing the use of linux in the sciences to the extreme, then this group is worth looking at. I find it fascinating to see how he has made org-mode a crucial ingredient in teaching, research and managing a research group.
 
Old 08-10-2015, 12:09 PM   #8
bassmadrigal
LQ Guru
 
Registered: Nov 2003
Location: West Jordan, UT, USA
Distribution: Slackware
Posts: 8,792

Rep: Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656
Quote:
Originally Posted by moesasji View Post
No I haven't tried this as further down the slackbuild other packages get build from different sources that also have newer versions upstream.
Texlive and texlive-mf both use the same date in here and they get their version number from the same location...

Code:
VERSION=20140525

--snip--

SOURCE_VERS=$VERSION
TEXMF_VERS=$VERSION
xindy is containted in the texlive source, and biber has no version in the filename (and it doesn't seem to be specified anywhere).

It looks like if you just download texlive and texlive-texmf-tetexish, and assuming they are the same date, you should only need to change the VERSION variable at the beginning. Assuming biber-linux_x86_32.tar.gz doesn't have an update past 1.8, the should work without any problem, and if it does have an update, you should be able to just download the new one.

So, if both the textlive downloads have the same date, just extract all the slackbuild files to a directory, download the texlive, texlive-texmf-tetexish, and biber files and keep them in the same directory, modify the VERSION variable at the top of the SlackBuild and then have at it.

(If the two texlive downloads have a different date, keep the date for texlive as VERSION and then change TEXMF_VERS to the date of the texlive-texmf-tetexish date then run the SlackBuild.)
 
Old 08-10-2015, 12:55 PM   #9
j_v
Member
 
Registered: Oct 2011
Distribution: Slackware64
Posts: 364

Rep: Reputation: 67
Quote:
Originally Posted by bassmadrigal View Post
Texlive and texlive-mf both use the same date in here and they get their version number from the same location...

Code:
VERSION=20140525

--snip--

SOURCE_VERS=$VERSION
TEXMF_VERS=$VERSION
xindy is containted in the texlive source, and biber has no version in the filename (and it doesn't seem to be specified anywhere).

It looks like if you just download texlive and texlive-texmf-tetexish, and assuming they are the same date, you should only need to change the VERSION variable at the beginning. Assuming biber-linux_x86_32.tar.gz doesn't have an update past 1.8, the should work without any problem, and if it does have an update, you should be able to just download the new one.

So, if both the textlive downloads have the same date, just extract all the slackbuild files to a directory, download the texlive, texlive-texmf-tetexish, and biber files and keep them in the same directory, modify the VERSION variable at the top of the SlackBuild and then have at it.

(If the two texlive downloads have a different date, keep the date for texlive as VERSION and then change TEXMF_VERS to the date of the texlive-texmf-tetexish date then run the SlackBuild.)
See http://slackbuilds.org/slackbuilds/1...xscythe/README and http://slackbuilds.org/slackbuilds/1...ware-plists.sh.
make-slackware-plists.sh describes well enough how to use svn to get a new texlive.tlpdb, and also which sources are needed for generating the tarballs. It's very straight forward, though time intensive, to generate the new tarballs. I was almost finished building the first package, but a change in maketexfmt makes it impossible to build non-root (I usually use fakeroot, but here that bombs). My current build is maybe about half way through. I'll send adjustments I had to make to rlw when I get a complete build of all three packages.
 
Old 08-10-2015, 01:23 PM   #10
j_v
Member
 
Registered: Oct 2011
Distribution: Slackware64
Posts: 364

Rep: Reputation: 67
Ok, I've managed to get successful builds with 20150523. Other than generating new tarballs with texscythe, I only had to make a small change in the main texlive script the get perl to find the TeXLive:TLUtils module in the $PKG dir. I'll send the changes to Robby after I've made up proper patches. Maybe he'll have time to review them.

EDIT: sent out. need to do some testing now of the resulting packages.

Last edited by j_v; 08-10-2015 at 02:07 PM.
 
Old 08-10-2015, 02:39 PM   #11
moesasji
Member
 
Registered: May 2008
Distribution: Slackware Current / OpenBSD
Posts: 322

Original Poster
Rep: Reputation: 104Reputation: 104
Quote:
Originally Posted by j_v View Post
Ok, I've managed to get successful builds with 20150523.
Fantastic news j_v; many thanks for the effort on this!

I'm looking forward to see the updates appearing once Robby has found the time to look at it.
 
Old 08-11-2015, 02:35 AM   #12
fsauer
Member
 
Registered: Jul 2012
Posts: 103

Rep: Reputation: Disabled
I usually install texlive manually because I often rely on new luatex features and want to be fully updated. I install the new version, keeping the old one in the background for further use. This approach needs a fast repository, though. Setting the $PATH variable to include the tex binaries is the only additional thing to do, as far as I remember. tlmgr updates nicely if no version changes are necessary. And using it breaks the package structure anyways...

Just for the sake of completeness...

Franz
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Apricity OS 07.2015 Beta Release Apricity OS Linux - News 0 07-30-2015 01:30 PM
LXer: HP Will Release a “Revolutionary” New Operating System in 2015 LXer Syndicated Linux News 1 12-12-2014 06:12 PM
update texlive (tlmgr): no texlive.tlpdb tramni1980 Slackware 3 03-30-2011 07:30 AM
Updating to the latest Kernel? manolakis Debian 13 05-26-2007 03:25 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 12:47 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration