What happened to luatextextdir?












14















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.










share|improve this question

























  • luatex prefix was removed in recent LaTeX release, try just textdir

    – michal.h21
    Oct 16 '15 at 7:45
















14















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.










share|improve this question

























  • luatex prefix was removed in recent LaTeX release, try just textdir

    – michal.h21
    Oct 16 '15 at 7:45














14












14








14


3






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.










share|improve this question
















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






share|improve this question















share|improve this question













share|improve this question




share|improve this question








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

















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










1 Answer
1






active

oldest

votes


















14














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






share|improve this answer





















  • 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











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
});


}
});














draft saved

draft discarded


















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









14














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






share|improve this answer





















  • 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
















14














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






share|improve this answer





















  • 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














14












14








14







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






share|improve this answer















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







share|improve this answer














share|improve this answer



share|improve this answer








edited Jan 13 at 9:46

























answered Oct 16 '15 at 7:46









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














  • 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


















draft saved

draft discarded




















































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.




draft saved


draft discarded














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





















































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







Popular posts from this blog

How to change which sound is reproduced for terminal bell?

Can I use Tabulator js library in my java Spring + Thymeleaf project?

Title Spacing in Bjornstrup Chapter, Removing Chapter Number From Contents