ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: DesdeChaves <desdechaves@gmail.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Tikz calendar translation
Date: Wed, 3 Dec 2014 23:55:42 +0000	[thread overview]
Message-ID: <CAPBmU9Fn9AT-VA4U41pxCQheYv4ODpqe=1fWFuyQG53t2wBBCA@mail.gmail.com> (raw)


[-- Attachment #1.1: Type: text/plain, Size: 1019 bytes --]

Dear Sirs

I need to represent a calendar in Portuguese language. You want to use the
Tikz calendar package, but the result is unsatisfactory (please see
attach). The problem is in the translation of the names of months and days
of the week. How can I fix this problem?

Thanks in advance.

Jorge


%%%% test code

\usemodule[tikz]
\usetikzlibrary[calendar]

\language[pt]

\starttext

\tikz \calendar [dates=2014-09-01 to 2015-04-31,
month list,month label left,month yshift=1.25em]
if (Sunday) [black!50]
% GROUP 1
if (between=2012-08-09 and 2012-08-12)[orange]
if (between=2012-06-01 and 2012-06-03)[orange]
if (between=2012-04-05 and 2012-04-07)[orange]
if (between=2012-12-22 and 2012-12-27)[orange]
% GROUP 2
if (between=2012-09-10 and 2012-09-15)[blue]
if (between=2012-08-17 and 2012-08-21)[blue]
if (between=2012-06-29 and 2012-07-02)[blue]
if (between=2012-05-14 and 2012-05-21)[blue]
% GROUP 3
if (between=2012-11-02 and 2012-11-09)[darkgreen]
if (between=2012-01-01 and 2012-01-27)[darkgreen]
;


\stoptext

[-- Attachment #1.2: Type: text/html, Size: 1588 bytes --]

[-- Attachment #2: calendartest.pdf --]
[-- Type: application/pdf, Size: 15379 bytes --]

[-- Attachment #3: Type: text/plain, Size: 485 bytes --]

___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

                 reply	other threads:[~2014-12-03 23:55 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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

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

  git send-email \
    --in-reply-to='CAPBmU9Fn9AT-VA4U41pxCQheYv4ODpqe=1fWFuyQG53t2wBBCA@mail.gmail.com' \
    --to=desdechaves@gmail.com \
    --cc=ntg-context@ntg.nl \
    /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.
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 NNTP newsgroup(s).