[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Texmacs-dev] Dumb specific|printer and pdf hyperlinks
From: |
Sam Liddicott |
Subject: |
Re: [Texmacs-dev] Dumb specific|printer and pdf hyperlinks |
Date: |
Mon, 27 Jun 2011 12:39:59 +0100 |
User-agent: |
Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.19pre) Gecko/20110626 Lightning/1.0b2 Lanikai/3.1.12pre |
I may be able to emit raw postscript using raw-data AND a <postscript> tag.
I can assemble my own raw-data content with macros.
If I insert it in a postscript tag, I get something like this is emitted:
currentpoint currentpoint translate 1.09125 1.09125 scale neg exch neg
exch translate 441 327 a
@beginspecial 0 @llx 0 @lly 32 @urx 32 @ury 320 @rwi @clip @setspecial
%%BeginDocument: inline image
CONTENTS-OF-RAW-DATA-HERE%%EndDocument
@endspecial 441 327 a currentpoint currentpoint translate 0.91638
0.91638 scale
neg exch neg exch translate
So I may emit an @endspecial, then my pdfmark postscript stuff and then
a new @beginspecial
Sam
On 27/06/11 11:57, Sam Liddicott wrote:
I tried to make use of output.scm with this code:
<assign|raw-output|<macro|x|<extern|(lambda (name) `(output-raw
,name))|<quote-arg|x>>>>
<raw-output|dibby doo do>
but it seems like output-raw isn't actually available or I'm calling
it wrong.
Any tips?
Sam
On 27/06/11 11:02, Sam Liddicott wrote:
\<#000A\>
works for outputting literal characters in verbatim export but alas
for PDF export comes out as <#000A> in red.
Grrr
Sam
On 27/06/11 09:08, Sam Liddicott wrote:
I thought I'd have a go at adding pdf hyperlinks using
<specific|printer> and adobe's pdfmark stuff.
Sadly, <specific|printer|...> can't be used to output raw data, even:
<inactive|<specific|printer|<#4040404064646464>>>
just emits: <raw-data> as text in the .ps file.
Is there any way I can emit raw-postscript from texmacs so that I
can try to get pdf hyperlinks to work?
Sam
_______________________________________________
Texmacs-dev mailing list
address@hidden
https://lists.gnu.org/mailman/listinfo/texmacs-dev
--
[FSF Associate Member #2325]
<http://www.fsf.org/register_form?referrer=2325>
<http://www.openrightsgroup.org/>