OT: Macro for day and time in metapost

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Dear kind folks,

Is there a way to get day and time in a metapost document? I can get it from shell or from the document created, but a command/macro would be preferred.

$ cat 20190906.mp
verbatimtex
%&latex
\documentclass{minimal}
\begin{document}
etex
beginfig(0);
drawdblarrow (-60,0)--(60,0);
drawdblarrow (0,60)--(0,-60);
drawarrow (0,0)--(30,54);
drawarrow (-60,0)--(60,0);
label.bot(btex $A$ etex, (6,64));
label.bot(btex $B$ etex, (62,0));
label.bot(btex $C$ etex, (0,-62));
label.bot(btex $D$ etex, (-60,0));
label.bot(btex $E$ etex, (6,-6));
label.bot(btex $F$ etex, (32,54));
label.lft(btex $\hbox{ BELL WORK }$ etex, (-60,-24));
label.lft(btex $\hbox{ Fri Sep  6 08:55:48 CDT 2019
}$ etex, (-60,-36));
%label.bot(btex $10x - 2$ etex, (0,24));
%label.bot(btex $9x + 12 $ etex, (0,-16));
label.bot(btex $10x + 5$ etex, (28,16));
label.bot(btex $\overline{AC} \perp \overline{DB}$ etex, (-60,-48));
label.bot(btex $13x + 9$ etex, (-28,16));
label.bot(btex $m\angle AEF = $ etex, (-60,-60));
label.bot(btex $m\angle AED = $ etex, (-60,-72));
label.bot(btex $m\angle FEB = $ etex, (-60,-84));
label.lft(btex $x = $ etex, (-32,-102));
label.lft(btex $\angle AED \hbox{ and } \angle BEC \hbox{ are }$ etex, (-32,-114));
label.urt(btex $\hbox{A) vertical} $ etex, (-32,-126));
label.urt(btex $\hbox{B) supplementary} $ etex, (-32,-140));
label.urt(btex $\hbox{C) complementary} $ etex, (-32,-154));
endfig;
$

We can see

%%Creator: MetaPost
%%CreationDate: 2019.09.07:0852
But can we see it the document itself when viewed by gv? Or by okular/evince?

Thanks in advance,


Antonio

Sent from ProtonMail, encrypted email based in Switzerland.


_______________________________________________
users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/users@xxxxxxxxxxxxxxxxxxxxxxx
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux