emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Adonay Felipe Nogueira <adfeno@hyperbola.info>
To: emacs-orgmode@gnu.org
Subject: Re: Bilingual text in org
Date: Mon, 27 Nov 2017 12:16:22 -0200	[thread overview]
Message-ID: <87y3mrerih.fsf@hyperbola.info> (raw)
In-Reply-To: <AA56FBC5-0AD3-4F4B-92D2-FAD6403475F2@axelkielhorn.de> (org-mode@axelkielhorn.de's message of "Sun, 26 Nov 2017 09:07:44 +0100")

Strange, I might be wrong but this might not be set by default.

I have Org version 9.1.2 (9.1.2-15.g1d5142, which is of version 20171016
in GNU Guix package manager).

Alternatively, per `texdoc babel', you can make the language as a
document class option.

2017-11-26T09:07:44+0100 org-mode@axelkielhorn.de wrote:
> Hi,
>
> I want to use org-mode to translate a text from german to englisch.
> In my current setup I have marked the section with a tag to select
> either (or both) languages.
>
> This works fine for one language.
> If I want to print both, I have to manually adjust the argument to babel.
>
> My solution is to remove babel from 
> org-latex-default-packages-alist
> and add
> #+LATEX_HEADER: \usepackage[englisch,german]{babel}
>
> Is there a better way to pass two languages to babel?
>
> (I could use Xelatex and polyglossia instead, but so far I don’t need
> any of the special features.)
>
> My second question is about the otherlanguage environment.
> Is there a way to wrap the text with the environment based on the tag?
> Even with yasnippet that would save a lot of typing.
>
> Axel 
>
>
>

-- 
- https://libreplanet.org/wiki/User:Adfeno
- Palestrante e consultor sobre /software/ livre (não confundir com
  gratis).
- "WhatsApp"? Ele não é livre. Por favor, veja formas de se comunicar
  instantaneamente comigo no endereço abaixo.
- Contato: https://libreplanet.org/wiki/User:Adfeno#vCard
- Arquivos comuns aceitos (apenas sem DRM): Corel Draw, Microsoft
  Office, MP3, MP4, WMA, WMV.
- Arquivos comuns aceitos e enviados: CSV, GNU Dia, GNU Emacs Org, GNU
  GIMP, Inkscape SVG, JPG, LibreOffice (padrão ODF), OGG, OPUS, PDF
  (apenas sem DRM), PNG, TXT, WEBM.

  reply	other threads:[~2017-11-27 14:16 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-11-26  8:07 Bilingual text in org org-mode
2017-11-27 14:16 ` Adonay Felipe Nogueira [this message]
2017-12-02  7:14   ` org-mode
2017-12-08  8:38     ` org-mode
2018-01-13 13:31     ` Adonay Felipe Nogueira

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87y3mrerih.fsf@hyperbola.info \
    --to=adfeno@hyperbola.info \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).