What happened to luatextextdir?
As of today, the command luatextextdir
does no longer seem to work. I employ the command in order to be able to typeset Arabic. To that end I created the following commands:
newcommand{arabtext}[1] % Arabic inside LTR
{bgroupluatextextdir TRTarabicfont #1egroup}
newcommand{arabnr}[1] % for numbers inside Arabic text
{bgroupluatextextdir TLT #1egroup}
newenvironment{arabpar} % Arabic paragraph
{luatextextdir TRTluatexpardir TRTarabicfont}{}
As of today, however, I get the otherwise well-known "Undefined control sequence" - error.
I just updated all the packages to the newest version using the TeX Live Utility.
luatex arabic updating right-to-left
add a comment |
As of today, the command luatextextdir
does no longer seem to work. I employ the command in order to be able to typeset Arabic. To that end I created the following commands:
newcommand{arabtext}[1] % Arabic inside LTR
{bgroupluatextextdir TRTarabicfont #1egroup}
newcommand{arabnr}[1] % for numbers inside Arabic text
{bgroupluatextextdir TLT #1egroup}
newenvironment{arabpar} % Arabic paragraph
{luatextextdir TRTluatexpardir TRTarabicfont}{}
As of today, however, I get the otherwise well-known "Undefined control sequence" - error.
I just updated all the packages to the newest version using the TeX Live Utility.
luatex arabic updating right-to-left
luatex
prefix was removed in recent LaTeX release, try justtextdir
– michal.h21
Oct 16 '15 at 7:45
add a comment |
As of today, the command luatextextdir
does no longer seem to work. I employ the command in order to be able to typeset Arabic. To that end I created the following commands:
newcommand{arabtext}[1] % Arabic inside LTR
{bgroupluatextextdir TRTarabicfont #1egroup}
newcommand{arabnr}[1] % for numbers inside Arabic text
{bgroupluatextextdir TLT #1egroup}
newenvironment{arabpar} % Arabic paragraph
{luatextextdir TRTluatexpardir TRTarabicfont}{}
As of today, however, I get the otherwise well-known "Undefined control sequence" - error.
I just updated all the packages to the newest version using the TeX Live Utility.
luatex arabic updating right-to-left
As of today, the command luatextextdir
does no longer seem to work. I employ the command in order to be able to typeset Arabic. To that end I created the following commands:
newcommand{arabtext}[1] % Arabic inside LTR
{bgroupluatextextdir TRTarabicfont #1egroup}
newcommand{arabnr}[1] % for numbers inside Arabic text
{bgroupluatextextdir TLT #1egroup}
newenvironment{arabpar} % Arabic paragraph
{luatextextdir TRTluatexpardir TRTarabicfont}{}
As of today, however, I get the otherwise well-known "Undefined control sequence" - error.
I just updated all the packages to the newest version using the TeX Live Utility.
luatex arabic updating right-to-left
luatex arabic updating right-to-left
edited Oct 16 '15 at 7:42
ClintEastwood
asked Oct 16 '15 at 7:37
ClintEastwoodClintEastwood
3,59222257
3,59222257
luatex
prefix was removed in recent LaTeX release, try justtextdir
– michal.h21
Oct 16 '15 at 7:45
add a comment |
luatex
prefix was removed in recent LaTeX release, try justtextdir
– michal.h21
Oct 16 '15 at 7:45
luatex
prefix was removed in recent LaTeX release, try just textdir
– michal.h21
Oct 16 '15 at 7:45
luatex
prefix was removed in recent LaTeX release, try just textdir
– michal.h21
Oct 16 '15 at 7:45
add a comment |
1 Answer
1
active
oldest
votes
The 'proper' (internal) name of the primitive has always been textdir
, but for various reasons it used to be 'activated' as luatextextdir
in LuaLaTeX. The LaTeX team have recently revised this approach and all primitives now have their 'natural' names in LuaLaTeX. Thus you should either update your code or add
directlua{
tex.enableprimitives("luatex",tex.extraprimitives("luatex"))
}
to your preamble.
(textdir
comes from Omega so is currently in a list called omega
. At some stage in the near future it will be moved to a list called luatex
, so tex.extraprimitives("omega", "luatex")
is slightly more future-proof. However, I'd strongly advise revising your code to drop the prefix entirely.)
1
The team have contacted most package authors to have these names changed, but obviously that's not possible for direct end-user usage.
– Joseph Wright♦
Oct 16 '15 at 7:48
1
Did you contact Arthur regarding luabidi? It still uses luatextextdir etc.
– Ulrike Fischer
Oct 28 '15 at 9:38
add a comment |
Your Answer
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "85"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f273301%2fwhat-happened-to-luatextextdir%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
The 'proper' (internal) name of the primitive has always been textdir
, but for various reasons it used to be 'activated' as luatextextdir
in LuaLaTeX. The LaTeX team have recently revised this approach and all primitives now have their 'natural' names in LuaLaTeX. Thus you should either update your code or add
directlua{
tex.enableprimitives("luatex",tex.extraprimitives("luatex"))
}
to your preamble.
(textdir
comes from Omega so is currently in a list called omega
. At some stage in the near future it will be moved to a list called luatex
, so tex.extraprimitives("omega", "luatex")
is slightly more future-proof. However, I'd strongly advise revising your code to drop the prefix entirely.)
1
The team have contacted most package authors to have these names changed, but obviously that's not possible for direct end-user usage.
– Joseph Wright♦
Oct 16 '15 at 7:48
1
Did you contact Arthur regarding luabidi? It still uses luatextextdir etc.
– Ulrike Fischer
Oct 28 '15 at 9:38
add a comment |
The 'proper' (internal) name of the primitive has always been textdir
, but for various reasons it used to be 'activated' as luatextextdir
in LuaLaTeX. The LaTeX team have recently revised this approach and all primitives now have their 'natural' names in LuaLaTeX. Thus you should either update your code or add
directlua{
tex.enableprimitives("luatex",tex.extraprimitives("luatex"))
}
to your preamble.
(textdir
comes from Omega so is currently in a list called omega
. At some stage in the near future it will be moved to a list called luatex
, so tex.extraprimitives("omega", "luatex")
is slightly more future-proof. However, I'd strongly advise revising your code to drop the prefix entirely.)
1
The team have contacted most package authors to have these names changed, but obviously that's not possible for direct end-user usage.
– Joseph Wright♦
Oct 16 '15 at 7:48
1
Did you contact Arthur regarding luabidi? It still uses luatextextdir etc.
– Ulrike Fischer
Oct 28 '15 at 9:38
add a comment |
The 'proper' (internal) name of the primitive has always been textdir
, but for various reasons it used to be 'activated' as luatextextdir
in LuaLaTeX. The LaTeX team have recently revised this approach and all primitives now have their 'natural' names in LuaLaTeX. Thus you should either update your code or add
directlua{
tex.enableprimitives("luatex",tex.extraprimitives("luatex"))
}
to your preamble.
(textdir
comes from Omega so is currently in a list called omega
. At some stage in the near future it will be moved to a list called luatex
, so tex.extraprimitives("omega", "luatex")
is slightly more future-proof. However, I'd strongly advise revising your code to drop the prefix entirely.)
The 'proper' (internal) name of the primitive has always been textdir
, but for various reasons it used to be 'activated' as luatextextdir
in LuaLaTeX. The LaTeX team have recently revised this approach and all primitives now have their 'natural' names in LuaLaTeX. Thus you should either update your code or add
directlua{
tex.enableprimitives("luatex",tex.extraprimitives("luatex"))
}
to your preamble.
(textdir
comes from Omega so is currently in a list called omega
. At some stage in the near future it will be moved to a list called luatex
, so tex.extraprimitives("omega", "luatex")
is slightly more future-proof. However, I'd strongly advise revising your code to drop the prefix entirely.)
edited Jan 13 at 9:46
answered Oct 16 '15 at 7:46
Joseph Wright♦Joseph Wright
203k21558884
203k21558884
1
The team have contacted most package authors to have these names changed, but obviously that's not possible for direct end-user usage.
– Joseph Wright♦
Oct 16 '15 at 7:48
1
Did you contact Arthur regarding luabidi? It still uses luatextextdir etc.
– Ulrike Fischer
Oct 28 '15 at 9:38
add a comment |
1
The team have contacted most package authors to have these names changed, but obviously that's not possible for direct end-user usage.
– Joseph Wright♦
Oct 16 '15 at 7:48
1
Did you contact Arthur regarding luabidi? It still uses luatextextdir etc.
– Ulrike Fischer
Oct 28 '15 at 9:38
1
1
The team have contacted most package authors to have these names changed, but obviously that's not possible for direct end-user usage.
– Joseph Wright♦
Oct 16 '15 at 7:48
The team have contacted most package authors to have these names changed, but obviously that's not possible for direct end-user usage.
– Joseph Wright♦
Oct 16 '15 at 7:48
1
1
Did you contact Arthur regarding luabidi? It still uses luatextextdir etc.
– Ulrike Fischer
Oct 28 '15 at 9:38
Did you contact Arthur regarding luabidi? It still uses luatextextdir etc.
– Ulrike Fischer
Oct 28 '15 at 9:38
add a comment |
Thanks for contributing an answer to TeX - LaTeX Stack Exchange!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f273301%2fwhat-happened-to-luatextextdir%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
luatex
prefix was removed in recent LaTeX release, try justtextdir
– michal.h21
Oct 16 '15 at 7:45