Yes, for sure. You need to get scribble to generate the `\usepackage`
declaration and then define a function in scribble to make an element
that generates the `\switchcolumn*`. The docs have examples on how to
do this; let us know if you get stuck.

Robby

On Wed, Jan 30, 2019 at 9:29 AM Miguel P. Silva <mig.si...@gmail.com> wrote:
>
> I have already my document in latex, side by side with syncing paragraphs. I 
> use the paracol package and the switchcolumn*. I was wondering if I could use 
> this system with scribble as you say.
>
> quarta-feira, 30 de Janeiro de 2019 às 15:08:34 UTC, Robby Findler escreveu:
>>
>> On Wed, Jan 30, 2019 at 8:47 AM Marc Kaufmann <marc.ka...@gmail.com> wrote:
>> >
>> > 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)?
>>
>> You would have to investigate the various packages that are offered
>> that provide these features and decide on one that seems to work for
>> what you want to do (I would do this using ipsum lorem and some
>> simple-minded latex code but I spent far too long producing
>> latex....). Once you settle on one, then you would use the docs in
>> scribble I linked to in order to get the important (new) latex
>> commands at the scribble level (and to load the package itself).
>>
>> > 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.
>>
>> That would be nice.
>>
>> Robby
>>
>> > 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.ka...@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...@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...@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