Ah, I misunderstood the synchronization to be about synchronization in time
between source and typeset output, while the question was about
synchronizing two outputs that are typeset from the same source next to
each other. My bad. However, I couldn't find anything on one-vs-two columns
other than the SIGPLAN option @onecolumn. When you say that I need to add
those commands, you mean I should define them in scribble or pass them as
templates for a given output (say two-column output in HTML or Latex)?

I had been wondering if there is something where, side-by-side, you have
the editor to enter scribble on the left, and on the right it updates as I
type (or once I complete a command) scribble's typesetting. Similar to the
(near-automatic) preview on Discourse (
https://blog.discourse.org/2016/12/discourse-new-user-tips-and-tricks/ go
down to "Reply"). I now realize that's not there, but I thought that was
what you meant with the two-columns thing -- and spent 30 minutes figuring
out where that is.

On Wed, Jan 30, 2019 at 2:44 PM Robby Findler <ro...@eecs.northwestern.edu>
wrote:

> No it does not require that, if I am understanding you correctly. You just
> need to add the two-column specific commands and use them, as appropriate.
>
> Robby
>
> On Wed, Jan 30, 2019 at 1:57 AM Marc Kaufmann <marc.kaufman...@gmail.com>
> wrote:
>
>> Since you say that it requires dropping to the latex level, does it mean
>> that doing a synchronization of scribble and other output (say, HTML or
>> something else that doesn't require anything from outside scribble and
>> racket) can be done directly? Essentially:
>>
>> ```
>> @title{Synchronize this!}
>>
>> Can you synchronize this @racket[(range 5)]?
>> ```
>>
>> would update to show
>>
>> ```
>> # Synchronize this!
>>
>> Can you synchronize this '(0 1 2 3 4)?
>> ```
>>
>> and it would update it quickly when I change (range 5) to (range 4)? I
>> may have misinterpreted what you said - but if I didn't, then I wasn't
>> aware this was easily doable.
>>
>> Cheers,
>> Marc
>>
>> On Tuesday, January 29, 2019 at 2:01:37 PM UTC+1, Robby Findler wrote:
>>>
>>> In order to do that you'd need to drop down to the latex level and use
>>> a package there to help you. There is information about how to do that
>>> here: http://docs.racket-lang.org/scribble/config.html . Here is a
>>> post about packages you could use:
>>>
>>> https://tex.stackexchange.com/questions/308260/parallel-text-translation-including-the-same-double-parallel-heading-numbering
>>>
>>> hth,
>>> Robby
>>>
>>> On Tue, Jan 29, 2019 at 5:09 AM <mig....@gmail.com> wrote:
>>> >
>>> > Can I do a side by side pdf using racket scribble? Imagine you have an
>>> English text and want the Portuguese translation in the opposite column. If
>>> yes, it brings another question, which is, can it be done with synchronized
>>> paragraphs?
>>> >
>>> > --
>>> > You received this message because you are subscribed to the Google
>>> Groups "Racket Users" group.
>>> > To unsubscribe from this group and stop receiving emails from it, send
>>> an email to racket-users...@googlegroups.com.
>>>
>> > For more options, visit https://groups.google.com/d/optout.
>>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "Racket Users" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to racket-users+unsubscr...@googlegroups.com.
>> For more options, visit https://groups.google.com/d/optout.
>>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Racket Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to racket-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to