From: Paul Rudin <paul-sqPYmOVXOov10XsdtD+oqA@public.gmane.org>
To: emacs-orgmode-mXXj517/zsQ@public.gmane.org
Subject: Re: [html-export question] location with JS.
Date: Wed, 17 Dec 2014 10:29:50 +0000 [thread overview]
Message-ID: <871tny1sdd.fsf@rudin.co.uk> (raw)
In-Reply-To: 87wq5rwl5n.fsf@gmx.us
Rasmus <rasmus-0UDz38MK/Mo@public.gmane.org> writes:
> Hi,
>
> For my CV I'm trying to place a box (div, whatever) at the left edge of
> the content-div. My org-file looks like
>
> - year0–year1 :: FooCorp
> - note1
> - note2 {{{BOL(year½)}}}
>
> And I want the ouput to look like:
>
> year0–year1 FooCorp
> - note1
> year½ - note2
>
> In the attached example I have the desired output for LaTeX, and the
> output for html is also fine *as long as you don't zoom*. The issue is
> that the javascript that I use absolute position in pixels, and the
> browser doesn't update the location when zooming...
>
> Any ideas on how to solve this?
Hoping for pixel perfect rendering for html is fraught with difficulty -
it's not really designed for that sort of thing. If that's what you want
then you may be better off producing a pdf.
next prev parent reply other threads:[~2014-12-17 10:29 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-12-16 17:37 [html-export question] location with JS Rasmus
2014-12-17 9:27 ` Christian Moe
2014-12-17 11:19 ` Rasmus
2014-12-17 13:11 ` Christian Moe
2014-12-17 15:01 ` Rasmus
2014-12-17 10:29 ` Paul Rudin [this message]
2014-12-17 11:38 ` Rasmus
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=871tny1sdd.fsf@rudin.co.uk \
--to=paul-sqpymovxoov10xsdtd+oqa@public.gmane.org \
--cc=emacs-orgmode-mXXj517/zsQ@public.gmane.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).