* [PATCH] FAQ-BUILD.txt: Append reference to manual LaTeX package install
@ 2017-03-23 13:03 Akira Yokosawa
2017-03-23 15:35 ` Paul E. McKenney
0 siblings, 1 reply; 15+ messages in thread
From: Akira Yokosawa @ 2017-03-23 13:03 UTC (permalink / raw)
To: Paul E. McKenney; +Cc: perfbook, Akira Yokosawa
From 4452298c139d3af3abb5af1d1a3a40754851e0b6 Mon Sep 17 00:00:00 2001
From: Akira Yokosawa <akiyks@gmail.com>
Date: Thu, 23 Mar 2017 21:47:58 +0900
Subject: [PATCH] FAQ-BUILD.txt: Append reference to manual LaTeX package install
Signed-off-by: Akira Yokosawa <akiyks@gmail.com>
---
Hi Paul,
So, this is the update of FAQ-BUILD.txt.
Feel free to wordsmith as you like before pushing out.
Thanks, Akira
--
FAQ-BUILD.txt | 33 ++++++++++++++++++++++++++++++++-
1 file changed, 32 insertions(+), 1 deletion(-)
diff --git a/FAQ-BUILD.txt b/FAQ-BUILD.txt
index 6627bbb..4a4d8fb 100644
--- a/FAQ-BUILD.txt
+++ b/FAQ-BUILD.txt
@@ -34,7 +34,7 @@
find it?
A. The "pdflatex" package is a variant of Don Knuth's
- digital typesetting program. On Ubuntu Trusty,
+ digital typesetting program. On Ubuntu Trusty and Xenial,
installing the following set of packages suffices:
texlive-latex-base texlive-latex-extra psutils
@@ -83,3 +83,34 @@
so if it happens, please let me know. Please send me the
perfbook.log output (or perfbook-1c.log output, depending
on which you were building) so that I can fix the scripts.
+
+8. Some of experimental targets for alternative font won't build
+ due to lack of necessary packages such as "newtxtt". How can I
+ install those packages?
+
+ A. Simple answer would be "Upgrade to a recent TeX
+ distribution such as TeX Live 2016".
+ Upgrading Linux distribution (e.g. to Ubuntu Xenial)
+ would be another option.
+ If you want to manually install individual packages,
+ refer to "Method 3" in:
+
+ http://tex.stackexchange.com/questions/73016/
+
+ For font packages such as "newtxtt" and "nimbus15",
+ you also need to update font-map database. See:
+
+ http://tex.stackexchange.com/questions/88423/
+
+ Note: If available, <package>.tds.zip would relieve you
+ from figuring out where to put unpacked files. Also,
+ font packages should be copied to TEXMFLOCAL rather than
+ TEXFMHOME.
+
+ Following is a list of links to optional packages as of
+ March 2017:
+
+ https://www.ctan.org/pkg/newtxtt
+ https://www.ctan.org/pkg/nimbus15
+ https://www.ctan.org/pkg/inconsolata
+ https://www.ctan.org/pkg/mathastext
--
2.7.4
^ permalink raw reply related [flat|nested] 15+ messages in thread
* Re: [PATCH] FAQ-BUILD.txt: Append reference to manual LaTeX package install
2017-03-23 13:03 [PATCH] FAQ-BUILD.txt: Append reference to manual LaTeX package install Akira Yokosawa
@ 2017-03-23 15:35 ` Paul E. McKenney
2017-03-23 22:20 ` [PATCH] FAQ-BUILD.txt: Fix misinfomation crept in wordsmithing Akira Yokosawa
0 siblings, 1 reply; 15+ messages in thread
From: Paul E. McKenney @ 2017-03-23 15:35 UTC (permalink / raw)
To: Akira Yokosawa; +Cc: perfbook
On Thu, Mar 23, 2017 at 10:03:29PM +0900, Akira Yokosawa wrote:
> >From 4452298c139d3af3abb5af1d1a3a40754851e0b6 Mon Sep 17 00:00:00 2001
> From: Akira Yokosawa <akiyks@gmail.com>
> Date: Thu, 23 Mar 2017 21:47:58 +0900
> Subject: [PATCH] FAQ-BUILD.txt: Append reference to manual LaTeX package install
>
> Signed-off-by: Akira Yokosawa <akiyks@gmail.com>
> ---
> Hi Paul,
>
> So, this is the update of FAQ-BUILD.txt.
> Feel free to wordsmith as you like before pushing out.
I pushed the following, please let me know if my wordsmithing smithed
meaning out of existence so I can fix.
Thanx, Paul
------------------------------------------------------------------------
commit 39ce24a30848c96064f9ff0c61f1d883c2baf8e0
Author: Akira Yokosawa <akiyks@gmail.com>
Date: Thu Mar 23 21:47:58 2017 +0900
FAQ-BUILD.txt: Append reference to manual LaTeX package install
Signed-off-by: Akira Yokosawa <akiyks@gmail.com>
Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
[ paulmck: Wordsmithing. ]
diff --git a/FAQ-BUILD.txt b/FAQ-BUILD.txt
index 6627bbbe2d6f..c772e8fdcef0 100644
--- a/FAQ-BUILD.txt
+++ b/FAQ-BUILD.txt
@@ -34,7 +34,7 @@
find it?
A. The "pdflatex" package is a variant of Don Knuth's
- digital typesetting program. On Ubuntu Trusty,
+ digital typesetting program. On Ubuntu Trusty and Xenial,
installing the following set of packages suffices:
texlive-latex-base texlive-latex-extra psutils
@@ -83,3 +83,36 @@
so if it happens, please let me know. Please send me the
perfbook.log output (or perfbook-1c.log output, depending
on which you were building) so that I can fix the scripts.
+
+8. Some of experimental targets for alternative font won't build
+ due to lack of necessary packages such as "newtxtt". How can I
+ install those packages?
+
+ A. The simplest approach is to upgrade to a recent TeX
+ distribution such as TeX Live 2016. Upgrading your Linux
+ distribution (e.g. to Ubuntu Xenial) is one way to
+ upgrade to TeX Live 2016, and might have many other
+ benefits as well.
+
+ However, if you prefer to manually install individual
+ packages, refer to "Method 3" in:
+
+ http://tex.stackexchange.com/questions/73016/
+
+ For font packages such as "newtxtt" and "nimbus15",
+ you must also update font-map database. See:
+
+ http://tex.stackexchange.com/questions/88423/
+
+ Note: If available, you can use the <package>.tds.zip,
+ which will automatically put the files in the right place.
+ Note that font packages should be copied to the TEXMFLOCAL
+ directory rather than to the TEXFMHOME directory.
+
+ Following is a list of links to optional packages as of
+ March 2017:
+
+ https://www.ctan.org/pkg/newtxtt
+ https://www.ctan.org/pkg/nimbus15
+ https://www.ctan.org/pkg/inconsolata
+ https://www.ctan.org/pkg/mathastext
^ permalink raw reply related [flat|nested] 15+ messages in thread
* [PATCH] FAQ-BUILD.txt: Fix misinfomation crept in wordsmithing
2017-03-23 15:35 ` Paul E. McKenney
@ 2017-03-23 22:20 ` Akira Yokosawa
2017-03-24 13:17 ` [PATCH 0/2] Follow up patches to FAQ-BUILD update Akira Yokosawa
` (3 more replies)
0 siblings, 4 replies; 15+ messages in thread
From: Akira Yokosawa @ 2017-03-23 22:20 UTC (permalink / raw)
To: paulmck; +Cc: perfbook, Akira Yokosawa
From f7c19259ce4182688d94853c7fddc092011e802b Mon Sep 17 00:00:00 2001
From: Akira Yokosawa <akiyks@gmail.com>
Date: Fri, 24 Mar 2017 07:03:54 +0900
Subject: [PATCH] FAQ-BUILD.txt: Fix misinformation crept in by wordsmithing
Signed-off-by: Akira Yokosawa <akiyks@gmail.com>
---
Hi Paul,
Thanks for the wordsmithing.
There were a few things I want fix.
How about this patch?
Thanks, Akira
FAQ-BUILD.txt | 11 ++++++-----
1 file changed, 6 insertions(+), 5 deletions(-)
diff --git a/FAQ-BUILD.txt b/FAQ-BUILD.txt
index c772e8f..a47eef6 100644
--- a/FAQ-BUILD.txt
+++ b/FAQ-BUILD.txt
@@ -91,8 +91,8 @@
A. The simplest approach is to upgrade to a recent TeX
distribution such as TeX Live 2016. Upgrading your Linux
distribution (e.g. to Ubuntu Xenial) is one way to
- upgrade to TeX Live 2016, and might have many other
- benefits as well.
+ upgrade TeX Live (to 2015 on Xenial), and might have many
+ other benefits as well.
However, if you prefer to manually install individual
packages, refer to "Method 3" in:
@@ -105,9 +105,10 @@
http://tex.stackexchange.com/questions/88423/
Note: If available, you can use the <package>.tds.zip,
- which will automatically put the files in the right place.
- Note that font packages should be copied to the TEXMFLOCAL
- directory rather than to the TEXFMHOME directory.
+ which will automatically put the files in a relatively
+ right place. Note that font packages should be copied to
+ the TEXMFLOCAL directory rather than to the TEXFMHOME
+ directory.
Following is a list of links to optional packages as of
March 2017:
--
2.7.4
^ permalink raw reply related [flat|nested] 15+ messages in thread
* [PATCH 0/2] Follow up patches to FAQ-BUILD update
2017-03-23 22:20 ` [PATCH] FAQ-BUILD.txt: Fix misinfomation crept in wordsmithing Akira Yokosawa
@ 2017-03-24 13:17 ` Akira Yokosawa
2017-03-24 13:19 ` [PATCH 1/2] FAQ-BUILD.txt: Typo fix Akira Yokosawa
2017-03-24 13:20 ` [PATCH 2/2] Add another build error check Akira Yokosawa
` (2 subsequent siblings)
3 siblings, 1 reply; 15+ messages in thread
From: Akira Yokosawa @ 2017-03-24 13:17 UTC (permalink / raw)
To: Paul E. McKenney; +Cc: perfbook, Akira Yokosawa
From dd65cd3918b33e9bd267661ea697b39755be72a1 Mon Sep 17 00:00:00 2001
From: Akira Yokosawa <akiyks@gmail.com>
Date: Fri, 24 Mar 2017 22:06:24 +0900
Subject: [PATCH 0/2] Follow up patches to FAQ-BUILD update
Hi Paul,
This is a nitpick patch set to the update of FAQ-BUILD.txt.
Patch 1 is a typo fix relative to the patch "FAQ-BUILD.txt:
Fix misinfomation crept in wordsmithing" I sent earlier.
Patch 2 is to detect another build error condition to happen
when you fail to update font-map database after manually
installing a font package.
Thanks, Akira
--
Akira Yokosawa (2):
FAQ-BUILD.txt: Typo fix
Add another build error check
FAQ-BUILD.txt | 2 +-
utilities/runfirstlatex.sh | 6 ++++++
utilities/runlatex.sh | 6 ++++++
3 files changed, 13 insertions(+), 1 deletion(-)
--
2.7.4
^ permalink raw reply [flat|nested] 15+ messages in thread
* [PATCH 1/2] FAQ-BUILD.txt: Typo fix
2017-03-24 13:17 ` [PATCH 0/2] Follow up patches to FAQ-BUILD update Akira Yokosawa
@ 2017-03-24 13:19 ` Akira Yokosawa
0 siblings, 0 replies; 15+ messages in thread
From: Akira Yokosawa @ 2017-03-24 13:19 UTC (permalink / raw)
To: Paul E. McKenney; +Cc: perfbook, Akira Yokosawa
From 29f2c51a3a0f1a970a8665df15961d3c9a400a57 Mon Sep 17 00:00:00 2001
From: Akira Yokosawa <akiyks@gmail.com>
Date: Fri, 24 Mar 2017 20:36:40 +0900
Subject: [PATCH 1/2] FAQ-BUILD.txt: Typo fix
Signed-off-by: Akira Yokosawa <akiyks@gmail.com>
---
FAQ-BUILD.txt | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/FAQ-BUILD.txt b/FAQ-BUILD.txt
index a47eef6..85a79f7 100644
--- a/FAQ-BUILD.txt
+++ b/FAQ-BUILD.txt
@@ -107,7 +107,7 @@
Note: If available, you can use the <package>.tds.zip,
which will automatically put the files in the relatively
right place. Note that font packages should be copied to
- the TEXMFLOCAL directory rather than to the TEXFMHOME
+ the TEXMFLOCAL directory rather than to the TEXMFHOME
directory.
Following is a list of links to optional packages as of
--
2.7.4
^ permalink raw reply related [flat|nested] 15+ messages in thread
* [PATCH 2/2] Add another build error check
2017-03-23 22:20 ` [PATCH] FAQ-BUILD.txt: Fix misinfomation crept in wordsmithing Akira Yokosawa
2017-03-24 13:17 ` [PATCH 0/2] Follow up patches to FAQ-BUILD update Akira Yokosawa
@ 2017-03-24 13:20 ` Akira Yokosawa
2017-03-24 13:48 ` [PATCH v2 0/2] Follow up patches to FAQ-BUILD update Akira Yokosawa
2017-03-24 18:12 ` [PATCH] FAQ-BUILD.txt: Fix misinfomation crept in wordsmithing Paul E. McKenney
3 siblings, 0 replies; 15+ messages in thread
From: Akira Yokosawa @ 2017-03-24 13:20 UTC (permalink / raw)
To: paulmck; +Cc: perfbook, Akira Yokosawa
From dd65cd3918b33e9bd267661ea697b39755be72a1 Mon Sep 17 00:00:00 2001
From: Akira Yokosawa <akiyks@gmail.com>
Date: Fri, 24 Mar 2017 20:37:26 +0900
Subject: [PATCH 2/2] Add another build error check
This check catches build error to happen when font-map database
is not updated after manual install of a font package.
Signed-off-by: Akira Yokosawa <akiyks@gmail.com>
---
utilities/runfirstlatex.sh | 6 ++++++
utilities/runlatex.sh | 6 ++++++
2 files changed, 12 insertions(+)
diff --git a/utilities/runfirstlatex.sh b/utilities/runfirstlatex.sh
index 8261238..1a2a7a5 100644
--- a/utilities/runfirstlatex.sh
+++ b/utilities/runfirstlatex.sh
@@ -47,6 +47,12 @@ then
echo "----- Fatal latex error, see $basename.log for details. -----"
exit 1
fi
+if grep -q '!pdfTeX error:' $basename.log
+then
+ grep -A 2 '!pdfTeX error:' $basename.log
+ echo "----- Fatal latex error, see $basename.log for details. -----"
+ exit 1
+fi
grep 'LaTeX Warning:' $basename.log > $basename-warning.log
touch $basename-first.log
exit 0
diff --git a/utilities/runlatex.sh b/utilities/runlatex.sh
index cece545..81800db 100644
--- a/utilities/runlatex.sh
+++ b/utilities/runlatex.sh
@@ -58,6 +58,12 @@ iterate_latex () {
echo "----- Fatal latex error, see $basename.log for details. -----"
exit 1
fi
+ if grep -q '!pdfTeX error:' $basename.log
+ then
+ grep -A 2 '!pdfTeX error:' $basename.log
+ echo "----- Fatal latex error, see $basename.log for details. -----"
+ exit 1
+ fi
if test -r $basename-warning.log
then
mv -f $basename-warning.log $basename-warning-prev.log
--
2.7.4
^ permalink raw reply related [flat|nested] 15+ messages in thread
* [PATCH v2 0/2] Follow up patches to FAQ-BUILD update
2017-03-23 22:20 ` [PATCH] FAQ-BUILD.txt: Fix misinfomation crept in wordsmithing Akira Yokosawa
2017-03-24 13:17 ` [PATCH 0/2] Follow up patches to FAQ-BUILD update Akira Yokosawa
2017-03-24 13:20 ` [PATCH 2/2] Add another build error check Akira Yokosawa
@ 2017-03-24 13:48 ` Akira Yokosawa
2017-03-24 13:49 ` [PATCH v2 1/2] FAQ-BUILD.txt: Typo fix Akira Yokosawa
2017-03-24 13:51 ` [PATCH v2 2/2] Add another build error check Akira Yokosawa
2017-03-24 18:12 ` [PATCH] FAQ-BUILD.txt: Fix misinfomation crept in wordsmithing Paul E. McKenney
3 siblings, 2 replies; 15+ messages in thread
From: Akira Yokosawa @ 2017-03-24 13:48 UTC (permalink / raw)
To: Paul E. McKenney; +Cc: perfbook, Akira Yokosawa
From dd65cd3918b33e9bd267661ea697b39755be72a1 Mon Sep 17 00:00:00 2001
From: Akira Yokosawa <akiyks@gmail.com>
Date: Fri, 24 Mar 2017 22:42:36 +0900
Subject: [PATCH v2 0/2] Follow up patches to FAQ-BUILD update
(I messed up thread relation and made some typo. Let me do it again.)
Hi Paul,
This is a nitpick patch set to the update of FAQ-BUILD.txt.
Patch 1 is a typo fix relative to the patch "FAQ-BUILD.txt:
Fix misinformation crept in wordsmithing" I sent earlier.
Patch 2 is to detect another build error condition to happen
when you fail to update font-map database after manually
installing a font package.
Thanks, Akira
--
Akira Yokosawa (2):
FAQ-BUILD.txt: Typo fix
Add another build error check
FAQ-BUILD.txt | 2 +-
utilities/runfirstlatex.sh | 6 ++++++
utilities/runlatex.sh | 6 ++++++
3 files changed, 13 insertions(+), 1 deletion(-)
--
2.7.4
^ permalink raw reply [flat|nested] 15+ messages in thread
* [PATCH v2 1/2] FAQ-BUILD.txt: Typo fix
2017-03-24 13:48 ` [PATCH v2 0/2] Follow up patches to FAQ-BUILD update Akira Yokosawa
@ 2017-03-24 13:49 ` Akira Yokosawa
2017-03-24 13:51 ` [PATCH v2 2/2] Add another build error check Akira Yokosawa
1 sibling, 0 replies; 15+ messages in thread
From: Akira Yokosawa @ 2017-03-24 13:49 UTC (permalink / raw)
To: Paul E. McKenney; +Cc: perfbook, Akira Yokosawa
From 29f2c51a3a0f1a970a8665df15961d3c9a400a57 Mon Sep 17 00:00:00 2001
From: Akira Yokosawa <akiyks@gmail.com>
Date: Fri, 24 Mar 2017 20:36:40 +0900
Subject: [PATCH v2 1/2] FAQ-BUILD.txt: Typo fix
Signed-off-by: Akira Yokosawa <akiyks@gmail.com>
---
FAQ-BUILD.txt | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/FAQ-BUILD.txt b/FAQ-BUILD.txt
index a47eef6..85a79f7 100644
--- a/FAQ-BUILD.txt
+++ b/FAQ-BUILD.txt
@@ -107,7 +107,7 @@
Note: If available, you can use the <package>.tds.zip,
which will automatically put the files in the relatively
right place. Note that font packages should be copied to
- the TEXMFLOCAL directory rather than to the TEXFMHOME
+ the TEXMFLOCAL directory rather than to the TEXMFHOME
directory.
Following is a list of links to optional packages as of
--
2.7.4
^ permalink raw reply related [flat|nested] 15+ messages in thread
* [PATCH v2 2/2] Add another build error check
2017-03-24 13:48 ` [PATCH v2 0/2] Follow up patches to FAQ-BUILD update Akira Yokosawa
2017-03-24 13:49 ` [PATCH v2 1/2] FAQ-BUILD.txt: Typo fix Akira Yokosawa
@ 2017-03-24 13:51 ` Akira Yokosawa
1 sibling, 0 replies; 15+ messages in thread
From: Akira Yokosawa @ 2017-03-24 13:51 UTC (permalink / raw)
To: Paul E. McKenney; +Cc: perfbook, Akira Yokosawa
From dd65cd3918b33e9bd267661ea697b39755be72a1 Mon Sep 17 00:00:00 2001
From: Akira Yokosawa <akiyks@gmail.com>
Date: Fri, 24 Mar 2017 20:37:26 +0900
Subject: [PATCH v2 2/2] Add another build error check
This check catches build error to happen when font-map database
is not updated after manual install of a font package.
Signed-off-by: Akira Yokosawa <akiyks@gmail.com>
---
utilities/runfirstlatex.sh | 6 ++++++
utilities/runlatex.sh | 6 ++++++
2 files changed, 12 insertions(+)
diff --git a/utilities/runfirstlatex.sh b/utilities/runfirstlatex.sh
index 8261238..1a2a7a5 100644
--- a/utilities/runfirstlatex.sh
+++ b/utilities/runfirstlatex.sh
@@ -47,6 +47,12 @@ then
echo "----- Fatal latex error, see $basename.log for details. -----"
exit 1
fi
+if grep -q '!pdfTeX error:' $basename.log
+then
+ grep -A 2 '!pdfTeX error:' $basename.log
+ echo "----- Fatal latex error, see $basename.log for details. -----"
+ exit 1
+fi
grep 'LaTeX Warning:' $basename.log > $basename-warning.log
touch $basename-first.log
exit 0
diff --git a/utilities/runlatex.sh b/utilities/runlatex.sh
index cece545..81800db 100644
--- a/utilities/runlatex.sh
+++ b/utilities/runlatex.sh
@@ -58,6 +58,12 @@ iterate_latex () {
echo "----- Fatal latex error, see $basename.log for details. -----"
exit 1
fi
+ if grep -q '!pdfTeX error:' $basename.log
+ then
+ grep -A 2 '!pdfTeX error:' $basename.log
+ echo "----- Fatal latex error, see $basename.log for details. -----"
+ exit 1
+ fi
if test -r $basename-warning.log
then
mv -f $basename-warning.log $basename-warning-prev.log
--
2.7.4
^ permalink raw reply related [flat|nested] 15+ messages in thread
* Re: [PATCH] FAQ-BUILD.txt: Fix misinfomation crept in wordsmithing
2017-03-23 22:20 ` [PATCH] FAQ-BUILD.txt: Fix misinfomation crept in wordsmithing Akira Yokosawa
` (2 preceding siblings ...)
2017-03-24 13:48 ` [PATCH v2 0/2] Follow up patches to FAQ-BUILD update Akira Yokosawa
@ 2017-03-24 18:12 ` Paul E. McKenney
2017-03-24 22:52 ` [PATCH v3 0/2] Follow up patches to FAQ-BUILD update Akira Yokosawa
2017-03-24 23:00 ` [PATCH v4 " Akira Yokosawa
3 siblings, 2 replies; 15+ messages in thread
From: Paul E. McKenney @ 2017-03-24 18:12 UTC (permalink / raw)
To: Akira Yokosawa; +Cc: perfbook
On Fri, Mar 24, 2017 at 07:20:28AM +0900, Akira Yokosawa wrote:
> >From f7c19259ce4182688d94853c7fddc092011e802b Mon Sep 17 00:00:00 2001
> From: Akira Yokosawa <akiyks@gmail.com>
> Date: Fri, 24 Mar 2017 07:03:54 +0900
> Subject: [PATCH] FAQ-BUILD.txt: Fix misinformation crept in by wordsmithing
>
> Signed-off-by: Akira Yokosawa <akiyks@gmail.com>
Hello, Akira,
I tried applying all three, then just the two in the series, and either
way, "git am" complains about not being able to apply the patches.
I did merge my wordsmithing into your original patch, which might be
the source of the problem. Could you please check?
Thanx, Paul
> ---
> Hi Paul,
>
> Thanks for the wordsmithing.
> There were a few things I want fix.
> How about this patch?
>
> Thanks, Akira
>
> FAQ-BUILD.txt | 11 ++++++-----
> 1 file changed, 6 insertions(+), 5 deletions(-)
>
> diff --git a/FAQ-BUILD.txt b/FAQ-BUILD.txt
> index c772e8f..a47eef6 100644
> --- a/FAQ-BUILD.txt
> +++ b/FAQ-BUILD.txt
> @@ -91,8 +91,8 @@
> A. The simplest approach is to upgrade to a recent TeX
> distribution such as TeX Live 2016. Upgrading your Linux
> distribution (e.g. to Ubuntu Xenial) is one way to
> - upgrade to TeX Live 2016, and might have many other
> - benefits as well.
> + upgrade TeX Live (to 2015 on Xenial), and might have many
> + other benefits as well.
>
> However, if you prefer to manually install individual
> packages, refer to "Method 3" in:
> @@ -105,9 +105,10 @@
> http://tex.stackexchange.com/questions/88423/
>
> Note: If available, you can use the <package>.tds.zip,
> - which will automatically put the files in the right place.
> - Note that font packages should be copied to the TEXMFLOCAL
> - directory rather than to the TEXFMHOME directory.
> + which will automatically put the files in a relatively
> + right place. Note that font packages should be copied to
> + the TEXMFLOCAL directory rather than to the TEXFMHOME
> + directory.
>
> Following is a list of links to optional packages as of
> March 2017:
> --
> 2.7.4
>
^ permalink raw reply [flat|nested] 15+ messages in thread
* [PATCH v3 0/2] Follow up patches to FAQ-BUILD update
2017-03-24 18:12 ` [PATCH] FAQ-BUILD.txt: Fix misinfomation crept in wordsmithing Paul E. McKenney
@ 2017-03-24 22:52 ` Akira Yokosawa
2017-03-24 23:00 ` [PATCH v4 " Akira Yokosawa
1 sibling, 0 replies; 15+ messages in thread
From: Akira Yokosawa @ 2017-03-24 22:52 UTC (permalink / raw)
To: Paul E. McKenney; +Cc: perfbook, Akira Yokosawa
From 085049a61d22e462f9c5d8e04f9be20f2ec558ce Mon Sep 17 00:00:00 2001
From: Akira Yokosawa <akiyks@gmail.com>
Date: Sat, 25 Mar 2017 07:43:56 +0900
Subject: [PATCH v3 0/2] Follow up patches to FAQ-BUILD update
Hi Paul,
I squashed the patches to FAQ-BUILD.txt.
Does this set work?
Thanks, Akira
--
Akira Yokosawa (2):
FAQ-BUILD.txt: Fix misinfomation crept in wordsmithing
Add another build error check
FAQ-BUILD.txt | 11 ++++++-----
utilities/runfirstlatex.sh | 6 ++++++
utilities/runlatex.sh | 6 ++++++
3 files changed, 18 insertions(+), 5 deletions(-)
--
2.7.4
^ permalink raw reply [flat|nested] 15+ messages in thread
* [PATCH v4 0/2] Follow up patches to FAQ-BUILD update
2017-03-24 18:12 ` [PATCH] FAQ-BUILD.txt: Fix misinfomation crept in wordsmithing Paul E. McKenney
2017-03-24 22:52 ` [PATCH v3 0/2] Follow up patches to FAQ-BUILD update Akira Yokosawa
@ 2017-03-24 23:00 ` Akira Yokosawa
2017-03-24 23:02 ` [PATCH v4 1/2] FAQ-BUILD.txt: Fix misinformation crept in wordsmithing Akira Yokosawa
` (2 more replies)
1 sibling, 3 replies; 15+ messages in thread
From: Akira Yokosawa @ 2017-03-24 23:00 UTC (permalink / raw)
To: Paul E. McKenney; +Cc: perfbook, Akira Yokosawa
From e2ffbd35e5a1121b953a2f7073ee50d6efc58cd3 Mon Sep 17 00:00:00 2001
From: Akira Yokosawa <akiyks@gmail.com>
Date: Sat, 25 Mar 2017 07:55:41 +0900
Subject: [PATCH v4 0/2] Follow up patches to FAQ-BUILD update
Apologies. There was still a typo in v3. (v3 was aborted)
Let me try again.
Thanks, Akira
--
Akira Yokosawa (2):
FAQ-BUILD.txt: Fix misinformation crept in wordsmithing
Add another build error check
FAQ-BUILD.txt | 11 ++++++-----
utilities/runfirstlatex.sh | 6 ++++++
utilities/runlatex.sh | 6 ++++++
3 files changed, 18 insertions(+), 5 deletions(-)
--
2.7.4
^ permalink raw reply [flat|nested] 15+ messages in thread
* [PATCH v4 1/2] FAQ-BUILD.txt: Fix misinformation crept in wordsmithing
2017-03-24 23:00 ` [PATCH v4 " Akira Yokosawa
@ 2017-03-24 23:02 ` Akira Yokosawa
2017-03-24 23:03 ` [PATCH v4 2/2] Add another build error check Akira Yokosawa
2017-03-25 0:46 ` [PATCH v4 0/2] Follow up patches to FAQ-BUILD update Paul E. McKenney
2 siblings, 0 replies; 15+ messages in thread
From: Akira Yokosawa @ 2017-03-24 23:02 UTC (permalink / raw)
To: Paul E. McKenney; +Cc: perfbook, Akira Yokosawa
From a88379395550dfdd02f995bbfa492abba2a18578 Mon Sep 17 00:00:00 2001
From: Akira Yokosawa <akiyks@gmail.com>
Date: Fri, 24 Mar 2017 07:03:54 +0900
Subject: [PATCH v4 1/2] FAQ-BUILD.txt: Fix misinformation crept in wordsmithing
Signed-off-by: Akira Yokosawa <akiyks@gmail.com>
---
FAQ-BUILD.txt | 11 ++++++-----
1 file changed, 6 insertions(+), 5 deletions(-)
diff --git a/FAQ-BUILD.txt b/FAQ-BUILD.txt
index c772e8f..6b618b4 100644
--- a/FAQ-BUILD.txt
+++ b/FAQ-BUILD.txt
@@ -91,8 +91,8 @@
A. The simplest approach is to upgrade to a recent TeX
distribution such as TeX Live 2016. Upgrading your Linux
distribution (e.g. to Ubuntu Xenial) is one way to
- upgrade to TeX Live 2016, and might have many other
- benefits as well.
+ upgrade TeX Live (to 2015 on Xenial), and might have many
+ other benefits as well.
However, if you prefer to manually install individual
packages, refer to "Method 3" in:
@@ -105,9 +105,10 @@
http://tex.stackexchange.com/questions/88423/
Note: If available, you can use the <package>.tds.zip,
- which will automatically put the files in the right place.
- Note that font packages should be copied to the TEXMFLOCAL
- directory rather than to the TEXFMHOME directory.
+ which will automatically put the files in a relatively
+ right place. Note that font packages should be copied to
+ the TEXMFLOCAL directory rather than to the TEXMFHOME
+ directory.
Following is a list of links to optional packages as of
March 2017:
--
2.7.4
^ permalink raw reply related [flat|nested] 15+ messages in thread
* [PATCH v4 2/2] Add another build error check
2017-03-24 23:00 ` [PATCH v4 " Akira Yokosawa
2017-03-24 23:02 ` [PATCH v4 1/2] FAQ-BUILD.txt: Fix misinformation crept in wordsmithing Akira Yokosawa
@ 2017-03-24 23:03 ` Akira Yokosawa
2017-03-25 0:46 ` [PATCH v4 0/2] Follow up patches to FAQ-BUILD update Paul E. McKenney
2 siblings, 0 replies; 15+ messages in thread
From: Akira Yokosawa @ 2017-03-24 23:03 UTC (permalink / raw)
To: Paul E. McKenney; +Cc: perfbook, Akira Yokosawa
From e2ffbd35e5a1121b953a2f7073ee50d6efc58cd3 Mon Sep 17 00:00:00 2001
From: Akira Yokosawa <akiyks@gmail.com>
Date: Fri, 24 Mar 2017 20:37:26 +0900
Subject: [PATCH v4 2/2] Add another build error check
This check catches build error to happen when font-map database
is not updated after manual install of a font package.
Signed-off-by: Akira Yokosawa <akiyks@gmail.com>
---
utilities/runfirstlatex.sh | 6 ++++++
utilities/runlatex.sh | 6 ++++++
2 files changed, 12 insertions(+)
diff --git a/utilities/runfirstlatex.sh b/utilities/runfirstlatex.sh
index 8261238..1a2a7a5 100644
--- a/utilities/runfirstlatex.sh
+++ b/utilities/runfirstlatex.sh
@@ -47,6 +47,12 @@ then
echo "----- Fatal latex error, see $basename.log for details. -----"
exit 1
fi
+if grep -q '!pdfTeX error:' $basename.log
+then
+ grep -A 2 '!pdfTeX error:' $basename.log
+ echo "----- Fatal latex error, see $basename.log for details. -----"
+ exit 1
+fi
grep 'LaTeX Warning:' $basename.log > $basename-warning.log
touch $basename-first.log
exit 0
diff --git a/utilities/runlatex.sh b/utilities/runlatex.sh
index cece545..81800db 100644
--- a/utilities/runlatex.sh
+++ b/utilities/runlatex.sh
@@ -58,6 +58,12 @@ iterate_latex () {
echo "----- Fatal latex error, see $basename.log for details. -----"
exit 1
fi
+ if grep -q '!pdfTeX error:' $basename.log
+ then
+ grep -A 2 '!pdfTeX error:' $basename.log
+ echo "----- Fatal latex error, see $basename.log for details. -----"
+ exit 1
+ fi
if test -r $basename-warning.log
then
mv -f $basename-warning.log $basename-warning-prev.log
--
2.7.4
^ permalink raw reply related [flat|nested] 15+ messages in thread
* Re: [PATCH v4 0/2] Follow up patches to FAQ-BUILD update
2017-03-24 23:00 ` [PATCH v4 " Akira Yokosawa
2017-03-24 23:02 ` [PATCH v4 1/2] FAQ-BUILD.txt: Fix misinformation crept in wordsmithing Akira Yokosawa
2017-03-24 23:03 ` [PATCH v4 2/2] Add another build error check Akira Yokosawa
@ 2017-03-25 0:46 ` Paul E. McKenney
2 siblings, 0 replies; 15+ messages in thread
From: Paul E. McKenney @ 2017-03-25 0:46 UTC (permalink / raw)
To: Akira Yokosawa; +Cc: perfbook
On Sat, Mar 25, 2017 at 08:00:58AM +0900, Akira Yokosawa wrote:
> >From e2ffbd35e5a1121b953a2f7073ee50d6efc58cd3 Mon Sep 17 00:00:00 2001
> From: Akira Yokosawa <akiyks@gmail.com>
> Date: Sat, 25 Mar 2017 07:55:41 +0900
> Subject: [PATCH v4 0/2] Follow up patches to FAQ-BUILD update
>
> Apologies. There was still a typo in v3. (v3 was aborted)
> Let me try again.
Much better!!! Queued and pushed.
Thanx, Paul
> Thanks, Akira
> --
> Akira Yokosawa (2):
> FAQ-BUILD.txt: Fix misinformation crept in wordsmithing
> Add another build error check
>
> FAQ-BUILD.txt | 11 ++++++-----
> utilities/runfirstlatex.sh | 6 ++++++
> utilities/runlatex.sh | 6 ++++++
> 3 files changed, 18 insertions(+), 5 deletions(-)
>
> --
> 2.7.4
>
>
^ permalink raw reply [flat|nested] 15+ messages in thread
end of thread, other threads:[~2017-03-25 0:47 UTC | newest]
Thread overview: 15+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-03-23 13:03 [PATCH] FAQ-BUILD.txt: Append reference to manual LaTeX package install Akira Yokosawa
2017-03-23 15:35 ` Paul E. McKenney
2017-03-23 22:20 ` [PATCH] FAQ-BUILD.txt: Fix misinfomation crept in wordsmithing Akira Yokosawa
2017-03-24 13:17 ` [PATCH 0/2] Follow up patches to FAQ-BUILD update Akira Yokosawa
2017-03-24 13:19 ` [PATCH 1/2] FAQ-BUILD.txt: Typo fix Akira Yokosawa
2017-03-24 13:20 ` [PATCH 2/2] Add another build error check Akira Yokosawa
2017-03-24 13:48 ` [PATCH v2 0/2] Follow up patches to FAQ-BUILD update Akira Yokosawa
2017-03-24 13:49 ` [PATCH v2 1/2] FAQ-BUILD.txt: Typo fix Akira Yokosawa
2017-03-24 13:51 ` [PATCH v2 2/2] Add another build error check Akira Yokosawa
2017-03-24 18:12 ` [PATCH] FAQ-BUILD.txt: Fix misinfomation crept in wordsmithing Paul E. McKenney
2017-03-24 22:52 ` [PATCH v3 0/2] Follow up patches to FAQ-BUILD update Akira Yokosawa
2017-03-24 23:00 ` [PATCH v4 " Akira Yokosawa
2017-03-24 23:02 ` [PATCH v4 1/2] FAQ-BUILD.txt: Fix misinformation crept in wordsmithing Akira Yokosawa
2017-03-24 23:03 ` [PATCH v4 2/2] Add another build error check Akira Yokosawa
2017-03-25 0:46 ` [PATCH v4 0/2] Follow up patches to FAQ-BUILD update Paul E. McKenney
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox